NF-e
Machine translation, not yet reviewed.
NF-e Outbound
Electronic issuance of Product Invoices (NF-e), including authorization, queries, events and number voiding.
Electronic issuance of Product Invoices (Notas Fiscais de Produtos, NF-e), including authorization, queries, events and number voiding.
Follows the REST API authentication and response format standards; see REST APIs and Authentication and Authorization.
Operations
Archive third-party XML
POST/api/integration/dfe/xml/archivingSign in to see the host and referenceParameters, schemas, examples and errors for each operation are in the NF-e API Reference.
Typical flow
- Obtain the access token.
- Send the document data for authorization.
- Query the document status/situation until authorization is confirmed (or the document is rejected by the responsible tax authority).
- Download the authorized XML and the DANFE.
- When necessary, transmit events (cancellation, correction letter, among others) on the authorized document.