Rules / IBR-123
IBR-123 error
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 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:TaxExclusiveAmount, '.')) <= 2
Official text: Invoice total amount without TAX (ibt-109) MUST have no more than 2 decimals.