E-Invoice API

BR-CO-06

Severity
fatal
Syntax
UBL
Source
EN16931
Context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = true()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = true()]

Rule text

[BR-CO-06]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge.

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.