TF Fiscal

NFC-e Consumer Invoices

POST/api/nfce/company/get

Get NFC-e company

Returns the NFC-e company data identified by the token header. Note: method is POST but no body fields are required — the company is resolved only by token. The certificate content is not returned: cert_file is the legacy certificate URL and is an empty string for companies registered with cert_content; csc is returned in plain text; number_nfce is the value stored at registration and does not indicate the next number.

Required headers

tokenstringstringNFC-e company token
signstringstringMD5 signature
timestampstringstringUnix timestamp in seconds

Body

Empty. {} may be sent.

Examples

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