Child pages
  • ER_Nota_Premiada_MS

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Este documento é material de especificação dos requisitos de manutenção, trata-se de conteúdo extremamente técnico.

  

Informações Gerais 

Especificação

Produto

TSS

Módulo

NF-e / NFC-e

Segmento Executor

Serviços

Chamado/ISSUE

DSERTSS1-13936

País

( X ) Brasil  (  ) Argentina  (  ) Mexico  (  ) Chile  (  ) Paraguai  (  ) Equador

(  ) USA  (  ) Colombia   (  ) Outro _____________.



Indice:

  • Objetivo

  • Resumo

  • Regras de Negócio

  • Web Services e Métodos do TSS

  • DANFE

Objetivo

Demonstrar as alterações realizadas para implementação do DECRETO Nº 15.341, de 23 de Dezembro de 2019.

De acordo com a SEFAZ-MS as alterações se resumem em:


  1. Capturar a informação das dezenas geradas pela SEFAZ/MS, que estarão disponíveis no arquivo XML de retorno do protocolo de autorização, tanto da NF-e quanto da NFC-e, na tag  xMsg para cMsg = 200:
    <cStat>100</cStat>
          <xMotivo>Autorizado o uso da NF-e</xMotivo>
          <cMsg>200</cMsg>
          <xMsg>Dezenas: ( 06 11 19 38 45 50 54 )</xMsg>
  2. Fazer constar essa informação das dezenas no DANFE da NF-e, que deverá ser impressa na área “Reservado ao Fisco”.
  3. Fazer constar essa informação das dezenas no DANFE da NFC-e, que deverá ser impressa na “Divisão VIII – Área de Mensagem Fiscal”, logo abaixo da identificação da NFC-e (Divisão VII).


Disponibilizar no TSS métodos para receber o retorno da SEFAZ com as (oito) dezenas geradas para o programa Nota Premiada, do Mato Grosso do Sul;

Imprimir as dezenas do programa no DANFE padrão TSS (NF-e);


O Decreto poderá ser acessado através do  linkhttps://www.notamspremiada.ms.gov.br/legislacao ou http://www.icmstransparente.ms.gov.br/index.aspx?sf=http://arq.sefaz.ms.gov.br/inicio/legislacao.asp 

Prazo previsto para implantação conforme o Decreto em questão:

    • Data de início da vigência no ambiente de produção  -   


Resumo

O Estado de Mato Grosso do Sul deverá implementar o programa da Nota MS Premiada  que visa a fomentar a cidadania fiscal, estimulando o consumidor final a exigir do estabelecimento varejista a emissão de documento fiscal (no caso, Nota Fiscal de Consumidor Eletrônica – NFC-e ou Nota Fiscal Eletrônica – NF-e) durante a aquisição de mercadorias, na expectativa de receber prêmios.

Regras de Negócio

  1. Serão geradas 8 dezenas para cada NF-e/NFC-e;
  2. Considerar os seguintes Códigos do Modelo do Documento Fiscal, tag mod = 55 (NF-e) ou 65 (NFC-e);
  3. Valor da NF-e/NFC-e maior ou igual a R$ 1,00 (um real);
  4. Considerar NF-e/NFC-e emitidas por contribuintes de Mato Grosso do Sul (UF_EMIT = MS);
  5. Considerar NF-e/NFC-e com CPF devidamente preenchido;
  6. Considerar NF-e/NFC-e com a Inscrição Estadual (IE) do destinatário não preenchida (null) ou preenchida com literal “ISENTO”;
  7. Considerar NF-e/NFC-e com o indicador operação com consumidor final, tag indfinal = 1 (consumidor final);
  8. Para NF-e, considerar o indicador da IE do destinatário, tag indiedest = 9 (não contribuinte) ou 2 (isento). Para NFC-e, considerar tag indiedest = 9 (não contribuinte);
  9. Considerar NF-e/NFC-e com a finalidade de emissão da NF-e/NFC-e, tag finnfe = 1 (NORMAL);
  10. Considerar NF-e/NFC-e com o tipo de operação, tag tpnf = 1 (Operação de SAÍDA);
  11. Para NF-e, considerar o tipo de emissão da NF-e, tag tpemis = 1 (emissão normal) ou 2 (FS – Formulário de Segurança) ou 5 (FS-DA – Formulário de Segurança de Documento Auxiliar) ou = 4 (EPEC – Emissão Prévia de Emissão em Contingência). Observando que as formas de emissão em contingência (2, 5 e 4) retro citadas somente terão dezenas geradas no momento da transmissão e autorização da NF-e.
  12. OBS: Para as NF-e autorizadas com a tag tpemis=7 (SVC-RS – SEFAZ Virtual de Contingência do Rio Grande do Sul) não serão geradas dezenas, em função de o ambiente autorizador ser diverso da SEFAZ-MS;
  13. Para NFC-e, considerar o tipo de emissão da NF-e, tag tpemis = 1 (emissão normal) ou 9 (emissão em contingência off-line), observando neste último caso que a geração de dezenas só ocorrerá no momento da transmissão e autorização da NFC-e.
  14. Considerar NF-e/NFC-e com o identificador de local de destino da operação, tag iddest = 1 (operação interna).

Web Services e Métodos TSS

Verifique abaixo quais métodos e WebServices serão utilizados e como será apresentado o retorno da SEFAZ para as informações da Nota Premiada.


Serviço NFESBRA:

Deck of Cards
effectDuration0.3
idmetodos
effectTypefade
Card
id1
labelConsultaChaveNFE

As dezenas serão informadas dentro da tag XML_RET.

Code Block
languagexml
titleExemplo:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
	<soap:Body>
		<CONSULTACHAVENFERESPONSE xmlns="http://webservices.totvs.com.br/nfsebra.apw">
			<CONSULTACHAVENFERESULT>
				<AMBIENTE>2</AMBIENTE>
				<CODRETNFE>100</CODRETNFE>
				<DIGVAL>YnlXshf4V4hYE0Ti6bzBEriMtbI=</DIGVAL>
				<ID>50191215103473000191555650001000261100301342</ID>
				<MSGRETNFE>Autorizado o uso da NF-e</MSGRETNFE>
				<PROTOCOLO>150190000142145</PROTOCOLO>
				<RECBTO>2019-12-23</RECBTO>
				<VERSAO>4.00</VERSAO>
				<WS01CONSUMOINDEVIDO>
					<OBSERVACAO/>
					<TENTATIVAS>2/5</TENTATIVAS>
				</WS01CONSUMOINDEVIDO>
				<XML_RET>Base64Binary</XML_RET>
			</CONSULTACHAVENFERESULT>
		</CONSULTACHAVENFERESPONSE>
	</soap:Body>
</soap:Envelope>
Code Block
languagexml
themeConfluence
titleConteúdo <XML_RET>
linenumberstrue
collapsetrue
<retConsSitNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00">
	<tpAmb>2</tpAmb>
	<verAplic>MS_1.5.5</verAplic>
	<cStat>100</cStat>
	<xMotivo>Autorizado o uso da NF-e</xMotivo>
	<cUF>50</cUF>
	<dhRecbto>2020-02-11T10:29:43-04:00</dhRecbto>
	<chNFe>50191215103473000191555650001000261100301342</chNFe>
	<protNFe versao="4.00">
		<infProt Id="ID150190000142145">
			<tpAmb>2</tpAmb>
			<verAplic>MS_9.83.29</verAplic>
			<chNFe>50191215103473000191555650001000261100301342</chNFe>
			<dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto>
			<nProt>150190000142145</nProt>
			<digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal>
			<cStat>100</cStat>
			<xMotivo>Autorizado o uso da NF-e</xMotivo>
			<cMsg>200</cMsg>
			<xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg>
		</infProt>
		<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="#ID150190000142145">
					<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>xHqnMbMHu3A+3Fi6NBwh3MxoNZk=</DigestValue>
				</Reference>
			</SignedInfo>
			<SignatureValue>UaQMs81QyV/3aJZaWMyq3AEhX12q7oWOZNr/MA3SDqSO1qpc3SD90Fu3ukeYMoKiv3ZxOpGvOFy3
xlkFk4A6eOSDWasK9tiSYBH3lT77WKk4ZCP1fqP1RwZUJ4ZWGZ9OK6tVjECK7ozVGliWZFNia4zf
kQJgf+oeOTkT1ndptfNqP5cQ2iTGNjXFSNPad6laU9UkuV7Psyc+LAVgpjkuBVrPaxVqPTepa5RH
hzDJMmJydB24Wt4vm3DXDws3uCr/4uKSGUAqqlRaZSPjwWt55ENXB8VGtRiIAef2okkrUs2G8tWR
CBHSPY44kfDxrOWD2b4gPoGSIFd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BApgSQlqBTGJX+LvdyLxfihPoO4o9oSHBqKGrwAtlNZs6MOS/qgegR3sB1BAUDcca
VKD7ZQanBt1mqBvTj4QRnwgL4Qex5RAgLNnaIBFGpVXgs0WA0sPORL70wL0kdppiDvK5eEWY6wQU
TIS4bO3NyFzdSh4pc+lfcDAPY3AyyJbhPVxJ92fIoF3UAWKR8AlBfWekhy/2wC7QCH/Erruof1GB
ds5n1rZPpgwq6wBiO3L0TEZO780vgqfBrwnlFmV44mttOuhEpimw7pV1ZWz2SXS+SknvVEu37vOg
+30/8/tIp+bUFCtlIRKHW4Q/Ph5D2r09wLDAwflf+kohN4jR8Xj3ryJLCfq5D5hTkt/rtcwzujg5
cO1UieTUAv11KROUgsPId66lLXXfzZWcjr8QUv/gf0PdnHdymWTbRgOt/fYThT16XnbfPJySb4r3
JEZnSokhMCi435bS2qUopj8UbqE7vojxY9L5bXlGlqtpwtvhX3aZa9JDXAi5+xjetjpUWMY+QotM
pwRfEqfVGgw2mFw00nbN0sBYzLK5yTjSn8gFzLtc8NIoxphD1mwE0VcNljlSOi4XMUbxPSO6O+82
lfNB1B0avF8k64UYVEg=</X509Certificate>
				</X509Data>
			</KeyInfo>
		</Signature>
	</protNFe>
</retConsSitNFe>
Card
id2
labelMonitorDocumentos
titleMonitorDocumentos

As dezenas serão informadas dentro da tag MSGRET e CODRETMSG. 

Code Block
languagexml
titleExemplo:
<MONITORDOCUMENTOSRESPONSE xmlns="http://webservices.totvs.com.br/nfsebra.apw">
	<MONITORDOCUMENTOSRESULT>
		<MONITORNFE>
			<AMBIENTE>2</AMBIENTE>
			<ERRO>
				<LOTENFE>
					<CODENVLOTE>103</CODENVLOTE>
					<CODRETMSG>200</CODRETMSG>
					<CODRETNFE>100</CODRETNFE>
					<CODRETRECIBO>100</CODRETRECIBO>
					<DATALOTE>2020-02-11</DATALOTE>
					<HORALOTE>11:52:15</HORALOTE>
					<LOTE>3</LOTE>
					<MSGENVLOTE>Lote recebido com sucesso</MSGENVLOTE>
					<MSGRET>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</MSGRET>
					<MSGRETNFE>Autorizado o uso da NF-e</MSGRETNFE>
					<MSGRETRECIBO>Autorizado o uso da NF-e</MSGRETRECIBO>
					<RECIBOSEFAZ>500190000214897</RECIBOSEFAZ>
				</LOTENFE>
			</ERRO>
			<FRENTE_VERSO/>
			<ID>565000100026</ID>
			<MODALIDADE>1</MODALIDADE>
			<MODELO>55</MODELO>
			<NUMERO_VIAS>0</NUMERO_VIAS>
			<PATHIMPRESSAO/>
			<PROTOCOLO>150190000142145</PROTOCOLO>
			<RECOMENDACAO>001 - Emissão de DANFE autorizada</RECOMENDACAO>
			<TEMPODEESPERA>000:00</TEMPODEESPERA>
			<TEMPOMEDIOSEF>1</TEMPOMEDIOSEF>
			<WS01CONSUMOINDEVIDO>
				<OBSERVACAO>Limite de consumo do servico: NFECONSULTANF excedido. Desbloqueio a partir das: 12:28:45 de 11/02/2020.</OBSERVACAO>
				<TENTATIVAS>5/5</TENTATIVAS>
			</WS01CONSUMOINDEVIDO>
		</MONITORNFE>
	</MONITORDOCUMENTOSRESULT>
</MONITORDOCUMENTOSRESPONSE>
Card
id2
labelMonitorFaixa
titleMonitorDocumentos

As dezenas serão informadas dentro da tag MSGRET e CODRETMSG. 

Code Block
languagexml
titleExemplo:
         <MONITORFAIXARESULT>
            <MONITORNFE>
               <AMBIENTE>2</AMBIENTE>
               <ERRO>
                  <LOTENFE>
                     <CODENVLOTE>103</CODENVLOTE>
                     <CODRETMSG>200</CODRETMSG>
                     <CODRETNFE>100</CODRETNFE>
                     <CODRETRECIBO>100</CODRETRECIBO>
                     <DATALOTE>2020-02-11</DATALOTE>
                     <HORALOTE>11:52:15</HORALOTE>
                     <LOTE>3</LOTE>
                     <MSGENVLOTE>Lote recebido com sucesso</MSGENVLOTE>
                     <MSGRET>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</MSGRET>
                     <MSGRETNFE>Autorizado o uso da NF-e</MSGRETNFE>
                     <MSGRETRECIBO>Autorizado o uso da NF-e</MSGRETRECIBO>
                     <RECIBOSEFAZ>500190000214897</RECIBOSEFAZ>
                  </LOTENFE>
               </ERRO>
               <FRENTE_VERSO></FRENTE_VERSO>
               <ID>565000100026</ID>
               <MODALIDADE>1</MODALIDADE>
               <MODELO>55</MODELO>
               <NUMERO_VIAS>0</NUMERO_VIAS>
               <PATHIMPRESSAO></PATHIMPRESSAO>
               <PROTOCOLO>150190000142145</PROTOCOLO>
               <RECOMENDACAO>001 - Emissão de DANFE autorizada</RECOMENDACAO>
               <TEMPODEESPERA>000:00</TEMPODEESPERA>
               <TEMPOMEDIOSEF>1</TEMPOMEDIOSEF>
               <WS01CONSUMOINDEVIDO>
                  <OBSERVACAO>Limite de consumo do servico: NFECONSULTANF excedido. Desbloqueio a partir das: 12:28:45 de 11/02/2020.</OBSERVACAO>
                  <TENTATIVAS>5/5</TENTATIVAS>
               </WS01CONSUMOINDEVIDO>
            </MONITORNFE>
         </MONITORFAIXARESULT>
Card
id2
labelMonitorFX
titleMonitorDocumentos

As dezenas serão informadas dentro da tag MSGRET e CODRETMSG. 

Code Block
languagexml
titleExemplo:
         <MONITORFXRESULT>
            <MONITORNFE>
               <AMBIENTE>2</AMBIENTE>
               <ERRO>
                  <LOTENFE>
                     <CODENVLOTE>103</CODENVLOTE>
                     <CODRETMSG>200</CODRETMSG>
                     <CODRETNFE>100</CODRETNFE>
                     <CODRETRECIBO>100</CODRETRECIBO>
                     <DATALOTE>2020-02-11</DATALOTE>
                     <HORALOTE>11:52:15</HORALOTE>
                     <LOTE>3</LOTE>
                     <MSGENVLOTE>Lote recebido com sucesso</MSGENVLOTE>
                     <MSGRET>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</MSGRET>
                     <MSGRETNFE>Autorizado o uso da NF-e</MSGRETNFE>
                     <MSGRETRECIBO>Autorizado o uso da NF-e</MSGRETRECIBO>
                     <RECIBOSEFAZ>500190000214897</RECIBOSEFAZ>
                  </LOTENFE>
               </ERRO>
               <FRENTE_VERSO></FRENTE_VERSO>
               <ID>565000100026</ID>
               <MODALIDADE>1</MODALIDADE>
               <MODELO>55</MODELO>
               <NUMERO_VIAS>0</NUMERO_VIAS>
               <PATHIMPRESSAO></PATHIMPRESSAO>
               <PROTOCOLO>150190000142145</PROTOCOLO>
               <RECOMENDACAO>001 - Emissão de DANFE autorizada</RECOMENDACAO>
               <TEMPODEESPERA>000:00</TEMPODEESPERA>
               <TEMPOMEDIOSEF>1</TEMPOMEDIOSEF>
            </MONITORNFE>
         </MONITORFXRESULT>
Card
id2
labelMonitorFXNSe
titleMonitorDocumentos

As dezenas serão informadas dentro da tag MSGRET e CODRETMSG. 

Code Block
languagexml
titleExemplo:
<MONITORFXNSERESULT>
            <MONITORNSE>
               <AMBIENTE>2</AMBIENTE>
               <ERRO>
                  <LOTENSE>
                     <CODENVLOTE>103</CODENVLOTE>
                     <CODRETNFE>100</CODRETNFE>
                     <CODRETRECIBO>100</CODRETRECIBO>
                     <DATALOTE>2020-02-11</DATALOTE>
                     <HORALOTE>11:52:15</HORALOTE>
                     <LOTE>3</LOTE>
                     <MSGENVLOTE>Lote recebido com sucesso</MSGENVLOTE>
                     <MSGRETNFE>Autorizado o uso da NF-e</MSGRETNFE>
                     <MSGRETRECIBO>Autorizado o uso da NF-e</MSGRETRECIBO>
                     <RECIBOSEFAZ></RECIBOSEFAZ>
                  </LOTENSE>
               </ERRO>
               <ID>565000100026</ID>
               <MODALIDADE>1</MODALIDADE>
               <NUMNSE></NUMNSE>
               <PROTOCOLO>150190000142145</PROTOCOLO>
               <RECOMENDACAO>001 - Emissão de DANFE autorizada</RECOMENDACAO>
               <TEMPODEESPERA>000:00</TEMPODEESPERA>
               <TEMPOMEDIOSEF>1</TEMPOMEDIOSEF>
            </MONITORNSE>
</MONITORFXNSERESULT>			
Card
id10
labelRetornaFaixa
titleRetornaFaixa

As dezenas serão informadas dentro da tag XMLPROT

Code Block
languagexml
titleExemplo:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <RETORNAFAIXARESPONSE xmlns="http://webservices.totvs.com.br/nfsebra.apw">
         <RETORNAFAIXARESULT>
            <NOTAS>
               <NFES3>
                  <ID>565000100026</ID>
                  <NFE>
                     <PROTOCOLO>150190000142145</PROTOCOLO>
                     <XML><![CDATA[<NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe50191215103473000191555650001000261100301342" versao="4.00"><ide><cUF>50</cUF><cNF>10030134</cNF><natOp>SAIDA DE MERCADORIAS</natOp><mod>55</mod><serie>565</serie><nNF>100026</nNF><dhEmi>2019-12-23T15:13:00-04:00</dhEmi><dhSaiEnt>2019-12-23T15:13:00-04:00</dhSaiEnt><tpNF>1</tpNF><idDest>1</idDest><cMunFG>5006606</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>2</cDV><tpAmb>2</tpAmb><finNFe>1</finNFe><indFinal>1</indFinal><indPres>9</indPres><procEmi>0</procEmi><verProc>12.1.025 | 3.0</verProc></ide><emit><CNPJ>15103473000191</CNPJ><xNome>TOTVS S/A</xNome><xFant>TESTE</xFant><enderEmit><xLgr>AV. BRAZ LEME</xLgr><nro>SN</nro><xBairro>JD. SAO BENTO</xBairro><cMun>5006606</cMun><xMun>SAO PAULO</xMun><UF>MS</UF><CEP>02511000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>551139817200</fone></enderEmit><IE>283744545</IE><IM>00168058004</IM><CNAE>6201500</CNAE><CRT>3</CRT></emit><dest><CPF>38296227088</CPF><xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome><enderDest><xLgr>AVENIDA TESTE TESTE</xLgr><nro>SN</nro><xBairro>CENTRO</xBairro><cMun>5002704</cMun><xMun>CAMPO GRANDE</xMun><UF>MS</UF><CEP>79002530</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>736730271629</fone></enderDest><indIEDest>2</indIEDest></dest><det nItem="1"><prod><cProd>TSS000000000002</cProd><cEAN>SEM GTIN</cEAN><xProd>PRODUTO ICMS ORIG 0</xProd><NCM>73239300</NCM><CEST>1005900</CEST><cBenef></cBenef><CFOP>5102</CFOP><uCom>UN</uCom><qCom>1.0000</qCom><vUnCom>500.00000000</vUnCom><vProd>500.00</vProd><cEANTrib>SEM GTIN</cEANTrib><uTrib>UN</uTrib><qTrib>1.0000</qTrib><vUnTrib>500.00000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS60><orig>0</orig><CST>60</CST><vBCSTRet>0</vBCSTRet><pST>0.0000</pST><vICMSSubstituto>0</vICMSSubstituto><vICMSSTRet>0</vICMSSTRet><pRedBCEfet>0.0000</pRedBCEfet><vBCEfet>500.00</vBCEfet><pICMSEfet>18.0000</pICMSEfet><vICMSEfet>90.00</vICMSEfet></ICMS60></ICMS><PIS><PISAliq><CST>01</CST><vBC>500.00</vBC><pPIS>0.6500</pPIS><vPIS>3.25</vPIS></PISAliq></PIS><COFINS><COFINSAliq><CST>01</CST><vBC>500.00</vBC><pCOFINS>2.0000</pCOFINS><vCOFINS>10.00</vCOFINS></COFINSAliq></COFINS></imposto></det><total><ICMSTot><vBC>0</vBC><vICMS>0</vICMS><vICMSDeson>0</vICMSDeson><vFCPUFDest>0</vFCPUFDest><vICMSUFDest>0</vICMSUFDest><vICMSUFRemet>0</vICMSUFRemet><vFCP>0</vFCP><vBCST>0</vBCST><vST>0</vST><vFCPST>0</vFCPST><vFCPSTRet>0</vFCPSTRet><vProd>500.00</vProd><vFrete>0</vFrete><vSeg>0</vSeg><vDesc>0</vDesc><vII>0</vII><vIPI>0</vIPI><vIPIDevol>0</vIPIDevol><vPIS>3.25</vPIS><vCOFINS>10.00</vCOFINS><vOutro>0</vOutro><vNF>500.00</vNF></ICMSTot></total><transp><modFrete>1</modFrete></transp><pag><detPag><indPag>0</indPag><tPag>01</tPag><vPag>500.00</vPag></detPag></pag><infAdic><infCpl>teste & teste</infCpl></infAdic><infRespTec><CNPJ>53113791000122</CNPJ><xContato>Rodrigo de Almeida Sartorio</xContato><email>resp_tecnico_dfe_protheus@totvs.com.br</email><fone>1128593904</fone></infRespTec></infNFe><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe50191215103473000191555650001000261100301342"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>YnlXshf4V4hYE0Ti6bzBEriMtbI=</DigestValue></Reference></SignedInfo><SignatureValue>VxflH6mHq5bdSw8zYG6mBSoP5XeZsZ8weMUssz+YtCDq0CkW5QTQw9qyWhFcgbXEcNm/nemHChZ53ldgSFhxTLawz5n9+1gVMX2RMZ3OKfU1ReAkDcLBd+RzBWAobDcRNKK+UwqqlE2BV6nCg8WwbTrBdsWG2qkjs42hAOpFZ+W5RV9rBE2KsnqHWI+GBkIx5AtroRYFLUseJ554NTXTNARB4CzaPopapbv58cNJzUPgDeQclIFp64ZMjZhuXe9bvquIv7jqNYG70OBwxYT+bjVAxO/Hkxcjlr/0LkQJ2lUUzgRiQZ4aQtXH5pGoQSINJTN8i/L2Kr9VZv+NjJuQtw==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIHpzCCBY+gAwIBAgIIbzybbZzSm0w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aVZYD+5e/D4iDK7+zbBp4UhL/FcADHQcn25245wHiNiFbcHY6cJ+JPeu1VZb6YjGLpgxA7aDIR3lvNvOZ0DFexLuErXPoCcOySoA5Dy9dSYsolu2GV/PuCAUHf7aTzeaueYdpZjNfSjlxAyEUjdXYIRSSTrBSid6jRsKnK1g21t6MeeOxTkjIMsc8W7ch624PwwIQilOYCKU1LPD+2NiBDx+KY5nHyt4FQ2SIMnffvtUVeAk+9U22PAYG8h2zYn/w6KCMdIU/z99yaEJzhkzOgSwtgvY7givMQhRgdcZJ/YycmC02RaYAo5lPqdydlvMlfE0z2ZWS4tT1lgLOK7q9vx43JijKhz7aOowdPdZ06owiyCmpAbKQf+IQYgKw8AbTRjzhyvIB1Pb98KrEArRUXfAEtuDx2829wBARWyI+Db+ghy0/Nb/koFAqfMnT9h695irWitolmgkXjvVC4uu3OCKU7XA==</X509Certificate></X509Data></KeyInfo></Signature></NFe>]]></XML>
                     <XMLPROT><![CDATA[<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00"><infProt><tpAmb>2</tpAmb><verAplic>MS_9.83.29</verAplic><chNFe>50191215103473000191555650001000261100301342</chNFe><dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto><nProt>150190000142145</nProt><digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo><cMsg>200</cMsg><xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg></infProt></protNFe>]]></XMLPROT>
                  </NFE>
               </NFES3>
            </NOTAS>
         </RETORNAFAIXARESULT>
      </RETORNAFAIXARESPONSE>
   </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleConteúdo <XMLPROT>
<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00">
	<infProt>
		<tpAmb>2</tpAmb>
		<verAplic>MS_9.83.29</verAplic>
		<chNFe>50191215103473000191555650001000261100301342</chNFe>
		<dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto>
		<nProt>150190000142145</nProt>
		<digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal>
		<cStat>100</cStat>
		<xMotivo>Autorizado o uso da NF-e</xMotivo>
		<cMsg>200</cMsg>
		<xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg>
	</infProt>
</protNFe>



Card
id11
labelRetornaFX
titleRetornaFX

As dezenas serão informadas dentro da tag XMLPROT

Code Block
languagexml
titleExemplo:
<RETORNAFXRESPONSE xmlns="http://webservices.totvs.com.br/nfsebra.apw">
         <RETORNAFXRESULT>
            <NOTAS>
               <NFES3>
                  <ID>565000100026</ID>
                  <NFE>
                     <PROTOCOLO>150190000142145</PROTOCOLO>
                     <XML><![CDATA[<NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe50191215103473000191555650001000261100301342" versao="4.00"><ide><cUF>50</cUF><cNF>10030134</cNF><natOp>SAIDA DE MERCADORIAS</natOp><mod>55</mod><serie>565</serie><nNF>100026</nNF><dhEmi>2019-12-23T15:13:00-04:00</dhEmi><dhSaiEnt>2019-12-23T15:13:00-04:00</dhSaiEnt><tpNF>1</tpNF><idDest>1</idDest><cMunFG>5006606</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>2</cDV><tpAmb>2</tpAmb><finNFe>1</finNFe><indFinal>1</indFinal><indPres>9</indPres><procEmi>0</procEmi><verProc>12.1.025 | 3.0</verProc></ide><emit><CNPJ>15103473000191</CNPJ><xNome>TOTVS S/A</xNome><xFant>TESTE</xFant><enderEmit><xLgr>AV. BRAZ LEME</xLgr><nro>SN</nro><xBairro>JD. SAO BENTO</xBairro><cMun>5006606</cMun><xMun>SAO PAULO</xMun><UF>MS</UF><CEP>02511000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>551139817200</fone></enderEmit><IE>283744545</IE><IM>00168058004</IM><CNAE>6201500</CNAE><CRT>3</CRT></emit><dest><CPF>38296227088</CPF><xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome><enderDest><xLgr>AVENIDA TESTE TESTE</xLgr><nro>SN</nro><xBairro>CENTRO</xBairro><cMun>5002704</cMun><xMun>CAMPO GRANDE</xMun><UF>MS</UF><CEP>79002530</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>736730271629</fone></enderDest><indIEDest>2</indIEDest></dest><det nItem="1"><prod><cProd>TSS000000000002</cProd><cEAN>SEM GTIN</cEAN><xProd>PRODUTO ICMS ORIG 0</xProd><NCM>73239300</NCM><CEST>1005900</CEST><cBenef></cBenef><CFOP>5102</CFOP><uCom>UN</uCom><qCom>1.0000</qCom><vUnCom>500.00000000</vUnCom><vProd>500.00</vProd><cEANTrib>SEM GTIN</cEANTrib><uTrib>UN</uTrib><qTrib>1.0000</qTrib><vUnTrib>500.00000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS60><orig>0</orig><CST>60</CST><vBCSTRet>0</vBCSTRet><pST>0.0000</pST><vICMSSubstituto>0</vICMSSubstituto><vICMSSTRet>0</vICMSSTRet><pRedBCEfet>0.0000</pRedBCEfet><vBCEfet>500.00</vBCEfet><pICMSEfet>18.0000</pICMSEfet><vICMSEfet>90.00</vICMSEfet></ICMS60></ICMS><PIS><PISAliq><CST>01</CST><vBC>500.00</vBC><pPIS>0.6500</pPIS><vPIS>3.25</vPIS></PISAliq></PIS><COFINS><COFINSAliq><CST>01</CST><vBC>500.00</vBC><pCOFINS>2.0000</pCOFINS><vCOFINS>10.00</vCOFINS></COFINSAliq></COFINS></imposto></det><total><ICMSTot><vBC>0</vBC><vICMS>0</vICMS><vICMSDeson>0</vICMSDeson><vFCPUFDest>0</vFCPUFDest><vICMSUFDest>0</vICMSUFDest><vICMSUFRemet>0</vICMSUFRemet><vFCP>0</vFCP><vBCST>0</vBCST><vST>0</vST><vFCPST>0</vFCPST><vFCPSTRet>0</vFCPSTRet><vProd>500.00</vProd><vFrete>0</vFrete><vSeg>0</vSeg><vDesc>0</vDesc><vII>0</vII><vIPI>0</vIPI><vIPIDevol>0</vIPIDevol><vPIS>3.25</vPIS><vCOFINS>10.00</vCOFINS><vOutro>0</vOutro><vNF>500.00</vNF></ICMSTot></total><transp><modFrete>1</modFrete></transp><pag><detPag><indPag>0</indPag><tPag>01</tPag><vPag>500.00</vPag></detPag></pag><infAdic><infCpl>teste & teste</infCpl></infAdic><infRespTec><CNPJ>53113791000122</CNPJ><xContato>Rodrigo de Almeida Sartorio</xContato><email>resp_tecnico_dfe_protheus@totvs.com.br</email><fone>1128593904</fone></infRespTec></infNFe><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe50191215103473000191555650001000261100301342"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>YnlXshf4V4hYE0Ti6bzBEriMtbI=</DigestValue></Reference></SignedInfo><SignatureValue>VxflH6mHq5bdSw8zYG6mBSoP5XeZsZ8weMUssz+YtCDq0CkW5QTQw9qyWhFcgbXEcNm/nemHChZ53ldgSFhxTLawz5n9+1gVMX2RMZ3OKfU1ReAkDcLBd+RzBWAobDcRNKK+UwqqlE2BV6nCg8WwbTrBdsWG2qkjs42hAOpFZ+W5RV9rBE2KsnqHWI+GBkIx5AtroRYFLUseJ554NTXTNARB4CzaPopapbv58cNJzUPgDeQclIFp64ZMjZhuXe9bvquIv7jqNYG70OBwxYT+b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f5hzHnwt+jLLmSWvXZ1PAmId+OMPEClt04R305w9SCfFXnZ6B2Q3U6jL7tneOoJFDewZ2MpAO3/BcohvKh95M9vcbBa9pqaMnmqR9uDVIvGNkxKWfW0Cq60l+QTvIJuc8zePaVZYD+5e/D4iDK7+zbBp4UhL/FcADHQcn25245wHiNiFbcHY6cJ+JPeu1VZb6YjGLpgxA7aDIR3lvNvOZ0DFexLuErXPoCcOySoA5Dy9dSYsolu2GV/PuCAUHf7aTzeaueYdpZjNfSjlxAyEUjdXYIRSSTrBSid6jRsKnK1g21t6MeeOxTkjIMsc8W7ch624PwwIQilOYCKU1LPD+2NiBDx+KY5nHyt4FQ2SIMnffvtUVeAk+9U22PAYG8h2zYn/w6KCMdIU/z99yaEJzhkzOgSwtgvY7givMQhRgdcZJ/YycmC02RaYAo5lPqdydlvMlfE0z2ZWS4tT1lgLOK7q9vx43JijKhz7aOowdPdZ06owiyCmpAbKQf+IQYgKw8AbTRjzhyvIB1Pb98KrEArRUXfAEtuDx2829wBARWyI+Db+ghy0/Nb/koFAqfMnT9h695irWitolmgkXjvVC4uu3OCKU7XA==</X509Certificate></X509Data></KeyInfo></Signature></NFe>]]></XML>
                     <XMLPROT><![CDATA[<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00"><infProt><tpAmb>2</tpAmb><verAplic>MS_9.83.29</verAplic><chNFe>50191215103473000191555650001000261100301342</chNFe><dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto><nProt>150190000142145</nProt><digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo><cMsg>200</cMsg><xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg></infProt></protNFe>]]></XMLPROT>
                  </NFE>
               </NFES3>
            </NOTAS>
         </RETORNAFXRESULT>
     </RETORNAFXRESPONSE>

Code Block
languagexml
titleConteúdo <XMLPROT>
<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00">
	<infProt>
		<tpAmb>2</tpAmb>
		<verAplic>MS_9.83.29</verAplic>
		<chNFe>50191215103473000191555650001000261100301342</chNFe>
		<dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto>
		<nProt>150190000142145</nProt>
		<digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal>
		<cStat>100</cStat>
		<xMotivo>Autorizado o uso da NF-e</xMotivo>
		<cMsg>200</cMsg>
		<xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg>
	</infProt>
</protNFe>
Card
id12
labelRetornaNFeStatus
titleRetornaNFeStatus

As dezenas serão informadas dentro da tag XMLPROT

Code Block
languagexml
titleExemplo:
<RETORNANFESTATUSRESPONSE xmlns="http://webservices.totvs.com.br/nfsebra.apw">
         <RETORNANFESTATUSRESULT>
            <NOTAS>
               <NFES6>
                  <ID>565000100027</ID>
                  <NFE>
                     <PROTOCOLO>150190000142146</PROTOCOLO>
                     <XML><![CDATA[<NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe50191215103473000191555650001000271100038614" versao="4.00"><ide><cUF>50</cUF><cNF>10003861</cNF><natOp>SAIDA DE MERCADORIAS</natOp><mod>55</mod><serie>565</serie><nNF>100027</nNF><dhEmi>2019-12-23T15:38:00-04:00</dhEmi><dhSaiEnt>2019-12-23T15:38:00-04:00</dhSaiEnt><tpNF>1</tpNF><idDest>1</idDest><cMunFG>5006606</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>4</cDV><tpAmb>2</tpAmb><finNFe>1</finNFe><indFinal>1</indFinal><indPres>9</indPres><procEmi>0</procEmi><verProc>12.1.025 | 3.0</verProc></ide><emit><CNPJ>15103473000191</CNPJ><xNome>TOTVS S/A</xNome><xFant>TESTE</xFant><enderEmit><xLgr>AV. BRAZ LEME</xLgr><nro>SN</nro><xBairro>JD. SAO BENTO</xBairro><cMun>5006606</cMun><xMun>SAO PAULO</xMun><UF>MS</UF><CEP>02511000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>551139817200</fone></enderEmit><IE>283744545</IE><IM>00168058004</IM><CNAE>6201500</CNAE><CRT>3</CRT></emit><dest><CPF>38296227088</CPF><xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome><enderDest><xLgr>AVENIDA TESTE TESTE</xLgr><nro>SN</nro><xBairro>CENTRO</xBairro><cMun>5002704</cMun><xMun>CAMPO GRANDE</xMun><UF>MS</UF><CEP>79002530</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>736730271629</fone></enderDest><indIEDest>2</indIEDest></dest><det nItem="1"><prod><cProd>TSS000000000002</cProd><cEAN>SEM GTIN</cEAN><xProd>PRODUTO ICMS ORIG 0</xProd><NCM>73239300</NCM><CEST>1005900</CEST><cBenef></cBenef><CFOP>5102</CFOP><uCom>UN</uCom><qCom>1.0000</qCom><vUnCom>500.00000000</vUnCom><vProd>500.00</vProd><cEANTrib>SEM GTIN</cEANTrib><uTrib>UN</uTrib><qTrib>1.0000</qTrib><vUnTrib>500.00000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS60><orig>0</orig><CST>60</CST><vBCSTRet>0</vBCSTRet><pST>0.0000</pST><vICMSSubstituto>0</vICMSSubstituto><vICMSSTRet>0</vICMSSTRet><pRedBCEfet>0.0000</pRedBCEfet><vBCEfet>500.00</vBCEfet><pICMSEfet>18.0000</pICMSEfet><vICMSEfet>90.00</vICMSEfet></ICMS60></ICMS><PIS><PISAliq><CST>01</CST><vBC>500.00</vBC><pPIS>0.6500</pPIS><vPIS>3.25</vPIS></PISAliq></PIS><COFINS><COFINSAliq><CST>01</CST><vBC>500.00</vBC><pCOFINS>2.0000</pCOFINS><vCOFINS>10.00</vCOFINS></COFINSAliq></COFINS></imposto></det><total><ICMSTot><vBC>0</vBC><vICMS>0</vICMS><vICMSDeson>0</vICMSDeson><vFCPUFDest>0</vFCPUFDest><vICMSUFDest>0</vICMSUFDest><vICMSUFRemet>0</vICMSUFRemet><vFCP>0</vFCP><vBCST>0</vBCST><vST>0</vST><vFCPST>0</vFCPST><vFCPSTRet>0</vFCPSTRet><vProd>500.00</vProd><vFrete>0</vFrete><vSeg>0</vSeg><vDesc>0</vDesc><vII>0</vII><vIPI>0</vIPI><vIPIDevol>0</vIPIDevol><vPIS>3.25</vPIS><vCOFINS>10.00</vCOFINS><vOutro>0</vOutro><vNF>500.00</vNF></ICMSTot></total><transp><modFrete>1</modFrete></transp><pag><detPag><indPag>0</indPag><tPag>01</tPag><vPag>500.00</vPag></detPag></pag><infAdic><infCpl>teste & teste</infCpl></infAdic><infRespTec><CNPJ>53113791000122</CNPJ><xContato>Rodrigo de Almeida Sartorio</xContato><email>resp_tecnico_dfe_protheus@totvs.com.br</email><fone>1128593904</fone></infRespTec></infNFe><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe50191215103473000191555650001000271100038614"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>lA47KOfLh5mMy5OncowaL0iLjL0=</DigestValue></Reference></SignedInfo><SignatureValue>Ij/xhEUFSAfWmUy/+KbIQI7zIA43OLV/EZWfjnVSxrAbtGlc0OOeMDWVqwK1CB6MjntffJ1d0PHchZ4Z89NswIE4jeBDHH6P6A1J7PYpKBvnq86AE7oXLSXmq20GudzfvXcEyP2T23VYI4dLLeQQbPH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QH/BAQDAgXgMA0GCSqGSIb3DQEBCwUAA4ICAQB5R1fYh8P5Q+0M22c3wr6czKxzhKpZ8hSNvjQ+JkC6pXCThHxAbMT3hEXy0m2Dg1I3AGSaIOVdtnf5hzHnwt+jLLmSWvXZ1PAmId+OMPEClt04R305w9SCfFXnZ6B2Q3U6jL7tneOoJFDewZ2MpAO3/BcohvKh95M9vcbBa9pqaMnmqR9uDVIvGNkxKWfW0Cq60l+QTvIJuc8zePaVZYD+5e/D4iDK7+zbBp4UhL/FcADHQcn25245wHiNiFbcHY6cJ+JPeu1VZb6YjGLpgxA7aDIR3lvNvOZ0DFexLuErXPoCcOySoA5Dy9dSYsolu2GV/PuCAUHf7aTzeaueYdpZjNfSjlxAyEUjdXYIRSSTrBSid6jRsKnK1g21t6MeeOxTkjIMsc8W7ch624PwwIQilOYCKU1LPD+2NiBDx+KY5nHyt4FQ2SIMnffvtUVeAk+9U22PAYG8h2zYn/w6KCMdIU/z99yaEJzhkzOgSwtgvY7givMQhRgdcZJ/YycmC02RaYAo5lPqdydlvMlfE0z2ZWS4tT1lgLOK7q9vx43JijKhz7aOowdPdZ06owiyCmpAbKQf+IQYgKw8AbTRjzhyvIB1Pb98KrEArRUXfAEtuDx2829wBARWyI+Db+ghy0/Nb/koFAqfMnT9h695irWitolmgkXjvVC4uu3OCKU7XA==</X509Certificate></X509Data></KeyInfo></Signature></NFe>]]></XML>
                     <XMLPROT><![CDATA[<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00"><infProt><tpAmb>2</tpAmb><verAplic>MS_9.83.29</verAplic><chNFe>50191215103473000191555650001000271100038614</chNFe><dhRecbto>2019-12-23T16:17:18-04:00</dhRecbto><nProt>150190000142146</nProt><digVal>lA47KOfLh5mMy5OncowaL0iLjL0=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo><cMsg>200</cMsg><xMsg>NOTA MS PREMIADA | DEZENAS: ( 09 11 28 31 42 43 44 55 ) | www.notamspremiada.ms.gov.br</xMsg></infProt></protNFe>]]></XMLPROT>
                  </NFE>
                  <WS01CONSUMOINDEVIDO>
                     <OBSERVACAO/>
                     <TENTATIVAS/>
                  </WS01CONSUMOINDEVIDO>
               </NFES6>
            </NOTAS>
         </RETORNANFESTATUSRESULT>
   </RETORNANFESTATUSRESPONSE>
Code Block
languagexml
titleConteúdo <XMLPROT>
<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00">
	<infProt>
		<tpAmb>2</tpAmb>
		<verAplic>MS_9.83.29</verAplic>
		<chNFe>50191215103473000191555650001000261100301342</chNFe>
		<dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto>
		<nProt>150190000142145</nProt>
		<digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal>
		<cStat>100</cStat>
		<xMotivo>Autorizado o uso da NF-e</xMotivo>
		<cMsg>200</cMsg>
		<xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg>
	</infProt>
</protNFe>
Card
id20
labelRetornaNFeServicos
titleRetornaNFeServicos

As dezenas serão informadas dentro da tag XMLPROT

Code Block
languagexml
titleExemplo:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <RETORNANFSERVICOSRESPONSE xmlns="http://webservices.totvs.com.br/nfsebra.apw">
         <RETORNANFSERVICOSRESULT>
            <NOTAS>
               <NFES8>
                  <ID>565000100026</ID>
                  <NFE>
                     <PROTOCOLO>150190000142145</PROTOCOLO>
                     <WS01CONSUMOINDEVIDO>
                        <OBSERVACAO/>
                        <TENTATIVAS/>
                     </WS01CONSUMOINDEVIDO>
                     <XML><![CDATA[<NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe50191215103473000191555650001000261100301342" versao="4.00"><ide><cUF>50</cUF><cNF>10030134</cNF><natOp>SAIDA DE MERCADORIAS</natOp><mod>55</mod><serie>565</serie><nNF>100026</nNF><dhEmi>2019-12-23T15:13:00-04:00</dhEmi><dhSaiEnt>2019-12-23T15:13:00-04:00</dhSaiEnt><tpNF>1</tpNF><idDest>1</idDest><cMunFG>5006606</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>2</cDV><tpAmb>2</tpAmb><finNFe>1</finNFe><indFinal>1</indFinal><indPres>9</indPres><procEmi>0</procEmi><verProc>12.1.025 | 3.0</verProc></ide><emit><CNPJ>15103473000191</CNPJ><xNome>TOTVS S/A</xNome><xFant>TESTE</xFant><enderEmit><xLgr>AV. BRAZ LEME</xLgr><nro>SN</nro><xBairro>JD. SAO BENTO</xBairro><cMun>5006606</cMun><xMun>SAO PAULO</xMun><UF>MS</UF><CEP>02511000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>551139817200</fone></enderEmit><IE>283744545</IE><IM>00168058004</IM><CNAE>6201500</CNAE><CRT>3</CRT></emit><dest><CPF>38296227088</CPF><xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome><enderDest><xLgr>AVENIDA TESTE TESTE</xLgr><nro>SN</nro><xBairro>CENTRO</xBairro><cMun>5002704</cMun><xMun>CAMPO GRANDE</xMun><UF>MS</UF><CEP>79002530</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>736730271629</fone></enderDest><indIEDest>2</indIEDest></dest><det nItem="1"><prod><cProd>TSS000000000002</cProd><cEAN>SEM GTIN</cEAN><xProd>PRODUTO ICMS ORIG 0</xProd><NCM>73239300</NCM><CEST>1005900</CEST><cBenef></cBenef><CFOP>5102</CFOP><uCom>UN</uCom><qCom>1.0000</qCom><vUnCom>500.00000000</vUnCom><vProd>500.00</vProd><cEANTrib>SEM GTIN</cEANTrib><uTrib>UN</uTrib><qTrib>1.0000</qTrib><vUnTrib>500.00000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS60><orig>0</orig><CST>60</CST><vBCSTRet>0</vBCSTRet><pST>0.0000</pST><vICMSSubstituto>0</vICMSSubstituto><vICMSSTRet>0</vICMSSTRet><pRedBCEfet>0.0000</pRedBCEfet><vBCEfet>500.00</vBCEfet><pICMSEfet>18.0000</pICMSEfet><vICMSEfet>90.00</vICMSEfet></ICMS60></ICMS><PIS><PISAliq><CST>01</CST><vBC>500.00</vBC><pPIS>0.6500</pPIS><vPIS>3.25</vPIS></PISAliq></PIS><COFINS><COFINSAliq><CST>01</CST><vBC>500.00</vBC><pCOFINS>2.0000</pCOFINS><vCOFINS>10.00</vCOFINS></COFINSAliq></COFINS></imposto></det><total><ICMSTot><vBC>0</vBC><vICMS>0</vICMS><vICMSDeson>0</vICMSDeson><vFCPUFDest>0</vFCPUFDest><vICMSUFDest>0</vICMSUFDest><vICMSUFRemet>0</vICMSUFRemet><vFCP>0</vFCP><vBCST>0</vBCST><vST>0</vST><vFCPST>0</vFCPST><vFCPSTRet>0</vFCPSTRet><vProd>500.00</vProd><vFrete>0</vFrete><vSeg>0</vSeg><vDesc>0</vDesc><vII>0</vII><vIPI>0</vIPI><vIPIDevol>0</vIPIDevol><vPIS>3.25</vPIS><vCOFINS>10.00</vCOFINS><vOutro>0</vOutro><vNF>500.00</vNF></ICMSTot></total><transp><modFrete>1</modFrete></transp><pag><detPag><indPag>0</indPag><tPag>01</tPag><vPag>500.00</vPag></detPag></pag><infAdic><infCpl>teste & teste</infCpl></infAdic><infRespTec><CNPJ>53113791000122</CNPJ><xContato>Rodrigo de Almeida Sartorio</xContato><email></email><fone>1128593904</fone></infRespTec></infNFe><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe50191215103473000191555650001000261100301342"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>YnlXshf4V4hYE0Ti6bzBEriMtbI=</DigestValue></Reference></SignedInfo><SignatureValue>VxflH6mHq5bdSw8zYG6mBSoP5XeZsZ8weMUssz+YtCDq0CkW5QTQw9qyWhFcgbXEcNm/nemHChZ53ldgSFhxTLawz5n9+1gVMX2RMZ3OKfU1ReAkDcLBd+RzBWAobDcRNKK+UwqqlE2BV6nCg8WwbTrBdsWG2qkjs42hAOpFZ+W5RV9rBE2KsnqHWI+GBkIx5AtroRYFLUseJ554NTXTNARB4CzaPopapbv58cNJzUPgDeQclIFp64ZMjZhuXe9bvquIv7jqNYG70OBwxYT+bjVAxO/Hkxcjlr/0LkQJ2lUUzgRiQZ4aQtXH5pGoQSINJTN8i/L2Kr9VZv+NjJuQtw==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIHpzCCBY+gAwIBAgIIbzybbZzSm0wwDQYJKoZIhvcNAQELBQAwTDELMAkGA1UEBhMCQlIxEzARBgNVBAoMCklDUC1CcmFzaWwxKDAmBgNVBAMMH1NFUkFTQSBDZXJ0aWZpY2Fkb3JhIERpZ2l0YWwgdjUwHhcNMTkwNTA2MTQ1MjAwWhcNMjAwNTA1MTQ1MjAwWjCB+zELMAkGA1UEBhMCQlIxEzARBgNVBAoMCklDUC1CcmFzaWwxFDASBgNVBAsMCyhFTSBCUkFOQ08pMRgwFgYDVQQLDA8wMDAwMDEwMDkwMDg4MjYxFDASBgNVBAsMCyhFTSBCUkFOQ08pMRQwEgYDVQQLDAsoRU0gQlJBTkNPKTEoMCYGA1UECwwfU0VSQVNBIENlcnRpZmljYWRvcmEgRGlnaXRhbCB2NTEXMBUGA1UECwwONjIxNzM2MjAwMTA3MzgxFDASBgNVBAsMCy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jvVC4uu3OCKU7XA==</X509Certificate></X509Data></KeyInfo></Signature></NFe>]]></XML>
                     <XMLPROT><![CDATA[<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00"><infProt><tpAmb>2</tpAmb><verAplic>MS_9.83.29</verAplic><chNFe>50191215103473000191555650001000261100301342</chNFe><dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto><nProt>150190000142145</nProt><digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo><cMsg>200</cMsg><xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg></infProt></protNFe>]]></XMLPROT>
                  </NFE>
                  <NUMNSE></NUMNSE>
               </NFES8>
            </NOTAS>
         </RETORNANFSERVICOSRESULT>
      </RETORNANFSERVICOSRESPONSE>
   </soap:Body>
</soap:Envelope>
Code Block
languagexml
titleConteúdo <XMLPROT>
<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00">
	<infProt>
		<tpAmb>2</tpAmb>
		<verAplic>MS_9.83.29</verAplic>
		<chNFe>50191215103473000191555650001000261100301342</chNFe>
		<dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto>
		<nProt>150190000142145</nProt>
		<digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal>
		<cStat>100</cStat>
		<xMotivo>Autorizado o uso da NF-e</xMotivo>
		<cMsg>200</cMsg>
		<xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg>
	</infProt>
</protNFe>
Card
id14
labelRetornaNotas
titleRetornaNotas

As dezenas serão informadas dentro da tag XMLPROT

Code Block
languagexml
titleExemplo:
   <RETORNANOTASRESPONSE xmlns="http://webservices.totvs.com.br/nfsebra.apw">
         <RETORNANOTASRESULT>
            <NOTAS>
               <NFES3>
                  <ID>565000100026</ID>
                  <NFE>
                     <PROTOCOLO>150190000142145</PROTOCOLO>
                     <XML><![CDATA[<NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe50191215103473000191555650001000261100301342" versao="4.00"><ide><cUF>50</cUF><cNF>10030134</cNF><natOp>SAIDA DE MERCADORIAS</natOp><mod>55</mod><serie>565</serie><nNF>100026</nNF><dhEmi>2019-12-23T15:13:00-04:00</dhEmi><dhSaiEnt>2019-12-23T15:13:00-04:00</dhSaiEnt><tpNF>1</tpNF><idDest>1</idDest><cMunFG>5006606</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>2</cDV><tpAmb>2</tpAmb><finNFe>1</finNFe><indFinal>1</indFinal><indPres>9</indPres><procEmi>0</procEmi><verProc>12.1.025 | 3.0</verProc></ide><emit><CNPJ>15103473000191</CNPJ><xNome>TOTVS S/A</xNome><xFant>TESTE</xFant><enderEmit><xLgr>AV. BRAZ LEME</xLgr><nro>SN</nro><xBairro>JD. SAO BENTO</xBairro><cMun>5006606</cMun><xMun>SAO PAULO</xMun><UF>MS</UF><CEP>02511000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>551139817200</fone></enderEmit><IE>283744545</IE><IM>00168058004</IM><CNAE>6201500</CNAE><CRT>3</CRT></emit><dest><CPF>38296227088</CPF><xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome><enderDest><xLgr>AVENIDA TESTE TESTE</xLgr><nro>SN</nro><xBairro>CENTRO</xBairro><cMun>5002704</cMun><xMun>CAMPO GRANDE</xMun><UF>MS</UF><CEP>79002530</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>736730271629</fone></enderDest><indIEDest>2</indIEDest></dest><det nItem="1"><prod><cProd>TSS000000000002</cProd><cEAN>SEM GTIN</cEAN><xProd>PRODUTO ICMS ORIG 0</xProd><NCM>73239300</NCM><CEST>1005900</CEST><cBenef></cBenef><CFOP>5102</CFOP><uCom>UN</uCom><qCom>1.0000</qCom><vUnCom>500.00000000</vUnCom><vProd>500.00</vProd><cEANTrib>SEM GTIN</cEANTrib><uTrib>UN</uTrib><qTrib>1.0000</qTrib><vUnTrib>500.00000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS60><orig>0</orig><CST>60</CST><vBCSTRet>0</vBCSTRet><pST>0.0000</pST><vICMSSubstituto>0</vICMSSubstituto><vICMSSTRet>0</vICMSSTRet><pRedBCEfet>0.0000</pRedBCEfet><vBCEfet>500.00</vBCEfet><pICMSEfet>18.0000</pICMSEfet><vICMSEfet>90.00</vICMSEfet></ICMS60></ICMS><PIS><PISAliq><CST>01</CST><vBC>500.00</vBC><pPIS>0.6500</pPIS><vPIS>3.25</vPIS></PISAliq></PIS><COFINS><COFINSAliq><CST>01</CST><vBC>500.00</vBC><pCOFINS>2.0000</pCOFINS><vCOFINS>10.00</vCOFINS></COFINSAliq></COFINS></imposto></det><total><ICMSTot><vBC>0</vBC><vICMS>0</vICMS><vICMSDeson>0</vICMSDeson><vFCPUFDest>0</vFCPUFDest><vICMSUFDest>0</vICMSUFDest><vICMSUFRemet>0</vICMSUFRemet><vFCP>0</vFCP><vBCST>0</vBCST><vST>0</vST><vFCPST>0</vFCPST><vFCPSTRet>0</vFCPSTRet><vProd>500.00</vProd><vFrete>0</vFrete><vSeg>0</vSeg><vDesc>0</vDesc><vII>0</vII><vIPI>0</vIPI><vIPIDevol>0</vIPIDevol><vPIS>3.25</vPIS><vCOFINS>10.00</vCOFINS><vOutro>0</vOutro><vNF>500.00</vNF></ICMSTot></total><transp><modFrete>1</modFrete></transp><pag><detPag><indPag>0</indPag><tPag>01</tPag><vPag>500.00</vPag></detPag></pag><infAdic><infCpl>teste & teste</infCpl></infAdic><infRespTec><CNPJ>53113791000122</CNPJ><xContato>Rodrigo de Almeida Sartorio</xContato><email>resp_tecnico_dfe_protheus@totvs.com.br</email><fone>1128593904</fone></infRespTec></infNFe><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe50191215103473000191555650001000261100301342"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>YnlXshf4V4hYE0Ti6bzBEriMtbI=</DigestValue></Reference></SignedInfo><SignatureValue>VxflH6mHq5bdSw8zYG6mBSoP5XeZsZ8weMUssz+YtCDq0CkW5QTQw9qyWhFcgbXEcNm/nemHChZ53ldgSFhxTLawz5n9+1gVMX2RMZ3OKfU1ReAkDcLBd+RzBWAobDcRNKK+UwqqlE2BV6nCg8WwbTrBdsWG2qkjs42hAOpFZ+W5RV9rBE2KsnqHWI+GBkIx5AtroRYFLUseJ554NTXTNARB4CzaPopapbv58cNJzUPgDeQclIFp64ZMjZhuXe9bvquIv7jqNYG70OBwxYT+bjVAxO/Hkxcjlr/0LkQJ2lUUzgRiQZ4aQtXH5pGoQSINJTN8i/L2Kr9VZv+NjJuQtw==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIHpzCCBY+gAwIBAgIIbzybbZzSm0wwDQYJKoZIhvcNAQELBQAwTDELMAkGA1UEBhMCQlIxEzARBgNVBAoMCklDUC1CcmFzaWwxKDAmBgNVBAMMH1NFUkFTQSBDZXJ0aWZpY2Fkb3JhIERpZ2l0YWwgdjUwHhcNMTkwNTA2MTQ1MjAwWhcNMjAwNTA1MTQ1MjAwWjCB+zELMAkGA1UEBhMCQlIxEzARBgNVBAoMCklDUC1CcmFzaWwxFDASBgNVBAsMCyhFTSBCUkFOQ08pMRgwFgYDVQQLDA8wMDAwMDEwMDkwMDg4MjYx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gdcZJ/YycmC02RaYAo5lPqdydlvMlfE0z2ZWS4tT1lgLOK7q9vx43JijKhz7aOowdPdZ06owiyCmpAbKQf+IQYgKw8AbTRjzhyvIB1Pb98KrEArRUXfAEtuDx2829wBARWyI+Db+ghy0/Nb/koFAqfMnT9h695irWitolmgkXjvVC4uu3OCKU7XA==</X509Certificate></X509Data></KeyInfo></Signature></NFe>]]></XML>
                     <XMLPROT><![CDATA[<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00"><infProt><tpAmb>2</tpAmb><verAplic>MS_9.83.29</verAplic><chNFe>50191215103473000191555650001000261100301342</chNFe><dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto><nProt>150190000142145</nProt><digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo><cMsg>200</cMsg><xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg></infProt></protNFe>]]></XMLPROT>
                  </NFE>
               </NFES3>
            </NOTAS>
         </RETORNANOTASRESULT>
   </RETORNANOTASRESPONSE>
Code Block
languagexml
titleConteúdo <XMLPROT>
<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00">
	<infProt>
		<tpAmb>2</tpAmb>
		<verAplic>MS_9.83.29</verAplic>
		<chNFe>50191215103473000191555650001000261100301342</chNFe>
		<dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto>
		<nProt>150190000142145</nProt>
		<digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal>
		<cStat>100</cStat>
		<xMotivo>Autorizado o uso da NF-e</xMotivo>
		<cMsg>200</cMsg>
		<xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg>
	</infProt>
</protNFe>
Card
id15
labelRetornaNotasDepecNx
titleRetornaNotasDepecNx

As dezenas serão informadas dentro da tag XMLPROT

Code Block
languagexml
firstline1
titleExemplo:
      <RETORNANOTASDEPECNXRESPONSE xmlns="http://webservices.totvs.com.br/nfsebra.apw">
         <RETORNANOTASDEPECNXRESULT>
            <NOTAS>
               <NFES9>
                  <ID>565000100026</ID>
                  <NFE>
                     <PROTOCOLO>150190000142145</PROTOCOLO>
                     <XML><![CDATA[<NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe50191215103473000191555650001000261100301342" versao="4.00"><ide><cUF>50</cUF><cNF>10030134</cNF><natOp>SAIDA DE MERCADORIAS</natOp><mod>55</mod><serie>565</serie><nNF>100026</nNF><dhEmi>2019-12-23T15:13:00-04:00</dhEmi><dhSaiEnt>2019-12-23T15:13:00-04:00</dhSaiEnt><tpNF>1</tpNF><idDest>1</idDest><cMunFG>5006606</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>2</cDV><tpAmb>2</tpAmb><finNFe>1</finNFe><indFinal>1</indFinal><indPres>9</indPres><procEmi>0</procEmi><verProc>12.1.025 | 3.0</verProc></ide><emit><CNPJ>15103473000191</CNPJ><xNome>TOTVS S/A</xNome><xFant>TESTE</xFant><enderEmit><xLgr>AV. BRAZ LEME</xLgr><nro>SN</nro><xBairro>JD. SAO BENTO</xBairro><cMun>5006606</cMun><xMun>SAO PAULO</xMun><UF>MS</UF><CEP>02511000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>551139817200</fone></enderEmit><IE>283744545</IE><IM>00168058004</IM><CNAE>6201500</CNAE><CRT>3</CRT></emit><dest><CPF>38296227088</CPF><xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome><enderDest><xLgr>AVENIDA TESTE TESTE</xLgr><nro>SN</nro><xBairro>CENTRO</xBairro><cMun>5002704</cMun><xMun>CAMPO GRANDE</xMun><UF>MS</UF><CEP>79002530</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>736730271629</fone></enderDest><indIEDest>2</indIEDest></dest><det nItem="1"><prod><cProd>TSS000000000002</cProd><cEAN>SEM GTIN</cEAN><xProd>PRODUTO ICMS ORIG 0</xProd><NCM>73239300</NCM><CEST>1005900</CEST><cBenef></cBenef><CFOP>5102</CFOP><uCom>UN</uCom><qCom>1.0000</qCom><vUnCom>500.00000000</vUnCom><vProd>500.00</vProd><cEANTrib>SEM GTIN</cEANTrib><uTrib>UN</uTrib><qTrib>1.0000</qTrib><vUnTrib>500.00000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS60><orig>0</orig><CST>60</CST><vBCSTRet>0</vBCSTRet><pST>0.0000</pST><vICMSSubstituto>0</vICMSSubstituto><vICMSSTRet>0</vICMSSTRet><pRedBCEfet>0.0000</pRedBCEfet><vBCEfet>500.00</vBCEfet><pICMSEfet>18.0000</pICMSEfet><vICMSEfet>90.00</vICMSEfet></ICMS60></ICMS><PIS><PISAliq><CST>01</CST><vBC>500.00</vBC><pPIS>0.6500</pPIS><vPIS>3.25</vPIS></PISAliq></PIS><COFINS><COFINSAliq><CST>01</CST><vBC>500.00</vBC><pCOFINS>2.0000</pCOFINS><vCOFINS>10.00</vCOFINS></COFINSAliq></COFINS></imposto></det><total><ICMSTot><vBC>0</vBC><vICMS>0</vICMS><vICMSDeson>0</vICMSDeson><vFCPUFDest>0</vFCPUFDest><vICMSUFDest>0</vICMSUFDest><vICMSUFRemet>0</vICMSUFRemet><vFCP>0</vFCP><vBCST>0</vBCST><vST>0</vST><vFCPST>0</vFCPST><vFCPSTRet>0</vFCPSTRet><vProd>500.00</vProd><vFrete>0</vFrete><vSeg>0</vSeg><vDesc>0</vDesc><vII>0</vII><vIPI>0</vIPI><vIPIDevol>0</vIPIDevol><vPIS>3.25</vPIS><vCOFINS>10.00</vCOFINS><vOutro>0</vOutro><vNF>500.00</vNF></ICMSTot></total><transp><modFrete>1</modFrete></transp><pag><detPag><indPag>0</indPag><tPag>01</tPag><vPag>500.00</vPag></detPag></pag><infAdic><infCpl>teste & teste</infCpl></infAdic><infRespTec><CNPJ>53113791000122</CNPJ><xContato>Rodrigo de Almeida Sartorio</xContato><email>resp_tecnico_dfe_protheus@totvs.com.br</email><fone>1128593904</fone></infRespTec></infNFe><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe50191215103473000191555650001000261100301342"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>YnlXshf4V4hYE0Ti6bzBEriMtbI=</DigestValue></Reference></SignedInfo><SignatureValue>VxflH6mHq5bdSw8zYG6mBSoP5XeZsZ8weMUssz+YtCDq0CkW5QTQw9qyWhFcgbXEcNm/nemHChZ53ldgSFhxTLawz5n9+1gVMX2RMZ3OKfU1ReAkDcLBd+RzBWAobDcRNKK+UwqqlE2BV6nCg8WwbTrBdsWG2qkjs42hAOpFZ+W5RV9rBE2KsnqHWI+GBkIx5AtroRYFLUseJ554NTXTNARB4CzaPopapbv58cNJzUPgDeQclIFp64ZMjZhuXe9bvquIv7jqNYG70OBwxYT+bjVAxO/Hkxcjlr/0LkQJ2lUUzgRiQZ4aQtXH5pGoQSINJTN8i/L2Kr9VZv+NjJuQtw==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIHpzCCBY+gAwIBAgIIbzybbZzSm0wwDQYJKoZIhvcNAQELBQAwTDELMAkGA1UEBhMCQlIxEzARBgNVBAoMCklDUC1CcmFzaWwxKDAmBgNVBAMMH1NFUkFTQSBDZXJ0aWZpY2Fkb3JhIERpZ2l0YWwgdjUwHhcNMTkwNTA2MTQ1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dXYIRSSTrBSid6jRsKnK1g21t6MeeOxTkjIMsc8W7ch624PwwIQilOYCKU1LPD+2NiBDx+KY5nHyt4FQ2SIMnffvtUVeAk+9U22PAYG8h2zYn/w6KCMdIU/z99yaEJzhkzOgSwtgvY7givMQhRgdcZJ/YycmC02RaYAo5lPqdydlvMlfE0z2ZWS4tT1lgLOK7q9vx43JijKhz7aOowdPdZ06owiyCmpAbKQf+IQYgKw8AbTRjzhyvIB1Pb98KrEArRUXfAEtuDx2829wBARWyI+Db+ghy0/Nb/koFAqfMnT9h695irWitolmgkXjvVC4uu3OCKU7XA==</X509Certificate></X509Data></KeyInfo></Signature></NFe>]]></XML>
                     <XMLPROT><![CDATA[<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00"><infProt><tpAmb>2</tpAmb><verAplic>MS_9.83.29</verAplic><chNFe>50191215103473000191555650001000261100301342</chNFe><dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto><nProt>150190000142145</nProt><digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo><cMsg>200</cMsg><xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg></infProt></protNFe>]]></XMLPROT>
                  </NFE>
               </NFES9>
            </NOTAS>
         </RETORNANOTASDEPECNXRESULT>
      </RETORNANOTASDEPECNXRESPONSE>
Code Block
languagexml
titleConteúdo <XMLPROT>
<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00">
	<infProt>
		<tpAmb>2</tpAmb>
		<verAplic>MS_9.83.29</verAplic>
		<chNFe>50191215103473000191555650001000261100301342</chNFe>
		<dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto>
		<nProt>150190000142145</nProt>
		<digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal>
		<cStat>100</cStat>
		<xMotivo>Autorizado o uso da NF-e</xMotivo>
		<cMsg>200</cMsg>
		<xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg>
	</infProt>
</protNFe>
Card
id16
labelRetornaNotasNX
titleRetornaNotasNX

As dezenas serão informadas dentro da tag XMLPROT

Code Block
languagexml
titleExemplo:
      <RETORNANOTASNXRESPONSE xmlns="http://webservices.totvs.com.br/nfsebra.apw">
         <RETORNANOTASNXRESULT>
            <NOTAS>
               <NFES5>
                  <ID>565000100026</ID>
                  <MODALIDADETRANS>1</MODALIDADETRANS>
                  <NFE>
                     <PROTOCOLO>150190000142145</PROTOCOLO>
                     <XML><![CDATA[<NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe50191215103473000191555650001000261100301342" versao="4.00"><ide><cUF>50</cUF><cNF>10030134</cNF><natOp>SAIDA DE MERCADORIAS</natOp><mod>55</mod><serie>565</serie><nNF>100026</nNF><dhEmi>2019-12-23T15:13:00-04:00</dhEmi><dhSaiEnt>2019-12-23T15:13:00-04:00</dhSaiEnt><tpNF>1</tpNF><idDest>1</idDest><cMunFG>5006606</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>2</cDV><tpAmb>2</tpAmb><finNFe>1</finNFe><indFinal>1</indFinal><indPres>9</indPres><procEmi>0</procEmi><verProc>12.1.025 | 3.0</verProc></ide><emit><CNPJ>15103473000191</CNPJ><xNome>TOTVS S/A</xNome><xFant>TESTE</xFant><enderEmit><xLgr>AV. BRAZ LEME</xLgr><nro>SN</nro><xBairro>JD. SAO BENTO</xBairro><cMun>5006606</cMun><xMun>SAO PAULO</xMun><UF>MS</UF><CEP>02511000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>551139817200</fone></enderEmit><IE>283744545</IE><IM>00168058004</IM><CNAE>6201500</CNAE><CRT>3</CRT></emit><dest><CPF>38296227088</CPF><xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome><enderDest><xLgr>AVENIDA TESTE TESTE</xLgr><nro>SN</nro><xBairro>CENTRO</xBairro><cMun>5002704</cMun><xMun>CAMPO GRANDE</xMun><UF>MS</UF><CEP>79002530</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>736730271629</fone></enderDest><indIEDest>2</indIEDest></dest><det nItem="1"><prod><cProd>TSS000000000002</cProd><cEAN>SEM GTIN</cEAN><xProd>PRODUTO ICMS ORIG 0</xProd><NCM>73239300</NCM><CEST>1005900</CEST><cBenef></cBenef><CFOP>5102</CFOP><uCom>UN</uCom><qCom>1.0000</qCom><vUnCom>500.00000000</vUnCom><vProd>500.00</vProd><cEANTrib>SEM GTIN</cEANTrib><uTrib>UN</uTrib><qTrib>1.0000</qTrib><vUnTrib>500.00000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS60><orig>0</orig><CST>60</CST><vBCSTRet>0</vBCSTRet><pST>0.0000</pST><vICMSSubstituto>0</vICMSSubstituto><vICMSSTRet>0</vICMSSTRet><pRedBCEfet>0.0000</pRedBCEfet><vBCEfet>500.00</vBCEfet><pICMSEfet>18.0000</pICMSEfet><vICMSEfet>90.00</vICMSEfet></ICMS60></ICMS><PIS><PISAliq><CST>01</CST><vBC>500.00</vBC><pPIS>0.6500</pPIS><vPIS>3.25</vPIS></PISAliq></PIS><COFINS><COFINSAliq><CST>01</CST><vBC>500.00</vBC><pCOFINS>2.0000</pCOFINS><vCOFINS>10.00</vCOFINS></COFINSAliq></COFINS></imposto></det><total><ICMSTot><vBC>0</vBC><vICMS>0</vICMS><vICMSDeson>0</vICMSDeson><vFCPUFDest>0</vFCPUFDest><vICMSUFDest>0</vICMSUFDest><vICMSUFRemet>0</vICMSUFRemet><vFCP>0</vFCP><vBCST>0</vBCST><vST>0</vST><vFCPST>0</vFCPST><vFCPSTRet>0</vFCPSTRet><vProd>500.00</vProd><vFrete>0</vFrete><vSeg>0</vSeg><vDesc>0</vDesc><vII>0</vII><vIPI>0</vIPI><vIPIDevol>0</vIPIDevol><vPIS>3.25</vPIS><vCOFINS>10.00</vCOFINS><vOutro>0</vOutro><vNF>500.00</vNF></ICMSTot></total><transp><modFrete>1</modFrete></transp><pag><detPag><indPag>0</indPag><tPag>01</tPag><vPag>500.00</vPag></detPag></pag><infAdic><infCpl>teste & teste</infCpl></infAdic><infRespTec><CNPJ>53113791000122</CNPJ><xContato>Rodrigo de Almeida Sartorio</xContato><email>resp_tecnico_dfe_protheus@totvs.com.br</email><fone>1128593904</fone></infRespTec></infNFe><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe50191215103473000191555650001000261100301342"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>YnlXshf4V4hYE0Ti6bzBEriMtbI=</DigestValue></Reference></SignedInfo><SignatureValue>VxflH6mHq5bdSw8zYG6mBSoP5XeZsZ8weMUssz+YtCDq0CkW5QTQw9qyWhFcgbXEcNm/nemHChZ53ldgSFhxTLawz5n9+1gVMX2RMZ3OKfU1ReAkDcLBd+RzBWAobDcRNKK+UwqqlE2BV6nCg8WwbTrBdsWG2qkjs42hAOpFZ+W5RV9rBE2KsnqHWI+GBkIx5AtroRYFLUseJ554NTXTNARB4CzaPopapbv58cNJzUPgDeQclIFp64ZMjZhuXe9bvquIv7jqNYG70OBwxYT+bjVAxO/Hkxcjlr/0LkQJ2lUUzgRiQZ4aQtXH5pGoQSINJTN8i/L2Kr9VZv+NjJuQtw==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIHpzCCBY+g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W0Cq60l+QTvIJuc8zePaVZYD+5e/D4iDK7+zbBp4UhL/FcADHQcn25245wHiNiFbcHY6cJ+JPeu1VZb6YjGLpgxA7aDIR3lvNvOZ0DFexLuErXPoCcOySoA5Dy9dSYsolu2GV/PuCAUHf7aTzeaueYdpZjNfSjlxAyEUjdXYIRSSTrBSid6jRsKnK1g21t6MeeOxTkjIMsc8W7ch624PwwIQilOYCKU1LPD+2NiBDx+KY5nHyt4FQ2SIMnffvtUVeAk+9U22PAYG8h2zYn/w6KCMdIU/z99yaEJzhkzOgSwtgvY7givMQhRgdcZJ/YycmC02RaYAo5lPqdydlvMlfE0z2ZWS4tT1lgLOK7q9vx43JijKhz7aOowdPdZ06owiyCmpAbKQf+IQYgKw8AbTRjzhyvIB1Pb98KrEArRUXfAEtuDx2829wBARWyI+Db+ghy0/Nb/koFAqfMnT9h695irWitolmgkXjvVC4uu3OCKU7XA==</X509Certificate></X509Data></KeyInfo></Signature></NFe>]]></XML>
                     <XMLPROT><![CDATA[<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00"><infProt><tpAmb>2</tpAmb><verAplic>MS_9.83.29</verAplic><chNFe>50191215103473000191555650001000261100301342</chNFe><dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto><nProt>150190000142145</nProt><digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo><cMsg>200</cMsg><xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg></infProt></protNFe>]]></XMLPROT>
                  </NFE>
               </NFES5>
            </NOTAS>
         </RETORNANOTASNXRESULT>
      </RETORNANOTASNXRESPONSE>
Code Block
languagexml
titleConteúdo <XMLPROT>
<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00">
	<infProt>
		<tpAmb>2</tpAmb>
		<verAplic>MS_9.83.29</verAplic>
		<chNFe>50191215103473000191555650001000261100301342</chNFe>
		<dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto>
		<nProt>150190000142145</nProt>
		<digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal>
		<cStat>100</cStat>
		<xMotivo>Autorizado o uso da NF-e</xMotivo>
		<cMsg>200</cMsg>
		<xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg>
	</infProt>
</protNFe>
Card
id17
labelRetornaNX
titleRetornaNX

As dezenas serão informadas dentro da tag XMLPROT

Code Block
languagexml
titleExemplo:
<RETORNANXRESPONSE xmlns="http://webservices.totvs.com.br/nfsebra.apw">
         <RETORNANXRESULT>
            <NOTAS>
               <NFES5>
                  <ID>565000100026</ID>
                  <NFE>
                     <PROTOCOLO>150190000142145</PROTOCOLO>
                     <XML><![CDATA[<NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe50191215103473000191555650001000261100301342" versao="4.00"><ide><cUF>50</cUF><cNF>10030134</cNF><natOp>SAIDA DE MERCADORIAS</natOp><mod>55</mod><serie>565</serie><nNF>100026</nNF><dhEmi>2019-12-23T15:13:00-04:00</dhEmi><dhSaiEnt>2019-12-23T15:13:00-04:00</dhSaiEnt><tpNF>1</tpNF><idDest>1</idDest><cMunFG>5006606</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>2</cDV><tpAmb>2</tpAmb><finNFe>1</finNFe><indFinal>1</indFinal><indPres>9</indPres><procEmi>0</procEmi><verProc>12.1.025 | 3.0</verProc></ide><emit><CNPJ>15103473000191</CNPJ><xNome>TOTVS S/A</xNome><xFant>TESTE</xFant><enderEmit><xLgr>AV. BRAZ LEME</xLgr><nro>SN</nro><xBairro>JD. SAO BENTO</xBairro><cMun>5006606</cMun><xMun>SAO PAULO</xMun><UF>MS</UF><CEP>02511000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>551139817200</fone></enderEmit><IE>283744545</IE><IM>00168058004</IM><CNAE>6201500</CNAE><CRT>3</CRT></emit><dest><CPF>38296227088</CPF><xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome><enderDest><xLgr>AVENIDA TESTE TESTE</xLgr><nro>SN</nro><xBairro>CENTRO</xBairro><cMun>5002704</cMun><xMun>CAMPO GRANDE</xMun><UF>MS</UF><CEP>79002530</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>736730271629</fone></enderDest><indIEDest>2</indIEDest></dest><det nItem="1"><prod><cProd>TSS000000000002</cProd><cEAN>SEM GTIN</cEAN><xProd>PRODUTO ICMS ORIG 0</xProd><NCM>73239300</NCM><CEST>1005900</CEST><cBenef></cBenef><CFOP>5102</CFOP><uCom>UN</uCom><qCom>1.0000</qCom><vUnCom>500.00000000</vUnCom><vProd>500.00</vProd><cEANTrib>SEM GTIN</cEANTrib><uTrib>UN</uTrib><qTrib>1.0000</qTrib><vUnTrib>500.00000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS60><orig>0</orig><CST>60</CST><vBCSTRet>0</vBCSTRet><pST>0.0000</pST><vICMSSubstituto>0</vICMSSubstituto><vICMSSTRet>0</vICMSSTRet><pRedBCEfet>0.0000</pRedBCEfet><vBCEfet>500.00</vBCEfet><pICMSEfet>18.0000</pICMSEfet><vICMSEfet>90.00</vICMSEfet></ICMS60></ICMS><PIS><PISAliq><CST>01</CST><vBC>500.00</vBC><pPIS>0.6500</pPIS><vPIS>3.25</vPIS></PISAliq></PIS><COFINS><COFINSAliq><CST>01</CST><vBC>500.00</vBC><pCOFINS>2.0000</pCOFINS><vCOFINS>10.00</vCOFINS></COFINSAliq></COFINS></imposto></det><total><ICMSTot><vBC>0</vBC><vICMS>0</vICMS><vICMSDeson>0</vICMSDeson><vFCPUFDest>0</vFCPUFDest><vICMSUFDest>0</vICMSUFDest><vICMSUFRemet>0</vICMSUFRemet><vFCP>0</vFCP><vBCST>0</vBCST><vST>0</vST><vFCPST>0</vFCPST><vFCPSTRet>0</vFCPSTRet><vProd>500.00</vProd><vFrete>0</vFrete><vSeg>0</vSeg><vDesc>0</vDesc><vII>0</vII><vIPI>0</vIPI><vIPIDevol>0</vIPIDevol><vPIS>3.25</vPIS><vCOFINS>10.00</vCOFINS><vOutro>0</vOutro><vNF>500.00</vNF></ICMSTot></total><transp><modFrete>1</modFrete></transp><pag><detPag><indPag>0</indPag><tPag>01</tPag><vPag>500.00</vPag></detPag></pag><infAdic><infCpl>teste & teste</infCpl></infAdic><infRespTec><CNPJ>53113791000122</CNPJ><xContato>Rodrigo de Almeida Sartorio</xContato><email>resp_tecnico_dfe_protheus@totvs.com.br</email><fone>1128593904</fone></infRespTec></infNFe><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe50191215103473000191555650001000261100301342"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>YnlXshf4V4hYE0Ti6bzBEriMtbI=</DigestValue></Reference></SignedInfo><SignatureValue>VxflH6mHq5bdSw8zYG6mBSoP5XeZsZ8weMUssz+YtCDq0CkW5QTQw9qyWhFcgbXEcNm/nemHChZ53ldgSFhxTLawz5n9+1gVMX2RMZ3OKfU1ReAkDcLBd+RzBWAobDcRNKK+UwqqlE2BV6nCg8WwbTrBdsWG2qkjs42hAOpFZ+W5RV9rBE2KsnqHWI+GBkIx5AtroRYFLUseJ554NTXTNARB4CzaPopapbv58cNJzUPgDeQclIFp64ZMjZhuXe9bvquIv7jqNYG70OBwxYT+bj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5hzHnwt+jLLmSWvXZ1PAmId+OMPEClt04R305w9SCfFXnZ6B2Q3U6jL7tneOoJFDewZ2MpAO3/BcohvKh95M9vcbBa9pqaMnmqR9uDVIvGNkxKWfW0Cq60l+QTvIJuc8zePaVZYD+5e/D4iDK7+zbBp4UhL/FcADHQcn25245wHiNiFbcHY6cJ+JPeu1VZb6YjGLpgxA7aDIR3lvNvOZ0DFexLuErXPoCcOySoA5Dy9dSYsolu2GV/PuCAUHf7aTzeaueYdpZjNfSjlxAyEUjdXYIRSSTrBSid6jRsKnK1g21t6MeeOxTkjIMsc8W7ch624PwwIQilOYCKU1LPD+2NiBDx+KY5nHyt4FQ2SIMnffvtUVeAk+9U22PAYG8h2zYn/w6KCMdIU/z99yaEJzhkzOgSwtgvY7givMQhRgdcZJ/YycmC02RaYAo5lPqdydlvMlfE0z2ZWS4tT1lgLOK7q9vx43JijKhz7aOowdPdZ06owiyCmpAbKQf+IQYgKw8AbTRjzhyvIB1Pb98KrEArRUXfAEtuDx2829wBARWyI+Db+ghy0/Nb/koFAqfMnT9h695irWitolmgkXjvVC4uu3OCKU7XA==</X509Certificate></X509Data></KeyInfo></Signature></NFe>]]></XML>
                     <XMLPROT><![CDATA[<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00"><infProt><tpAmb>2</tpAmb><verAplic>MS_9.83.29</verAplic><chNFe>50191215103473000191555650001000261100301342</chNFe><dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto><nProt>150190000142145</nProt><digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo><cMsg>200</cMsg><xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg></infProt></protNFe>]]></XMLPROT>
                  </NFE>
               </NFES5>
            </NOTAS>
         </RETORNANXRESULT>
</RETORNANXRESPONSE>
Code Block
languagexml
titleConteúdo <XMLPROT>
<protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="4.00">
	<infProt>
		<tpAmb>2</tpAmb>
		<verAplic>MS_9.83.29</verAplic>
		<chNFe>50191215103473000191555650001000261100301342</chNFe>
		<dhRecbto>2019-12-23T16:17:17-04:00</dhRecbto>
		<nProt>150190000142145</nProt>
		<digVal>YnlXshf4V4hYE0Ti6bzBEriMtbI=</digVal>
		<cStat>100</cStat>
		<xMotivo>Autorizado o uso da NF-e</xMotivo>
		<cMsg>200</cMsg>
		<xMsg>NOTA MS PREMIADA | DEZENAS: ( 11 13 18 26 47 48 49 53 ) | www.notamspremiada.ms.gov.br</xMsg>
	</infProt>
</protNFe>
Tip
titleDocumentação dos Métodos

A documentação completa para cada método está disponível nesse link: WebServices

DANFE

As informações de dezenas geradas para a NF-e serão impressas no DANFE do TSS, no quadro Dados Adicionais → Reservado ao Fisco, conforme exemplo abaixo:




Este documento é material de especificação dos requisitos de inovação, trata-se de conteúdo extremamente técnico.