Skip to main content

BR-02 Invoice number is required

An invoice shall have an Invoice number (BT-1) that uniquely identifies the document for the issuer.

Problem Description

An invoice shall have an Invoice number (BT-1) that uniquely identifies the document for the issuer.

ERROR

XRechnung 3.0

Context and Significance

This is a core EN16931 rule; the invoice number is the primary reference for reconciliation, payment matching and audit, so it is mandatory.

Solution

Populate cbc:ID with the sequential invoice number used in your accounting system; it must not be empty.

Quick actions

Valid Examples

Use these points as the practical checks for this section.

  • BT-1 = RE-2024-0001 — a non-empty unique document number

Invalid Examples

Use these points as the practical checks for this section.

  • cbc:ID is absent, or present as an empty <cbc:ID></cbc:ID> element

Code Examples

Valid XML
<cbc:ID>RE-2024-0001</cbc:ID>
<cbc:IssueDate>2024-05-01</cbc:IssueDate>
Invalid XML
<cbc:CustomizationID>urn:cen.eu:en16931:2017</cbc:CustomizationID>
<cbc:IssueDate>2024-05-01</cbc:IssueDate>

Affected Fields

Validation Tools