BR-CO-07ErrorCalculations and dependencies (BR-CO)

BR-CO-07: Line allowance reason and code disagree

The invoice is invalid and will be rejected.

What does the error mean?

A line allowance has a reason text (BT-139) and reason code (BT-140) that describe different things.

How to fix it

Make text and code match, or send only one of them.

Original validator message

[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 in: UBL, CII

Fields involved

  • BT-140 Invoice line allowance reason code
  • BT-139 Invoice line allowance reason

Check your invoice now

Upload your XRechnung or ZUGFeRD file. The validator lists every error with an explanation – free, no sign-up.

Open the validator

Avoid the errors in the first place

With the Invoicify API you create XRechnung and ZUGFeRD from JSON. Totals, VAT and mandatory fields are checked before any XML is written.

Read the API docs

Related error codes

All error codes →