E-Invoice API

BR-CO-07

Severity
fatal
Syntax
UBL
Source
EN16931
Context
//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]

Rule text

[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.

Validate your file

Hitting this rule in production? Paste the invoice into the validator or wire the API into CI so it never ships broken again.