warningen16931
BR-CO-23:Invoice Line Allowance Reason Required
Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.
We can fix this automatically
AUTO-FIXAuto-fix: Add default reason code "95" (Discount) for line allowances without reasons.
No manual changes needed
Upload and Fix NowWhy This Error Matters
Invoice rejected. Line-level discounts must be explained for reconciliation and audit trail purposes.
How to Fix It
1
Locate the line allowance
Find the InvoiceLine/AllowanceCharge element with ChargeIndicator=false that is missing a reason
2
Add reason code
Add AllowanceChargeReasonCode with a valid UNCL 5189 code (e.g., 95=Discount, 100=Special agreement)
3
Optionally add reason text
Add AllowanceChargeReason with a description like 'Discount' or 'Volume rebate'
Technical Details
XPath: /Invoice/cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator='false']/cbc:AllowanceChargeReason or cbc:AllowanceChargeReasonCodeCommon Causes
- Line allowance has no reason text or code
- Line AllowanceCharge missing both reason fields
- Line discount added without explanation
- Template missing line allowance reason fields
- Generic line discount without categorization
Frequently Asked Questions
BR-CO-23 occurs when an invoice line has an allowance (discount) in BG-27 but neither the reason text (BT-139) nor reason code (BT-140) is provided. EN16931 requires at least one of these fields.
Add either an AllowanceChargeReasonCode (BT-140) like 95 for Discount, or an AllowanceChargeReason (BT-139) text description, or both. Invoice Navigator can auto-fix this by adding the default code 95.
Yes, BR-CO-23 is an error that will cause invoice rejection. EN16931 requires every line allowance to have either a reason code or reason text to explain the discount.
Yes. Invoice Navigator can automatically add the default reason code 95 (Discount) to line allowances missing a reason. This is a safe, non-financial fix that simply adds explanatory metadata.
See Also
Related Errors
Last updated: 17 January 2026
Share this guide: