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, Operation Indicator and NBS Code
    • They 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
    • NBS Code is sent as a category with the value as the code parameter, and the list as nbs code
"category": [
    {
        "code": "5820" //this is the local service code from the Prefeitura
    },
    {
        "code": "000001",
        "list": "cClassTrib"
    },
    {
        "code": "100301",
        "list": "operation indicator br"
    },
    {
        "code": "1.0905.40.00",
        "list": "nbs code"
    },

]

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]