BR-04 — Missing invoice type code
What it means
The invoice type code is missing (e.g. 380 — invoice, 381 — credit note). This code tells the buyer's system whether the document is a regular invoice, a credit note, or something else — without it the document can't be processed correctly automatically.
How to fix it
Check that the invoice XML contains an InvoiceTypeCode element with a
valid UNCL1001 code. For a regular invoice it's 380, for a credit note
381. In accounting software this code usually follows from the document
type you pick when preparing the document.
Example
Wrong: the InvoiceTypeCode element is missing.
Correct: <cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>.