BR-CL-06

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

Value added tax point date code MUST be coded using a restriction of UNTDID 2005.

Context
cac:InvoicePeriod/cbc:DescriptionCode
Test
((not(contains(normalize-space(.), ' ')) and contains(' 3 35 432 ', concat(' ', normalize-space(.), ' '))))

Checked with EN 16931 Invoice (UBL), EN 16931 Credit Note (UBL), Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)

Message

Value added tax point date code MUST be coded using a restriction of UNTDID 2475.

Context
ram:DueDateTypeCode
Test
((not(contains(normalize-space(.), ' ')) and contains(' 5 29 72 ', concat(' ', normalize-space(.), ' '))))

Checked with EN 16931 Invoice (CII)