⚪Classificação Tributária
https://host/webservice/v1/cnf_classificacao_tributaria
🟢Listar
{
"qtype" : "cnf_classificacao_tributaria.id",//campo de filtro
"query" : "1",//valor para consultar
"oper" : ">=",//operador da consulta
"page" : "1",//página a ser mostrada
"rp" : "1",//quantidade de registros por página
"sortname" : "cnf_classificacao_tributaria.id",//campo para ordenar a consulta
"sortorder" : "desc"//ordenação (asc= crescente | desc=decrescente)
}curl --location --request GET 'https://host/webservice/v1/cnf_classificacao_tributaria' \
--header 'ixcsoft: listar' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=5a5plpf5eq1gt43m6m6a19otu9' \
--data '{
"qtype" : "cnf_classificacao_tributaria.id",
"query" : "1",
"oper" : ">=",
"page" : "1",
"rp" : "1",
"sortname" : "cnf_classificacao_tributaria.id",
"sortorder" : "desc"
}'🟠Inserir
{
"descricao":"",
"cf_tipo_tributacao":"",//ICMS ou ISSQN
"descontar_icms_base_calculo":"",//S ou N
"descontar_icms_base_calculo_cofins":"",//S ou N
"irrf_tipo_retencao":""//"CX" ou "CP"
} {
"cf_ii_alq": "0.000",
"descricao": "Simples Nacional",
"id_natureza_operacao": "0",
"nat_bc_cred": "0",
"cod_tributacao_municipio": "",
"descontar_icms_base_calculo": "N",
"descontar_icms_base_calculo_cofins": "N",
"iss_incidencia": "",
"local_prestacao": "",
"cf_aliquota_fcp": "",
"icms_fcp_aliquota_st": "",
"icms_regime": "1",
"icms_sn_stributaria": "102",
"icms_sn_origem": "1",
"pis_situacao_tributaria": "08",
"cofins_situacao_tributaria": "08",
"iss_tributacao": "",
"iss_lista_servico": "",
"modBC": "0",
"cf_ipi_sit_tributaria": "",
"cf_ipi_tipo_calculo": "",
"cf_aliquota_icms": "0.000",
"cf_aliquota_ipi": "0.000",
"cf_ipi_codigo_enquadramento": "",
"cf_ipi_classe_enquadramento": "",
"cf_ipi_cnpj_produtor": "",
"cf_ipi_codigo_selo_controle": "",
"cf_pis_bc": "0.000",
"cf_pis_alq": "0.000",
"cf_pis_valor": "0.00",
"cf_cofins_bc": "0.00",
"cf_cofins_alq": "0.000",
"cf_cofins_valor": "0.00",
"cf_iss_aliquota": "0.0000",
"cf_iss_municipio_ocorencia": "0",
"cf_ii_bc": "0.00",
"cf_ii_valor": "0.00",
"cf_ii_iof": "0.00",
"cf_ii_desp_aduaneira": "0.00",
"cf_ii_di_adicao": "",
"cf_ii_di_seqadicao": "0",
"cf_ii_di_cod_fabricante": "0",
"cf_tipo_tributacao": "ICMS",
"cf_cfop": "0",
"cf_ncm": "",
"cf_ex_tipi": "",
"cf_id_fiscal": "0",
"icms_modbcst": "",
"icms_pmvast": "0.00",
"icms_predbcst": "0.00",
"icms_picmsst": "0.00",
"icms_vicmsst": "0.00",
"icms_predbc": "0.000",
"icms_motdesicms": "",
"icms_vbcstret": "0.00",
"icms_pbcop": "0.00",
"icms_ufst": "",
"icms_vbcstdest": "0.00",
"icms_pcredsn": "0.00",
"cf_cfop_f": "0",
"cf_iss_aliquota_retido": "0.0000",
"irrf_tipo_retencao": "CX",
"irrf_aliquota": "0.00",
"irrf_valor_minimo": "10.00",
"csll_aliquota": "0.00",
"codigo_classificacao_sped": "",
"p_fust": "0.00",
"p_funttel": "0.00",
"tipo_operacao": "S",
"excessao_st_reducao_fust_funttel": "N",
"excessao_st_isentos_fust_funttel": "N"
}curl --location 'https://host/webservice/v1/cnf_classificacao_tributaria' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=5a5plpf5eq1gt43m6m6a19otu9' \
--data ' {
"cf_ii_alq": "0.000",
"descricao": "Teste",
"id_natureza_operacao": "0",
"nat_bc_cred": "0",
"cod_tributacao_municipio": "",
"descontar_icms_base_calculo": "N",
"descontar_icms_base_calculo_cofins": "N",
"iss_incidencia": "",
"local_prestacao": "",
"cf_aliquota_fcp": "",
"icms_fcp_aliquota_st": "",
"icms_regime": "1",
"icms_sn_stributaria": "102",
"icms_sn_origem": "1",
"pis_situacao_tributaria": "08",
"cofins_situacao_tributaria": "08",
"iss_tributacao": "",
"iss_lista_servico": "",
"modBC": "0",
"cf_ipi_sit_tributaria": "",
"cf_ipi_tipo_calculo": "",
"cf_aliquota_icms": "0.000",
"cf_aliquota_ipi": "0.000",
"cf_ipi_codigo_enquadramento": "",
"cf_ipi_classe_enquadramento": "",
"cf_ipi_cnpj_produtor": "",
"cf_ipi_codigo_selo_controle": "",
"cf_pis_bc": "0.000",
"cf_pis_alq": "0.000",
"cf_pis_valor": "0.00",
"cf_cofins_bc": "0.00",
"cf_cofins_alq": "0.000",
"cf_cofins_valor": "0.00",
"cf_iss_aliquota": "0.0000",
"cf_iss_municipio_ocorencia": "0",
"cf_ii_bc": "0.00",
"cf_ii_valor": "0.00",
"cf_ii_iof": "0.00",
"cf_ii_desp_aduaneira": "0.00",
"cf_ii_di_adicao": "",
"cf_ii_di_seqadicao": "0",
"cf_ii_di_cod_fabricante": "0",
"cf_tipo_tributacao": "ICMS",
"cf_cfop": "0",
"cf_ncm": "",
"cf_ex_tipi": "",
"cf_id_fiscal": "0",
"icms_modbcst": "",
"icms_pmvast": "0.00",
"icms_predbcst": "0.00",
"icms_picmsst": "0.00",
"icms_vicmsst": "0.00",
"icms_predbc": "0.000",
"icms_motdesicms": "",
"icms_vbcstret": "0.00",
"icms_pbcop": "0.00",
"icms_ufst": "",
"icms_vbcstdest": "0.00",
"icms_pcredsn": "0.00",
"cf_cfop_f": "0",
"cf_iss_aliquota_retido": "0.0000",
"irrf_tipo_retencao": "CX",
"irrf_aliquota": "0.00",
"irrf_valor_minimo": "10.00",
"csll_aliquota": "0.00",
"codigo_classificacao_sped": "",
"p_fust": "0.00",
"p_funttel": "0.00",
"tipo_operacao": "S",
"excessao_st_reducao_fust_funttel": "N",
"excessao_st_isentos_fust_funttel": "N"
}'🔵Editar
Deve ser informado o id, a ser editado, na URL: https://host/webservice/v1/cnf_classificacao_tributaria/5
Todos os campos devem ser inseridos para realizar uma alteração cadastral.
{
"cf_ii_alq": "0.000",
"descricao": "Simples Nacional",
"id_natureza_operacao": "0",
"nat_bc_cred": "0",
"cod_tributacao_municipio": "",
"descontar_icms_base_calculo": "N",
"descontar_icms_base_calculo_cofins": "N",
"iss_incidencia": "",
"local_prestacao": "",
"cf_aliquota_fcp": "",
"icms_fcp_aliquota_st": "",
"icms_regime": "1",
"icms_sn_stributaria": "102",
"icms_sn_origem": "1",
"pis_situacao_tributaria": "08",
"cofins_situacao_tributaria": "08",
"iss_tributacao": "",
"iss_lista_servico": "",
"modBC": "0",
"cf_ipi_sit_tributaria": "",
"cf_ipi_tipo_calculo": "",
"cf_aliquota_icms": "0.000",
"cf_aliquota_ipi": "0.000",
"cf_ipi_codigo_enquadramento": "",
"cf_ipi_classe_enquadramento": "",
"cf_ipi_cnpj_produtor": "",
"cf_ipi_codigo_selo_controle": "",
"cf_pis_bc": "0.000",
"cf_pis_alq": "0.000",
"cf_pis_valor": "0.00",
"cf_cofins_bc": "0.00",
"cf_cofins_alq": "0.000",
"cf_cofins_valor": "0.00",
"cf_iss_aliquota": "0.0000",
"cf_iss_municipio_ocorencia": "0",
"cf_ii_bc": "0.00",
"cf_ii_valor": "0.00",
"cf_ii_iof": "0.00",
"cf_ii_desp_aduaneira": "0.00",
"cf_ii_di_adicao": "",
"cf_ii_di_seqadicao": "0",
"cf_ii_di_cod_fabricante": "0",
"cf_tipo_tributacao": "ICMS",
"cf_cfop": "0",
"cf_ncm": "",
"cf_ex_tipi": "",
"cf_id_fiscal": "0",
"icms_modbcst": "",
"icms_pmvast": "0.00",
"icms_predbcst": "0.00",
"icms_picmsst": "0.00",
"icms_vicmsst": "0.00",
"icms_predbc": "0.000",
"icms_motdesicms": "",
"icms_vbcstret": "0.00",
"icms_pbcop": "0.00",
"icms_ufst": "",
"icms_vbcstdest": "0.00",
"icms_pcredsn": "0.00",
"cf_cfop_f": "0",
"cf_iss_aliquota_retido": "0.0000",
"irrf_tipo_retencao": "CX",
"irrf_aliquota": "0.00",
"irrf_valor_minimo": "10.00",
"csll_aliquota": "0.00",
"codigo_classificacao_sped": "",
"p_fust": "0.00",
"p_funttel": "0.00",
"tipo_operacao": "S",
"excessao_st_reducao_fust_funttel": "N",
"excessao_st_isentos_fust_funttel": "N"
}curl --location --request PUT 'https://host/webservice/v1/cnf_classificacao_tributaria/5' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=5a5plpf5eq1gt43m6m6a19otu9' \
--data ' {
"cf_ii_alq": "0.000",
"descricao": "Teste",
"id_natureza_operacao": "0",
"nat_bc_cred": "0",
"cod_tributacao_municipio": "",
"descontar_icms_base_calculo": "N",
"descontar_icms_base_calculo_cofins": "N",
"iss_incidencia": "",
"local_prestacao": "",
"cf_aliquota_fcp": "",
"icms_fcp_aliquota_st": "",
"icms_regime": "1",
"icms_sn_stributaria": "102",
"icms_sn_origem": "1",
"pis_situacao_tributaria": "08",
"cofins_situacao_tributaria": "08",
"iss_tributacao": "",
"iss_lista_servico": "",
"modBC": "0",
"cf_ipi_sit_tributaria": "",
"cf_ipi_tipo_calculo": "",
"cf_aliquota_icms": "0.000",
"cf_aliquota_ipi": "0.000",
"cf_ipi_codigo_enquadramento": "",
"cf_ipi_classe_enquadramento": "",
"cf_ipi_cnpj_produtor": "",
"cf_ipi_codigo_selo_controle": "",
"cf_pis_bc": "0.000",
"cf_pis_alq": "0.000",
"cf_pis_valor": "0.00",
"cf_cofins_bc": "0.00",
"cf_cofins_alq": "0.000",
"cf_cofins_valor": "0.00",
"cf_iss_aliquota": "0.0000",
"cf_iss_municipio_ocorencia": "0",
"cf_ii_bc": "0.00",
"cf_ii_valor": "0.00",
"cf_ii_iof": "0.00",
"cf_ii_desp_aduaneira": "0.00",
"cf_ii_di_adicao": "",
"cf_ii_di_seqadicao": "0",
"cf_ii_di_cod_fabricante": "0",
"cf_tipo_tributacao": "ICMS",
"cf_cfop": "0",
"cf_ncm": "",
"cf_ex_tipi": "",
"cf_id_fiscal": "0",
"icms_modbcst": "",
"icms_pmvast": "0.00",
"icms_predbcst": "0.00",
"icms_picmsst": "0.00",
"icms_vicmsst": "0.00",
"icms_predbc": "0.000",
"icms_motdesicms": "",
"icms_vbcstret": "0.00",
"icms_pbcop": "0.00",
"icms_ufst": "",
"icms_vbcstdest": "0.00",
"icms_pcredsn": "0.00",
"cf_cfop_f": "0",
"cf_iss_aliquota_retido": "0.0000",
"irrf_tipo_retencao": "CX",
"irrf_aliquota": "0.00",
"irrf_valor_minimo": "10.00",
"csll_aliquota": "0.00",
"codigo_classificacao_sped": "",
"p_fust": "0.00",
"p_funttel": "0.00",
"tipo_operacao": "S",
"excessao_st_reducao_fust_funttel": "N",
"excessao_st_isentos_fust_funttel": "N"
}'🔴Deletar
Deve ser informado o id, a ser excluído, na URL: https://host/webservice/v1/cnf_classificacao_tributaria/5
curl --location --request DELETE 'https://host/webservice/v1/cnf_classificacao_tributaria/5' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic MzoxYWVmZWRiNTkzZjczZjYxNDM3NTI4ZWQ3OGViMjQ3ODFjYTAxNjczZDkxYWM2ODg2ZWM1MDZlNjlhMTQxY2Qz' \
--header 'Cookie: Path=/; IXC_Session=5a5plpf5eq1gt43m6m6a19otu9' \
--data ''Last updated