ErrorEN 16931Manual only

BR-CO-04

Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151).

What does this rule mean?

An invoice line (BG-25) is missing the invoiced item VAT category code (BT-151).

Every line must be assigned to a VAT category, otherwise the VAT breakdown cannot be computed.

BG-25
Invoice line (group)
BT-151
Invoiced item VAT category code (UNCL 5305)
Official rule message (standard)

Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151).

Where the rule applies

Syntax: CII · UBL

The same rule, expressed twice: UBL and CII name the same fields with different paths. Running a CII file against the UBL rules is why you get errors that mean nothing.

UBL

  • cac:InvoiceLine | cac:CreditNoteLine

CII

  • //ram:IncludedSupplyChainTradeLineItem

Technical test

The rule passes when this Schematron expression holds true:

(ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[upper-case(ram:TypeCode) = 'VAT']/ram:CategoryCode)

How to fix it

Touches amounts, VAT or IBAN. We never change these automatically — correct them in your source data.

Add the VAT category code (BT-151) to every line.

Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.

Check an e-invoice here

Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.

100% local — no upload, no account.

Related rules

← Back to the error library