Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason.

Error BR-CO-08 EN 16931

Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge reason.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
Affected fields BT-145 BT-144
Please note: this rule can never be triggered

The test condition of this rule is always satisfied. It is stated as a requirement in the specification, but the validator does not check it automatically, so it never produces a message.

What to do
  1. There is nothing to fix.
  2. If you still want to follow the requirement, read the message text under “Technical details”.
Check in FactoorSharp
  • ChargeReasonCodes (Line level charge: BT-145)
  • TradeCharge.ReasonCode (Line level charge: BT-145)
  • AbstractTradeAllowanceCharge.Reason (Line level charge: BT-144)
Technical details
Context (rule/@context)
//ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'true']
Test expression (assert/@test)
true()