TF Fiscal

DC-e Content Declaration

POST/api/dce/consult

Consult the status of the DC-e

Consults the current status of the DC-e at the tax authority from the access key. When the DC-e is canceled, the response reflects the cancellation data (the local database is the source of truth about cancellation). Only DC-e documents issued through this platform can be consulted.

Required headers

tokenstringstringToken of the issuing company
signstringstringMD5 signature
timestampstringstringUnix timestamp in seconds

Body

chDCe*stringstringDC-e access key (44 digits)

 * Required field.

Examples

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