NF-e (products)
Issue NF-e (model 55) through the same /v1/invoices routes, in test (homologação) or in production, for Simples Nacional companies in every state.
NF-e is the invoice for goods (products), different from the NFS-e, which is the invoice for services. In Corvo 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 note is issued for real, with the company's A1 certificate, and each accepted note reserves one credit (given back if the note ends rejected, denied or discarded). Where production is switched off (the default on a self-hosted instance), the answer is 422 NFE_PRODUCTION_DISABLED; the operator turns it on with NFE_PRODUCTION_ENABLED=true (see the runbook docs/fiscal/runbooks/nfe-homologacao.md).
The routes
| Method | Path | What it does |
|---|---|---|
| GET/PUT | /v1/companies/:id/nfe-settings | Read and set IE, CRT, series and defaults of the company |
| POST | /v1/invoices/validate | Dry-run: checks everything, sends and charges nothing |
| POST | /v1/invoices | Issue an NF-e (type: "nfe"), needs Idempotency-Key |
| GET | /v1/invoices?type=nfe | List NF-e (type=all lists NFS-e and NF-e together) |
| GET | /v1/invoices/:id | Read one NF-e |
| PUT | /v1/invoices/:id | Fix and send a rejected NF-e again (same number) |
| POST | /v1/invoices/:id/sync | Ask the SEFAZ about the note by its access key |
| POST | /v1/invoices/:id/discard | Give up a rejected NF-e |
| POST | /v1/invoices/:id/cancel | Cancel an authorized NF-e |
| POST | /v1/invoices/:id/corrections | Send a correction letter (CC-e) |
| GET | /v1/invoices/:id/events | States and fiscal events of the note |
| GET | /v1/invoices/:id/xml · /pdf | Authorized XML and DANFE |
| POST | /v1/invoices/:id/download-url | A temporary link to the XML or the DANFE |
| GET/POST | /v1/invoices/inutilizations | List and request the inutilization of number ranges |
| GET | /v1/invoices/number-gaps?type=nfe | Numbers 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.