TF Fiscal

Endpoint Quick Reference

All NFE API endpoints

Complete overview of all available API endpoints. Use this table as a quick reference to navigate the documentation.

Base URL
https://api.tffiscal.com
Path HTTP Method Function
Company Management
/api/company/create POST Create company
/api/company/get_detail GET Query company
/api/company/edit POST Modify company
/api/company/get_list GET List companies
/api/company/v2/create POST Create company (simplified)
/api/company/get_cep_detail GET CEP Lookup
/api/company/get_export_invoice_month_files GET Monthly exported files
Category/Tax Management
/api/category/get_list GET List tax categories
/api/category/create POST Create tax category
/api/category/get_detail GET Query category details
/api/category/edit POST Edit tax category
/api/category/delete POST Delete tax category
CFOP (Official table)
/api/cfop/get POST Look up CFOP
/api/cfop/list POST List CFOP
Tax Audit
/api/audit/run POST Run tax audit
SPED (Digital Tax Bookkeeping)
/api/sped/efd POST Generate SPED EFD ICMS/IPI
Invoice Management
/api/invoice/create POST Issue invoice
/api/invoice/get_list GET List invoices
/api/invoice/get_detail GET Query invoice details
/api/invoice/refresh POST Update invoice status
/api/invoice/cancel POST Cancel invoice
/api/invoice/invalid POST Invalidate invoice number
/api/invoice/return POST Invoice return
/api/invoice/get_xml POST Export invoice XML
NFC-e (Consumer Invoice)
/api/nfce/company/create POST Register NFC-e company
/api/nfce/company/update POST Update NFC-e company
/api/nfce/company/get POST Query NFC-e company
/api/nfce/create POST Issue NFC-e
/api/nfce/cancel POST Cancel NFC-e
/api/nfce/get_detail POST Query NFC-e
/api/nfce/get_danfe POST Get NFC-e DANFE
/api/nfce/get_list GET List NFC-e (paginated)
/api/nfce/export POST Batch export NFC-e (XML/PDF/spreadsheet)
NFS-e (Service Invoice)
/api/nfse/create POST Issue NFS-e
/api/nfse/cancel POST Cancel NFS-e
/api/nfse/get_danfse POST Get DANFSE (PDF)
/api/nfse/get_xml POST Download NFS-e XML
/api/nfse/get_list GET List NFS-e (paginated)
/api/nfs/company/create POST Register company for NFS-e issuance
NF-e — Events and Queries
/api/invoice/get_danfe POST Get DANFE (PDF) of the NF-e
/api/invoice/consultar_status POST Consult NF-e/NFC-e status at the tax authority
/api/invoice/cce/send POST Send Correction Letter (CC-e)
/api/invoice/cce/get_list POST List CC-e of an NF-e
/api/invoice/cce/download_pdf POST Download CC-e PDF
/api/invoice/cce/download_xml POST Download CC-e XML
NF-e — Manifestation and Received Documents
/api/invoice/manifest POST Send recipient manifestation event
/api/invoice/manifest/list POST List sent manifestations
/api/invoice/manifest/get_xml POST Get XML of a manifestation
/api/invoice/received/sync POST Sync received NF-es/events (DistDFe)
/api/invoice/received/list POST List received documents
/api/invoice/received/get_xml POST Get XML of a received document
/api/invoice/received/get_sync_status POST Check DistDFe sync state
NFC-e — Fiscal Categories
/api/nfce/category/create POST Create NFC-e tax category
/api/nfce/category/edit POST Edit NFC-e tax category
/api/nfce/category/delete POST Delete NFC-e tax category
/api/nfce/category/get_detail GET Get NFC-e category details
/api/nfce/category/get_list GET List NFC-e tax categories
MDF-e (Electronic Manifest of Fiscal Documents)
/api/mdfe/create POST Issue MDF-e
/api/mdfe/consult POST Consult MDF-e status
/api/mdfe/cancel POST Cancel MDF-e
/api/mdfe/close POST Close MDF-e
/api/mdfe/get_list GET List MDF-e (paginated)
DC-e (Electronic Content Declaration)
/api/dce/create POST Issue DC-e
/api/dce/consult POST Consult DC-e status
/api/dce/cancel POST Cancel DC-e
/api/dce/pdf POST Get DACE (PDF) of the DC-e
/api/dce/get_list GET List DC-e (paginated)
CT-e (Electronic Bill of Lading)
/api/cte/create POST Issue CT-e
/api/cte/cancel POST Cancel CT-e
/api/cte/cce POST Correction Letter (CC-e)
/api/cte/consult POST Consult CT-e status
/api/cte/get_list GET List CT-e (paginated)
NFCom (Electronic Communication Service Invoice)
/api/nfcom/create POST Issue NFCom
/api/nfcom/consult POST Consult NFCom status
/api/nfcom/cancel POST Cancel NFCom
/api/nfcom/pdf POST Get DANFE-COM (PDF) of the NFCom
/api/nfcom/get_list GET List NFCom (paginated)
NF3e (Electronic Electricity Invoice)
/api/nf3e/create POST Issue NF3e
/api/nf3e/consult POST Consult NF3e status
/api/nf3e/cancel POST Cancel NF3e
/api/nf3e/pdf POST Get DANF3E (PDF) of the NF3e
/api/nf3e/get_list GET List NF3e (paginated)
SSO (Automatic Login)
/api/sso/create_ticket POST Generate automatic login link
/api/sso/consume_ticket POST Consume ticket and receive the session JWT
Accountant Management
/api/accountant/get_info POST Get information of the accountant linked to the company
RPA — Self-Employed Payment Receipt
/api/rpa/prestador/save POST Create/update provider
/api/rpa/prestador/get_list POST List providers
/api/rpa/preview POST Calculate without issuing
/api/rpa/create POST Issue RPA
/api/rpa/get_list POST List RPA
/api/rpa/get_detail POST Get RPA detail
/api/rpa/get_pdf POST Get RPA PDF
/api/rpa/estornar POST Reverse RPA
/api/rpa/report/monthly POST Monthly closing
📋 Important Notes:
  • All endpoints require authentication via headers: sign, timestamp, token
  • For creating company and listing companies, use distributor token (b2b_token)
  • Content-Type must always be application/json;charset=utf-8
  • Responses follow JSON standard with fields success, message and data
200

Success

Request processed successfully

400

Client Error

Invalid or missing data

500

Server Error

Internal server error