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

Specification identifier
An identification of the specification containing the total set of rules regarding semantic content, cardinalities and business rules to which the data contained in the instance document conforms.

Fixed value: urn:fdc:anskaffelser.no:2019:ehf:spec:payment-request:3.0

1..1 cbc:ProfileID

Business process type
Identifies the business process context in which the transaction appears, to enable the Buyer to process the Invoice in an appropriate way.

Fixed value: urn:fdc:anskaffelser.no:2019:ehf:postaward:g3:07:1.0

1..1 cbc:ID

Invoice number
A unique identification of the Invoice. The sequential number required in Article 226(2) of the directive 2006/112/EC [2], to uniquely identify the Invoice within the business context, time-frame, operating systems and records of the Seller. No identification scheme is to be used.

Example value: 33445566

1..1 cbc:IssueDate

Invoice issue date
The date when the Invoice was issued. Format "YYYY-MM-DD"

Example value: 2017-11-01

0..1 cbc:DueDate

Payment due date
The date when the payment is due.Format "YYYY-MM-DD". In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present.

Example value: 2017-11-01

0..1 cbc:Note

Invoice note
A textual note that gives unstructured information that is relevant to the Invoice as a whole.Such as the reason for any correction or assignment note in case the invoice has been factored.

Example value: Please note our new phone number 33 44 55 66

1..1 cbc:DocumentCurrencyCode

Invoice currency code
The currency in which all Invoice amounts are given, except for the Total VAT amount in accounting currency. Only one currency shall be used in the Invoice, except for the VAT accounting currency code (BT-6) and the invoice total VAT amount in accounting currency (BT-111).

Example value: NOK

0..1 cbc:AccountingCost

Buyer accounting reference
A textual value that specifies where to book the relevant data into the Buyer's financial accounts.

Example value: 4217:2323:2323

0..1 cbc:BuyerReference

Buyer reference
An identifier assigned by the Buyer used for internal routing purposes. An invoice must have buyer reference or purchase order reference (BT-13).

Example value: abs1234

0..1 cac:InvoicePeriod

DELIVERY OR INVOICE PERIOD
A group of business terms providing information on the invoice period. Also called delivery period. If the group is used, the invoiceing period start date and/or end date must be used.

0..1 cac:OrderReference

ORDER AND SALES ORDER REFERENCE

0..1 cac:ContractDocumentReference

CONTRACT REFERENCE

0..n cac:AdditionalDocumentReference

ADDITIONAL SUPPORTING DOCUMENTS
A group of business terms providing information about additional supporting documents substantiating the claims made in the Invoice. The additional supporting documents can be used for both referencing a document number which is expected to be known by the receiver, an external document (referenced by a URL) or as an embedded document, Base64 encoded (such as a time report).

0..1 cac:ProjectReference

PROJECT REFERENCE

1..1 cac:AccountingSupplierParty

SELLER
A group of business terms providing information about the Seller.

1..1 cac:AccountingCustomerParty

BUYER
A group of business terms providing information about the Buyer.

0..n cac:PaymentMeans

PAYMENT INSTRUCTIONS
A group of business terms providing information about the payment.

1..1 cac:LegalMonetaryTotal

DOCUMENT TOTALS
A group of business terms providing the monetary totals for the Invoice.

1..n cac:InvoiceLine

INVOICE LINE
A group of business terms providing information on individual Invoice lines.

Rules
Identifier/Error message Flag
EHF-PR-B00101
Element 'cbc:CustomizationID' MUST be provided.
fatal
EHF-PR-B00102
Element 'cbc:ProfileID' MUST be provided.
fatal
EHF-PR-B00103
Element 'cbc:ID' MUST be provided.
fatal
EHF-PR-B00104
Element 'cbc:IssueDate' MUST be provided.
fatal
EHF-PR-B00105
Element 'cbc:DocumentCurrencyCode' MUST be provided.
fatal
EHF-PR-B00106
Element 'cac:AccountingSupplierParty' MUST be provided.
fatal
EHF-PR-B00107
Element 'cac:AccountingCustomerParty' MUST be provided.
fatal
EHF-PR-B00108
Element 'cac:LegalMonetaryTotal' MUST be provided.
fatal
EHF-PR-B00109
Element 'cac:InvoiceLine' MUST be provided.
fatal
EHF-PR-B00110
Document MUST not contain schema location.
fatal
EHF-PR-B00111
Document MUST NOT contain elements not part of the data model.
fatal