BR-CO-05:Allowance reason code and reason text mismatch
Document level allowance reason code (BT-98) and reason (BT-97) must indicate the same type of allowance. The coded reason and textual reason should describe the same discount type.
We can fix this automatically
AUTO-FIXAuto-fix: Align the reason code with the reason text. Map common text patterns to standard UNTDID 5189 codes, or update text to match the code.
Why This Error Matters
Invoice may be rejected or require manual review. Inconsistent allowance information confuses accounting reconciliation and audit trails.
How to Fix It
Identify the mismatch
Check if AllowanceChargeReasonCode (BT-98) and AllowanceChargeReason (BT-97) describe the same type of discount
Choose the correct value
Decide which is correct - the code or the text description
Update to match
Either update the text to match the UNTDID 5189 code meaning, or change the code to match the text (e.g., code 95=Discount, 42=Other bonus, 100=Special rebate)
Technical Details
XPath: /Invoice/cac:AllowanceCharge[cbc:ChargeIndicator=false]/cbc:AllowanceChargeReasonCode and cbc:AllowanceChargeReasonCommon Causes
- Allowance reason code and text describe different discounts
- ReasonCode says "42" (volume) but text says "early payment"
- Mismatch between coded and textual allowance reason
- Code updated but description not changed
- Automated code assignment inconsistent with manual text
Frequently Asked Questions
See Also
Related Errors
Last updated: 17 January 2026