API - Consulta XML Completo
Essa API nos retorna as 50 NF-es (da mais antiga para a mais nova) com os dados disponíveis do XML completo baixado da SEFAZ.
Consulta XML Completo
GET
https://sandbox-api.invoisys.com.br/api/nfeentrada/consultaxmlcompleto/{cnpj}
Path Parameters
Name
Type
Description
CNPJ
string
CNPJ do destinatário
TAM: 14
Headers
Name
Type
Description
Content-Type
string
application/x-www-form-urlencoded
Accept
string
application/json
Authorization
string
bearer <valor>
[
{
"nfeProc":{
"@xmlns":"http://www.portalfiscal.inf.br/nfe",
"@versao":"4.00",
"NFe":{
"@xmlns":"http://www.portalfiscal.inf.br/nfe",
"infNFe":{
"@Id":"NFe35210608308347000108550010000966371100125014",
"@versao":"4.00",
"ide":{
"cUF":"35",
"cNF":"10012501",
"natOp":"REMESSA PARA INDUSTRIALIZACAO POR ENCOMENDA",
"mod":"55",
"serie":"1",
"nNF":"96637",
"dhEmi":"2021-06-24T11:39:00-02:00",
"dhSaiEnt":"2021-06-24T11:39:00-02:00",
"tpNF":"1",
"idDest":"1",
"cMunFG":"3548005",
"tpImp":"1",
"tpEmis":"1",
"cDV":"4",
"tpAmb":"1",
"finNFe":"1",
"indFinal":"0",
"indPres":"0",
"procEmi":"0",
"verProc":"12.1.025 | 3.0"
},
"emit":{
"CNPJ":"32971425000134",
"xNome":"Teste",
"xFant":"teste",
"enderEmit":{
"xLgr":"Avenida teste",
"nro":"1933",
"xCpl":"Galpao 3898",
"xBairro":"teste",
"cMun":"3548005",
"xMun":"teste",
"UF":"SP",
"CEP":"13999999",
"cPais":"1058",
"xPais":"BRASIL",
"fone":"1999999999"
},
"IE":"999999990",
"CRT":"3"
},
"dest":{
"CNPJ":"32971425000134",
"xNome":"Teste",
"enderDest":{
"xLgr":"RUA teste",
"nro":"99",
"xBairro":"Teste",
"cMun":"3530706",
"xMun":"teste",
"UF":"SP",
"CEP":"13999999",
"cPais":"1058",
"xPais":"BRASIL",
"fone":"1999999999"
},
"indIEDest":"1",
"IE":"999999990",
"IM":"99999",
"email":"teste@gmail.com"
},
"autXML":{
"CNPJ":"32971425000134"
},
"det":{
"@nItem":"1",
"prod":{
"cProd":"49HGE86018649",
"cEAN":"SEM GTIN",
"xProd":"BRACKET LADDER, TOWER LADDER",
"NCM":"73089010",
"CEST":"1007300",
"cBenef":null,
"CFOP":"5901",
"uCom":"PC",
"qCom":"169.0000",
"vUnCom":"2.00000000",
"vProd":"338.00",
"cEANTrib":"SEM GTIN",
"uTrib":"PC",
"qTrib":"169.0000",
"vUnTrib":"2.00000000",
"indTot":"1"
},
"imposto":{
"ICMS":{
"ICMS40":{
"orig":"0",
"CST":"50"
}
},
"IPI":{
"cEnq":"108",
"IPINT":{
"CST":"55"
}
},
"PIS":{
"PISNT":{
"CST":"08"
}
},
"COFINS":{
"COFINSNT":{
"CST":"08"
}
}
}
},
"total":{
"ICMSTot":{
"vBC":"0",
"vICMS":"0",
"vICMSDeson":"0",
"vFCPUFDest":"0",
"vICMSUFDest":"0",
"vICMSUFRemet":"0",
"vFCP":"0",
"vBCST":"0",
"vST":"0",
"vFCPST":"0",
"vFCPSTRet":"0",
"vProd":"338.00",
"vFrete":"0",
"vSeg":"0",
"vDesc":"0",
"vII":"0",
"vIPI":"0",
"vIPIDevol":"0",
"vPIS":"0",
"vCOFINS":"0",
"vOutro":"0",
"vNF":"338.00"
}
},
"transp":{
"modFrete":"1",
"transporta":{
"CNPJ":"32971425000134",
"xNome":"O EMITENTE",
"IE":"ISENTO"
},
"vol":{
"qVol":"2",
"esp":"PALETE",
"pesoL":"984.000",
"pesoB":"1014.000"
}
},
"pag":{
"detPag":{
"indPag":"0",
"tPag":"99",
"vPag":"338.00"
}
},
"infAdic":{
"infCpl":"- Pedido Cliente: PEDIDO DE COMPRA 024092 - ***MATERIAL DE NOSSA PROPRIEDADE QUE SEGUE PARA BENEFICIAMENTO, DEVENDO RETORNAR AO NOSSO ESTABELECIMENTO PARA POSTERIOR COMERCIALIZACAO. ***ICMS SUSPENSO CONFORME ART.402 DO RICMS-SP/2000 ***IPI SUSPENSO CONFORME ARTIGO 43, VII DO RIPI/2010 *** LEAD TIME MAXIMO PARA RETORNO DO MATERIAL 05 DIAS."
},
"infRespTec":{
"CNPJ":"32971425000134",
"xContato":"TESTE",
"email":"teste@teste.com.br",
"fone":"1199999999"
}
}
},
"protNFe":{
"@versao":"4.00",
"infProt":{
"@Id":"Id135210706839864",
"tpAmb":"1",
"verAplic":"SP_NFE_PL009_V4",
"chNFe":"35210608308347000108550010000966371100125014",
"dhRecbto":"2021-06-24T11:39:56-03:00",
"nProt":"135210706839864",
"digVal":"0P2cnzsGAQBVlX0P5wwbBcbkgHM=",
"cStat":"100",
"xMotivo":"Autorizado o uso da NF-e"
}
}
}
]
{
"message": "An error has occurred."
}
Modelo de Envio 📝
68496879000148
APIs Relacionadas 🎈
Referências à API 📌
Last updated
Was this helpful?