# BR-CO-07

> Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason.

Checked against Peppol BIS Billing 3.0 2026.5

Canonical: https://einvoicecheck.eu/rules/br-co-07

## Official rule text

Invoice line allowance reason code (BT-140) and Invoice line allowance reason (BT-139) shall indicate the same type of allowance reason.

## Why did my invoice fail BR-CO-07?

For an invoice line allowance, the reason code (BT-140) and the reason text (BT-139) must indicate the same type of allowance reason. They must not conflict, since both describe why the line-level discount is applied.

## Common causes

- Line allowance code and text mapped from unrelated source fields.
- Reused snippet from a different line with a mismatched code/text pair.
- Incorrect allowance reason code selected for the described discount.
- Reason text localized but code left unchanged.

## How do I fix it?

```
Ensure the line allowance code and text match: <cac:InvoiceLine>...<cac:AllowanceCharge><cbc:ChargeIndicator>false</cbc:ChargeIndicator><cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode><cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>...</cac:AllowanceCharge></cac:InvoiceLine>
```
