TF Fiscal

Companies

GET/api/company/get_detail

Details of the authenticated company

Returns the complete data of the company identified by the token header, including the list of registered tax categories. Accepts no body or query string. For security reasons, cert_pwd is not returned in plain text: it is always the mask ******** when a password is stored, and an empty string when none is stored; cert_file is the legacy certificate URL and is an empty string for companies registered with cert_content; number is the number the next NF-e of the current series will use; when no invoice has been issued in the series yet, it is the registered starting number. iest returns the list of IEST per state on file (see /api/company/edit).

Required headers

tokenstringstringCompany token
signstringstringMD5 signature
timestampstringstringUnix timestamp in seconds

Examples

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