BR-04: An Invoice shall have an Invoice type code (BT-3)
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[BR-04]-An Invoice shall have an Invoice type code (BT-3).
normalize-space(cbc:InvoiceTypeCode) != '' or normalize-space(cbc:CreditNoteTypeCode) !=''BR-04 is a fatal rule in the business layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected. It refers to BT-3.
What this rule requires
The rule requires an invoice or credit note to carry an invoice type code (BT-3). In UBL syntax, the document must contain at least one of cbc:InvoiceTypeCode or cbc:CreditNoteTypeCode with non-whitespace content. In CII syntax, the element rsm:ExchangedDocument/ram:TypeCode must not be empty or whitespace-only. A document is rejected when the relevant element is missing or contains only spaces.
How to fix
Add the missing BT-3 code. For UBL, fill cbc:InvoiceTypeCode on an invoice or cbc:CreditNoteTypeCode on a credit note with a non-empty value. For CII, provide a non-empty value in rsm:ExchangedDocument/ram:TypeCode. Use the code allowed by the applicable XRechnung/Peppol specification for BT-3, since this rule does not define the allowed values.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to BR-04.
Validate an invoice against these rules · All release changes