POST v1/Nota/CalcularImpostoETotais

Request Information

URI Parameters

None.

Body Parameters

NotaDto
NameDescriptionTypeAdditional information
nota_id

integer

Required

chave_acesso

string

None.

versao

string

None.

c_uf

string

String length: inclusive between 0 and 2

c_nf

integer

None.

nat_op

string

None.

ind_pag

string

None.

mod

string

None.

serie

string

Required

n_nf

string

None.

dh_emi

date

None.

dh_sai_ent

date

None.

tp_nf

string

Required

c_mun_fg

string

None.

tp_imp

string

None.

tp_emis

string

None.

tp_amb

string

Required

fin_nfe

string

None.

proc_emi

string

None.

ver_proc

string

None.

dh_cont

date

None.

x_just

string

None.

ind_final

string

None.

ind_pres

string

None.

emit_codigo

integer

None.

emit_cnpj

string

None.

emit_xnome

string

None.

emit_xfant

string

None.

emit_xlgr

string

None.

emit_nro

string

None.

emit_cpl

string

None.

emit_xbairro

string

None.

emit_cmun

string

None.

emit_xmun

string

None.

emit_uf

string

None.

emit_cep

string

None.

emit_cpais

string

None.

emit_xpais

string

None.

emit_telefone

string

None.

emit_ie

string

None.

emit_iest

string

None.

emit_im

string

None.

emit_cnae

string

None.

emit_crt

string

None.

dest_codigo

integer

None.

dest_cnpj

string

None.

dest_xnome

string

None.

dest_xlgr

string

None.

dest_nro

string

None.

dest_xcpl

string

None.

dest_xbairro

string

None.

dest_cmun

string

None.

dest_xmun

string

None.

dest_uf

string

None.

dest_cep

string

None.

dest_cpais

string

None.

dest_xpais

string

None.

dest_fone

string

None.

dest_ie

string

None.

dest_isuf

string

None.

dest_email

string

None.

vbc

decimal number

None.

vicms

decimal number

None.

vfcp

decimal number

None.

vbcst

decimal number

None.

vst

decimal number

None.

vprod

decimal number

None.

vfrete

decimal number

None.

vseg

decimal number

None.

vdesc

decimal number

None.

vii

decimal number

None.

vipi

decimal number

None.

vpis

decimal number

None.

vcofins

decimal number

None.

voutro

decimal number

None.

vnf

decimal number

None.

vretpis

decimal number

None.

vretcofins

decimal number

None.

vretcsll

decimal number

None.

vbcirrf

decimal number

None.

virrf

decimal number

None.

vbvretprev

decimal number

None.

vretprev

decimal number

None.

modfrete

string

Required

transp_codigo

integer

None.

transp_cnpj

string

None.

transp_xnome

string

None.

transp_ie

string

None.

transp_xender

string

None.

transp_xmun

string

None.

transp_uf

string

None.

transp_vserv

decimal number

None.

transp_bcret

decimal number

None.

transp_picmsret

decimal number

None.

transp_vicmsret

decimal number

None.

transp_cfop

string

None.

transp_cmunfg

string

None.

transp_placa

string

None.

transp_ufplaca

string

None.

transp_rntrc

string

None.

infadfisco

string

None.

infcpl

string

None.

vliqfor

decimal number

None.

nfat

string

None.

vorig

decimal number

None.

vdesc_fat

decimal number

None.

vliq

decimal number

None.

emitente_id

integer

Required

destinatario_id

integer

Required

transportador_id

integer

None.

dh_recebimento

string

None.

n_prot

string

None.

dig_val

string

None.

cstat

string

None.

x_motivo

string

None.

chave_remessa

string

None.

ns_nrec

string

None.

status

integer

None.

tp_operacao

integer

Required

xml

string

None.

pdf

string

None.

cancelada

boolean

None.

vol_quant

decimal number

None.

vol_especie

string

None.

vol_marca

string

None.

vol_numero

string

None.

vol_pesol

decimal number

None.

vol_pesob

decimal number

None.

indiedest

string

None.

notas_itens

Collection of NotaItensDto

None.

Request Formats

application/json, text/json

Sample:
{
  "nota_id": 1,
  "chave_acesso": "sample string 2",
  "versao": "sample string 3",
  "c_uf": "sample string 4",
  "c_nf": 1,
  "nat_op": "sample string 5",
  "ind_pag": "sample string 6",
  "mod": "sample string 7",
  "serie": "sample string 8",
  "n_nf": "sample string 9",
  "dh_emi": "2025-12-12T08:48:03.3413518-03:00",
  "dh_sai_ent": "2025-12-12T08:48:03.3413518-03:00",
  "tp_nf": "sample string 10",
  "c_mun_fg": "sample string 11",
  "tp_imp": "sample string 12",
  "tp_emis": "sample string 13",
  "tp_amb": "sample string 14",
  "fin_nfe": "sample string 15",
  "proc_emi": "sample string 16",
  "ver_proc": "sample string 17",
  "dh_cont": "2025-12-12T08:48:03.3423511-03:00",
  "x_just": "sample string 18",
  "ind_final": "sample string 19",
  "ind_pres": "sample string 20",
  "emit_codigo": 1,
  "emit_cnpj": "sample string 21",
  "emit_xnome": "sample string 22",
  "emit_xfant": "sample string 23",
  "emit_xlgr": "sample string 24",
  "emit_nro": "sample string 25",
  "emit_cpl": "sample string 26",
  "emit_xbairro": "sample string 27",
  "emit_cmun": "sample string 28",
  "emit_xmun": "sample string 29",
  "emit_uf": "sample string 30",
  "emit_cep": "sample string 31",
  "emit_cpais": "sample string 32",
  "emit_xpais": "sample string 33",
  "emit_telefone": "sample string 34",
  "emit_ie": "sample string 35",
  "emit_iest": "sample string 36",
  "emit_im": "sample string 37",
  "emit_cnae": "sample string 38",
  "emit_crt": "sample string 39",
  "dest_codigo": 1,
  "dest_cnpj": "sample string 40",
  "dest_xnome": "sample string 41",
  "dest_xlgr": "sample string 42",
  "dest_nro": "sample string 43",
  "dest_xcpl": "sample string 44",
  "dest_xbairro": "sample string 45",
  "dest_cmun": "sample string 46",
  "dest_xmun": "sample string 47",
  "dest_uf": "sample string 48",
  "dest_cep": "sample string 49",
  "dest_cpais": "sample string 50",
  "dest_xpais": "sample string 51",
  "dest_fone": "sample string 52",
  "dest_ie": "sample string 53",
  "dest_isuf": "sample string 54",
  "dest_email": "sample string 55",
  "vbc": 1.0,
  "vicms": 1.0,
  "vfcp": 1.0,
  "vbcst": 1.0,
  "vst": 1.0,
  "vprod": 1.0,
  "vfrete": 1.0,
  "vseg": 1.0,
  "vdesc": 1.0,
  "vii": 1.0,
  "vipi": 1.0,
  "vpis": 1.0,
  "vcofins": 1.0,
  "voutro": 1.0,
  "vnf": 1.0,
  "vretpis": 1.0,
  "vretcofins": 1.0,
  "vretcsll": 1.0,
  "vbcirrf": 1.0,
  "virrf": 1.0,
  "vbvretprev": 1.0,
  "vretprev": 1.0,
  "modfrete": "sample string 56",
  "transp_codigo": 1,
  "transp_cnpj": "sample string 57",
  "transp_xnome": "sample string 58",
  "transp_ie": "sample string 59",
  "transp_xender": "sample string 60",
  "transp_xmun": "sample string 61",
  "transp_uf": "sample string 62",
  "transp_vserv": 1.0,
  "transp_bcret": 1.0,
  "transp_picmsret": 1.0,
  "transp_vicmsret": 1.0,
  "transp_cfop": "sample string 63",
  "transp_cmunfg": "sample string 64",
  "transp_placa": "sample string 65",
  "transp_ufplaca": "sample string 66",
  "transp_rntrc": "sample string 67",
  "infadfisco": "sample string 68",
  "infcpl": "sample string 69",
  "vliqfor": 1.0,
  "nfat": "sample string 70",
  "vorig": 1.0,
  "vdesc_fat": 1.0,
  "vliq": 1.0,
  "emitente_id": 71,
  "destinatario_id": 72,
  "transportador_id": 1,
  "dh_recebimento": "sample string 73",
  "n_prot": "sample string 74",
  "dig_val": "sample string 75",
  "cstat": "sample string 76",
  "x_motivo": "sample string 77",
  "chave_remessa": "sample string 78",
  "ns_nrec": "sample string 79",
  "status": 1,
  "tp_operacao": 1,
  "xml": "sample string 80",
  "pdf": "sample string 81",
  "cancelada": true,
  "vol_quant": 1.0,
  "vol_especie": "sample string 83",
  "vol_marca": "sample string 84",
  "vol_numero": "sample string 85",
  "vol_pesol": 1.0,
  "vol_pesob": 1.0,
  "indiedest": "sample string 86",
  "notas_itens": [
    {
      "nota_item_id": 1,
      "Nota_id": 2,
      "produto_id": 3,
      "c_prod": "sample string 4",
      "c_ean": "sample string 5",
      "x_prod": "sample string 6",
      "ncm": "sample string 7",
      "cfop": "sample string 8",
      "u_com": "sample string 9",
      "q_com": 1.0,
      "v_un_com": 1.0,
      "v_prod": 1.0,
      "c_ean_trib": "sample string 10",
      "u_trib": "sample string 11",
      "q_trib": 1.0,
      "v_un_trib": 1.0,
      "v_frete": 1.0,
      "v_seg": 1.0,
      "v_desc": 1.0,
      "v_outro": 1.0,
      "ind_tot": "sample string 12",
      "cest": "sample string 13",
      "n_item": 1,
      "c_benef": "sample string 14",
      "notas_itens_cofins": {
        "nota_item_id": 1,
        "cst": "sample string 2",
        "v_bc": 1.0,
        "p_cofins": 1.0,
        "v_cofins": 1.0,
        "q_bc_prod": 1.0,
        "v_aliq_prod": 1.0,
        "v_bc_st": 1.0,
        "p_cofins_st": 1.0,
        "q_bc_prod_st": 1.0,
        "v_aliq_prod_st": 1.0,
        "v_cofins_st": 1.0
      },
      "notas_itens_icms": {
        "nota_item_id": 1,
        "orig": "sample string 2",
        "cst": "sample string 3",
        "mod_bc": 1,
        "v_bc": 1.0,
        "p_icms": 1.0,
        "v_icms": 1.0,
        "mod_bc_st": 1,
        "p_mva_st": 1.0,
        "p_red_bc_st": 1.0,
        "v_bc_st": 1.0,
        "p_icms_st": 1.0,
        "v_icms_st": 1.0,
        "mot_des_icms": 1,
        "v_bc_st_ret": 1.0,
        "v_icms_st_ret": 1.0,
        "p_red_bc": 1.0,
        "p_cred_sn": 1.0,
        "v_cred_icms_sn": 1.0,
        "p_fcp": 1.0,
        "v_bc_fcp": 1.0,
        "v_fcp": 1.0,
        "v_bc_fcp_st": 1.0,
        "v_fcp_st": 1.0
      },
      "notas_itens_pis": {
        "nota_item_id": 1,
        "cst": "sample string 2",
        "v_bc": 1.0,
        "p_pis": 1.0,
        "v_pis": 1.0,
        "q_bc_prod": 1.0,
        "v_aliq_prod": 1.0,
        "v_bc_st": 1.0,
        "p_pis_st": 1.0,
        "q_bc_prod_st": 1.0,
        "v_aliq_prod_st": 1.0,
        "v_pis_st": 1.0
      }
    },
    {
      "nota_item_id": 1,
      "Nota_id": 2,
      "produto_id": 3,
      "c_prod": "sample string 4",
      "c_ean": "sample string 5",
      "x_prod": "sample string 6",
      "ncm": "sample string 7",
      "cfop": "sample string 8",
      "u_com": "sample string 9",
      "q_com": 1.0,
      "v_un_com": 1.0,
      "v_prod": 1.0,
      "c_ean_trib": "sample string 10",
      "u_trib": "sample string 11",
      "q_trib": 1.0,
      "v_un_trib": 1.0,
      "v_frete": 1.0,
      "v_seg": 1.0,
      "v_desc": 1.0,
      "v_outro": 1.0,
      "ind_tot": "sample string 12",
      "cest": "sample string 13",
      "n_item": 1,
      "c_benef": "sample string 14",
      "notas_itens_cofins": {
        "nota_item_id": 1,
        "cst": "sample string 2",
        "v_bc": 1.0,
        "p_cofins": 1.0,
        "v_cofins": 1.0,
        "q_bc_prod": 1.0,
        "v_aliq_prod": 1.0,
        "v_bc_st": 1.0,
        "p_cofins_st": 1.0,
        "q_bc_prod_st": 1.0,
        "v_aliq_prod_st": 1.0,
        "v_cofins_st": 1.0
      },
      "notas_itens_icms": {
        "nota_item_id": 1,
        "orig": "sample string 2",
        "cst": "sample string 3",
        "mod_bc": 1,
        "v_bc": 1.0,
        "p_icms": 1.0,
        "v_icms": 1.0,
        "mod_bc_st": 1,
        "p_mva_st": 1.0,
        "p_red_bc_st": 1.0,
        "v_bc_st": 1.0,
        "p_icms_st": 1.0,
        "v_icms_st": 1.0,
        "mot_des_icms": 1,
        "v_bc_st_ret": 1.0,
        "v_icms_st_ret": 1.0,
        "p_red_bc": 1.0,
        "p_cred_sn": 1.0,
        "v_cred_icms_sn": 1.0,
        "p_fcp": 1.0,
        "v_bc_fcp": 1.0,
        "v_fcp": 1.0,
        "v_bc_fcp_st": 1.0,
        "v_fcp_st": 1.0
      },
      "notas_itens_pis": {
        "nota_item_id": 1,
        "cst": "sample string 2",
        "v_bc": 1.0,
        "p_pis": 1.0,
        "v_pis": 1.0,
        "q_bc_prod": 1.0,
        "v_aliq_prod": 1.0,
        "v_bc_st": 1.0,
        "p_pis_st": 1.0,
        "q_bc_prod_st": 1.0,
        "v_aliq_prod_st": 1.0,
        "v_pis_st": 1.0
      }
    }
  ]
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.