This page is also available in your language:
CRATEAPI Error reference EN · FR · DE · RO

BR-04

EN 16931 FATAL

Official rule text

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

What this error means

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.

Related rules

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.