queria saber se em uma requisição como essa a api poderia calcular os totais automaticamente:
{
“infNFe”: {
“versao”: “4.00”,
“ide”: {
“cUF”: 35,
“natOp”: “Venda de mercadoria”,
“mod”: 65,
“serie”: 1,
“nNF”: 1,
“dhEmi”: “2025-11-27T12:00:00-03:00”,
“tpNF”: 1,
“idDest”: 1,
“cMunFG”: 3550308,
“tpImp”: 4,
“tpEmis”: 1,
“tpAmb”: 2,
“finNFe”: 1,
“indFinal”: 1,
“indPres”: 1,
“procEmi”: 0,
“verProc”: “1.0.0”
},
“emit”: {
“CNPJ”: “12345678000195”,
“xNome”: “EMPRESA TESTE LTDA”,
“xFant”: “EMPRESA TESTE”,
“IE”: “123456789”,
“CRT”: 1,
“enderEmit”: {
“xLgr”: “Rua A”,
“nro”: “100”,
“xBairro”: “Centro”,
“cMun”: 3550308,
“xMun”: “São Paulo”,
“UF”: “SP”,
“CEP”: “01000000”
}
},
“det”: [
{
“nItem”: 1,
“prod”: {
“cProd”: “ABC123”,
“cEAN”: “SEM GTIN”,
“xProd”: “Produto Exemplo”,
“NCM”: “22021000”,
“CFOP”: “5102”,
“uCom”: “UN”,
“qCom”: 1,
“vUnCom”: 10.00,
“vProd”: 10.00,
“cEANTrib”: “SEM GTIN”,
“uTrib”: “UN”,
“qTrib”: 1,
“vUnTrib”: 10.00
},
“imposto”: {
“ICMS”: {
“ICMSSN102”: {
“orig”: 1,
“CSOSN”: “102”
}
}
},
“indTot”: 1
}
],
“transp”: {
“modFrete”: 9
},
“pag”: {
“detPag”: [
{
“tPag”: “01”,
“vPag”: 10.00
}
]
}
},
“ambiente”: “homologacao”
}
Bom dia, @dhom91718.
A API não calcula os totais automaticamente.