Issuing documents
DC-e Content Declaration
5 endpoints
DC-e — Electronic Content Declaration
The DC-e API (model 99, layout 1.00) lets you issue, consult, cancel and obtain the PDF (DACE) of electronic content declarations. The DC-e is the fiscal document that covers the transport of goods or merchandise when there is no obligation to issue an invoice — for example, shipments involving ICMS non-taxpayers. The issuer is always a legal entity (CNPJ); the recipient may be a legal entity (CNPJ) or an individual (CPF). The business data goes in the /create body; the technical access-key fields (cDC, cDV, cUF, dhEmi, mod) are calculated by the server or filled in automatically when omitted. This API currently supports only DC-e documents whose issuer is located in Paraná (PR); for issuers in other states (as determined by ide.cUF or emit.enderEmit.UF), an error is returned.
| Endpoint | Method | Description |
|---|---|---|
/api/dce/create | POST | Issue DC-e |
/api/dce/consult | POST | Consult the status of the DC-e |
/api/dce/cancel | POST | Cancel an authorized DC-e |
/api/dce/pdf | POST | Obtain the DACE (PDF) of the DC-e |
The DC-e is routed to the authorizer of the issuer's state (UF). The ide.cUF field must be consistent with the UF informed in emit.enderEmit.UF — tax authority rejects with cStat=220 when they diverge; if omitted, cUF is derived from that UF.
- POSTIssue DC-eIssues a DC-e from the submitted body.
/api/dce/create - POSTConsult the status of the DC-eConsults the current status of the DC-e at the tax authority from the access key.
/api/dce/consult - POSTCancel DC-eCancels an authorized DC-e (event 110111 ).
/api/dce/cancel - POSTGet DC-e PDFReturns the URL of the DACE — the PDF representation of the DC-e.
/api/dce/pdf - GETList DC-e (paginated)Lists the company's DC-e with pagination.
/api/dce/get_list