IBR-121

Document level allowance amount (ibt-107) MUST have no more decimals than the official precision of the Self-billed invoice currency (ibt-005).

About

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