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

  1. Obtain the access token.
  2. Send the document data for authorization.
  3. Query the document status until authorization is confirmed (or the document is rejected by the responsible tax authority).
  4. Download the authorized XML and the DAMDFE.
  5. When needed, transmit events (closure, cancellation, inclusion of driver/DF-e, among others) on the authorized document.

On this page