TF Fiscal

RPA Receipts

POST/api/rpa/get_list

List RPA

Returns the receipts, paginated, latest payment date first. Each item has the same fields as /get_detail, without memoria and prestador; the example shows only part of the fields.

Required headers

tokenstringstringIssuing company token
signstringstringMD5 signature: MD5(token + path + body + timestamp)
timestampstringstringUnix timestamp in seconds

Body

pageintintPage (default 1)
pageSizeintintItems per page (default 20, maximum 100; larger values return an error)
competenciaintintPeriod in YYYYMM format
cpfstringstringProvider CPF; exact match after keeping only the digits
statusstringstringFilter: emitido or estornado

Examples

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