Case study · scale & fiscal data

NFSe on a 3.8-billion-document platform

Four years at a Brazilian fiscal document platform, ending on the NFSe module: the municipal service invoice. The product ingests and processes more than 3.8 billion fiscal documents per year. My work was the front end people use to find, read and act on those documents, inside an established platform and design system.

Context

Arquivei, later renamed Qive, extracts and structures fiscal documents for companies. I worked in three contexts over four years: Custom Projects (2021–2022) on custom front-end solutions for enterprise customers, Professional Services (2023–2024) building custom integrations and features for the same kind of customer, and the Ingestion team (2024–2025) on the NFSe module.

Scale is the defining constraint: a front end that lists, filters and validates documents on top of a dataset measured in billions per year cannot treat a query as free.

Problem

My responsibility

Front-end engineering on the NFSe module: interfaces and flows over the existing API, within the platform's established patterns, design system and state management. Earlier, I built and maintained custom integrations and custom front-end solutions for enterprise customers.

How I approached it

Consistency first: the module already had conventions for components, state and error handling, so new work followed them rather than introducing a parallel style. For lists over large datasets, the important question is what the client actually needs to receive: pagination and filtering belong on the server, and the client's job is to render predictably and debounce what the user types. Production issues were diagnosed through error tracking and dashboards instead of guesswork, and changes shipped through the platform's containerised CI/CD pipeline.

Challenges

Decisions and trade-offs

Result

Four years of continuous delivery inside a product of that scale, and proficiency in a domain that punishes imprecision.

What I learned