Bom dia, tudo bem?
Um de nossos clientes estava tentando transmitir uma NF-e, mas o hub está solicitando a configuração referente a NFC-e
o JSON de envio:
{
"infNFe": {
"versao": "4.00",
"ide": {
"cUF": 31,
"natOp": "Venda",
"serie": 1,
"nNF": 10309,
"dhEmi": "2024-08-14T09:24:09-03:00",
"tpNF": 1,
"idDest": 1,
"cMunFG": 3106200,
"tpImp": 1,
"tpEmis": 1,
"finNFe": 1,
"indFinal": 1,
"indPres": 1,
"procEmi": 0,
"verProc": "1.0.0.1"
},
"emit": {
"CNPJ": "02020919000172",
"xFant": "J e B INDÚSTRIA E COMERCIO DE COSMÉTICOS LTDA",
"xNome": "J e B INDÚSTRIA E COMERCIO DE COSMÉTICOS LTDA",
"enderEmit": {
"xLgr": "Rua Maria Francisca",
"nro": "32",
"xBairro": "Boa Vista",
"cMun": 3106200,
"UF": "MG",
"CEP": "31060330",
"cPais": 1058,
"xPais": "BRASIL",
"xMun": "Belo Horizonte",
"fone": "31993035010"
},
"IM": "ISENTO",
"IE": "0677069710096",
"CRT": 1
},
"dest": {
"CPF": "************",
"xNome": "*************",
"enderDest": {
"xLgr": "*************",
"nro": "*************",
"xBairro": "*************",
"cMun": "*************",
"UF": "*************",
"CEP": "*************",
"cPais": "*************",
"xPais": "*************",
"xMun": "*************",
"fone": "*************"
},
"indIEDest": "*"
},
"det": [
{
"nItem": 1,
"prod": {
"cProd": "117",
"cEAN": "SEM GTIN",
"xProd": "EASY BRUSHING 300ML THERAPY",
"NCM": "33059000",
"CEST": "2002100",
"CFOP": "5405",
"uCom": "UN",
"qCom": 6.0,
"vUnCom": 14.92,
"vProd": 89.52,
"cEANTrib": "SEM GTIN",
"uTrib": "UN",
"vUnTrib": 14.92,
"indTot": 1,
"qTrib": 6.0
},
"imposto": {
"COFINS": {
"COFINSAliq": {
"CST": "01",
"vBC": 0.0,
"pCOFINS": 0.0,
"vCOFINS": 0.0
}
},
"ICMS": {
"ICMSSN500": {
"orig": 0,
"CSOSN": "500"
}
},
"PIS": {
"PISAliq": {
"CST": "01",
"vBC": 0.0,
"pPIS": 0.0,
"vPIS": 0.0
}
},
"vTotTrib": 44.05
}
},
{
"nItem": 2,
"prod": {
"cProd": "113",
"cEAN": "SEM GTIN",
"xProd": "GLOSS ATIVADOR DE CACHOS 300ML",
"NCM": "33059000",
"CEST": "2001700",
"CFOP": "5405",
"uCom": "UN",
"qCom": 6.0,
"vUnCom": 13.93,
"vProd": 83.58,
"cEANTrib": "SEM GTIN",
"uTrib": "UN",
"vUnTrib": 13.93,
"indTot": 1,
"qTrib": 6.0
},
"imposto": {
"COFINS": {
"COFINSAliq": {
"CST": "01",
"vBC": 0.0,
"pCOFINS": 0.0,
"vCOFINS": 0.0
}
},
"ICMS": {
"ICMSSN500": {
"orig": 0,
"CSOSN": "500"
}
},
"PIS": {
"PISAliq": {
"CST": "01",
"vBC": 0.0,
"pPIS": 0.0,
"vPIS": 0.0
}
},
"vTotTrib": 41.13
}
}
],
"total": {
"ICMSTot": {
"vBC": 0.0,
"vICMS": 0.0,
"vICMSDeson": 0,
"vFCP": 0.0,
"vBCST": 0,
"vST": 0,
"vFCPSTRet": 0,
"vProd": 173.1,
"vFrete": 0.0,
"vSeg": 0.0,
"vDesc": 0.0,
"vII": 0,
"vIPI": 0.0,
"vIPIDevol": 0,
"vPIS": 0.0,
"vCOFINS": 0.0,
"vOutro": 0.0,
"vNF": 173.1,
"vTotTrib": 85.18,
"vFCPST": 0
}
},
"transp": {
"modFrete": 0,
"vol": [
{
"pesoL": 4.32,
"pesoB": 4.32
}
]
},
"pag": {
"detPag": [
{
"indPag": 0,
"tPag": "17",
"vPag": 173.1
}
],
"vTroco": 0
},
"infRespTec": {
"CNPJ": "14719891000145",
"xContato": "Rafael de Souza Noronha",
"email": "rafael.noronha@forteplus.com.br",
"fone": "34351410"
},
"cobr": {
"dup": [
{
"nDup": "001",
"dVenc": "2024-08-15",
"vDup": 173.1
}
],
"fat": {
"nFat": "10309",
"vOrig": 173.1,
"vLiq": 173.1,
"vDesc": 0
}
},
"infAdic": {
"infCpl": "Valor aproximado dos impostos R$85,18 Fonte: IBPT."
}
},
"ambiente": "producao"
}```
o JSOn de retorno:
{
“error”: {
“code”: “ConfigNfceNotFound”,
“message”: “Configuração de NFC-e da empresa não encontrada. Utilize o endpoint ‘PUT /empresas/{cpf_cnpj}/nfce’ para informar as configurações.”
}
}