TF Fiscal

Received Documents & DistDFe

POST/api/invoice/manifest/get_xml

Get manifestation XML

Required headers

tokenstringstringCompany token
signstringstringMD5 signature: MD5(token + path + body + timestamp)
timestampstringstringUnix timestamp in seconds (5-minute window)

Fields

FieldTypeRequiredDescription
idstringYesManifestation ObjectId — returned by /manifest or /manifest/list

Common errors

MessageCause
id inválidoValue is not a valid ObjectId
manifestação não encontradaThe record does not exist or does not belong to the token

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