Faktura

BR-CL-18

fatalEN 16931code list ruleCIIUBL

Invoice tax categories MUST be coded using UNCL5305 code list

Why it fails

A tax category code is not in UNCL 5305.

How to fix it

Use one of S, Z, E, AE, K, G, O, L, M - see BR-CL-17.

What the validator checks

CII — context ram:ApplicableTradeTax/ram:CategoryCode

((not(contains(normalize-space(.), ' ')) and contains(' AE L M E S Z G O K B ', concat(' ', normalize-space(.), ' '))))

UBL — context cac:ClassifiedTaxCategory/cbc:ID

( ( not(contains(normalize-space(.),' ')) and contains( ' AE L M E S Z G O K B ',concat(' ',normalize-space(.),' ') ) ) )

Related rules

Part of BR-CL — Code list rules.

Validate an invoice against this rule →