TF Fiscal

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.

EndpointMethodDescription
/api/cte/createPOSTIssue CT-e
/api/cte/cancelPOSTCancel CT-e (event 110111)
/api/cte/ccePOSTCorrection Letter — CC-e (event 110110)
/api/cte/consultPOSTConsult 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).