Skip to main content

NF-e Providers

The system abstracts communication with NF-e providers through a common interface.

Available Providers

NFe.io (nfe_io)

Integration with the NFe.io platform for NFS-e issuance.

Status Mapping:

NFe.io StatusInternal Status
Created, WaitingCalculateTaxes, WaitingSend, WaitingReturn, WaitingDownloadprocessing
Issuedissued
Cancelledcanceled
Errorerror

Kobana NF-e (kobana)

Integration with Kobana's internal NF-e service.

Mock (mock)

Development provider that simulates issuances with fictitious data.

  • No external calls
  • In-memory storage
  • Generates realistic keys and verification codes

Common Interface

All providers implement:

OperationDescription
issueIssue an NF-e
cancelCancel an issued NF-e
queryQuery the status of an NF-e
downloadXmlDownload the invoice XML
downloadPdfDownload the PDF (DANFE)