/ubl:Invoice

Invoice

Download sample files
Context ID INV0001
Cardinality 1..1
Usage -

Description

VRBL is a general datamodel for an invoice based on UBL2.4 and Peppol PINT, that can be used as base for specializations that are used in various jurisdictions.

Child elements

Cardinality Usage Description Element
0..1 M Extensions Group cec:UBLExtensions
0..1 M Specification Identifier
Identifies a user-defined customization of UBL for a specific use.
cbc:CustomizationID
0..1 M Business Process Type
Identifies a user-defined profile of the customization of UBL being used.
cbc:ProfileID
1..1 M Invoice Number
An identifier for this document, assigned by the sender.
cbc:ID
1..1 M Invoice Issue Date
The date, assigned by the sender, on which this document was issued.
cbc:IssueDate
0..1 M Invoice Type Code
A code signifying the type of the Invoice.
cbc:InvoiceTypeCode
0..n O Invoice Note
Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.
cbc:Note
0..1 M Document Currency Code
A code signifying the default currency for this document.
cbc:DocumentCurrencyCode
0..n O* Preceding Invoice Reference
A reference to a billing document associated with this document.
cac:BillingReference
0..n O* Additional Document Reference Group
A reference to an additional document associated with this document.
cac:AdditionalDocumentReference
0..n O Additional Document Reference
A reference to an additional document associated with this document.
cac:AdditionalDocumentReference[not(cac:Attachment)]
1..1 M Seller
The accounting supplier party.
cac:AccountingSupplierParty
0..1 M Buyer
The accounting customer party.
cac:AccountingCustomerParty
0..1 O Payee
The payee.
cac:PayeeParty
0..n O Delivery Information
A delivery associated with this document.
cac:Delivery
0..n O* Payment Instructions
Expected means of payment.
cac:PaymentMeans
0..n M Tax Total
The total amount of a specific type of tax.
cac:TaxTotal[cbc:TaxAmount/@currencyID = ../cbc:DocumentCurrencyCode]
1..1 M Document Totals
The total amount payable on the Invoice, including Allowances, Charges, and Taxes.
cac:LegalMonetaryTotal
1..n M+ Invoice Line
A line describing an invoice item.
cac:InvoiceLine

Rules

Rule ID Error Message
VRBL-INV-CN-1p0-1 The Total Tax Amount must exist within the Invoice.
VRBL-INV-CN-1p0-2 When the Invoice Type Code is 380, the Invoice Subtype Code must exist within the Invoice.
VRBL-INV-CN-1p0-29 When the Invoice Type Code is 381, the Correction Data must exist within the Invoice.
VRBL-INV-CN-1p0-3 When the Invoice Type Code is 381, the Preceding Invoice Reference ID must exist within the Invoice.
VRBL-INV-CN-1p0-27 When the Invoice Type Code is 380, the Buyer must exist within the Invoice.
VRBL-INV-CORE-4 The Specification Identifier must exist within the Invoice.
VRBL-INV-CORE-5 The Business Process Type must exist within the Invoice.
VRBL-INV-CORE-10 The Invoice Type Code must exist within the Invoice.
VRBL-INV-CORE-13 The Document Currency Code must exist within the Invoice.
VRBL-INV-CORE-563 The Tax Total Group is only allowed when using the currencies in Document Currency Code or Tax Accounting Currency.
VRBL-INV-CORE-36 The Invoice Number must be provided in the Invoice.
VRBL-INV-CORE-39 The Document Currency Code must be provided in the Invoice.
VRBL-INV-CORE-41 The Invoice Total Tax Amount and the Invoice Total Tax Amount in Tax Accounting Currency must all both positive, or all negative.