EN 16931 core rules (BR)Error
BR-47 VAT category code missing
What BR-47 means
Every VAT breakdown (BG-23) must contain the field “VAT category code” (BT-118). In your file it is missing or empty, so the invoice does not meet the standard.
Error: the invoice is not valid until this is fixed.
Common causes
- The field was left empty in the invoicing software.
- The software stores the information but does not write it into the XML export.
- The value only appears in the PDF or in a free text, not in the structured field.
How to fix BR-47
- Fill in “VAT category code” in your invoicing software, on the invoice or in the master data it comes from.
- If the field is filled in but still reported, ask your software provider to export it as BT-118.
- Create the invoice again and check the new file.
Where the fields are in the XML
BG-23VAT breakdown- UBL
cac:TaxTotal/cac:TaxSubtotal- CII
ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax
BT-118VAT category code- UBL
cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:ID- CII
ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax/ram:CategoryCode
UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.