DT-CIUS-PT-097.1
The BT-109 does not meet the defined format: decimal value with 2 decimal places and 13 unit places.
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:LegalMonetaryTotal/cbc:TaxExclusiveAmount | //cn:CreditNote/cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount
Test
matches(.,'^(\d{1,13}\.\d{2})$')
Checked with Portugal CIUS-PT Invoice (UBL), Portugal CIUS-PT Credit Note (UBL)