Last active
August 29, 2015 14:24
-
-
Save danielgoncalves/0c7f0366cd15f057a392 to your computer and use it in GitHub Desktop.
XML de referência usado na função TesteFimAFim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<CFe> | |
<infCFe versaoDadosEnt="0.06"> | |
<ide> | |
<CNPJ>08427847000169</CNPJ> | |
<signAC>SGR-SAT SISTEMA DE GESTAO E RETAGUARDA DO SAT</signAC> | |
<numeroCaixa>002</numeroCaixa> | |
</ide> | |
<emit> | |
<CNPJ>61099008000141</CNPJ> | |
<IE>111111111111</IE> | |
<IM>12345</IM> | |
<cRegTribISSQN>3</cRegTribISSQN> | |
<indRatISSQN>N</indRatISSQN> | |
</emit> | |
<dest/> | |
<det nItem="1"> | |
<prod> | |
<cProd>123456</cProd> | |
<xProd>BORRACHA STAEDTLER pvc-free</xProd> | |
<CFOP>5102</CFOP> | |
<uCom>UN</uCom> | |
<qCom>1.0000</qCom> | |
<vUnCom>5.75</vUnCom> | |
<indRegra>A</indRegra> | |
</prod> | |
<imposto> | |
<ICMS> | |
<ICMSSN102> | |
<Orig>0</Orig> | |
<CSOSN>500</CSOSN> | |
</ICMSSN102> | |
</ICMS> | |
<PIS> | |
<PISSN> | |
<CST>49</CST> | |
</PISSN> | |
</PIS> | |
<COFINS> | |
<COFINSSN> | |
<CST>49</CST> | |
</COFINSSN> | |
</COFINS> | |
</imposto> | |
</det> | |
<total/> | |
<pgto> | |
<MP> | |
<cMP>01</cMP> | |
<vMP>10.00</vMP> | |
</MP> | |
</pgto> | |
</infCFe> | |
</CFe> |
Na versão anterior a tag emit
estava ausente. Mesmo inserindo a tag emit
, o erro 09099
persiste.
Nesta terceira revisão a função TesteFimaAFim
passa, resultando 09000
"Emitido com sucesso".
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Por alguma razão, comecei a receber a resposta
09099
"Erro desconhecido" ao submeter este XML ao equipamento SAT. Investigando se há alguma inconformidade.