Message

The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2.

Context
cac:LegalMonetaryTotal
Test
string-length(substring-after(cbc:AllowanceTotalAmount,'.'))<=2
Usage
/ ubl:Invoice / cac:LegalMonetaryTotal / cbc:AllowanceTotalAmount
/ ubl:CreditNote / cac:LegalMonetaryTotal / cbc:AllowanceTotalAmount