IBR-124

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

About

ID
ibr-124
Flag
fatal
Context
/ubl:Invoice/cac:TaxTotal | /cn:CreditNote/cac:TaxTotal
Test
string-length(replace(substring-after(normalize-space(cbc:TaxAmount), '.'), '0+$', '')) <= u:currencyDecimals((cbc:TaxAmount/@currencyID, /*/cbc:DocumentCurrencyCode)[1])
Rules
  • IBR-124 Self-billed invoice total TAX amount (ibt-110) MUST have no more decimals than the official precision of the Self-billed invoice currency (ibt-005).
Syntax binding