TF Fiscal

RPA Receipts

POST/api/rpa/get_detail

Get RPA detail

Returns all fields of the receipt, the calculation text memoria and the provider record prestador. prestador is the current record and may differ from the time of issuance; nomePrestador and nit in the receipt are the values recorded at issuance.

Required headers

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

Body

id*stringstringReceipt ID

 * Required field.

Common errors

MessageCause
id inválido / id无效id is not a valid ObjectId
RPA não encontrado / 未找到该RPAThe receipt does not exist or does not belong to the company

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