TF Fiscal

NF-e Invoices

POST/api/invoice/cce/download_xml

Download CC-e XML

Returns the URL of the signed CC-e XML (already stored in the platform file storage after submission to the tax authority).

Required headers

tokenstringstringIssuing company token
signstringstringMD5 signature
timestampstringstringUnix timestamp in seconds

Body

cce_id*stringstringCC-e ID (ObjectId) returned by /api/invoice/cce/get_list in the id field

 * 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/invoice/cce/download_xml" \
  -H "Content-Type: application/json" \
  -H "token: $TOKEN" \
  -H "timestamp: $TIMESTAMP" \
  -H "sign: $SIGN" \
  -d @body.json