NT 2025.002 · IBS, CBS and Selective Tax

Find out what SEFAZ would reject before you transmit

Upload your NF-e or NFC-e XML and get, in seconds, the list of what is wrong — which line item, which field and how to fix it. We check the official layout and recompute IBS, CBS and the Selective Tax on the Brazilian Federal Revenue engine. In plain language, not in developer error messages.

FreeYour XML is discarded after the checkTax recomputed on the official government engine
  1. 1
  2. 2
  3. 3

Validate an XML now, no sign-up

The first check is free: upload one invoice and see the whole report — line item, field, how to fix it and the official source. We only ask for your details if you want to check more than one.

Drag the XMLs here

or on your computer

One invoice or a batch of up to 1 — NF-e (model 55) or NFC-e (model 65), up to 5 MB each. Full invoice or just the IBSCBS group.

Your XML is processed in memory and discarded. We do not store the file, we never log its content and we send nothing outside.

Used the validator before?

Validating against the XSD is not enough

The layout checks the shape: tag name, order, length, type. Most SEFAZ rejections come from business rules and from a wrongly computed amount. That is why this validator has three layers, and tells you plainly which of them is active.

1Active

Structure

Checks the XML against the official NF-e and NFC-e layout: wrongly formatted field, missing field, group out of order, truncated file. It lists every problem at once, not one at a time.

2Partial

Nota Técnica 2025.002 rules

CST against cClassTrib, code valid for your document type, mandatory groups and required nomenclature — all checked against the official government tables, as they stood on your invoice date. The remaining rules of the Nota Técnica are added as they are reviewed.

3Active

Calculation

Recomputes CBS, IBS and the Selective Tax on the official Federal Revenue engine and compares it, line by line, with what your XML declares. Because the rates in your file are not sent to the engine, the check also catches a wrong rate, not only wrong arithmetic.

Your XML does not stay with us

An invoice carries third-party data: customer tax IDs, prices, products. So the rule here is strict and the same for everyone.

  • The file is read in memory, checked and discarded.
  • We never write the XML to disk or to a database.
  • No XML content is ever written to a log.
  • The file is never sent to any outside service.
  • We keep only the summary: date, document model and how many errors of each kind. Never a tax ID from inside the invoice.

Where the rules come from

Nothing here is our opinion. Every finding cites the official source it came from.

  • Tax Calculator of the Brazilian Federal Revenue and Serpro, open source, MIT licence.
  • Nota Técnica 2025.002 and Informe Técnico 2025.002, from the national NF-e portal.
  • Complementary Law 214/2025.

Support tool. It does not replace SEFAZ authorisation and does not guarantee approval. It does not validate digital signature, certificate, duplicate access key or taxpayer registration status.