Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge.

Error BR-CO-06 EN 16931

Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
Affected fields BT-105 BT-104
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 (Document level charge: BT-105)
  • TradeCharge.ReasonCode (Document level charge: BT-105)
  • AbstractTradeAllowanceCharge.Reason (Document level charge: BT-104)
Technical details
Context (rule/@context)
//ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator='true']
Test expression (assert/@test)
true()