Skip to main content
NetSuiteSaaS Tools

Brazil NF-e, NFS-e & SPED Compliance

A build-to-order NetSuite customisation covering NF-e,

NFC-e and NFS-e issuance, fiscal events, and SPED digital book generation from your own NetSuite ledger. Scoped and quoted before anything is built.

Built to order

What is Brazil NF-e, NFS-e & SPED Compliance?

A build-to-order NetSuite customisation covering NF-e, NFC-e and NFS-e issuance, fiscal events, and SPED digital book generation from your own NetSuite ledger. Scoped and quoted before anything is built. Built to order by ECOSIRE for Oracle NetSuite (build-to-order) — indicative price from $1499.00 USD; request a quote for a scoped proposal.

Brazil NF-e, NFS-e & SPED Compliance — A build-to-order NetSuite customisation covering NF-e, NFC-e and NFS-e issuance, fiscal events, and SPED digital book generation from your own NetSuite ledger

What we build

  • NF-e and NFC-e payload builders assembling issuer, recipient and per-line blocks with NCM, CEST, origin, CFOP and unit codes from mapped Item, Customer and Subsidiary fields
  • Tax determination tables held in custom records covering ICMS and its situation codes, tax substitution, the interstate differential, IPI, PIS and COFINS, encoded to your tax team's rules
  • A1 certificate signing and transmission to the correct state authority per issuing subsidiary, with the authorisation protocol, 44-digit access key and status written to custom transaction body fields
  • Advanced PDF/HTML DANFE template carrying the access key and barcode, generated into the File Cabinet and attached to the source transaction
  • Numbering and contingency control via a document-control custom record, preventing duplicate series numbers across concurrent Map/Reduce and Scheduled processes
  • Fiscal event records for cancellation, correction letters, numbering-range invalidation and recipient acknowledgement, each storing its own protocol and signed response
  • Service invoice module abstracting the national standard and the municipal variations for the cities in your agreed scope, with service codes and withholding rules per subsidiary
  • Inbound document pipeline that parses supplier XML into a staging custom record and matches it to open Purchase Orders and Item Receipts before Vendor Bill creation
  • SPED Fiscal generator producing the opening, participant, goods document and item, tax assessment and inventory register blocks from the NetSuite ledger via Map/Reduce
  • SPED Contributions generator producing the PIS and COFINS register blocks with per-item detail traced back to the originating transaction lines
  • Pre-generation validation pass that reconciles register totals against authorised XML and posted GL, reporting failures per register with a link to the offending NetSuite record
  • Suitelet fiscal console plus saved searches for unauthorised shipments, documents pending cancellation, missing recipient acknowledgements and period-close readiness by subsidiary

About this Product

Brazil does not have an e-invoicing requirement so much as a fiscal operating system. A sale is not shipped until an NF-e has been authorised by the state SEFAZ and a 44-digit access key exists; a service invoice follows a different standard, sometimes a different municipality's rules; corrections, cancellations and unused numbering ranges are all separate fiscal events with their own windows; goods movements produce their own documents; and at the end of the period the whole ledger has to be reassembled into SPED digital books whose registers must agree with the documents that were authorised and with the inventory that actually moved. NetSuite can hold every one of those facts. Out of the box it does not assemble them into authorised fiscal documents or into SPED layouts, which is why Brazilian teams end up running an accounting system and a parallel fiscal process that only reconcile once a month, by hand, under deadline.

What ECOSIRE builds

ECOSIRE builds this suite for you. Nothing is pre-built, there is no trial edition, and no download exists until the build is done for your account. We scope it, quote a fixed price, build against a sandbox refresh of your real data, install into your sandbox for sign-off, then promote to production once your fiscal team has authorised and cancelled real documents themselves.

The implementation is native NetSuite work: SuiteScript 2.1 across User Event, Map/Reduce, Scheduled, Suitelet and RESTlet script types; SuiteFlow for authorisation, contingency and correction paths; custom records for fiscal configuration, document control and the full transmission log; custom segments where fiscal analysis needs a dimension your GL does not already carry; and Advanced PDF/HTML templates for the printed representations. It is delivered as an SDF project installed as an unmanaged bundle that you own, source included.

Goods documents: NF-e, NFC-e and fiscal events

A builder module composes the NF-e payload from the transaction and its lines: issuer and recipient blocks including state registration, per-line NCM, CEST, origin, CFOP and unit codes, and the tax blocks for ICMS with its situation code, tax substitution where it applies, the interstate differential, IPI, PIS and COFINS. Those values are not typed by a user; they are resolved from mapped fields on the Item, Customer and Subsidiary records and from a determination table we build to your tax team's rules.

Signing uses your A1 digital certificate. Where your account and release support server-side XML signing natively, we sign inside NetSuite; where they do not, we deploy a thin signing path against the component you already use, and either way the certificate stays under your control and the signed bytes are stored in your File Cabinet. Transmission goes to the correct state authority for the issuing subsidiary, and the returned authorisation protocol, access key and status are stamped onto custom transaction body fields. The DANFE is rendered from an Advanced PDF/HTML template carrying the access key and its barcode and attached to the transaction. Contingency handling, retries and numbering control run from a document-control custom record so two processes can never claim the same number.

Fiscal events are modelled as first-class records rather than checkboxes: cancellation within the permitted window, correction letters, invalidation of unused numbering ranges, and recipient acknowledgement for inbound documents. Each event stores its own protocol and signed response, so an auditor can be handed a complete chain per document.

Service invoices and inbound documents

Service invoicing is handled through a module that abstracts the differences between the national standard and the municipal variations that apply to the cities you actually operate in, with service codes, withholding rules and municipal identifiers held in custom records per subsidiary. Only the municipalities in your agreed scope are implemented, and adding another later is a defined, separately quoted extension rather than a rebuild.

On the inbound side, supplier documents are pulled or imported, parsed into a staging custom record, and matched against open Purchase Orders and Item Receipts by supplier registration, document number, access key and total. Matched documents become Vendor Bills with the source XML permanently attached and their fiscal data carried through to the books; unmatched ones queue on a Suitelet worklist.

SPED digital books

The SPED modules generate the fiscal and contributions files directly from the NetSuite ledger and the authorised documents, not from a re-keyed extract. Map/Reduce generators assemble the register blocks: the opening and participant registers, the document and item-detail registers for goods and services, the tax assessment registers, the inventory block, and the production and stock registers where your scope requires them. A validation pass runs before any file is written, checking that document totals agree with the authorised XML, that item registers resolve to real Item records, that periods are closed and that every register a downstream validator will inspect is populated. Failures are reported per register with a link to the offending NetSuite record, so the fix happens on the source data rather than in a text editor. Files land in the File Cabinet with a generation record capturing period, subsidiary, register counts and hash.

Who this is for

Brazilian entities on NetSuite that are currently running a parallel fiscal process, and multinational groups where Brazil is a OneWorld subsidiary whose local obligations dominate the close. It suits manufacturers and distributors whose ICMS substitution and interstate differential rules are non-trivial, service businesses invoicing across several municipalities, and controllers who need SPED files that reconcile to the ledger by construction rather than by reconciliation.

How delivery works

1. Scoping call. We map your transaction types, item and customer masters, states and municipalities of operation, tax determination rules, certificate arrangement, volumes and which SPED books are in scope. 2. Fixed quote. You receive a written scope with the register-by-register and field-by-field mapping, optional modules priced separately, and a delivery date. Nothing is built until you accept. 3. Build. Development runs against a sandbox refresh so we work with your real master data and your real tax configuration. 4. Install in test. The bundle goes into your sandbox and connects to the authorities' test environments. Your team authorises, cancels, corrects and generates a full test period, and signs off. 5. Production. Installation into production in your chosen window, with configuration and certificate arrangements migrated, followed by hands-on support through the first authorisation cycle. 6. Support window. A defined post-go-live support period is included in the quote, covering defects, layout and code-table updates, and support through your first SPED submission.

What we do not claim

This is a build, not a download, and there is no trial. We are not a certified partner of any software vendor and we do not resell anyone's localisation. We do not provide tax advice and we do not invent tax rules: your tax team or advisors define the determination logic, the CFOP and situation-code matrices, the withholding treatments and which books apply, and we encode those decisions into configuration records you can maintain. Only the states, municipalities, document types and SPED books named in the quote are built. Brazilian fiscal legislation moves, including the ongoing consumption-tax transition, so layouts and code tables are configuration wherever possible; structural changes are covered during the support window and quoted as change requests afterwards.

How delivery works

  1. 1

    Scoping call

    A short call to confirm the workflow, your platform version and where the integration boundaries sit.

  2. 2

    Fixed quote

    You receive a written scope and a fixed price. Nothing is built until you approve it.

  3. 3

    Build and test

    We develop against a copy of your configuration and test it there. Typically two to four weeks.

  4. 4

    Install and support

    We install on your instance, hand over the source, and include two weeks of go-live support. Defects in the code we deliver are fixed free of charge.

What you get

  • Complete SuiteScript 2.1 source code (User Event, Map/Reduce, Scheduled, Suitelet, RESTlet, client scripts and shared libraries) delivered as an SDF project you own
  • Unmanaged bundle installed into your sandbox account and promoted to production during an agreed window
  • All custom records, custom fields, custom lists, custom segments, saved searches, forms, SuiteFlow workflows, roles and permission sets configured in your account
  • Advanced PDF/HTML templates for the printed document representations included in the agreed scope
  • A written mapping document covering transaction fields to fiscal document nodes and ledger data to SPED registers, register by register
  • An administrator runbook plus recorded live training for your fiscal, billing and accounting users, covering issuance, events and period-end file generation
  • A defined post-go-live support window agreed in the quote, covering defect fixes, code-table and layout updates, and support through your first SPED submission

Who this is for

Brazil Fiscal Manager

Owns document authorisation, fiscal events and the SPED deadline, and currently reconciles a parallel fiscal process against NetSuite by hand each month. Gets authorisation protocols and access keys stored on the transactions themselves and SPED files generated from the same ledger the accounts are closed from.

Group Corporate Controller

Consolidates a OneWorld group where the Brazilian subsidiary is the slowest and least transparent part of the close. Gains subsidiary-level saved searches showing unauthorised shipments, unresolved events and period-close readiness without asking the local team for a status report.

Supply Chain and Logistics Lead

Cannot dispatch goods until a document is authorised, and loses hours when a rejection surfaces at the loading dock. Sees validation failures raised at save time on the source transaction, with contingency and retry paths handled by the system rather than by phone calls.

How Brazil NF-e, NFS-e & SPED Compliance Compares

CriterionECOSIRECustom BuildCompetitorNetSuite Native
NF-e and NFC-e issuance with state authorisation from inside NetSuiteIncludedPartial supportIncludedNot included
Fiscal events (cancellation, correction letter, numbering invalidation) as auditable recordsIncludedPartial supportIncludedNot included
SPED Fiscal and Contributions files generated from your own NetSuite ledgerIncludedNot includedPartial supportNot included
Tax determination encoded to your tax team's rules rather than a fixed vendor matrixIncludedIncludedNot includedPartial support
You receive and own the full SuiteScript source codeIncludedIncludedNot includedNot included
Fixed price agreed in writing before development startsIncludedNot includedPartial supportNot included
Instant download or self-service free trialNot includedNot includedIncludedPartial support
Inbound supplier document parsing with Purchase Order and Item Receipt matchingIncludedPartial supportPartial supportNot included

Frequently asked questions

Is any of this available to download or trial right now?
No. This is a build-to-order suite constructed for your NetSuite account after a scoping call and a fixed written quote. Because Brazilian scope varies enormously by states, municipalities, document types and which SPED books apply, delivery is typically one working week and is confirmed in the quote. There is no trial version, because nothing exists for your account before the build.
Which NetSuite versions and editions are supported?
NetSuite is a single cloud product on a twice-yearly release cadence, so we build against your current release using SuiteScript 2.1 and the SuiteCloud Development Framework. It runs on standard NetSuite and on OneWorld; OneWorld is required when Brazil sits alongside other subsidiaries in one account and documents must be issued per subsidiary. Your account needs SuiteScript, SuiteFlow, Custom Records, Custom Segments, Advanced PDF/HTML Templates and File Cabinet access. We test against your Release Preview account before each NetSuite upgrade during the support window.
How is the digital certificate handled?
Your A1 certificate stays under your control. Where your account and NetSuite release support server-side XML signing natively, signing happens inside NetSuite; where they do not, we implement a signing path against the component you already operate. Either way we do not hold your certificate and signed documents are stored in your own File Cabinet.
Do you cover every municipality for service invoices?
No, and any supplier who says otherwise is overstating it. We implement the national standard plus the specific municipalities named in your quote, because municipal service invoicing differs meaningfully between cities. Adding another municipality later is a defined extension, separately scoped and quoted, not a rebuild.
Will the SPED files reconcile to my accounts?
They are generated from the same NetSuite ledger and the same authorised documents, so they reconcile by construction rather than by a later matching exercise. A validation pass runs before any file is written, checking register totals against authorised XML and posted GL and reporting mismatches with a link to the offending record.
Do you advise on tax treatment or the consumption-tax transition?
No. We are software engineers, not tax advisors. Your tax team or advisors define the CFOP and situation-code matrices, substitution and differential rules, withholding treatments and which books apply. We encode those decisions as configuration records you can maintain, and structural changes such as new layouts are covered during the support window and quoted as changes afterwards.

Request a Quotation

Tell us about your Brazil NF-e, NFS-e & SPED Compliance requirements and we'll send pricing, licensing options and a tailored proposal — usually within one business day.

No payment now. This sends a quote request to our team — we'll follow up by email with pricing and next steps.

Pairs well with

AI Transaction Categorization & GL Coding
Built to order

AI Transaction Categorization & GL Coding

Learns account, class, department and location coding from your own NetSuite posting history and suggests GL coding on new transactions, with confidence thresholds and full audit trail. Build-to-order.

From $999.00Starting point — quoted to your scope
View specification
AR Collections & Dunning Automation
Built to order

AR Collections & Dunning Automation

Staged dunning, collector worklists and promise-to-pay tracking for NetSuite AR, built to order for your account and your escalation policy after a scoping call and fixed quote.

From $999.00Starting point — quoted to your scope
View specification
Card Payments & Payout Reconciliation
Built to order

Card Payments & Payout Reconciliation

A build-to-order NetSuite SuiteApp that matches gateway payouts to Customer Payments, posts fees and chargebacks, and clears undeposited funds. ECOSIRE builds it for your account after a fixed quote.

From $999.00Starting point — quoted to your scope
View specification
Configure, Price, Quote (CPQ) Engine
Built to order

Configure, Price, Quote (CPQ) Engine

A NetSuite-native CPQ engine: guided selling, rule-driven product configuration, margin-aware pricing and approval-gated discounts feeding straight into Estimates and Sales Orders. Built to order.

From $1499.00Starting point — quoted to your scope
View specification