Invoice error guide · Supported local check

BR-CO-16: Amount due is inconsistent

Understand BR-CO-16, review an example and inspect your invoice XML locally. Check the underlying invoice values before applying a correction.

Last updated: 14 November 2026

  • No invoice uploads. The studio processes XML in your browser.
  • A resolved check is not full invoice compliance.

What this check means

Subtract the paid amount from the gross total, then add the invoice rounding amount. Missing optional paid or rounding amounts are treated as zero.

Example

Gross 120.00 minus prepaid 20.00 plus rounding 0.02 gives an amount due of 100.02.

How to investigate and repair

Confirm prepayments from your records. The studio cannot verify whether money has actually been received, and must not be used to invent payments.

Open E-invoice Studio, import the original XML or the hybrid PDF and choose Inspect invoice. When an arithmetic correction is available, review its old and proposed values before selecting it. Download a new copy; keep the original for your records.

Validation coverage

The studio implements a bounded subset of checks for mapped UBL and CII fields. It is not a complete XSD or Schematron validator. The empty-element rule is applied only to UBL. Signed XML cannot be repaired, and unsupported precision or ambiguous amounts prevent affected arithmetic checks.

Validate the complete document against the exact invoice profile and national requirements before sending it. The studio does not transmit through Peppol.

Tools and sources

Frequently asked questions

Can the studio automatically fix BR-CO-16?

For an existing, unambiguous supported monetary total, the studio can propose an arithmetic replacement. You must select and review it. Missing values, unsupported amounts, totals that depend on another failing total and signed XML cannot be repaired automatically.

Does passing this rule mean my invoice is compliant?

No. One arithmetic or structural check cannot verify all required fields, tax treatment, code lists, country rules, PDF/XML agreement or delivery requirements. Full profile validation remains necessary.