BR-DEC-15: The allowed maximum number of decimals for the Invoice total VAT amount in accou
Severity: fatal · Syntax: CII, UBL
Official message
The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2.
What this means
The official message is: The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. This page does not add a further obligation.
Typical cause
The assertion in the context above failed for this file.
How to fix it
Adjust the file so the assertion succeeds, then validate it again. This page helps you read the rule.
Business term
BT-111
Related rules
Context and assertion
UBL /ubl:Invoice | /cn:CreditNote
CII //ram:SpecifiedTradeSettlementHeaderMonetarySummation
UBL
(//cac:TaxTotal/cbc:TaxAmount[@currencyID = cbc:TaxCurrencyCode] and (string-length(substring-after(//cac:TaxTotal/cbc:TaxAmount[@currencyID = cbc:TaxCurrencyCode],'.'))<=2)) or (not(//cac:TaxTotal/cbc:TaxAmount[@currencyID = cbc:TaxCurrencyCode]))CII
not(ram:TaxTotalAmount) or ram:TaxTotalAmount[(@currencyID =/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:TaxCurrencyCode and . = round(. * 100) div 100) or not (/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:TaxCurrencyCode)]
Check a file now, free of charge
curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate