BR-04: Invoice type code (BT-3) is missing

How to clear BR-04 when the official CEN EN 16931 schematron rejects your invoice.

3 invoices/month free · Pro €12 (100) · Office €49 (1,000) · pay via Paddle, cancel any time.

BR-04 · Fatal error

[BR-04]-An Invoice shall have an Invoice type code (BT-3).

What it means and how to fix it

The official rule: an invoice shall have an Invoice type code (BT-3).

Common causes

  • cbc:InvoiceTypeCode (or CreditNoteTypeCode on a credit note) is missing or empty.
  • The type is only a label (“invoice”) rather than a code such as 380.

Which codes are allowed is checked by other rules (XRechnung warning BR-DE-17, Peppol P0100). BR-04 only requires one of the two type elements to be non-empty.

The source is the official CEN EN 16931 schematron (bundled in the XRechnung 3.0.2 configuration and in Peppol BIS 3.0). This is not tax advice.

<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</cbc:CustomizationID>
<cbc:ID>RE-2026-001</cbc:ID>
<cbc:IssueDate>2026-12-01</cbc:IssueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>

Where it sits in UBL

Official test (UBL XPath): normalize-space(cbc:InvoiceTypeCode) != '' or normalize-space(cbc:CreditNoteTypeCode) !=''. Element: cbc:InvoiceTypeCode or cbc:CreditNoteTypeCode (BT-3); context: /ubl:Invoice | /cn:CreditNote.

Related rules

  • BR-01 — Specification identifier (BT-24) is missing
  • BR-03 — Invoice issue date (BT-2) is missing
  • BR-05 — Invoice currency code (BT-5) is missing
  • BR-06 — Seller name (BT-27) is missing
  • BR-09 — Seller country code (BT-40) is missing
  • BR-15 — Amount due for payment (BT-115) is missing
  • BR-CO-11 — Document-level allowance total (BT-107) does not equal the sum of allowance amounts (BT-92)
  • BR-CO-13 — Invoice total without VAT (BT-109) does not match the official formula

Source

CEN EN 16931 Schematron (ConnectingEurope). Facts checked 30.11.2026. Not legal or tax advice.

FAQ

Which codes are usual?

Often 380 (commercial invoice) and 381 (credit note). Whether a given code is allowed is not BR-04.

InvoiceTypeCode on a CreditNote?

The test accepts InvoiceTypeCode or CreditNoteTypeCode.

Fix errors automatically Validate the XML for free Pricing: 3 free, Pro €12, Office €49