Rules / IBR-125
IBR-125 error
Invoice total amount with TAX must have no more than 2 decimals
Invoice total amount with TAX (ibt-112) must have no more than 2 decimals.
Fails
<cbc:TaxInclusiveAmount currencyID="AED">1250.125</cbc:TaxInclusiveAmount>
Fix
Round the amount to 2 decimals. Round each figure once, at the end of its calculation, and sum the rounded figures.
Schematron
- Context
cac:LegalMonetaryTotal- Test
string-length(substring-after(cbc:TaxInclusiveAmount, '.')) <= 2
Official text: Invoice total amount with TAX (ibt-112) MUST have no more than 2 decimals.