UBL Format

The following code snippet illustrates how the tags are nested while receiving the invoice extract request in the UBL format:

<ubl:Invoice>
<cbc:UBLVersionID></cbc:UBLVersionID>
<cbc:InvoiceTypeCode></cbc:InvoiceTypeCode>
<cbc:payerFullName></cbc:payerFullName>
<cbc:custAdd1></cbc:custAdd1>
<cbc:custAdd2></cbc:custAdd2>
<cbc:custAdd3></cbc:custAdd3>
<cbc:custCity></cbc:custCity>
<cbc:custCountry></cbc:custCountry>
<cbc:DocumentCurrencyCode></cbc:DocumentCurrencyCode>
<cbc:IssueDate></cbc:IssueDate>
<cbc:ID></cbc:ID>
<cbc:Note></cbc:Note>
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PartyName>
<cbc:Name></cbc:Name>
</cac:PartyName>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:AccountingSupplierParty>
<cac:Party>
<cac:PartyName>
<cbc:Name></cbc:Name>
</cac:PartyName>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:LegalMonetaryTotal>
<cbc:PayableAmount currency="USD"></cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="USD"></cbc:TaxAmount>
</cac:TaxTotal>
<cac:InvoiceLine>
<cac:Price>
<cbc:PriceAmount></cbc:PriceAmount>
</cac:Price>
<cbc:ID></cbc:ID>
<cbc:Note></cbc:Note>
<cbc:LineExtensionAmount currency="USD"></cbc:LineExtensionAmount>
<cbc:InvoicedQuantity></cbc:InvoicedQuantity>
</cac:InvoiceLine>
<cac:InvoiceLine>
<cac:Price>
<cbc:PriceAmount></cbc:PriceAmount>
</cac:Price>
<cbc:ID></cbc:ID>
<cbc:Note></cbc:Note>
<cbc:LineExtensionAmount currency="USD"></cbc:LineExtensionAmount>
<cbc:InvoicedQuantity></cbc:InvoicedQuantity>
</cac:InvoiceLine>
</ubl:Invoice>				

Related Topics

For more information on... See...
Sample Invoice Extract in the UBL Format Sample Invoice Extract in the UBL Format