CRATEAPI

BR-04

EN 16931 FATAL

Every invoice must declare its type (BT-3, cbc:InvoiceTypeCode) with a code from UNTDID 1001 - most commonly 380 (commercial invoice) or 381 (credit note).

How to fix it
  1. Add cbc:InvoiceTypeCode380 for a standard invoice.
  2. Use 381 for credit notes, 384 for corrective invoices.
  3. The code must be numeric - words like Invoice are rejected.
Official rule text
An Invoice shall have an Invoice type code (BT-3).

Developers also reach this page searching for an “invoice validation error”, an “e-invoice rejected” message, or how to fix a failed EN 16931 compliance check — it's the same issue, explained above.

Fix it faster

Paste your invoice XML in our free validator - every finding comes with its rule ID. Then generate, convert and render compliant invoices through one API.

Related rules