Project

Profile

Help

Feature #4823 » Sample121-new.xml

Svante Schubert, 2020-11-12 10:39

 
1
<?xml version="1.0" encoding="UTF-8"?>
2
<Invoice xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
3
 xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
4
 xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">
5
        <cbc:CustomizationID>urn:cen.eu:en16931:2017</cbc:CustomizationID>
6
        <cbc:ID>Inv1</cbc:ID>
7
        <cbc:IssueDate>2020-04-09</cbc:IssueDate>
8
        <cbc:DueDate>2020-05-09</cbc:DueDate>
9
        <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
10
        <cbc:Note>Testcase 121</cbc:Note>
11
        <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
12
        <cac:OrderReference>
13
                <cbc:ID>YR127129</cbc:ID>
14
        </cac:OrderReference>
15
        <cac:AccountingSupplierParty>
16
                <cac:Party>                                
17
                        <cbc:EndpointID schemeID="0208">0000000196</cbc:EndpointID>                        
18
                        <cac:PartyName>                        
19
                                <cbc:Name>My Supplier Company N.V.</cbc:Name>                
20
                        </cac:PartyName>                        
21
                        <cac:PostalAddress>                        
22
                                <cbc:StreetName>De Grote Meir 22</cbc:StreetName>                
23
                                <cbc:CityName>ANTWERPEN</cbc:CityName>                
24
                                <cbc:PostalZone>2000</cbc:PostalZone>                
25
                                <cac:Country>                
26
                                        <cbc:IdentificationCode>BE</cbc:IdentificationCode>        
27
                                </cac:Country>                
28
                        </cac:PostalAddress>                        
29
                        <cac:PartyTaxScheme>                        
30
                                <cbc:CompanyID>BE0000000196</cbc:CompanyID>                
31
                                <cac:TaxScheme>                
32
                                        <cbc:ID>VAT</cbc:ID>        
33
                                </cac:TaxScheme>                
34
                        </cac:PartyTaxScheme>                        
35
                        <cac:PartyLegalEntity>                        
36
                                <cbc:RegistrationName>My Supplier Company</cbc:RegistrationName>                
37
                                <cbc:CompanyID schemeID="0208">0000000196</cbc:CompanyID>                
38
                        </cac:PartyLegalEntity>                        
39
                        <cac:Contact>                        
40
                                <cbc:ElectronicMail>john.doole@mysuppliercompany.be</cbc:ElectronicMail>                
41
                        </cac:Contact>                        
42
                </cac:Party>                                
43
        </cac:AccountingSupplierParty>
44
        <cac:AccountingCustomerParty>
45
                <cac:Party>                                
46
                        <cbc:EndpointID schemeID="0208">0000000295</cbc:EndpointID>                        
47
                        <cac:PartyName>                        
48
                                <cbc:Name>My Customer Company S.A.</cbc:Name>                
49
                        </cac:PartyName>                        
50
                        <cac:PostalAddress>                        
51
                                <cbc:StreetName>Boulevard  Sint Michel 53</cbc:StreetName>                
52
                                <cbc:CityName>BRUXELLES</cbc:CityName>                
53
                                <cbc:PostalZone>1000</cbc:PostalZone>                
54
                                <cac:Country>                
55
                                        <cbc:IdentificationCode>BE</cbc:IdentificationCode>        
56
                                </cac:Country>                
57
                        </cac:PostalAddress>                        
58
                        <cac:PartyTaxScheme>                        
59
                                <cbc:CompanyID>BE0000000295</cbc:CompanyID>                
60
                                <cac:TaxScheme>                
61
                                        <cbc:ID>VAT</cbc:ID>        
62
                                </cac:TaxScheme>                
63
                        </cac:PartyTaxScheme>                        
64
                        <cac:PartyLegalEntity>                        
65
                                <cbc:RegistrationName>My Customer Company</cbc:RegistrationName>                
66
                                <cbc:CompanyID schemeID="0208">0000000295</cbc:CompanyID>                
67
                        </cac:PartyLegalEntity>                        
68
                        <cac:Contact>                        
69
                                <cbc:ElectronicMail>pete.smith@mycustomercompany.be</cbc:ElectronicMail>                
70
                        </cac:Contact>                        
71
                </cac:Party>                                
72
        </cac:AccountingCustomerParty>
73
        <cac:PaymentMeans>
74
                <cbc:PaymentMeansCode>30</cbc:PaymentMeansCode>
75
                <cbc:PaymentID>Inv1</cbc:PaymentID>
76
                <cac:PayeeFinancialAccount>
77
                        <cbc:ID>BE54000000000097</cbc:ID>
78
                        <cac:FinancialInstitutionBranch>
79
                                <cbc:ID>BPOTBEB1</cbc:ID>
80
                        </cac:FinancialInstitutionBranch>
81
                </cac:PayeeFinancialAccount>
82
        </cac:PaymentMeans>
83
        <cac:PaymentTerms>
84
                <cbc:Note>30 days after invoice date</cbc:Note>
85
        </cac:PaymentTerms>
86
        <cac:TaxTotal>
87
                <cbc:TaxAmount currencyID="EUR">21</cbc:TaxAmount>
88
                <cac:TaxSubtotal>
89
                        <cbc:TaxableAmount currencyID="EUR">100.00</cbc:TaxableAmount>
90
                        <cbc:TaxAmount currencyID="EUR">21.00</cbc:TaxAmount>
91
                        <cac:TaxCategory>
92
                                <cbc:ID>S</cbc:ID>
93
                                <cbc:Percent>21</cbc:Percent>
94
                                <cac:TaxScheme>
95
                                        <cbc:ID>VAT</cbc:ID>
96
                                </cac:TaxScheme>
97
                        </cac:TaxCategory>
98
                </cac:TaxSubtotal>
99
        </cac:TaxTotal>
100
        <cac:LegalMonetaryTotal>
101
                <cbc:LineExtensionAmount currencyID="EUR">100</cbc:LineExtensionAmount>
102
                <cbc:TaxExclusiveAmount currencyID="EUR">100</cbc:TaxExclusiveAmount>
103
                <cbc:TaxInclusiveAmount currencyID="EUR">121</cbc:TaxInclusiveAmount>
104
                <cbc:AllowanceTotalAmount currencyID="EUR">0</cbc:AllowanceTotalAmount>
105
                <cbc:ChargeTotalAmount currencyID="EUR">0</cbc:ChargeTotalAmount>
106
                <cbc:PrepaidAmount currencyID="EUR">0</cbc:PrepaidAmount>
107
                <cbc:PayableAmount currencyID="EUR">121</cbc:PayableAmount>
108
        </cac:LegalMonetaryTotal>
109
        <cac:InvoiceLine>
110
                <cbc:ID>1</cbc:ID>
111
                <cbc:InvoicedQuantity unitCode="ZZ">1.0</cbc:InvoicedQuantity>
112
                <cbc:LineExtensionAmount currencyID="EUR">1.00</cbc:LineExtensionAmount>
113
                <cac:Item>
114
                        <cbc:Name>Shoes</cbc:Name>
115
                        <cac:ClassifiedTaxCategory>
116
                                <cbc:ID>S</cbc:ID>
117
                                <cbc:Percent>21</cbc:Percent>
118
                                <cac:TaxScheme>
119
                                        <cbc:ID>VAT</cbc:ID>
120
                                </cac:TaxScheme>
121
                        </cac:ClassifiedTaxCategory>
122
                </cac:Item>
123
                <cac:Price>
124
                        <cbc:PriceAmount currencyID="EUR">1.0</cbc:PriceAmount>
125
                        <cbc:BaseQuantity>1</cbc:BaseQuantity>
126
                </cac:Price>
127
        </cac:InvoiceLine>
128
        <cac:InvoiceLine>
129
                <cbc:ID>2</cbc:ID>
130
                <cbc:InvoicedQuantity unitCode="ZZ">1.0</cbc:InvoicedQuantity>
131
                <cbc:LineExtensionAmount currencyID="EUR">0.33333</cbc:LineExtensionAmount>
132
                <cac:Item>
133
                        <cbc:Name>Shoes</cbc:Name>
134
                        <cac:ClassifiedTaxCategory>
135
                                <cbc:ID>S</cbc:ID>
136
                                <cbc:Percent>21</cbc:Percent>
137
                                <cac:TaxScheme>
138
                                        <cbc:ID>VAT</cbc:ID>
139
                                </cac:TaxScheme>
140
                        </cac:ClassifiedTaxCategory>
141
                </cac:Item>
142
                <cac:Price>
143
                        <cbc:PriceAmount currencyID="EUR">1.0</cbc:PriceAmount>
144
                        <cbc:BaseQuantity>3</cbc:BaseQuantity>
145
                </cac:Price>
146
        </cac:InvoiceLine>
147
        <cac:InvoiceLine>
148
                <cbc:ID>3</cbc:ID>
149
                <cbc:InvoicedQuantity unitCode="ZZ">1000000000.0</cbc:InvoicedQuantity>
150
                <cbc:LineExtensionAmount currencyID="EUR">333333333.3333</cbc:LineExtensionAmount>
151
                <cac:Item>
152
                        <cbc:Name>Shoes</cbc:Name>
153
                        <cac:ClassifiedTaxCategory>
154
                                <cbc:ID>S</cbc:ID>
155
                                <cbc:Percent>21</cbc:Percent>
156
                                <cac:TaxScheme>
157
                                        <cbc:ID>VAT</cbc:ID>
158
                                </cac:TaxScheme>
159
                        </cac:ClassifiedTaxCategory>
160
                </cac:Item>
161
                <cac:Price>
162
                        <cbc:PriceAmount currencyID="EUR">1.0</cbc:PriceAmount>
163
                        <cbc:BaseQuantity>3</cbc:BaseQuantity>
164
                </cac:Price>
165
        </cac:InvoiceLine>
166
        <cac:InvoiceLine>
167
                <cbc:ID>4</cbc:ID>
168
                <cbc:InvoicedQuantity unitCode="ZZ">1.0</cbc:InvoicedQuantity>
169
                <cbc:LineExtensionAmount currencyID="EUR">0.32015810288068865321</cbc:LineExtensionAmount>
170
                <cac:Item>
171
                        <cbc:Name>Shoes</cbc:Name>
172
                        <cac:ClassifiedTaxCategory>
173
                                <cbc:ID>S</cbc:ID>
174
                                <cbc:Percent>21</cbc:Percent>
175
                                <cac:TaxScheme>
176
                                        <cbc:ID>VAT</cbc:ID>
177
                                </cac:TaxScheme>
178
                        </cac:ClassifiedTaxCategory>
179
                </cac:Item>
180
                <cac:Price>
181
                        <cbc:PriceAmount currencyID="EUR">1.0</cbc:PriceAmount>
182
                        <cbc:BaseQuantity>3.12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678904</cbc:BaseQuantity>
183
                </cac:Price>
184
        </cac:InvoiceLine>
185
        <cac:InvoiceLine>
186
                <cbc:ID>5</cbc:ID>
187
                <cbc:InvoicedQuantity unitCode="ZZ">1.0</cbc:InvoicedQuantity>
188
                <cbc:LineExtensionAmount currencyID="EUR">3.12</cbc:LineExtensionAmount>
189
                <cac:Item>
190
                        <cbc:Name>Shoes</cbc:Name>
191
                        <cac:ClassifiedTaxCategory>
192
                                <cbc:ID>S</cbc:ID>
193
                                <cbc:Percent>21</cbc:Percent>
194
                                <cac:TaxScheme>
195
                                        <cbc:ID>VAT</cbc:ID>
196
                                </cac:TaxScheme>
197
                        </cac:ClassifiedTaxCategory>
198
                </cac:Item>
199
                <cac:Price>
200
                        <cbc:PriceAmount currencyID="EUR">3.12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678904</cbc:PriceAmount>
201
                        <cbc:BaseQuantity>1.0</cbc:BaseQuantity>
202
                </cac:Price>
203
        </cac:InvoiceLine>
204
        <cac:InvoiceLine>
205
                <cbc:ID>6</cbc:ID>
206
                <cbc:InvoicedQuantity unitCode="ZZ">1.0</cbc:InvoicedQuantity>
207
                <cbc:LineExtensionAmount currencyID="EUR">3.00</cbc:LineExtensionAmount>
208
                <cac:Item>
209
                        <cbc:Name>Shoes</cbc:Name>
210
                        <cac:ClassifiedTaxCategory>
211
                                <cbc:ID>S</cbc:ID>
212
                                <cbc:Percent>21</cbc:Percent>
213
                                <cac:TaxScheme>
214
                                        <cbc:ID>VAT</cbc:ID>
215
                                </cac:TaxScheme>
216
                        </cac:ClassifiedTaxCategory>
217
                </cac:Item>
218
                <cac:Price>
219
                        <cbc:PriceAmount currencyID="EUR">3.00000000000000000000000</cbc:PriceAmount>
220
                        <cbc:BaseQuantity>1.00000000000000000000000</cbc:BaseQuantity>
221
                </cac:Price>
222
        </cac:InvoiceLine>
223
        <cac:InvoiceLine>
224
                <cbc:ID>7</cbc:ID>
225
                <cbc:InvoicedQuantity unitCode="ZZ">1.0</cbc:InvoicedQuantity>
226
                <cbc:LineExtensionAmount currencyID="EUR">3</cbc:LineExtensionAmount>
227
                <cac:Item>
228
                        <cbc:Name>Shoes</cbc:Name>
229
                        <cac:ClassifiedTaxCategory>
230
                                <cbc:ID>S</cbc:ID>
231
                                <cbc:Percent>21</cbc:Percent>
232
                                <cac:TaxScheme>
233
                                        <cbc:ID>VAT</cbc:ID>
234
                                </cac:TaxScheme>
235
                        </cac:ClassifiedTaxCategory>
236
                </cac:Item>
237
                <cac:Price>
238
                        <cbc:PriceAmount currencyID="EUR">3.00000000000000000000001</cbc:PriceAmount>
239
                        <cbc:BaseQuantity>1.00000000000000000000001</cbc:BaseQuantity>
240
                </cac:Price>
241
        </cac:InvoiceLine>
242
        <cac:InvoiceLine>
243
                <cbc:ID>8</cbc:ID>
244
                <cbc:InvoicedQuantity unitCode="ZZ">1000000000.0</cbc:InvoicedQuantity>
245
                <cbc:LineExtensionAmount currencyID="EUR">3000000000.00</cbc:LineExtensionAmount>
246
                <cac:Item>
247
                        <cbc:Name>Shoes</cbc:Name>
248
                        <cac:ClassifiedTaxCategory>
249
                                <cbc:ID>S</cbc:ID>
250
                                <cbc:Percent>21</cbc:Percent>
251
                                <cac:TaxScheme>
252
                                        <cbc:ID>VAT</cbc:ID>
253
                                </cac:TaxScheme>
254
                        </cac:ClassifiedTaxCategory>
255
                </cac:Item>
256
                <cac:Price>
257
                        <cbc:PriceAmount currencyID="EUR">3.00000000000000000000001</cbc:PriceAmount>
258
                        <cbc:BaseQuantity>1.00000000000000000000001</cbc:BaseQuantity>
259
                </cac:Price>
260
        </cac:InvoiceLine>
261
</Invoice>
(3-3/4)