BR-2 Field BT-1 EN 16931 core rules (BR)

Fix BR-2: Invoice number (BT-1) missing

[BR-02]-An Invoice shall have an Invoice number (BT-1).

BR-2 in your own invoice? Upload the file and find every error in seconds.

What does BR-2 mean?

An Invoice shall have an Invoice number (BT-1). It is one of the mandatory fields of the European standard EN 16931. Without it the invoice is structurally incomplete and will be rejected.

Common causes of BR-2

How to fix BR-2

  1. Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-1 along this XPath://rsm:ExchangedDocument/ram:ID
  2. Apply the fix. Add the Invoice number (BT-1) in 'ram:ExchangedDocument/ram:ID'.
  3. Validate again. Save the file and validate it again to check that BR-2 is no longer reported.
Concrete fix

Add the Invoice number (BT-1) in 'ram:ExchangedDocument/ram:ID'.

XPath//rsm:ExchangedDocument/ram:ID

Before / after: the XML example

This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).

Wrong
<rsm:ExchangedDocument>
  <!-- ram:ID fehlt -->
</rsm:ExchangedDocument>
Correct
<rsm:ExchangedDocument>
  <ram:ID>RE-2026-001</ram:ID>
</rsm:ExchangedDocument>

Frequent questions about BR-2

How do I fix BR-2?
Add the Invoice number (BT-1) in 'ram:ExchangedDocument/ram:ID'.

Related error codes

Check BR-2 automatically

Instead of digging through the XML by hand you can validate your ZUGFeRD or XRechnung file online – upload the PDF or the XML and you get every error with rule ID, affected field, fix and XPath, as a readable report or as JSON through the API.

Find every error automatically instead of searching by hand

Upload your ZUGFeRD, Factur-X or XRechnung file – you get every violation back with rule ID, field, fix and XPath.

Validate online for free
Check invoice