E-Invoice API

BR-CO-08

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

Rule text

[BR-CO-08]-Invoice line charge reason code (BT-145) and Invoice line charge reason (BT-144) shall indicate the same type of charge 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.