Issuing documents
CT-e Transport
5 endpoints
CT-e — Electronic Bill of Lading
The CT-e API (model 57, layout 4.00 + NT2025/001) lets you issue, cancel, correct (CC-e) and consult Electronic Bills of Lading. The CT-e documents the provision of a cargo transport service. It supports 6 modes (road, air, waterway, rail, pipeline, multimodal) and 3 types of CT-e (Normal, Supplement, Replacement; the Annulment CT-e was abolished in the 4.00 layout). The business data goes in the /create body; the technical access-key fields (cCT, cDV, cUF, dhEmi, mod) are calculated automatically by the server. The fields serie and nCT are optional: they are allocated automatically when omitted (or set to 0), but are honored when sent (useful for skipping the numbering, e.g. after a duplicate at the tax authority). See /api/cte/create for the groups required by each type and for the fields not yet supported.
| Endpoint | Method | Description |
|---|---|---|
/api/cte/create | POST | Issue CT-e |
/api/cte/cancel | POST | Cancel CT-e (event 110111) |
/api/cte/cce | POST | Correction Letter — CC-e (event 110110) |
/api/cte/consult | POST | Consult the status of the CT-e |
The service taker (whoever pays the freight) is defined in ide.toma: 0=Sender, 1=Dispatcher, 2=Receiver, 3=Recipient, 4=Others (in this case fill in ide.toma4).
- POSTIssue CT-eIssues a CT-e from the submitted body.
/api/cte/create - POSTCancel CT-eCancels an authorized CT-e (event 110111 ).
/api/cte/cancel - POSTCorrection Letter (CC-e)Registers an Electronic Correction Letter (event 110110 ) on an authorized CT-e.
/api/cte/cce - POSTConsult the status of the CT-eConsults the status of the CT-e at the tax authority from the access key.
/api/cte/consult - GETList CT-e (paginated)Lists the company's CT-e with pagination.
/api/cte/get_list