TF Fiscal

NFC-e Consumer Invoices

POST/api/nfce/category/delete

Delete NFC-e tax category

Removes the NFC-e category with this category_id in every company of the same user (uid). Irreversible, and there is no existence check: the response is success: true even if the ID does not exist. Issuances that still send this category_id will fail — update your system first.

Required headers

tokenstringstringNFC-e company token
signstringstringMD5 signature
timestampstringstringUnix timestamp in seconds

Body

category_id*stringstringID of the NFC-e category to delete

 * Required field.

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