Faktura

BR-CO-04

fatalEN 16931EN 16931 business ruleCIIUBLBG-25BT-151

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

Why it fails

At least one invoice line has no Invoiced item VAT category code (BT-151). Every line must be classified for VAT, even lines at 0%.

How to fix it

Add BT-151 to each line with a UNTDID 5305 category code: S standard rated, Z zero rated, E exempt, AE reverse charge, K intra-community, G export outside the EU, O outside the scope of VAT. A missing code is not the same as 0% - a zero-rated line still needs Z.

What the validator checks

CII — context $Invoice_Line

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

UBL — context $Invoice_Line

(cac:Item/cac:ClassifiedTaxCategory[cac:TaxScheme/(normalize-space(upper-case(cbc:ID))='VAT')]/cbc:ID)

Related rules

Part of BR-CO — Calculation rules.

Validate an invoice against this rule →