IBR-DEC-03-OM

[IBR-DEC-03-OM] (covering IBR-088-OM, IBR-109-OM..IBR-135-OM) - All amount values (including BTOM-020 Total amount due in Profit Margin) MUST NOT contain more than 3 decimal places and the exchange rate by IBR-005-OM (7 decimals).

About

ID
IBR-DEC-03-OM
Flag
fatal
Context
cbc:Amount | cbc:BaseAmount | cbc:PriceAmount | cbc:LineExtensionAmount[not(parent::cac:LegalMonetaryTotal)] | cbc:TaxExclusiveAmount[not(parent::cac:LegalMonetaryTotal)] | cbc:TaxInclusiveAmount[not(parent::cac:LegalMonetaryTotal)] | cbc:AllowanceTotalAmount[not(parent::cac:LegalMonetaryTotal)] | cbc:ChargeTotalAmount[not(parent::cac:LegalMonetaryTotal)] | cbc:PrepaidAmount[not(parent::cac:LegalMonetaryTotal)] | cbc:PayableRoundingAmount[not(parent::cac:LegalMonetaryTotal)] | cbc:PayableAmount[not(parent::cac:LegalMonetaryTotal)] | cac:TaxTotal/cbc:TaxAmount[not(parent::cac:TaxTotal[parent::*[local-name()='Invoice' or local-name()='CreditNote']])] | cac:TaxTotal/cbc:TaxableAmount | cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount | cac:TaxTotal/cac:TaxSubtotal/cbc:TaxableAmount | cac:AdditionalDocumentReference[cbc:DocumentTypeCode='PM_TOTAL']/cbc:DocumentDescription
Test
. castable as xs:decimal and xs:decimal(.) = round(xs:decimal(.) * 1000) div 1000