Each Invoice line charge (BG-28) shall have an Invoice line charge amount (BT-141).
The charge is missing ActualAmount. As a result, no amount is provided for the invoice line charge.
Every invoice line charge must include an amount. This amount states the value of the charge.
No amount is provided for an invoice line charge. You can add the missing amount to the charge.
- Add the amount through
AbstractTradeAllowanceCharge.ActualAmount. - Check that the amount belongs to the charge in the appropriate
SpecifiedTradeAllowanceCharge. - Generate the invoice again and validate it once more.
<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>12.34</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)TradeCharge(BG-28)
Technical details
The check runs for ChargeIndicator with the value true and passes if ActualAmount is present in the parent SpecifiedTradeAllowanceCharge.
The rule applies to a charge in SpecifiedTradeAllowanceCharge within an invoice line's settlement data. The ChargeIndicator element identifies the entry as a charge.
rule/@context)assert/@test)