TF Fiscal

NF-e Invoices

GET/api/invoice/get_list

List NF-e (paginated)

Lists the company's NF-e with pagination. Parameters are passed via query string (not in the body). The time filter is optional, but if used, both start_create_time and end_create_time are required; the filter applies to the issue time (issue_time), both ends inclusive. Results are sorted from the most recently created.

Required headers

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

Query string

page*intintPage number (≥ 1)
page_size*intintPage size (1–50)
start_create_timelonglongUnix timestamp in milliseconds — start (requires end_create_time)
end_create_timelonglongUnix timestamp in milliseconds — end
statusstringstringFilter by status.
ambientestringstringOptional.

 * Required field.

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_list" \
  -H "Content-Type: application/json" \
  -H "token: $TOKEN" \
  -H "timestamp: $TIMESTAMP" \
  -H "sign: $SIGN"