IBR-125

Self-billed invoice total amount with TAX (ibt-112) MUST have no more decimals than the official precision of the Self-billed invoice currency (ibt-005).

About

ID
ibr-125
Flag
fatal
Context
cac:LegalMonetaryTotal
Test
string-length(replace(substring-after(normalize-space(cbc:TaxInclusiveAmount), '.'), '0+$', '')) <= u:currencyDecimals(/*/cbc:DocumentCurrencyCode)
Rules
  • IBR-125 Self-billed invoice total amount with TAX (ibt-112) MUST have no more decimals than the official precision of the Self-billed invoice currency (ibt-005).
Syntax binding