Debian Codegraph @

addons/l10n_my_edi/tests/expected_xmls/bill_import.xml

raw
1 <?xml version='1.0' encoding='UTF-8'?>
2 <Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
3 <cbc:ID>BILL/2019/01/0001</cbc:ID>
4 <cbc:IssueDate>2024-07-15</cbc:IssueDate>
5 <cbc:IssueTime>10:00:00Z</cbc:IssueTime>
6 <cbc:InvoiceTypeCode listVersionID="1.1">11</cbc:InvoiceTypeCode>
7 <cbc:DocumentCurrencyCode>MYR</cbc:DocumentCurrencyCode>
8 <cac:AdditionalDocumentReference>
9 <cbc:ID>E12345678912</cbc:ID>
10 <cbc:DocumentType>CustomsImportForm</cbc:DocumentType>
11 </cac:AdditionalDocumentReference>
12 <cac:AccountingSupplierParty>
13 <cac:Party>
14 <cbc:IndustryClassificationCode name="Growing of maize">01111</cbc:IndustryClassificationCode>
15 <cac:PartyIdentification>
16 <cbc:ID schemeID="TIN">C2584563201</cbc:ID>
17 </cac:PartyIdentification>
18 <cac:PartyIdentification>
19 <cbc:ID schemeID="BRN">202001234568</cbc:ID>
20 </cac:PartyIdentification>
21 <cac:PartyName>
22 <cbc:Name>partner_a</cbc:Name>
23 </cac:PartyName>
24 <cac:PostalAddress>
25 <cbc:CityName>Main city</cbc:CityName>
26 <cbc:CountrySubentity>Johor</cbc:CountrySubentity>
27 <cbc:CountrySubentityCode>01</cbc:CountrySubentityCode>
28 <cac:AddressLine>
29 <cbc:Line>that other street, 3</cbc:Line>
30 </cac:AddressLine>
31 <cac:Country>
32 <cbc:IdentificationCode listID="ISO3166-1" listAgencyID="6">MYS</cbc:IdentificationCode>
33 <cbc:Name>Malaysia</cbc:Name>
34 </cac:Country>
35 </cac:PostalAddress>
36 <cac:PartyLegalEntity>
37 <cbc:RegistrationName>partner_a</cbc:RegistrationName>
38 </cac:PartyLegalEntity>
39 <cac:Contact>
40 <cbc:ID>___ignore___</cbc:ID>
41 <cbc:Name>partner_a</cbc:Name>
42 <cbc:Telephone>+60123456786</cbc:Telephone>
43 </cac:Contact>
44 </cac:Party>
45 </cac:AccountingSupplierParty>
46 <cac:AccountingCustomerParty>
47 <cac:Party>
48 <cac:PartyIdentification>
49 <cbc:ID schemeID="TIN">C2584563200</cbc:ID>
50 </cac:PartyIdentification>
51 <cac:PartyIdentification>
52 <cbc:ID schemeID="BRN">202001234567</cbc:ID>
53 </cac:PartyIdentification>
54 <cac:PartyName>
55 <cbc:Name>company_1_data</cbc:Name>
56 </cac:PartyName>
57 <cac:PostalAddress>
58 <cbc:CityName>Main city</cbc:CityName>
59 <cbc:CountrySubentity>Johor</cbc:CountrySubentity>
60 <cbc:CountrySubentityCode>01</cbc:CountrySubentityCode>
61 <cac:AddressLine>
62 <cbc:Line>that one street, 5</cbc:Line>
63 </cac:AddressLine>
64 <cac:Country>
65 <cbc:IdentificationCode listID="ISO3166-1" listAgencyID="6">MYS</cbc:IdentificationCode>
66 <cbc:Name>Malaysia</cbc:Name>
67 </cac:Country>
68 </cac:PostalAddress>
69 <cac:PartyLegalEntity>
70 <cbc:RegistrationName>company_1_data</cbc:RegistrationName>
71 </cac:PartyLegalEntity>
72 <cac:Contact>
73 <cbc:ID>___ignore___</cbc:ID>
74 <cbc:Name>company_1_data</cbc:Name>
75 <cbc:Telephone>+60123456789</cbc:Telephone>
76 </cac:Contact>
77 </cac:Party>
78 </cac:AccountingCustomerParty>
79 <cac:Delivery>
80 <cac:DeliveryParty>
81 <cac:PartyIdentification>
82 <cbc:ID schemeID="TIN">C2584563200</cbc:ID>
83 </cac:PartyIdentification>
84 <cac:PartyIdentification>
85 <cbc:ID schemeID="BRN">202001234567</cbc:ID>
86 </cac:PartyIdentification>
87 <cac:PostalAddress>
88 <cbc:CityName>Main city</cbc:CityName>
89 <cbc:CountrySubentity>Johor</cbc:CountrySubentity>
90 <cbc:CountrySubentityCode>01</cbc:CountrySubentityCode>
91 <cac:AddressLine>
92 <cbc:Line>that one street, 5</cbc:Line>
93 </cac:AddressLine>
94 <cac:Country>
95 <cbc:IdentificationCode listID="ISO3166-1" listAgencyID="6">MYS</cbc:IdentificationCode>
96 <cbc:Name>Malaysia</cbc:Name>
97 </cac:Country>
98 </cac:PostalAddress>
99 <cac:PartyLegalEntity>
100 <cbc:RegistrationName>company_1_data</cbc:RegistrationName>
101 </cac:PartyLegalEntity>
102 </cac:DeliveryParty>
103 </cac:Delivery>
104 <cac:PaymentTerms>
105 <cbc:Note>Payment terms: Immediate Payment</cbc:Note>
106 </cac:PaymentTerms>
107 <cac:TaxTotal>
108 <cbc:TaxAmount currencyID="MYR">0.00</cbc:TaxAmount>
109 <cac:TaxSubtotal>
110 <cbc:TaxableAmount currencyID="MYR">800.00</cbc:TaxableAmount>
111 <cbc:TaxAmount currencyID="MYR">0.00</cbc:TaxAmount>
112 <cbc:Percent>0.0</cbc:Percent>
113 <cac:TaxCategory>
114 <cbc:ID>E</cbc:ID>
115 <cbc:Name>Exempt Customer</cbc:Name>
116 <cbc:Percent>0.0</cbc:Percent>
117 <cbc:TaxExemptionReason>Exempt Customer</cbc:TaxExemptionReason>
118 <cac:TaxScheme>
119 <cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">OTH</cbc:ID>
120 </cac:TaxScheme>
121 </cac:TaxCategory>
122 </cac:TaxSubtotal>
123 </cac:TaxTotal>
124 <cac:LegalMonetaryTotal>
125 <cbc:LineExtensionAmount currencyID="MYR">800.00</cbc:LineExtensionAmount>
126 <cbc:TaxExclusiveAmount currencyID="MYR">800.00</cbc:TaxExclusiveAmount>
127 <cbc:TaxInclusiveAmount currencyID="MYR">800.00</cbc:TaxInclusiveAmount>
128 <cbc:PrepaidAmount currencyID="MYR">0.00</cbc:PrepaidAmount>
129 <cbc:PayableAmount currencyID="MYR">800.00</cbc:PayableAmount>
130 </cac:LegalMonetaryTotal>
131 <cac:InvoiceLine>
132 <cbc:ID>1</cbc:ID>
133 <cbc:InvoicedQuantity unitCode="C62">1.0</cbc:InvoicedQuantity>
134 <cbc:LineExtensionAmount currencyID="MYR">800.00</cbc:LineExtensionAmount>
135 <cac:TaxTotal>
136 <cbc:TaxAmount currencyID="MYR">0.00</cbc:TaxAmount>
137 <cac:TaxSubtotal>
138 <cbc:TaxableAmount currencyID="MYR">800.00</cbc:TaxableAmount>
139 <cbc:TaxAmount currencyID="MYR">0.00</cbc:TaxAmount>
140 <cbc:Percent>0.0</cbc:Percent>
141 <cac:TaxCategory>
142 <cbc:ID>E</cbc:ID>
143 <cbc:Name>Exempt Customer</cbc:Name>
144 <cbc:Percent>0.0</cbc:Percent>
145 <cbc:TaxExemptionReason>Exempt Customer</cbc:TaxExemptionReason>
146 <cac:TaxScheme>
147 <cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">OTH</cbc:ID>
148 </cac:TaxScheme>
149 </cac:TaxCategory>
150 </cac:TaxSubtotal>
151 </cac:TaxTotal>
152 <cac:Item>
153 <cbc:Description>product_a</cbc:Description>
154 <cbc:Name>product_a</cbc:Name>
155 <cac:CommodityClassification>
156 <cbc:ItemClassificationCode listID="CLASS">001</cbc:ItemClassificationCode>
157 </cac:CommodityClassification>
158 <cac:ClassifiedTaxCategory>
159 <cbc:ID>E</cbc:ID>
160 <cbc:Name>Exempt Customer</cbc:Name>
161 <cbc:Percent>0.0</cbc:Percent>
162 <cbc:TaxExemptionReason>Exempt Customer</cbc:TaxExemptionReason>
163 <cac:TaxScheme>
164 <cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">OTH</cbc:ID>
165 </cac:TaxScheme>
166 </cac:ClassifiedTaxCategory>
167 </cac:Item>
168 <cac:Price>
169 <cbc:PriceAmount currencyID="MYR">800.0</cbc:PriceAmount>
170 </cac:Price>
171 <cac:ItemPriceExtension>
172 <cbc:Amount currencyID="MYR">800.00</cbc:Amount>
173 </cac:ItemPriceExtension>
174 </cac:InvoiceLine>
175 </Invoice>