MDF-e
Machine translation, not yet reviewed.
MDF-e
Electronic issuance of Electronic Fiscal Document Manifests (Manifesto de Documentos Fiscais Eletrônicos, MDF-e), including authorization, queries, and events.
Electronic issuance of Electronic Fiscal Document Manifests (Manifesto de Documentos Fiscais Eletrônicos, MDF-e), including authorization, queries, and events.
This follows the authentication and response format conventions of the REST APIs; see REST APIs and Authentication and Authorization.
Operations
Parameters, schemas, examples, and errors for each operation are in the MDF-e API Reference.
Typical flow
- Obtain the access token.
- Send the document data for authorization.
- Query the document status until authorization is confirmed (or the document is rejected by the responsible tax authority).
- Download the authorized XML and the DAMDFE.
- When needed, transmit events (closure, cancellation, inclusion of driver/DF-e, among others) on the authorized document.