Rules › EN 16931 (European standard) › BR-04

The document type is missing

In short: Every invoice must say what kind of document it is, an invoice or a credit note for example, with a standard code.

✗ ErroriAn invoice that fails this rule is not valid under its rule set.Number, dates and invoice type

  1. What the rule checks

    An e-invoice says what kind of document it is with a standard code: an invoice, a credit note, a corrected invoice… The software that receives it treats each kind in its own way. The rule checks that the code is there.

  2. Common causes

    • A new kind of document in the software, such as a deposit invoice, with no code mapped to it.
    • A template in which the type was left blank.
  3. How to fix it

    1. Check the document type of the invoice in your software: invoice, credit note…
    2. Check that the e-invoice writes its code, for example 380 for an invoice or 381 for a credit note.
    3. If the code is missing, report it to the software's publisher, quoting BR-04.
  4. Why it matters

    BR-04 is a rule of the European e-invoicing standard, EN 16931. The French, German (XRechnung) and European (Peppol) rules build on this standard, so an invoice that fails BR-04 also fails each of them.

    In public procurement, buyers in the European Union must accept e-invoices that follow this standard (Directive 2014/55/EU).

Does your invoice pass BR-04?

Check it against this rule only. The check runs in your browser, so nothing is sent.

Technical details

If you are interested in the technical side: the data the rule checks in the invoice file.

The invoice type code is BT-3. In CII, it is ram:TypeCode of rsm:ExchangedDocument; in UBL, cbc:InvoiceTypeCode (cbc:CreditNoteTypeCode in a credit note). Its codes come from the UNTDID 1001 list, as rule BR-CL-01 requires.

The example invoice leaves the code empty. An empty code is not in the list either, so BR-CL-01 fails too, and the example fails both rules.

Fields (EN 16931)BT-3
CII/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:TypeCode
UBL/Invoice/cbc:InvoiceTypeCode
Reported asBR-04

The fix in the example file

Between the example invoice that fails the rule (−, removed) and the same invoice, valid (+, added):

  <rsm:ExchangedDocument>    <ram:ID>INV-2026-0042</ram:ID>−   <ram:TypeCode></ram:TypeCode>+   <ram:TypeCode>380</ram:TypeCode>    <ram:IssueDateTime>      <udt:DateTimeString format="102">20261020</udt:DateTimeString>

Official text

An Invoice shall have an Invoice type code (BT-3).

BR-04, EN 16931 validation artefacts 1.3.17, CII and UBL.

Page updated on 2026-11-23

EN 16931 concepts (business terms, rules): these pages are an implementation of the semantic data model EN 16931-1:2017 and its two mandatory syntaxes (CEN/TS 16931-2:2017), and reproduce parts of them with the permission of CEN and its member national standardisation bodies. CEN and the national standardisation bodies bear no liability for the content and implementation of these pages, and give no warranty, express or implied, for any purpose. In case of doubt, always refer to the official text of the standard.