Faktura

BR-04

fatalEN 16931EN 16931 business ruleCIIUBLBT-3

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

Why it fails

The Invoice type code (BT-3) is missing.

How to fix it

Add BT-3 from UNTDID 1001. 380 = commercial invoice, 381 = credit note, 384 = corrected invoice, 386 = prepayment invoice, 389 = self-billed invoice. In UBL a credit note is a separate CreditNote document with cbc:CreditNoteTypeCode; do not put 381 in an Invoice.

What the validator checks

CII — context /rsm:CrossIndustryInvoice

normalize-space(rsm:ExchangedDocument/ram:TypeCode) != ''

UBL — context /ubl:Invoice | /cn:CreditNote

normalize-space(cbc:InvoiceTypeCode) != '' or normalize-space(cbc:CreditNoteTypeCode) !=''

Related rules

Part of BR — EN 16931 core business rules.

Validate an invoice against this rule →