Debian Codegraph @

tests/samples/zugferd_2p3_BASIC_Rechnungskorrektur.xml

raw
1 <?xml version='1.0' encoding='UTF-8' ?>
2 <!-- English disclaimer below.-->
3 <!--Nutzungsrechte
4 ZUGFeRD Datenformat Version 2.3.0, 18.09.2024
5 Beispiel Version 18.09.2024
6
7 Zweck des Forums elektronisch Rechnung Deutschland, welches am 31. März 2010 unter der Arbeitsgemeinschaft für
8 wirtschaftliche Verwaltung e. V. gegründet wurde, ist u. a. die Schaffung und Spezifizierung eines offenen Datenformats
9 für strukturierten elektronischen Datenaustausch auf der Grundlage offener und nicht diskriminierender, standardisierter
10 Technologien („ZUGFeRD Datenformat“).
11
12 Das ZUGFeRD Datenformat wird nach Maßgabe des FeRD sowohl Unternehmen als auch der öffentlichen Verwaltung
13 frei zugänglich gemacht. Hierfür bietet FeRD allen Unternehmen und Organisationen der öffentlichen Verwaltung eine
14 Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD-Datenformats zu fairen, sachgerechten und nicht
15 diskriminierenden Bedingungen an.
16
17 Die Spezifikation des FeRD zur Implementierung des ZUGFeRD Datenformats ist in ihrer jeweils geltenden Fassung
18 abrufbar unter www.ferd-net.de.
19
20 Im Einzelnen schließt die Nutzungsgewährung ein:
21 =====================================
22
23 FeRD räumt eine Lizenz für die Nutzung des urheberrechtlich geschützten ZUGFeRD Datenformats in der jeweils
24 geltenden und akzeptierten Fassung (www.ferd-net.de) ein.
25 Die Lizenz beinhaltet ein unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung,
26 Weiterbearbeitung und Verbindung mit anderen Produkten.
27 Die Lizenz gilt insbesondere für die Entwicklung, die Gestaltung, die Herstellung, den Verkauf, die Nutzung oder
28 anderweitige Verwendung des ZUGFeRD Datenformats für Hardware- und/oder Softwareprodukte sowie sonstige
29 Anwendungen und Dienste.
30 Diese Lizenz schließt nicht die wesentlichen Patente der Mitglieder von FeRD ein. Als wesentliche Patente sind Patente
31 und Patentanmeldungen weltweit zu verstehen, die einen oder mehrere Patentansprüche beinhalten, bei denen es sich um
32 notwendige Ansprüche handelt. Notwendige Ansprüche sind lediglich jene Ansprüche der Wesentlichen Patente, die durch
33 die Implementierung des ZUGFeRD Datenformats notwendigerweise verletzt würden.
34 Der Lizenznehmer ist berechtigt, seinen jeweiligen Konzerngesellschaften ein unbefristetes, weltweites, nicht übertragbares,
35 unwiderrufliches Nutzungsrecht einschließlich des Rechts der Weiterentwicklung, Weiterbearbeitung und Verbindung mit
36 anderen Produkten einzuräumen.
37
38 Die Lizenz wird kostenfrei zur Verfügung gestellt.
39
40 Außer im Falle vorsätzlichen Verschuldens oder grober Fahrlässigkeit haftet FeRD weder für Nutzungsausfall, entgangenen
41 Gewinn, Datenverlust, Kommunikationsverlust, Einnahmeausfall, Vertragseinbußen, Geschäftsausfall oder für Kosten,
42 Schäden, Verluste oder Haftpflichten im Zusammenhang mit einer Unterbrechung der Geschäftstätigkeit, noch für konkrete,
43 beiläufig entstandene, mittelbare Schäden, Straf- oder Folgeschäden und zwar auch dann nicht, wenn die Möglichkeit der
44 Kosten, Verluste bzw. Schäden hätte normalerweise vorhergesehen werden können.-->
45
46 <!--Right of use
47 ZUGFeRD Data format version 2.3.0, September 18th, 2024
48
49 The purpose of the Forum elektronische Rechnung Deutschland (FeRD), which was founded on March 31, 2010 under the
50 umbrella of Arbeitsgemeinschaft für wirtschaftliche Verwaltung e. V., is, among other things, to create and specify an
51 open data format for structured electronic data exchange on the basis of open and non discriminatory, standardised
52 technologies ("ZUGFeRD data format").
53
54 The ZUGFeRD data format is used by both companies and public administration according to the FeRD
55 made freely accessible. For this purpose FeRD offers all companies and organisations of the public administration a
56 License to use the copyrighted ZUGFeRD data format in a fair, appropriate and non
57 discriminatory conditions.
58
59 The specification of the FeRD for the implementation of the ZUGFeRD data format is, in its currently valid version
60 available at www.ferd-net.de.
61
62 In detail, the grant of use includes
63 =====================================
64
65 FeRD grants a license for the use of the copyrighted ZUGFeRD data format in the respective
66 valid and accepted version (www.ferd-net.de).
67 The license includes an irrevocable right of use including the right of further development,
68 Further processing and connection with other products.
69 The license applies in particular to the development, design, production, sale, use or
70 other use of the ZUGFeRD data format for hardware and/or software products and other
71 applications and services.
72 This license does not include the essential patents of the members of FeRD. The essential patents are patents
73 and patent applications worldwide which contain one or more claims that are
74 necessary claims. Necessary claims are only those claims of the essential patents which are
75 the implementation of the ZUGFeRD data format would necessarily be violated.
76 The Licensee is entitled to provide its respective group companies with an unlimited, worldwide, non-transferable,
77 irrevocable right of use including the right of further development, further processing and connection with
78 other products.
79
80 The license is provided free of charge.
81
82 Except in the case of intentional fault or gross negligence, FeRD is not liable for loss of use, loss of
83 Profit, loss of data, loss of communication, loss of revenue, loss of contracts, loss of business or for costs
84 damages, losses or liabilities in connection with an interruption of business, nor for concrete,
85 incidental, indirect, punitive or consequential damages, even if the possibility of
86 costs, losses or damages could normally have been foreseen.-->
87
88 <rsm:CrossIndustryInvoice xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
89 <rsm:ExchangedDocumentContext>
90 <ram:GuidelineSpecifiedDocumentContextParameter>
91 <ram:ID>urn:cen.eu:en16931:2017#compliant#urn:factur-x.eu:1p0:basic</ram:ID> </ram:GuidelineSpecifiedDocumentContextParameter>
92 </rsm:ExchangedDocumentContext>
93 <rsm:ExchangedDocument>
94 <ram:ID>RK21012345</ram:ID>
95 <ram:TypeCode>384</ram:TypeCode>
96 <ram:IssueDateTime>
97 <udt:DateTimeString format="102">20241115</udt:DateTimeString>
98 </ram:IssueDateTime>
99 <ram:IncludedNote>
100 <ram:Content>Es bestehen Rabatt- oder Bonusvereinbarungen.</ram:Content>
101 </ram:IncludedNote>
102 <ram:IncludedNote>
103 <ram:Content>MUSTERLIEFERANT GMBH
104 BAHNHOFSTRASSE 99
105 99199 MUSTERHAUSEN
106 Geschäftsführung:
107 Max Mustermann
108 USt-IdNr: DE123456789
109 Telefon: +49 932 431 0
110 www.musterlieferant.de
111 HRB Nr. 372876
112 Amtsgericht Musterstadt
113 GLN 4304171000002
114 </ram:Content>
115 </ram:IncludedNote>
116 <ram:IncludedNote>
117 <ram:Content>Bei Rückfragen:
118 Telefon: +49 932 431 500
119 E-Mail : [email protected]
120 </ram:Content>
121 </ram:IncludedNote>
122 <ram:IncludedNote>
123 <ram:Content>Warenempfänger
124 GLN 430417088093
125 MUSTER-MARKT
126
127 HAUPTSTRASSE 44
128 31157 SARSTEDT
129
130 Abteilung : 8211
131 </ram:Content>
132 </ram:IncludedNote>
133 <ram:IncludedNote>
134 <ram:Content>
135 Bestell-Nr : B123456789
136 Bestell-Datum : 01.11.2024
137
138 Lieferschein-Nr : L87654321012345
139 Lieferschein-Datum : 14.11.2024
140 Ursprungsbeleg-Nr : R87654321012345
141 Reklamationsnummer : REKLA-2024-235
142 </ram:Content>
143 </ram:IncludedNote>
144 <ram:IncludedNote>
145 <ram:Content>Rechnungsempfänger
146 GLN 4304171000002
147 MUSTER-KUNDE GMBH
148
149 KUNDENWEG 88
150 40235 DUESSELDORF
151 Kunden-Nr. : 009420
152 </ram:Content>
153 </ram:IncludedNote>
154 </rsm:ExchangedDocument>
155 <rsm:SupplyChainTradeTransaction>
156
157 <ram:IncludedSupplyChainTradeLineItem>
158 <ram:AssociatedDocumentLineDocument>
159 <ram:LineID>1</ram:LineID>
160 </ram:AssociatedDocumentLineDocument>
161 <ram:SpecifiedTradeProduct>
162 <ram:Name>GTIN 4123456000014
163 Art-Nr-Lieferant ZS9997
164 Zitronensäure 100ml
165 Verpackung: Flasche
166 VKE/Geb: 1
167 </ram:Name>
168 </ram:SpecifiedTradeProduct>
169 <ram:SpecifiedLineTradeAgreement>
170 <ram:NetPriceProductTradePrice>
171 <ram:ChargeAmount>1.00</ram:ChargeAmount>
172 </ram:NetPriceProductTradePrice>
173 </ram:SpecifiedLineTradeAgreement>
174 <ram:SpecifiedLineTradeDelivery>
175 <ram:BilledQuantity unitCode="H87">-5.0000</ram:BilledQuantity>
176 </ram:SpecifiedLineTradeDelivery>
177 <ram:SpecifiedLineTradeSettlement>
178 <ram:ApplicableTradeTax>
179 <ram:TypeCode>VAT</ram:TypeCode>
180 <ram:CategoryCode>S</ram:CategoryCode>
181 <ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
182 </ram:ApplicableTradeTax>
183 <ram:SpecifiedTradeSettlementLineMonetarySummation>
184 <ram:LineTotalAmount>-5.00</ram:LineTotalAmount>
185 </ram:SpecifiedTradeSettlementLineMonetarySummation>
186 </ram:SpecifiedLineTradeSettlement>
187 </ram:IncludedSupplyChainTradeLineItem>
188 <ram:IncludedSupplyChainTradeLineItem>
189 <ram:AssociatedDocumentLineDocument>
190 <ram:LineID>2</ram:LineID>
191 </ram:AssociatedDocumentLineDocument>
192 <ram:SpecifiedTradeProduct>
193 <ram:Name>GTIN 4123456000021
194 Art-Nr-Lieferant GZ250
195 Gelierzucker Extra 250g
196 Verpackung: Karton
197 VKE/Geb: 1
198 </ram:Name>
199 </ram:SpecifiedTradeProduct>
200 <ram:SpecifiedLineTradeAgreement>
201 <ram:NetPriceProductTradePrice>
202 <ram:ChargeAmount>1.45</ram:ChargeAmount>
203 </ram:NetPriceProductTradePrice>
204 </ram:SpecifiedLineTradeAgreement>
205 <ram:SpecifiedLineTradeDelivery>
206 <ram:BilledQuantity unitCode="C62">-2.0000</ram:BilledQuantity>
207 </ram:SpecifiedLineTradeDelivery>
208 <ram:SpecifiedLineTradeSettlement>
209 <ram:ApplicableTradeTax>
210 <ram:TypeCode>VAT</ram:TypeCode>
211 <ram:CategoryCode>S</ram:CategoryCode>
212 <ram:RateApplicablePercent>7.00</ram:RateApplicablePercent>
213 </ram:ApplicableTradeTax>
214 <ram:SpecifiedTradeSettlementLineMonetarySummation>
215 <ram:LineTotalAmount>-2.90</ram:LineTotalAmount>
216 </ram:SpecifiedTradeSettlementLineMonetarySummation>
217 </ram:SpecifiedLineTradeSettlement>
218 </ram:IncludedSupplyChainTradeLineItem>
219 <ram:ApplicableHeaderTradeAgreement>
220 <ram:SellerTradeParty>
221 <ram:Name>GLN 4333741000005
222 Lief-Nr: 549910
223 MUSTERLIEFERANT GMBH
224 </ram:Name>
225 <ram:PostalTradeAddress>
226 <ram:PostcodeCode>99199</ram:PostcodeCode>
227 <ram:LineOne>BAHNHOFSTRASSE 99</ram:LineOne>
228 <ram:CityName>MUSTERHAUSEN</ram:CityName>
229 <ram:CountryID>DE</ram:CountryID>
230 </ram:PostalTradeAddress>
231 <ram:SpecifiedTaxRegistration>
232 <ram:ID schemeID="VA">DE123456789</ram:ID>
233 </ram:SpecifiedTaxRegistration>
234 </ram:SellerTradeParty>
235 <ram:BuyerTradeParty>
236 <ram:Name>GLN 4304171000002
237 Kunden-Nr. : 009420
238 MUSTER-KUNDE GMBH
239 </ram:Name>
240 <ram:PostalTradeAddress>
241 <ram:PostcodeCode>40235</ram:PostcodeCode>
242 <ram:LineOne>KUNDENWEG 88</ram:LineOne>
243 <ram:CityName>DUESSELDORF</ram:CityName>
244 <ram:CountryID>DE</ram:CountryID>
245 </ram:PostalTradeAddress>
246 </ram:BuyerTradeParty>
247 </ram:ApplicableHeaderTradeAgreement>
248 <ram:ApplicableHeaderTradeDelivery>
249 <ram:ActualDeliverySupplyChainEvent>
250 <ram:OccurrenceDateTime>
251 <udt:DateTimeString format="102">20241114</udt:DateTimeString>
252 </ram:OccurrenceDateTime>
253 </ram:ActualDeliverySupplyChainEvent>
254 </ram:ApplicableHeaderTradeDelivery>
255 <ram:ApplicableHeaderTradeSettlement>
256 <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
257 <ram:ApplicableTradeTax>
258 <ram:CalculatedAmount>-0.92</ram:CalculatedAmount>
259 <ram:TypeCode>VAT</ram:TypeCode>
260 <ram:BasisAmount>-4.85</ram:BasisAmount>
261 <ram:CategoryCode>S</ram:CategoryCode>
262 <ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
263 </ram:ApplicableTradeTax>
264 <ram:ApplicableTradeTax>
265 <ram:CalculatedAmount>-0.20</ram:CalculatedAmount>
266 <ram:TypeCode>VAT</ram:TypeCode>
267 <ram:BasisAmount>-2.82</ram:BasisAmount>
268 <ram:CategoryCode>S</ram:CategoryCode>
269 <ram:RateApplicablePercent>7.00</ram:RateApplicablePercent>
270 </ram:ApplicableTradeTax>
271 <ram:SpecifiedTradeAllowanceCharge>
272 <ram:ChargeIndicator>
273 <udt:Indicator>false</udt:Indicator>
274 </ram:ChargeIndicator>
275 <ram:ActualAmount>-0.15</ram:ActualAmount>
276 <ram:Reason>Rechnungsrabatt</ram:Reason>
277 <ram:CategoryTradeTax>
278 <ram:TypeCode>VAT</ram:TypeCode>
279 <ram:CategoryCode>S</ram:CategoryCode>
280 <ram:RateApplicablePercent>19</ram:RateApplicablePercent>
281 </ram:CategoryTradeTax>
282 </ram:SpecifiedTradeAllowanceCharge>
283 <ram:SpecifiedTradeAllowanceCharge>
284 <ram:ChargeIndicator>
285 <udt:Indicator>false</udt:Indicator>
286 </ram:ChargeIndicator>
287 <ram:ActualAmount>-0.08</ram:ActualAmount>
288 <ram:Reason>Rechnungsrabatt</ram:Reason>
289 <ram:CategoryTradeTax>
290 <ram:TypeCode>VAT</ram:TypeCode>
291 <ram:CategoryCode>S</ram:CategoryCode>
292 <ram:RateApplicablePercent>7</ram:RateApplicablePercent>
293 </ram:CategoryTradeTax>
294 </ram:SpecifiedTradeAllowanceCharge>
295 <ram:SpecifiedTradeSettlementHeaderMonetarySummation>
296 <ram:LineTotalAmount>-7.90</ram:LineTotalAmount>
297 <ram:ChargeTotalAmount>0.00</ram:ChargeTotalAmount>
298 <ram:AllowanceTotalAmount>-0.23</ram:AllowanceTotalAmount>
299 <ram:TaxBasisTotalAmount>-7.67</ram:TaxBasisTotalAmount>
300 <ram:TaxTotalAmount currencyID="EUR">-1.12</ram:TaxTotalAmount>
301 <ram:GrandTotalAmount>-8.79</ram:GrandTotalAmount>
302 <ram:DuePayableAmount>-8.79</ram:DuePayableAmount>
303 </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
304 </ram:ApplicableHeaderTradeSettlement>
305 </rsm:SupplyChainTradeTransaction>
306 </rsm:CrossIndustryInvoice>