TF Fiscal

CT-e Transport

POST/api/cte/cce

Correction Letter (CC-e)

Registers an Electronic Correction Letter (event 110110) on an authorized CT-e. The CC-e cannot correct values that impact the tax, registration data that change the issuer/service taker/sender/recipient, or the issuance date. Each correction indicates the group, field and new value. A correction letter can only be registered for CT-e documents issued through this platform that are authorized and not cancelled.

Required headers

tokenstringstringToken of the issuing company
signstringstringMD5 signature
timestampstringstringUnix timestamp in seconds

Body

chCTe*stringstringAccess key of the CT-e (44 digits)
infCorrecao[]*arrayarrayCorrections (minimum 1, up to 20)

 * Required field. The condition of use (xCondUso) is filled in automatically by the server.

Examples

# sign = md5(token + path + body + timestamp)
# Template generated from the endpoint path; replace the placeholders
curl -X POST "https://api.tffiscal.com/api/cte/cce" \
  -H "Content-Type: application/json" \
  -H "token: $TOKEN" \
  -H "timestamp: $TIMESTAMP" \
  -H "sign: $SIGN" \
  -d @body.json