Rules / IBR-123
Invoice total amount without TAX must have no more than 2 decimals
Invoice total amount without TAX (ibt-109) must have no more than 2 decimals.
Fails
<cbc:TaxExclusiveAmount currencyID="AED">1250.125</cbc:TaxExclusiveAmount>
Fix
Round cbc:TaxExclusiveAmount 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:TaxExclusiveAmount, '.')) <= 2
Official text: Invoice total amount without TAX (ibt-109) MUST have no more than 2 decimals.