Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance.

Error BR-CO-05 EN 16931

Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance.

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