Debian Codegraph @

addons/l10n_my_edi/tests/expected_xmls/invoice_tax_exempt.xml

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