BR-DEX-13
Die maximale Anzahl zulässiger Nachkommastellen für das Element "Third party payment amount" (BT-DEX-002) ist 2.
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:PrepaidPayment[$isExtension]
Test
string-length(substring-after(cbc:PaidAmount, '.')) <= 2
Checked with XRechnung 3.0 Invoice (UBL), XRechnung 3.0 Credit Note (UBL)