BR-04ErrorMandatory content per EN 16931 (BR-01 to BR-65)

BR-04: Invoice type code missing

The invoice is invalid and will be rejected.

What does the error mean?

The document type (BT-3) is missing, e.g. 380 for an invoice or 381 for a credit note.

How to fix it

Set cbc:InvoiceTypeCode (UBL) or rsm:ExchangedDocument/ram:TypeCode (CII), usually to 380.

Original validator message

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

Checked in: UBL, CII

Fields involved

  • BT-3 Invoice type code

Check your invoice now

Upload your XRechnung or ZUGFeRD file. The validator lists every error with an explanation – free, no sign-up.

Open the validator

Avoid the errors in the first place

With the Invoicify API you create XRechnung and ZUGFeRD from JSON. Totals, VAT and mandatory fields are checked before any XML is written.

Read the API docs

Related error codes

All error codes →