Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141).
A charge is missing the ram:ActualAmount element that specifies its amount.
Every invoice line charge must include an amount.
The amount is missing for an invoice line charge. You can resolve this by adding ram:ActualAmount.
- Add the amount using
AbstractTradeAllowanceCharge.ActualAmount. - Check that the amount belongs to the invoice line charge.
- Generate the invoice again and validate it.
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> </ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> <ram:ActualAmount>1.00</ram:ActualAmount> </ram:SpecifiedTradeAllowanceCharge>
AbstractTradeAllowanceCharge.ActualAmount(Line level charge: BT-141)TradeLineItem.SpecifiedTradeAllowanceCharges(BG-28)AbstractTradeAllowanceCharge(Line level charge: BG-28)AbstractTradeAllowanceCharge.ChargeIndicator(Line level charge: BG-28)
Technical details
The check applies to ram:SpecifiedTradeAllowanceCharge where udt:Indicator has the value true and requires ram:ActualAmount to be present.
The rule applies to charges in ram:SpecifiedTradeAllowanceCharge within an invoice line’s ram:SpecifiedLineTradeSettlement.
rule/@context)assert/@test)