Rules / IBR-125
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 cbc:TaxInclusiveAmount to 2 decimals. Round each figure once, at the end of its calculation, and add up 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.