GET
/api/category/get_listList tax categories
Lists the tax categories of the authenticated company with pagination. Returns category_id, descricao and the ibs_cbs block (Tax Reform) of each category — for the remaining taxes use /api/category/get_detail.
Required headers
tokenstring | string | Company token |
signstring | string | MD5 signature (path includes the query string) |
timestampstring | string | Unix timestamp in seconds |
Query string
page*int | int | Page number (≥ 1) |
page_*int | int | Page size (1–50) |
* Required field.
Examples
# sign = md5(token + path + body + timestamp) # Template generated from the endpoint path; replace the placeholders curl -X GET "https://api.tffiscal.com/api/category/get_list" \ -H "Content-Type: application/json" \ -H "token: $TOKEN" \ -H "timestamp: $TIMESTAMP" \ -H "sign: $SIGN"
GET /api/category/get_list?page=1&page_size=20
{
"success": true,
"data": {
"list": [
{
"category_id": "TF123",
"descricao": "Venda de mercadoria padrão",
"ibs_cbs": [{
"cenario": "padrao",
"tipo_pessoa": "juridica",
"situacao_tributaria": "000",
"classificacao_tributaria": "000001",
"p_ibs_uf": "0.1",
"p_ibs_mun": "0",
"p_cbs": "0.9",
"p_red_aliq": "",
"p_dif": "",
"p_red_bc": "",
"proporcao": "",
"aliquota_cbs_mono": "",
"aliquota_ibs_mono": "",
"valor_unidade_cbs": "",
"valor_unidade_ibs": "",
"valor_deducao_legal": ""
}]
},
{
"category_id": "TF124",
"descricao": "Devolução de venda",
"ibs_cbs": []
}
],
"page": 1,
"total": 2,
"total_pages": 1
}
}