-
Notifications
You must be signed in to change notification settings - Fork 1
/
maxubl.xml
368 lines (367 loc) · 16.5 KB
/
maxubl.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is just a technical example it does not reflect any busines case and hence might not reflect anything real -->
<ns0:Invoice xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
xmlns:ns0="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">
<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</cbc:CustomizationID>
<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
<cbc:ID>1234567890</cbc:ID>
<cbc:IssueDate>2018-10-15</cbc:IssueDate>
<cbc:DueDate>2018-10-29</cbc:DueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:Note>Bemerkung zu der Rechnung gibt es nicht, da dies eine Testrechnung
ist.</cbc:Note>
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<cbc:BuyerReference>99000000-01514-29</cbc:BuyerReference>
<cac:InvoicePeriod>
<cbc:StartDate>2018-10-01</cbc:StartDate>
<cbc:EndDate>2018-10-23</cbc:EndDate>
</cac:InvoicePeriod>
<cac:OrderReference>
<cbc:ID>2345678901</cbc:ID>
<cbc:SalesOrderID>Auftragsreferenz</cbc:SalesOrderID>
</cac:OrderReference>
<cac:BillingReference>
<cac:InvoiceDocumentReference>
<cbc:ID>PRG1502168</cbc:ID>
<cbc:IssueDate>2018-10-13</cbc:IssueDate>
</cac:InvoiceDocumentReference>
</cac:BillingReference>
<cac:OriginatorDocumentReference>
<cbc:ID>Vergabe-und Losreferenz</cbc:ID>
</cac:OriginatorDocumentReference>
<cac:ContractDocumentReference>
<cbc:ID>Vertragsreferenz</cbc:ID>
</cac:ContractDocumentReference>
<cac:AdditionalDocumentReference>
<cbc:ID>Dokument Referenz</cbc:ID>
<cbc:DocumentDescription>Beschreibung der angehängten JPG-Datei</cbc:DocumentDescription>
</cac:AdditionalDocumentReference>
<cac:AdditionalDocumentReference>
<cbc:ID>Kennung des Objekts</cbc:ID>
<cbc:DocumentDescription>ATS</cbc:DocumentDescription>
</cac:AdditionalDocumentReference>
<!-- BT-11 -->
<cac:ProjectReference>
<cbc:ID>Projektreferenz</cbc:ID>
</cac:ProjectReference>
<cac:AccountingSupplierParty>
<cac:Party>
<cbc:EndpointID schemeID="EM">rechnungsausgang@test.com</cbc:EndpointID>
<cac:PartyIdentification>
<cbc:ID schemeID="0013">987654321</cbc:ID>
</cac:PartyIdentification>
<cac:PartyIdentification>
<cbc:ID schemeID="0013">987654320</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>EntServDE</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Straße Rechnungssteller 1</cbc:StreetName>
<cbc:AdditionalStreetName>Erweiterte Anschrift
Rechnungssteller</cbc:AdditionalStreetName>
<cbc:CityName>Ort Rechnungssteller</cbc:CityName>
<cbc:PostalZone>12345</cbc:PostalZone>
<cbc:CountrySubentity>Bundesland Rechnungssteller</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>DK</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>ATU13585627</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyTaxScheme>
<cbc:CompanyID>456</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>AAA</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>EntServ Deutschland GmbH</cbc:RegistrationName>
<cbc:CompanyID schemeID="0198">123456789</cbc:CompanyID>
<cbc:CompanyLegalForm>Weitere rechtliche
Informationen</cbc:CompanyLegalForm>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Name>EntServ Deutschland</cbc:Name>
<cbc:Telephone>0123 456789</cbc:Telephone>
<cbc:ElectronicMail>kontakt@Rechnungssteller.de</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<cbc:EndpointID schemeID="EM">rechnungseingang@test.de</cbc:EndpointID>
<cac:PartyIdentification>
<cbc:ID schemeID="0094">DPMA-678</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>Abweichender Handelsname Rechnungsempfänger</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Straße Rechnungsempfänger 1</cbc:StreetName>
<cbc:AdditionalStreetName>Erweitere Adresse
Rechnungempfänger</cbc:AdditionalStreetName>
<cbc:CityName>Ort Rechnungsempfänger</cbc:CityName>
<cbc:PostalZone>67890</cbc:PostalZone>
<cbc:CountrySubentity>Bundesland
Rechnungsempfänger</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>CN</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>ATU13585627</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Deutsches Patent - und
Markenamt</cbc:RegistrationName>
<cbc:CompanyID schemeID="0094">90000000-03083-12</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Name>Kontakt Rechnungsempfänger</cbc:Name>
<cbc:Telephone>0987 654321</cbc:Telephone>
<cbc:ElectronicMail>tina@tester.de</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PayeeParty>
<cac:PartyIdentification>
<cbc:ID schemeID="0118">AZE</cbc:ID>
</cac:PartyIdentification>
<cac:PartyName>
<cbc:Name>Abweichender Zahlungsempfänger</cbc:Name>
</cac:PartyName>
<cac:PartyLegalEntity>
<cbc:CompanyID schemeID="0198">AZE-123</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:PayeeParty>
<cac:Delivery>
<cbc:ActualDeliveryDate>2018-10-22</cbc:ActualDeliveryDate>
<cac:DeliveryLocation>
<cbc:ID schemeID="0088">AL</cbc:ID>
<cac:Address>
<cbc:StreetName>Anderer Leistungsempfänger Straße 1</cbc:StreetName>
<cbc:AdditionalStreetName>Anderer Leistungsempfänger erweiterte
Adresse</cbc:AdditionalStreetName>
<cbc:CityName>Anderer Leistungsempfänger Ort</cbc:CityName>
<cbc:PostalZone>45678</cbc:PostalZone>
<cbc:CountrySubentity>Anderer Leistungempfänger
Bundesland</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>BS</cbc:IdentificationCode>
</cac:Country>
</cac:Address>
</cac:DeliveryLocation>
<cac:DeliveryParty>
<cac:PartyName>
<cbc:Name>Anderer Leistungsempfänger</cbc:Name>
</cac:PartyName>
</cac:DeliveryParty>
</cac:Delivery>
<cac:PaymentMeans>
<cbc:PaymentMeansCode name="Credit transfer">30</cbc:PaymentMeansCode>
<cbc:PaymentID>Verwendungszweck</cbc:PaymentID>
<cac:PayeeFinancialAccount>
<cbc:ID>DE84 6004 0071 0561 5158 01</cbc:ID>
<cbc:Name>EntServ Deutschland GmbH</cbc:Name>
<cac:FinancialInstitutionBranch>
<cbc:ID>XXX0561515801</cbc:ID>
</cac:FinancialInstitutionBranch>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:PaymentTerms>
<cbc:Note>Zahlungsbedingungen gibt es nicht, da dies eine Testrechnung
ist.</cbc:Note>
</cac:PaymentTerms>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Grund für den Nachlass auf
Dokumentenebene</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>50.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">1000.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">2000.00</cbc:BaseAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>19</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Grund für den Zuschlag auf
Dokumentenenbene</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>10.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">400.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">4000.00</cbc:BaseAmount>
<cac:TaxCategory>
<cbc:ID>Z</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Grund für Nachlass 2</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>10.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">1500.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">15000.00</cbc:BaseAmount>
<cac:TaxCategory>
<cbc:ID>E</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:AllowanceCharge>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">510.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">400.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>Z</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">10000.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">700.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>7</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">-1000.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">-190.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>19</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">-1500.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">0</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>E</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cbc:TaxExemptionReason>Grund für die Befreiung</cbc:TaxExemptionReason>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">10000.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">7900.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">8410.00</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="EUR">2500.00</cbc:AllowanceTotalAmount>
<cbc:ChargeTotalAmount currencyID="EUR">400.00</cbc:ChargeTotalAmount>
<cbc:PrepaidAmount currencyID="EUR">500.00</cbc:PrepaidAmount>
<cbc:PayableRoundingAmount currencyID="EUR">210.00</cbc:PayableRoundingAmount>
<cbc:PayableAmount currencyID="EUR">8120.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>123</cbc:ID>
<cbc:InvoicedQuantity unitCode="LTR">10.00</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">10000.00</cbc:LineExtensionAmount>
<cbc:AccountingCost>BRE</cbc:AccountingCost>
<cac:InvoicePeriod>
<cbc:StartDate>2018-10-05</cbc:StartDate>
<cbc:EndDate>2018-10-07</cbc:EndDate>
</cac:InvoicePeriod>
<cac:OrderLineReference>
<cbc:LineID>RPB</cbc:LineID>
</cac:OrderLineReference>
<cac:DocumentReference>
<cbc:ID schemeID="AAD">7362789</cbc:ID>
<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
</cac:DocumentReference>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Grund Nachlass 1</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>10.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">10.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">100.00</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Grund Nachlass 2</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>50.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">100.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">200.00</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Grund Zuschlag 1</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>50.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">100.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">200.00</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:AllowanceCharge>
<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
<cbc:AllowanceChargeReason>Grund Zuschlag 2</cbc:AllowanceChargeReason>
<cbc:MultiplierFactorNumeric>10.00</cbc:MultiplierFactorNumeric>
<cbc:Amount currencyID="EUR">10.00</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">100.00</cbc:BaseAmount>
</cac:AllowanceCharge>
<cac:Item>
<cbc:Description>Beschreibung Artikel</cbc:Description>
<cbc:Name>Bezeichung Artikel</cbc:Name>
<cac:BuyersItemIdentification>
<cbc:ID>BB</cbc:ID>
</cac:BuyersItemIdentification>
<cac:SellersItemIdentification>
<cbc:ID>456</cbc:ID>
</cac:SellersItemIdentification>
<cac:StandardItemIdentification>
<cbc:ID schemeID="0088">1234567890128</cbc:ID>
</cac:StandardItemIdentification>
<cac:CommodityClassification>
<cbc:ItemClassificationCode listID="ZZZ" listVersionID="1.0"
>12344321</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>7</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
<cac:AdditionalItemProperty>
<cbc:Name>Farbe</cbc:Name>
<cbc:Value>blau</cbc:Value>
</cac:AdditionalItemProperty>
<cac:AdditionalItemProperty>
<cbc:Name>Größe</cbc:Name>
<cbc:Value>XL</cbc:Value>
</cac:AdditionalItemProperty>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">1000</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
</ns0:Invoice>