DT-CIUS-PT-092.2

The BT-96 and BT-103 does not meet the defined format: value between 0.01 and 100.00.

error: the document is invalid

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.

Context
//ubl:Invoice/cac:AllowanceCharge/cac:TaxCategory/cbc:Percent | //cn:CreditNote/cac:AllowanceCharge/cac:TaxCategory/cbc:Percent
Test
matches(.,'^(\d{1,3}\.\d{2})$') and (xs:decimal(.) < 0.00 or xs:decimal(.) > 100.00)

Checked with Portugal CIUS-PT Invoice (UBL), Portugal CIUS-PT Credit Note (UBL)