POST
/api/nfce/category/deleteDelete 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
tokenstring | string | NFC-e company token |
signstring | string | MD5 signature |
timestampstring | string | Unix timestamp in seconds |
Body
category_*string | string | ID 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
{
"category_id": "TF123"
}
{
"success": true
}