The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2.
The value in ram:BasisAmount has more than two characters after the decimal point. The allowance base amount (BT-93) may have no more than two decimal places.
The two-decimal limit specifies the permitted precision of the allowance base amount.
The allowance base amount has more than two decimal places. Adjust the number of decimal places in ram:BasisAmount.
- Limit the value in
ram:BasisAmountto no more than two decimal places. - Check
AbstractTradeAllowanceCharge.BasisAmount. - Regenerate the invoice and validate it again.
<ram:BasisAmount>100.123</ram:BasisAmount>
<ram:BasisAmount>100.12</ram:BasisAmount>
AbstractTradeAllowanceCharge.BasisAmount(Document level allowance: BT-93)
Technical details
The test counts the characters after the decimal point in ram:BasisAmount and requires no more than two.
The rule applies to ram:BasisAmount for a document-level allowance in ram:SpecifiedTradeAllowanceCharge.
rule/@context)assert/@test)