O objetivo dessa API é realizar a consulta de XMLs no sistema a partir de um requisição do tipo REST.
POST
https://webservices.vianuvem.com.br/AdminVianuvem/api/integration/nfe/xml
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
<nfeProc versao="4.00" xmlns="http://www.portalfiscal.inf.br/nfe">
<NFe xmlns="http://www.portalfiscal.inf.br/nfe">
<infNFe versao="4.00" Id="NFe35191104952112000101550010001641221565130774">
<ide>
<cUF>35</cUF>
<cNF>56513077</cNF>
<natOp>DEV. MERCADORIAS SUBST.TRIB. (PECAS)</natOp>
<mod>55</mod>
<serie>1</serie>
<nNF>164122</nNF>
<dhEmi>2019-11-14T15:23:00-03:00</dhEmi>
<tpNF>0</tpNF>
<idDest>1</idDest>
<cMunFG>3550308</cMunFG>
<tpImp>1</tpImp>
<tpEmis>1</tpEmis>
<cDV>4</cDV>
<tpAmb>1</tpAmb>
<finNFe>4</finNFe>
<indFinal>1</indFinal>
<indPres>1</indPres>
<procEmi>0</procEmi>
<verProc>NBS 01.013</verProc>
<NFref>
<refNFe>35191104952112000101550010001633261565130770</refNFe>
</NFref>
</ide>
<emit>
<CNPJ>04952112000101</CNPJ>
<xNome>Calmotors Ltda</xNome>
<xFant>Calmotors</xFant>
<enderEmit>
<xLgr>PACAEMBU</xLgr>
<nro>343</nro>
<xBairro>Barra Funda</xBairro>
<cMun>3550308</cMun>
<xMun>SAO PAULO</xMun>
<UF>SP</UF>
<CEP>01155000</CEP>
<cPais>1058</cPais>
<xPais>BRASIL</xPais>
<fone>1136655500</fone>
</enderEmit>
<IE>110147097118</IE>
<IM>31350712</IM>
<CNAE>4511101</CNAE>
<CRT>3</CRT>
</emit>
<dest>
<CNPJ>00434116002697</CNPJ>
<xNome>MAIS DISTRIBUIDORA </xNome>
<enderDest>
<xLgr>VERGUEIRO</xLgr>
<nro>4911</nro>
<xBairro>VILA MARIANA</xBairro>
<cMun>3550308</cMun>
<xMun>SAO PAULO</xMun>
<UF>SP</UF>
<CEP>04101300</CEP>
<cPais>1058</cPais>
<xPais>BRASIL</xPais>
<fone>1150893000</fone>
</enderDest>
<indIEDest>1</indIEDest>
<IE>144800095116</IE>
<email>1@2.com.br</email>
</dest>
<det nItem="1">
<prod>
<cProd>K05033307AD</cProd>
<cEAN>SEM GTIN</cEAN>
<xProd>SENSOR POSICAO</xProd>
<NCM>87081000</NCM>
<CEST>0000000</CEST>
<indEscala>S</indEscala>
<CFOP>1411</CFOP>
<uCom>UN</uCom>
<qCom>1.0000</qCom>
<vUnCom>255.9000000000</vUnCom>
<vProd>255.90</vProd>
<cEANTrib>SEM GTIN</cEANTrib>
<uTrib>UN</uTrib>
<qTrib>1.0000</qTrib>
<vUnTrib>255.9000000000</vUnTrib>
<vDesc>75.90</vDesc>
<indTot>1</indTot>
</prod>
<imposto>
<ICMS>
<ICMS60>
<orig>0</orig>
<CST>60</CST>
<vBCSTRet>0.00</vBCSTRet>
<pST>0.0000</pST>
<vICMSSubstituto>0</vICMSSubstituto>
<vICMSSTRet>0.00</vICMSSTRet>
<pRedBCEfet>0.0000</pRedBCEfet>
<vBCEfet>180.00</vBCEfet>
<pICMSEfet>18.0000</pICMSEfet>
<vICMSEfet>32.40</vICMSEfet>
</ICMS60>
</ICMS>
<PIS>
<PISOutr>
<CST>99</CST>
<vBC>180.00</vBC>
<pPIS>0.0000</pPIS>
<vPIS>0.00</vPIS>
</PISOutr>
</PIS>
<COFINS>
<COFINSOutr>
<CST>99</CST>
<vBC>180.00</vBC>
<pCOFINS>0.0000</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSOutr>
</COFINS>
</imposto>
</det>
<total>
<ICMSTot>
<vBC>0.00</vBC>
<vICMS>0.00</vICMS>
<vICMSDeson>0.00</vICMSDeson>
<vFCP>0.00</vFCP>
<vBCST>0.00</vBCST>
<vST>0.00</vST>
<vFCPST>0.00</vFCPST>
<vFCPSTRet>0.00</vFCPSTRet>
<vProd>255.90</vProd>
<vFrete>0.00</vFrete>
<vSeg>0.00</vSeg>
<vDesc>75.90</vDesc>
<vII>0.00</vII>
<vIPI>0.00</vIPI>
<vIPIDevol>0.00</vIPIDevol>
<vPIS>0.00</vPIS>
<vCOFINS>0.00</vCOFINS>
<vOutro>0.00</vOutro>
<vNF>180.00</vNF>
</ICMSTot>
</total>
<transp>
<modFrete>9</modFrete>
</transp>
<pag>
<detPag>
<tPag>90</tPag>
<vPag>0.00</vPag>
</detPag>
</pag>
<infAdic>
<infCpl>Devolucao Total da nota : 163326 /5</infCpl>
</infAdic>
<infRespTec>
<CNPJ>02348447000181</CNPJ>
<xContato>GERSON DA COSTA TEIXEIRA</xContato>
<email>gerson@nbsi.com.br</email>
<fone>6521284300</fone>
</infRespTec>
</infNFe>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="#NFe35191104952112000101550010001641221565130774">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
<Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>WH7rPDLM73qwXpK6vXGYjscNlPc=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>AOUcYOnd0vasSjKSDUCumaoTEqBmTzrIRL5X/garDXN+A8iHNZTinZeoCR3ipAUIVXiLfos8XyJXuUNTrTFZ76dbpPnFwKJHkAdrKVR3T0fz8NOcpNC7flOW71IKq9ioQa4a9Qp+tmY7C1HGzlRC3t3TYP+n0TID69VBOPKIk9+wqHWYUkai3iG5Tb4rn9NyyeOJOtKL0AeFxrM0Uym42QmmIAwrjQUjg30K3otNeWUaLnggo9MKkZf3Fit97dLLd9seqEBiyeVcj/5JXTQAC6TVnH0Gqwoo0RCEejSxa/VH04LYbrCCi2ZxkCfaKevx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qOrbcgSSsxp700vP/hC1vmox9Qf5NFxxQ1RaEgmFSScCBBQPRmd1gw3+DiMlK5rVUE3mxJHPTISQSjsnDSEFOPIsdKQllUBckZI8uDQXSxQJ/ZNffXgdFY5vRb0R8jmMWebRP6HqvUZwY759oV8PaNiFHrpEOXRVD9J/LbQqQSkE76TKhF0gnMnSw8h3p98DSQRHCKPzY3frxabVrN2Ffrjk/GYuhu8vh17zA+k/e5RIvjR3M6Lw+LkWyjPcJ7adlTfkg+6oduTqgbuhazjcxfwTH/8xRwUNTlYK3ehgIxVTcNspvKc3WRdHxHQYprF8dydLouTJwPVwm5rqDTLLS8WxP2MXfthFSC1XOml+WcGbRlHcDNsqEIXw9Tg7S8ORHD6x7K5lDO/v366FIMq/ZZr3V5EzqbBH02zPMuyJw5b1vyaWsFvCFJw8QZevBjNeJGJaKbfccUdCEkdB5lLeIaHzSYdj1x0iiGgqFP7zXP0sTYOW6iqLqzM0otWqUavEblyCi3n/ZxMQEiS+zk5Do30=</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</NFe>
<protNFe versao="4.00">
<infProt Id="Id135190852795161">
<tpAmb>1</tpAmb>
<verAplic>SP_NFE_PL009_V4</verAplic>
<chNFe>35191104952112000101550010001641221565130774</chNFe>
<dhRecbto>2019-11-14T15:23:14-03:00</dhRecbto>
<nProt>135190852795161</nProt>
<digVal>WH7rPDLM73qwXpK6vXGYjscNlPc=</digVal>
<cStat>100</cStat>
<xMotivo>Autorizado o uso da NF-e</xMotivo>
</infProt>
</protNFe>
</nfeProc>
Documento não encontrado
<html>
<head>
<title>Error</title>
</head>
<body>Internal Server Error</body>
</html>
{
"cnpjNumber":"04952112000101",
"nfeNumber":"000164122"
}
Content-Type*
String
application/json
Authorization*
String
Token de acesso adquirido através da API "Get JWT" (bearer)
cnpjNumber*
String
CNPJ do fornecedor da nota fiscal
nfeNumber*
String
Número da nota fiscal