Skip to main content

Sample messages

Invoice Import

<?xml version="1.0" encoding="UTF-8"?>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2 http://docs.oasis-open.org/ubl/os-UBL-2.0/xsd/maindoc/UBL-Invoice-2.0.xsd">
<cbc:UBLVersionID>2.0</cbc:UBLVersionID>
<cbc:ID>88809497</cbc:ID>
<cbc:IssueDate>2018-05-19</cbc:IssueDate>
<cbc:InvoiceTypeCode listID="UN/ECE 1001 Subset">380</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode listID="ISO 4217 Alpha">EUR</cbc:DocumentCurrencyCode>
<cac:AccountingSupplierParty>
<cac:Party>
<cac:PartyName>
<cbc:Name>Supplier Company Name</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Street</cbc:StreetName>
<cbc:BuildingNumber>51</cbc:BuildingNumber>
<cbc:CityName>Amsterdam</cbc:CityName>
<cbc:PostalZone>1234 AE</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode>NL</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>NL123456789B01</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153">VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:CompanyID>12345678</cbc:CompanyID>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Telephone>020-1234567</cbc:Telephone>
</cac:Contact>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cbc:CustomerAssignedAccountID>3120682</cbc:CustomerAssignedAccountID>
<cac:Party>
<cac:PartyName>
<cbc:Name>Buyer Company Name</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>Street</cbc:StreetName>
<cbc:BuildingNumber>62</cbc:BuildingNumber>
<cbc:CityName>AMSTERDAM</cbc:CityName>
<cbc:PostalZone>1234 MB</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode>NL</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID/>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153">VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:PaymentMeans>
<cbc:PaymentMeansCode>31</cbc:PaymentMeansCode>
<cac:PayeeFinancialAccount>
<cbc:ID>NL68INGB0601123456</cbc:ID>
</cac:PayeeFinancialAccount>
</cac:PaymentMeans>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">8.57</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">142.94</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">8.57</cbc:TaxAmount>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxCategory>
<cbc:ID>AA</cbc:ID>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:TaxExclusiveAmount currencyID="EUR">142.94</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">151.51</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">151.51</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>10</cbc:ID>
<cbc:InvoicedQuantity unitCode="ZZ">10.000</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">92.00</cbc:LineExtensionAmount>
<cbc:AccountingCostCode>71180</cbc:AccountingCostCode>
<cbc:AccountingCost>BTW 21</cbc:AccountingCost>
<cac:OrderLineReference>
<cbc:LineID>10</cbc:LineID>
<cac:OrderReference>
<cbc:ID>154303</cbc:ID>
<cbc:IssueDate>2018-05-17</cbc:IssueDate>
</cac:OrderReference>
</cac:OrderLineReference>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">5.52</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">92.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">5.52</cbc:TaxAmount>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxCategory>
<cbc:ID>AA</cbc:ID>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:Item>
<cbc:Description>JALAPENOS SLICED VERVANGER: 21002260</cbc:Description>
<cbc:BrandName>ANTICA CANTINA</cbc:BrandName>
<cac:SellersItemIdentification>
<cbc:ID>21032624</cbc:ID>
</cac:SellersItemIdentification>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">9.20</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="ZZ">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>30</cbc:ID>
<cbc:InvoicedQuantity unitCode="ZZ">1.000</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">15.74</cbc:LineExtensionAmount>
<cbc:AccountingCostCode>71180</cbc:AccountingCostCode>
<cbc:AccountingCost>BTW 21</cbc:AccountingCost>
<cac:OrderLineReference>
<cbc:LineID>30</cbc:LineID>
<cac:OrderReference>
<cbc:ID>154303</cbc:ID>
<cbc:IssueDate>2018-05-17</cbc:IssueDate>
</cac:OrderReference>
</cac:OrderLineReference>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">0.94</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">15.74</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">0.94</cbc:TaxAmount>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxCategory>
<cbc:ID>AA</cbc:ID>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:Item>
<cbc:Description>CALLETS PUUR SELECT 54,5% CACAO</cbc:Description>
<cbc:BrandName>CALLEBAUT</cbc:BrandName>
<cac:SellersItemIdentification>
<cbc:ID>28278160</cbc:ID>
</cac:SellersItemIdentification>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">15.74</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="ZZ">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cbc:ID>20</cbc:ID>
<cbc:InvoicedQuantity unitCode="ZZ">10.000</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">35.20</cbc:LineExtensionAmount>
<cbc:AccountingCostCode>71180</cbc:AccountingCostCode>
<cbc:AccountingCost>BTW 21</cbc:AccountingCost>
<cac:OrderLineReference>
<cbc:LineID>20</cbc:LineID>
<cac:OrderReference>
<cbc:ID>154303</cbc:ID>
<cbc:IssueDate>2018-05-17</cbc:IssueDate>
</cac:OrderReference>
</cac:OrderLineReference>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">2.11</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">35.20</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">2.11</cbc:TaxAmount>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxCategory>
<cbc:ID>AA</cbc:ID>
<cbc:Percent>6.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID schemeID="UN/ECE 5153">VAT</cbc:ID>
</cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
<cac:Item>
<cbc:Description>KOKSROOM ZOND.SUIKER</cbc:Description>
<cbc:BrandName>HOLLANDIA</cbc:BrandName>
<cac:SellersItemIdentification>
<cbc:ID>40211958</cbc:ID>
</cac:SellersItemIdentification>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">3.52</cbc:PriceAmount>
<cbc:BaseQuantity unitCode="ZZ">1</cbc:BaseQuantity>
</cac:Price>
</cac:InvoiceLine>
</Invoice>