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

BR-CO-23: Line allowance without reason

The invoice is invalid and will be rejected.

What does the error mean?

Every line allowance (BG-27) needs a reason text (BT-139), a reason code (BT-140) or both.

How to fix it

Add a reason text or code.

Original validator message

[BR-CO-23] 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.

Checked in: UBL, CII

Fields involved

  • BG-27 INVOICE LINE ALLOWANCES
  • BT-139 Invoice line allowance reason
  • BT-140 Invoice line allowance reason code

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 →