FACTURKITE by CairnKit
Plan: Free (3/3 AI)
ERROR EN 16931 CORE BT-3

BR-04: Invoice type code (BT-3)

An invoice must declare a valid UNTDID 1001 numeric document type code (e.g., 380 for commercial invoice, 381 for credit note).

RULE ID
BR-04
BT / BG ELEMENT
BT-3
STANDARD
EN 16931-1
NORMALIZED FIELD
typeCode
SEVERITY
ERROR

Why BR-04 Fails

Text labels like 'INVOICE', empty tags, or using an invoice code inside a UBL CreditNote root element trigger BR-04.

How to Fix BR-04

  1. Use 380 for a standard commercial invoice or 381 for a credit note (matching the XML root element).
  2. Check profile-specific subsets (BR-DE-17 for XRechnung or Peppol UNCL1001 subset).
BEFORE · FAILS BR-04 FAIL
<cbc:InvoiceTypeCode>INVOICE</cbc:InvoiceTypeCode>
AFTER · PASSES BR-04 PASS
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
VERIFY BR-04 IN CI / TERMINAL
npx @cairnkithq/facturkite-cli validate invoice.xml --profile xrechnung-ubl --format sarif
QUICK REFERENCE

Common questions about BR-04.

What causes BR-04 (BT-3) validation errors?

Text labels like 'INVOICE', empty tags, or using an invoice code inside a UBL CreditNote root element trigger BR-04.

Can FacturKite check BR-04 automatically without creating an account?

Yes. Paste your XML or upload a Hybrid PDF in FacturKite's free workbench or run npx @cairnkithq/facturkite-cli validate invoice.xml locally to verify BR-04 deterministically.

WORKSPACE & LICENSING

Plans & Activate License

WORKSPACE
ws_loading
ACTIVE PLAN
Free
AI QUOTA
3 / 3 Free

Secure checkout & 14-day money-back guarantee handled by Freemius, Inc. (Official Merchant of Record). CairnKit never sees or stores your payment card details.