Alíquotas internas por UF
Alíquota interna de ICMS e FCP por estado, usadas no cálculo de DIFAL e operações interestaduais.
Base: https://api.nivesistemas.com.br · 3 endpoints
GET /fiscal-uf-rates
Seção intitulada “GET /fiscal-uf-rates”Listar alíquotas cadastradas
curl -X GET "https://api.nivesistemas.com.br/fiscal-uf-rates" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/fiscal-uf-rates", { method: "GET", headers: { Authorization: "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },});const data = await res.json();import requests
res = requests.request( "GET", "https://api.nivesistemas.com.br/fiscal-uf-rates", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())PUT /fiscal-uf-rates/:uf
Seção intitulada “PUT /fiscal-uf-rates/:uf”Criar ou atualizar a alíquota da UF
Parâmetros de rota: uf
Corpo (JSON)
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
internalRate |
number | sim | Alíquota interna (%) |
fcpRate |
number | não | FCP (%) |
notes |
string | não | Observações |
curl -X PUT "https://api.nivesistemas.com.br/fiscal-uf-rates/{uf}" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo" \ -H "Content-Type: application/json" \ -d '{"internalRate":0,"fcpRate":0,"notes":""}'const res = await fetch("https://api.nivesistemas.com.br/fiscal-uf-rates/{uf}", { method: "PUT", headers: { Authorization: "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", "Content-Type": "application/json", }, body: JSON.stringify({ "internalRate": 0, "fcpRate": 0, "notes": "" }),});const data = await res.json();import requests
res = requests.request( "PUT", "https://api.nivesistemas.com.br/fiscal-uf-rates/{uf}", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", }, json={ "internalRate": 0, "fcpRate": 0, "notes": "" },)print(res.json())DELETE /fiscal-uf-rates/:uf
Seção intitulada “DELETE /fiscal-uf-rates/:uf”Remover alíquota da UF
Parâmetros de rota: uf
Resposta: 204 No Content
curl -X DELETE "https://api.nivesistemas.com.br/fiscal-uf-rates/{uf}" \ -H "Authorization: Bearer sl_live_exemplo_abc123xyz789" \ -H "X-Store-Slug: loja-demo"const res = await fetch("https://api.nivesistemas.com.br/fiscal-uf-rates/{uf}", { method: "DELETE", headers: { Authorization: "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },});const data = await res.json();import requests
res = requests.request( "DELETE", "https://api.nivesistemas.com.br/fiscal-uf-rates/{uf}", headers={ "Authorization": "Bearer sl_live_exemplo_abc123xyz789", "X-Store-Slug": "loja-demo", },)print(res.json())
