Namespace
ubl urn:oasis:names:specification:ubl:schema:xsd:Invoice-2
Child elements
Card Name Description
1..1 cbc:UBLVersionID

UBL VersionID
Identifies the UBL version on which the transaction instance is based.

Fixed value: 2.1

1..1 cbc:CustomizationID

Customization identifier
Identifies the specification of content and rules that apply to the transaction. Identifying the customization/implementation guide/contextualization of the syntax message and its extension that applies to the invoice transaction, enables the receiver to apply the correct validation to the received document as well as to route the document to an appropriate service for processing.

Example value: urn:www.cenbii.eu:transaction:biitrns010:ver2.0:extended:urn:www.peppol.eu:bis:peppol5a:ver2.0:extended:urn:www.difi.no:ehf:faktura:ver2.0

1..1 cbc:ProfileID

Profile identifier
Identifies the BII profile or business process context in which the transaction appears. Identifying the profile or business process context in which the transaction appears enables the buyer to direct the message to an appropriate service as well as controlling its relation to other documents exchanged as part of the same process.

Example value: urn:www.cenbii.eu:profile:bii05:ver2.0

1..1 cbc:ID

Invoice identifier
An invoice instance must contain an identifier. An invoice identifier enables positive referencing the document instance for various purposes including referencing between documents that are part of the same process.

Example value: 123456

1..1 cbc:IssueDate

Issue Date
The issue date of an invoice is required by EU directives as well as country laws. An invoice must therefore contain the date on which it was issued. Format YYYY-MM-DD.

1..1 cbc:InvoiceTypeCode

Invoice type code
A code that identifies the functional type of the invoice instance, such as commercial invoice, pro-forma invoice, final invoice. A code that identifies that the invoice is a commercial invoice.

Example value: 380

0..1 cbc:Note

Note
The textual note provides the seller a means for providing unstructured information that is relevant to the invoice. This can be notes or other similar information for which the invoice specification does not contain suitable qualified elements. Information given in as textual notes is mainly intended for manual processing. When “invoice clauses” or “declarations” are used they should be stated in full in the note element.

Example value: Bestilt pr. telefon

0..1 cbc:TaxPointDate

Tax point date
The date applicable VAT.

1..1 cbc:DocumentCurrencyCode

Document currency code
The currency in which the monetary amounts are stated must be stated in the invoice. Code from ISO4217.

0..1 cbc:TaxCurrencyCode

VAT currency code
Currency code for VAT in local currency, must be filled if the invoice currency is not NOK.

0..1 cbc:AccountingCost

Accounting cost
The invoice may contain a reference to the buyer's accounting code applied to the invoice as a whole, expressed as text rather than a code in order to facilitate automation in booking into accounts following an order to invoice transformation.

Example value: Project cost code 123

0..1 cac:InvoicePeriod

Period
For invoices that charge for services or items delivered over a time period, such as subscriptions or metered services, an invoice may contain information about the date period to which the invoice applies.

0..1 cac:OrderReference

Order
An association to order reference.

0..1 cac:ContractDocumentReference

Contract
Reference to contract or framework agreement.

0..n cac:AdditionalDocumentReference

Additional document reference
Reference to additional documents.

1..1 cac:AccountingSupplierParty

Supplier
Organisation or person responsible som delivering the goods and services.

1..1 cac:AccountingCustomerParty

Customer
Customer party.

0..1 cac:PayeeParty

Payee
An association to the Payee. Used for factoring invoices.

0..1 cac:TaxRepresentativeParty

Tax representative
Information regarding the tax representative of the supplier.

0..1 cac:Delivery

Delivery
Delivery details

1..n cac:PaymentMeans

Payment means
Details regarding how the invoice will be payed

0..n cac:PaymentTerms

Payment terms
Description of payment terms.

0..n cac:AllowanceCharge

Allowance charge
Description of allowances and charges on document level.

0..1 cac:TaxExchangeRate

Tax exchange rate
Exchange rate for calculation of tax in home currency, mandatory if DocumentCurrencyCode is not = NOK.

1..1 cac:TaxTotal

Tax total
Specification of tax total and tax per tax category.

1..1 cac:LegalMonetaryTotal

Totals
Specifications of monetary totals.

1..n cac:InvoiceLine

Invoice line
An association to one or more invoice lines.

Rules
Identifier/Error message Flag
EHF-T10-B00101
Element 'cbc:UBLVersionID' MUST be provided.
warning
EHF-T10-B00102
Element 'cbc:CustomizationID' MUST be provided.
warning
EHF-T10-B00103
Element 'cbc:ProfileID' MUST be provided.
warning
EHF-T10-B00104
Element 'cbc:ID' MUST be provided.
warning
EHF-T10-B00105
Element 'cbc:IssueDate' MUST be provided.
warning
EHF-T10-B00106
Element 'cbc:InvoiceTypeCode' MUST be provided.
warning
EHF-T10-B00107
Element 'cbc:DocumentCurrencyCode' MUST be provided.
warning
EHF-T10-B00108
Element 'cac:AccountingSupplierParty' MUST be provided.
warning
EHF-T10-B00109
Element 'cac:AccountingCustomerParty' MUST be provided.
warning
EHF-T10-B00110
Element 'cac:PaymentMeans' MUST be provided.
warning
EHF-T10-B00111
Element 'cac:TaxTotal' MUST be provided.
warning
EHF-T10-B00112
Element 'cac:LegalMonetaryTotal' MUST be provided.
warning
EHF-T10-B00113
Element 'cac:InvoiceLine' MUST be provided.
warning