Invoice error guide · Supported local check

BR-CL-18: VAT category code is not valid

Understand BR-CL-18, 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

Invoice lines and VAT breakdowns must use a VAT category code from the code list, for example S (standard), Z (zero rated), E (exempt), AE (reverse charge), K (intra-community supply), G (export) or O (not subject to VAT).

Example

A line with category S passes. A missing category or a value such as “VAT19” fails.

How to investigate and repair

Set the category that matches the tax treatment of each line and make sure a breakdown group with the same category exists.

Open E-invoice Studio, import the original XML or the hybrid PDF and choose Inspect invoice. The check shows the path of the affected element. Correct the value in the software that created the invoice or in the XML editor, then inspect again. 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-CL-18?

No. It reports the affected element and explains the rule. The correct value depends on your records, so you enter it yourself; nothing is deleted or invented 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.