BR-CL-17

The rule sets below word this rule differently; each wording is shown with its rule set.

error: the document is invalid Peppol documentation ↗

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element

Message

Invoice tax categories MUST be coded using UNCL 5305 code list

Context
ram:CategoryTradeTax/ram:CategoryCode
Test
((not(contains(normalize-space(.), ' ')) and contains(' AE L M E S Z G O K B ', concat(' ', normalize-space(.), ' '))))

Checked with EN 16931 Invoice (CII)