| 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>RINV/2024/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">02</cbc:InvoiceTypeCode> |
| 7 | <cbc:DocumentCurrencyCode>MYR</cbc:DocumentCurrencyCode> |
| 8 | <cac:BillingReference> |
| 9 | <cac:InvoiceDocumentReference> |
| 10 | <cbc:ID>INV/2019/00001</cbc:ID> |
| 11 | <cbc:UUID>12345678912345678912345678</cbc:UUID> |
| 12 | </cac:InvoiceDocumentReference> |
| 13 | </cac:BillingReference> |
| 14 | <cac:AccountingSupplierParty> |
| 15 | <cac:Party> |
| 16 | <cbc:IndustryClassificationCode name="Growing of maize">01111</cbc:IndustryClassificationCode> |
| 17 | <cac:PartyIdentification> |
| 18 | <cbc:ID schemeID="TIN">C2584563200</cbc:ID> |
| 19 | </cac:PartyIdentification> |
| 20 | <cac:PartyIdentification> |
| 21 | <cbc:ID schemeID="BRN">202001234567</cbc:ID> |
| 22 | </cac:PartyIdentification> |
| 23 | <cac:PartyName> |
| 24 | <cbc:Name>company_1_data</cbc:Name> |
| 25 | </cac:PartyName> |
| 26 | <cac:PostalAddress> |
| 27 | <cbc:CityName>Main city</cbc:CityName> |
| 28 | <cbc:CountrySubentity>Johor</cbc:CountrySubentity> |
| 29 | <cbc:CountrySubentityCode>01</cbc:CountrySubentityCode> |
| 30 | <cac:AddressLine> |
| 31 | <cbc:Line>that one street, 5</cbc:Line> |
| 32 | </cac:AddressLine> |
| 33 | <cac:Country> |
| 34 | <cbc:IdentificationCode listID="ISO3166-1" listAgencyID="6">MYS</cbc:IdentificationCode> |
| 35 | <cbc:Name>Malaysia</cbc:Name> |
| 36 | </cac:Country> |
| 37 | </cac:PostalAddress> |
| 38 | <cac:PartyLegalEntity> |
| 39 | <cbc:RegistrationName>company_1_data</cbc:RegistrationName> |
| 40 | </cac:PartyLegalEntity> |
| 41 | <cac:Contact> |
| 42 | <cbc:ID>___ignore___</cbc:ID> |
| 43 | <cbc:Name>company_1_data</cbc:Name> |
| 44 | <cbc:Telephone>+60123456789</cbc:Telephone> |
| 45 | </cac:Contact> |
| 46 | </cac:Party> |
| 47 | </cac:AccountingSupplierParty> |
| 48 | <cac:AccountingCustomerParty> |
| 49 | <cac:Party> |
| 50 | <cac:PartyIdentification> |
| 51 | <cbc:ID schemeID="TIN">EI00000000020</cbc:ID> |
| 52 | </cac:PartyIdentification> |
| 53 | <cac:PartyIdentification> |
| 54 | <cbc:ID schemeID="BRN">NA</cbc:ID> |
| 55 | </cac:PartyIdentification> |
| 56 | <cac:PartyName> |
| 57 | <cbc:Name>partner_b</cbc:Name> |
| 58 | </cac:PartyName> |
| 59 | <cac:PostalAddress> |
| 60 | <cbc:CityName>Main city</cbc:CityName> |
| 61 | <cbc:CountrySubentity>Alabama</cbc:CountrySubentity> |
| 62 | <cbc:CountrySubentityCode>Alabama</cbc:CountrySubentityCode> |
| 63 | <cac:AddressLine> |
| 64 | <cbc:Line>that other street, 3</cbc:Line> |
| 65 | </cac:AddressLine> |
| 66 | <cac:Country> |
| 67 | <cbc:IdentificationCode listID="ISO3166-1" listAgencyID="6">USA</cbc:IdentificationCode> |
| 68 | <cbc:Name>United States</cbc:Name> |
| 69 | </cac:Country> |
| 70 | </cac:PostalAddress> |
| 71 | <cac:PartyLegalEntity> |
| 72 | <cbc:RegistrationName>partner_b</cbc:RegistrationName> |
| 73 | </cac:PartyLegalEntity> |
| 74 | <cac:Contact> |
| 75 | <cbc:ID>___ignore___</cbc:ID> |
| 76 | <cbc:Name>partner_b</cbc:Name> |
| 77 | <cbc:Telephone>+60123456785</cbc:Telephone> |
| 78 | </cac:Contact> |
| 79 | </cac:Party> |
| 80 | </cac:AccountingCustomerParty> |
| 81 | <cac:Delivery> |
| 82 | <cac:DeliveryParty> |
| 83 | <cac:PartyIdentification> |
| 84 | <cbc:ID schemeID="TIN">EI00000000020</cbc:ID> |
| 85 | </cac:PartyIdentification> |
| 86 | <cac:PartyIdentification> |
| 87 | <cbc:ID schemeID="BRN">NA</cbc:ID> |
| 88 | </cac:PartyIdentification> |
| 89 | <cac:PostalAddress> |
| 90 | <cbc:CityName>Main city</cbc:CityName> |
| 91 | <cbc:CountrySubentity>Alabama</cbc:CountrySubentity> |
| 92 | <cbc:CountrySubentityCode>Alabama</cbc:CountrySubentityCode> |
| 93 | <cac:AddressLine> |
| 94 | <cbc:Line>that other street, 3</cbc:Line> |
| 95 | </cac:AddressLine> |
| 96 | <cac:Country> |
| 97 | <cbc:IdentificationCode listID="ISO3166-1" listAgencyID="6">USA</cbc:IdentificationCode> |
| 98 | <cbc:Name>United States</cbc:Name> |
| 99 | </cac:Country> |
| 100 | </cac:PostalAddress> |
| 101 | <cac:PartyLegalEntity> |
| 102 | <cbc:RegistrationName>partner_b</cbc:RegistrationName> |
| 103 | </cac:PartyLegalEntity> |
| 104 | </cac:DeliveryParty> |
| 105 | </cac:Delivery> |
| 106 | <cac:PrepaidPayment> |
| 107 | <cbc:PaidAmount currencyID="MYR">550.00</cbc:PaidAmount> |
| 108 | </cac:PrepaidPayment> |
| 109 | <cac:TaxTotal> |
| 110 | <cbc:TaxAmount currencyID="MYR">50.00</cbc:TaxAmount> |
| 111 | <cac:TaxSubtotal> |
| 112 | <cbc:TaxableAmount currencyID="MYR">500.00</cbc:TaxableAmount> |
| 113 | <cbc:TaxAmount currencyID="MYR">50.00</cbc:TaxAmount> |
| 114 | <cbc:Percent>10.0</cbc:Percent> |
| 115 | <cac:TaxCategory> |
| 116 | <cbc:ID>01</cbc:ID> |
| 117 | <cbc:Percent>10.0</cbc:Percent> |
| 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">500.00</cbc:LineExtensionAmount> |
| 126 | <cbc:TaxExclusiveAmount currencyID="MYR">500.00</cbc:TaxExclusiveAmount> |
| 127 | <cbc:TaxInclusiveAmount currencyID="MYR">550.00</cbc:TaxInclusiveAmount> |
| 128 | <cbc:PrepaidAmount currencyID="MYR">0.00</cbc:PrepaidAmount> |
| 129 | <cbc:PayableAmount currencyID="MYR">0.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">500.00</cbc:LineExtensionAmount> |
| 135 | <cac:TaxTotal> |
| 136 | <cbc:TaxAmount currencyID="MYR">50.00</cbc:TaxAmount> |
| 137 | <cac:TaxSubtotal> |
| 138 | <cbc:TaxableAmount currencyID="MYR">500.00</cbc:TaxableAmount> |
| 139 | <cbc:TaxAmount currencyID="MYR">50.00</cbc:TaxAmount> |
| 140 | <cbc:Percent>10.0</cbc:Percent> |
| 141 | <cac:TaxCategory> |
| 142 | <cbc:ID>01</cbc:ID> |
| 143 | <cbc:Percent>10.0</cbc:Percent> |
| 144 | <cac:TaxScheme> |
| 145 | <cbc:ID schemeID="UN/ECE 5153" schemeAgencyID="6">OTH</cbc:ID> |
| 146 | </cac:TaxScheme> |
| 147 | </cac:TaxCategory> |
| 148 | </cac:TaxSubtotal> |
| 149 | </cac:TaxTotal> |
| 150 | <cac:Item> |
| 151 | <cbc:Description>product_a</cbc:Description> |
| 152 | <cbc:Name>product_a</cbc:Name> |
| 153 | <cac:CommodityClassification> |
| 154 | <cbc:ItemClassificationCode listID="CLASS">001</cbc:ItemClassificationCode> |
| 155 | </cac:CommodityClassification> |
| 156 | <cac:ClassifiedTaxCategory> |
| 157 | <cbc:ID>01</cbc:ID> |
| 158 | <cbc:Percent>10.0</cbc:Percent> |
| 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">500.0</cbc:PriceAmount> |
| 166 | </cac:Price> |
| 167 | <cac:ItemPriceExtension> |
| 168 | <cbc:Amount currencyID="MYR">500.00</cbc:Amount> |
| 169 | </cac:ItemPriceExtension> |
| 170 | </cac:InvoiceLine> |
| 171 | </Invoice> |