<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://wiki.sourceway.de/index.php?action=history&amp;feed=atom&amp;title=System-API%3A_Rechnungen</id>
		<title>System-API: Rechnungen - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.sourceway.de/index.php?action=history&amp;feed=atom&amp;title=System-API%3A_Rechnungen"/>
		<link rel="alternate" type="text/html" href="https://wiki.sourceway.de/index.php?title=System-API:_Rechnungen&amp;action=history"/>
		<updated>2026-05-03T15:23:28Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in sourceDESK Wiki</subtitle>
		<generator>MediaWiki 1.25.1</generator>

	<entry>
		<id>https://wiki.sourceway.de/index.php?title=System-API:_Rechnungen&amp;diff=782&amp;oldid=prev</id>
		<title>Richard Reiber am 13. Januar 2019 um 17:31 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.sourceway.de/index.php?title=System-API:_Rechnungen&amp;diff=782&amp;oldid=prev"/>
				<updated>2019-01-13T17:31:05Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 13. Januar 2019, 17:31 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L1&quot; &gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;html&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div style=&amp;quot;border: 1px solid red; padding: 10px; color: red; font-weight: bold;&amp;quot;&amp;gt;Diese Dokumentation ist veraltet. Bitte nutzen Sie &amp;lt;a href=&amp;quot;https://admin-api.sourcedesk.de&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;die dedizierte API-Dokumentation&amp;lt;/a&amp;gt;.&amp;lt;/div&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/html&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Der nachfolgend beschriebene API-Endpoint hat die URL &amp;lt;code&amp;gt;/invoice&amp;lt;/code&amp;gt;. Zur Verwendung der System-API konsultieren Sie bitte die [[Grundsätze der System-API]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Der nachfolgend beschriebene API-Endpoint hat die URL &amp;lt;code&amp;gt;/invoice&amp;lt;/code&amp;gt;. Zur Verwendung der System-API konsultieren Sie bitte die [[Grundsätze der System-API]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Richard Reiber</name></author>	</entry>

	<entry>
		<id>https://wiki.sourceway.de/index.php?title=System-API:_Rechnungen&amp;diff=396&amp;oldid=prev</id>
		<title>Richard Reiber: Die Seite wurde neu angelegt: „Der nachfolgend beschriebene API-Endpoint hat die URL &lt;code&gt;/invoice&lt;/code&gt;. Zur Verwendung der System-API konsultieren Sie bitte die Grundsätze der System-…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.sourceway.de/index.php?title=System-API:_Rechnungen&amp;diff=396&amp;oldid=prev"/>
				<updated>2018-10-05T12:38:37Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Der nachfolgend beschriebene API-Endpoint hat die URL &amp;lt;code&amp;gt;/invoice&amp;lt;/code&amp;gt;. Zur Verwendung der System-API konsultieren Sie bitte die Grundsätze der System-…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Der nachfolgend beschriebene API-Endpoint hat die URL &amp;lt;code&amp;gt;/invoice&amp;lt;/code&amp;gt;. Zur Verwendung der System-API konsultieren Sie bitte die [[Grundsätze der System-API]].&lt;br /&gt;
&lt;br /&gt;
== GET (alle Rechnungen) ==&lt;br /&gt;
&lt;br /&gt;
'''Erwartete Parameter'''&lt;br /&gt;
&lt;br /&gt;
Keine&lt;br /&gt;
&lt;br /&gt;
'''Rückgabe'''&lt;br /&gt;
&lt;br /&gt;
JSON-Array mit allen Rechnungen und jeweils den folgenden Elementen:&lt;br /&gt;
&lt;br /&gt;
* ID&lt;br /&gt;
* client&lt;br /&gt;
* date&lt;br /&gt;
* duedate&lt;br /&gt;
* customno&lt;br /&gt;
* status&lt;br /&gt;
&lt;br /&gt;
== GET (eine Rechnung) ==&lt;br /&gt;
&lt;br /&gt;
'''URL'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/invoice/INVOICE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Erwartete Parameter'''&lt;br /&gt;
&lt;br /&gt;
Keine&lt;br /&gt;
&lt;br /&gt;
'''Rückgabe'''&lt;br /&gt;
&lt;br /&gt;
JSON-Array mit allen Daten der Rechnung und den Rechnungspositionen&lt;br /&gt;
&lt;br /&gt;
== POST (Rechnung anlegen) ==&lt;br /&gt;
&lt;br /&gt;
'''Erwartete Parameter'''&lt;br /&gt;
&lt;br /&gt;
* client&lt;br /&gt;
* date (optional, ansonsten aktuelles Datum)&lt;br /&gt;
* duedate (optional, ansonsten Standard)&lt;br /&gt;
* items[]&lt;br /&gt;
** description&lt;br /&gt;
** amount&lt;br /&gt;
** tax = 0|1&lt;br /&gt;
&lt;br /&gt;
'''Rückgabe'''&lt;br /&gt;
&lt;br /&gt;
JSON-Array mit Element &amp;quot;id&amp;quot;, der ID der neuen Rechnung&lt;br /&gt;
&lt;br /&gt;
== PUT (Rechnung bearbeiten) ==&lt;br /&gt;
&lt;br /&gt;
'''URL'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/invoice/INVOICE_ID&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Erwartete Parameter'''&lt;br /&gt;
&lt;br /&gt;
Es können alle Spalten aus der Tabelle &amp;lt;code&amp;gt;invoices&amp;lt;/code&amp;gt; als Key verwendet werden. Als Value ist der gewünschte neue Wert zu übergeben.&lt;br /&gt;
&lt;br /&gt;
Zusätzlich können Rechnungspositionen angelegt/bearbeitet werden:&lt;br /&gt;
&lt;br /&gt;
* items[]&lt;br /&gt;
** id (nur für Bearbeitung, ID der Rechnungsposition)&lt;br /&gt;
** description&lt;br /&gt;
** amount&lt;br /&gt;
** tax = 0|1&lt;br /&gt;
&lt;br /&gt;
'''Rückgabe'''&lt;br /&gt;
&lt;br /&gt;
JSON-Array mit &amp;quot;status&amp;quot; = &amp;quot;ok&amp;quot;&lt;/div&gt;</summary>
		<author><name>Richard Reiber</name></author>	</entry>

	</feed>