API Changes (NFSe)

For changes on the API, you need to send these parameters:


  • CST for IBS/CBS
    • New object cst within the item object
    • And with parameter ibs_cbs
"cst": {
    "ibs_cbs": "000"
}
  • cClassTrib and Operation Indicator
    • Both will be sent within the array of category[]
    • cClassTrib is sent as a category with the value as the code parameter, and the list as cClassTrib
    • Operation Indicator is sent as a category with the value as the code parameter, and the list as operation indicator br
"category": [
    {
        "code": "5820" //this is the local service code from the Prefeitura
    },
    {
        "code": "000001",
        "list": "cClassTrib"
    },
    {
        "code": "100301",
        "list": "operation indicator br"
    }
]

See a full example on the API Reference

If you have any doubts, please contact your Account Manager or our Support team at [email protected]