We use cookies and similar technologies, including Google Analytics and the Meta Pixel, to improve your experience, measure site traffic and understand signup campaigns. By clicking "Accept", you agree to this use.

Learn more about our privacy practices
Português

NF-e (products)

Issue NF-e (model 55) through the same /v1/invoices routes, in test mode (homologação), for Simples Nacional, MEI, Lucro Presumido and Lucro Real companies in every state.

NF-e is the invoice for goods (products), different from the NFS-e, which is the invoice for services. In Arquivix Notas it lives in the same routes as the NFS-e: /v1/invoices. What changes the document is the type: send type: "nfe" to create one, or ?type=nfe to list. A request without type is an NFS-e, exactly as before.

Availability

NF-e is open to every account, with nothing to ask for: use a test key (or the TEST environment in the dashboard) and issue. In production (live) the answer is 422 NFE_PRODUCTION_DISABLED until Arquivix Notas turns production on; the dashboard says so and keeps the emit button off.

The routes

MethodPathWhat it does
GET/PUT/v1/companies/:id/nfe-settingsRead and set IE, CRT, series and defaults of the company
POST/v1/invoices/validateDry-run: checks everything, sends and charges nothing
POST/v1/invoicesIssue an NF-e (type: "nfe"), needs Idempotency-Key
GET/v1/invoices?type=nfeList NF-e (type=all lists NFS-e and NF-e together)
GET/v1/invoices/:idRead one NF-e
PUT/v1/invoices/:idFix and send a rejected NF-e again (same number)
POST/v1/invoices/:id/syncAsk the SEFAZ about the note by its access key
POST/v1/invoices/:id/discardGive up a rejected NF-e
POST/v1/invoices/:id/cancelCancel an authorized NF-e
POST/v1/invoices/:id/correctionsSend a correction letter (CC-e)
GET/v1/invoices/:id/eventsStates and fiscal events of the note
GET/v1/invoices/:id/xml · /pdfAuthorized XML and DANFE
GET/v1/invoices/:id/events/:eventId/xmlXML of a registered cancellation or correction letter (procEventoNFe, with the nProt)
POST/v1/invoices/:id/download-urlA temporary link to the XML or the DANFE
GET/POST/v1/invoices/inutilizationsList and request the inutilization of number ranges
GET/v1/invoices/inutilizations/:id/xml?type=nfeThe procInutNFe of a homologated inutilization
GET/v1/invoices/number-gaps?type=nfeNumbers that were skipped

An operation that does not exist for a type answers 422 with INVOICE_OPERATION_NOT_SUPPORTED (for example, a correction letter on an NFS-e). An NF-e answer carries type: "nfe"; an NFS-e answer has no type, and absent means NFS-e.

SDKs and generated clients

Nothing about /v1/invoices for NFS-e changed: the same operations, the same fields. The NF-e only adds the optional type, the new operations above and the NF-e tag in the OpenAPI. A client generated from openapi.json already has them; a hand-written one only needs to send type: "nfe" and the Idempotency-Key header. The MCP tools nfse_issue, nfse_list, nfse_get, nfse_cancel and others also take type.