tokenstring | string | Token da empresa |
signstring | string | Assinatura MD5: MD5(token + path + body + timestamp) |
timestampstring | string | Unix timestamp em segundos (janela de 5 minutos) |
Campos
| Campo | Tipo | Obrigatório | Descrição |
| id | string | Sim | ObjectId da manifestação — retornado em /manifest ou /manifest/list |
Erros comuns
| Mensagem | Causa |
| id inválido | Valor não é um ObjectId válido |
| manifestação não encontrada | Registro inexistente ou não pertencente ao token |
Exemplos
# sign = md5(token + path + body + timestamp)
# Modelo gerado a partir do caminho; substitua os 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
{
"id": "67341a8f5d4e1f2a3b4c5d6e"
}
{
"success": true,
"message": "成功",
"data": {
"id": "67341a8f5d4e1f2a3b4c5d6e",
"chave": "35260514200166000187550010000000011000000018",
"tipo_evento": 210210,
"xml_url": "https://storage.../manifestacao/13-05-2026/352605...210210_1.xml"
}
}