# BR-CL-18

Source: https://xmlvalid.com/rules/BR-CL-18

> Invoice tax categories MUST be coded using UNCL5305 code list

- Level: error
- Rule sets: EN 16931 rules (UBL) 1.3.17, EN 16931 rules 1.3.16 (UBL), EXTENDED-CTC-FR rules (UBL) 1.4.0.04, Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `cac:ClassifiedTaxCategory/cbc:ID`
- Test: `( ( not(contains(normalize-space(.),' ')) and contains( ' AE L M E S Z G O K B ',concat(' ',normalize-space(.),' ') ) ) )`

> Invoice tax categories MUST be coded using UNCL 5305 code list

- Level: error
- Rule sets: EN 16931 rules (CII) 1.3.17, EN 16931 rules 1.3.16 (CII), EXTENDED-CTC-FR rules (CII) 1.4.0.04
- Context: `ram:ApplicableTradeTax/ram:CategoryCode`
- Test: `((not(contains(normalize-space(.), ' ')) and contains(' AE L M E S Z G O K B ', concat(' ', normalize-space(.), ' '))))`

Validate a document against these rules: https://xmlvalid.com/validate
