BR-04: The document type code is missing
This code shows up when an electronic invoice is validated. Here is what it means, why it fires, and what to change in the file.
Why this code appears
No document type code (BT-3). It distinguishes an invoice from a credit note, and the recipient cannot infer it from the sign of the amounts.
How to fix it
Fill ExchangedDocument/TypeCode: 380 for a commercial invoice, 381 for a credit note, 384 for a corrected invoice.
Where it happens
This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-3.