TF Fiscal

NF-e Invoices

GET/api/invoice/get_detail

Get NF-e details

Returns the details of a specific NF-e by UUID or by access key. Includes XML URL, DANFE URLs (full, simplified, and label) and metadata. DANFE URLs older than the storage retention period are returned as empty strings; /api/invoice/get_danfe regenerates them.

Required headers

tokenstringstringIssuing company token
signstringstringMD5 signature (path includes the query string)
timestampstringstringUnix timestamp in seconds

Query string

uuidstringstringNF-e UUID
chavestringstringNF-e access key (44 digits)

Provide uuid or chave (at least one). If both are sent, uuid takes precedence.

Examples

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