Debian Codegraph @

addons/l10n_ro_edi/tests/test_files/from_odoo/ciusro_out_refund.xml

raw
1 <?xml version='1.0' encoding='UTF-8'?>
2 <CreditNote xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2">
3 <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:efactura.mfinante.ro:CIUS-RO:1.0.1</cbc:CustomizationID>
4 <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
5 <cbc:ID>RINV/2017/00001</cbc:ID>
6 <cbc:IssueDate>2017-01-01</cbc:IssueDate>
7 <cbc:CreditNoteTypeCode>381</cbc:CreditNoteTypeCode>
8 <cbc:Note>test narration</cbc:Note>
9 <cbc:DocumentCurrencyCode>RON</cbc:DocumentCurrencyCode>
10 <cbc:TaxCurrencyCode>RON</cbc:TaxCurrencyCode>
11 <cbc:BuyerReference>ref_partner_a</cbc:BuyerReference>
12 <cac:OrderReference>
13 <cbc:ID>ref_move</cbc:ID>
14 </cac:OrderReference>
15 <cac:AdditionalDocumentReference xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">
16 <cbc:ID>RINV_2017_00001.pdf</cbc:ID>
17 <cbc:DocumentTypeCode>50</cbc:DocumentTypeCode>
18 <cac:Attachment>
19 <cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="RINV_2017_00001.pdf">___ignore___</cbc:EmbeddedDocumentBinaryObject>
20 </cac:Attachment>
21 </cac:AdditionalDocumentReference>
22 <cac:AccountingSupplierParty>
23 <cac:Party>
24 <cbc:EndpointID schemeID="9947">RO1234567897</cbc:EndpointID>
25 <cac:PartyName>
26 <cbc:Name>Hudson Construction</cbc:Name>
27 </cac:PartyName>
28 <cac:PostalAddress>
29 <cbc:StreetName>Strada Kunst, 3</cbc:StreetName>
30 <cbc:CityName>SECTOR1</cbc:CityName>
31 <cbc:PostalZone>010101</cbc:PostalZone>
32 <cbc:CountrySubentity>RO-B</cbc:CountrySubentity>
33 <cac:Country>
34 <cbc:IdentificationCode>RO</cbc:IdentificationCode>
35 </cac:Country>
36 </cac:PostalAddress>
37 <cac:PartyTaxScheme>
38 <cbc:CompanyID>RO1234567897</cbc:CompanyID>
39 <cac:TaxScheme>
40 <cbc:ID>VAT</cbc:ID>
41 </cac:TaxScheme>
42 </cac:PartyTaxScheme>
43 <cac:PartyLegalEntity>
44 <cbc:RegistrationName>Hudson Construction</cbc:RegistrationName>
45 <cbc:CompanyID>RO1234567897</cbc:CompanyID>
46 </cac:PartyLegalEntity>
47 <cac:Contact>
48 <cbc:Name>Hudson Construction</cbc:Name>
49 <cbc:Telephone>+40 123 456 789</cbc:Telephone>
50 </cac:Contact>
51 </cac:Party>
52 </cac:AccountingSupplierParty>
53 <cac:AccountingCustomerParty>
54 <cac:Party>
55 <cbc:EndpointID schemeID="9947">RO1234567897</cbc:EndpointID>
56 <cac:PartyIdentification>
57 <cbc:ID>ref_partner_a</cbc:ID>
58 </cac:PartyIdentification>
59 <cac:PartyName>
60 <cbc:Name>Roasted Romanian Roller</cbc:Name>
61 </cac:PartyName>
62 <cac:PostalAddress>
63 <cbc:StreetName>Rolling Roast, 88</cbc:StreetName>
64 <cbc:CityName>SECTOR3</cbc:CityName>
65 <cbc:PostalZone>010101</cbc:PostalZone>
66 <cbc:CountrySubentity>RO-B</cbc:CountrySubentity>
67 <cac:Country>
68 <cbc:IdentificationCode>RO</cbc:IdentificationCode>
69 </cac:Country>
70 </cac:PostalAddress>
71 <cac:PartyTaxScheme>
72 <cbc:CompanyID>RO1234567897</cbc:CompanyID>
73 <cac:TaxScheme>
74 <cbc:ID>VAT</cbc:ID>
75 </cac:TaxScheme>
76 </cac:PartyTaxScheme>
77 <cac:PartyLegalEntity>
78 <cbc:RegistrationName>Roasted Romanian Roller</cbc:RegistrationName>
79 <cbc:CompanyID>RO1234567897</cbc:CompanyID>
80 </cac:PartyLegalEntity>
81 <cac:Contact>
82 <cbc:Name>Roasted Romanian Roller</cbc:Name>
83 <cbc:Telephone>+40 123 456 780</cbc:Telephone>
84 </cac:Contact>
85 </cac:Party>
86 </cac:AccountingCustomerParty>
87 <cac:Delivery>
88 <cac:DeliveryLocation>
89 <cac:Address>
90 <cbc:StreetName>Rolling Roast, 88</cbc:StreetName>
91 <cbc:CityName>SECTOR3</cbc:CityName>
92 <cbc:PostalZone>010101</cbc:PostalZone>
93 <cbc:CountrySubentity>RO-B</cbc:CountrySubentity>
94 <cac:Country>
95 <cbc:IdentificationCode>RO</cbc:IdentificationCode>
96 </cac:Country>
97 </cac:Address>
98 </cac:DeliveryLocation>
99 <cac:DeliveryParty>
100 <cac:PartyName>
101 <cbc:Name>Roasted Romanian Roller</cbc:Name>
102 </cac:PartyName>
103 </cac:DeliveryParty>
104 </cac:Delivery>
105 <cac:PaymentMeans>
106 <cbc:PaymentMeansCode name="standing agreement">57</cbc:PaymentMeansCode>
107 <cbc:PaymentID>RINV/2017/00001</cbc:PaymentID>
108 <cac:PayeeFinancialAccount>
109 <cbc:ID>RO98RNCB1234567890123456</cbc:ID>
110 </cac:PayeeFinancialAccount>
111 </cac:PaymentMeans>
112 <cac:PaymentTerms>
113 <cbc:Note>Payment terms: 30% Advance End of Following Month</cbc:Note>
114 </cac:PaymentTerms>
115 <cac:TaxTotal>
116 <cbc:TaxAmount currencyID="RON">285.00</cbc:TaxAmount>
117 <cac:TaxSubtotal>
118 <cbc:TaxableAmount currencyID="RON">1500.00</cbc:TaxableAmount>
119 <cbc:TaxAmount currencyID="RON">285.00</cbc:TaxAmount>
120 <cac:TaxCategory>
121 <cbc:ID>S</cbc:ID>
122 <cbc:Percent>19.0</cbc:Percent>
123 <cac:TaxScheme>
124 <cbc:ID>VAT</cbc:ID>
125 </cac:TaxScheme>
126 </cac:TaxCategory>
127 </cac:TaxSubtotal>
128 </cac:TaxTotal>
129 <cac:LegalMonetaryTotal>
130 <cbc:LineExtensionAmount currencyID="RON">1500.00</cbc:LineExtensionAmount>
131 <cbc:TaxExclusiveAmount currencyID="RON">1500.00</cbc:TaxExclusiveAmount>
132 <cbc:TaxInclusiveAmount currencyID="RON">1785.00</cbc:TaxInclusiveAmount>
133 <cbc:PrepaidAmount currencyID="RON">0.00</cbc:PrepaidAmount>
134 <cbc:PayableAmount currencyID="RON">1785.00</cbc:PayableAmount>
135 </cac:LegalMonetaryTotal>
136 <cac:CreditNoteLine>
137 <cbc:ID>___ignore___</cbc:ID>
138 <cbc:CreditedQuantity unitCode="C62">1.0</cbc:CreditedQuantity>
139 <cbc:LineExtensionAmount currencyID="RON">500.00</cbc:LineExtensionAmount>
140 <cac:Item>
141 <cbc:Description>Test Product A</cbc:Description>
142 <cbc:Name>product_a</cbc:Name>
143 <cac:ClassifiedTaxCategory>
144 <cbc:ID>S</cbc:ID>
145 <cbc:Percent>19.0</cbc:Percent>
146 <cac:TaxScheme>
147 <cbc:ID>VAT</cbc:ID>
148 </cac:TaxScheme>
149 </cac:ClassifiedTaxCategory>
150 </cac:Item>
151 <cac:Price>
152 <cbc:PriceAmount currencyID="RON">500.0</cbc:PriceAmount>
153 </cac:Price>
154 </cac:CreditNoteLine>
155 <cac:CreditNoteLine>
156 <cbc:ID>___ignore___</cbc:ID>
157 <cbc:CreditedQuantity unitCode="DZN">1.0</cbc:CreditedQuantity>
158 <cbc:LineExtensionAmount currencyID="RON">1000.00</cbc:LineExtensionAmount>
159 <cac:Item>
160 <cbc:Description>Test Product B</cbc:Description>
161 <cbc:Name>product_b</cbc:Name>
162 <cac:ClassifiedTaxCategory>
163 <cbc:ID>S</cbc:ID>
164 <cbc:Percent>19.0</cbc:Percent>
165 <cac:TaxScheme>
166 <cbc:ID>VAT</cbc:ID>
167 </cac:TaxScheme>
168 </cac:ClassifiedTaxCategory>
169 </cac:Item>
170 <cac:Price>
171 <cbc:PriceAmount currencyID="RON">1000.0</cbc:PriceAmount>
172 </cac:Price>
173 </cac:CreditNoteLine>
174 </CreditNote>