PHP Classes

File: examples/example.xml

Recommend this page to a friend!
  Classes of Amós Assis   CFE Printer   examples/example.xml   Download  
File: examples/example.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CFE Printer
Generate printable documents for sales in Brazil
Author: By
Last change:
Date: 1 year ago
Size: 5,688 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <CFe> <infCFe Id="CFe35190511111111111111591234567890000565685220" versao="0.06" versaoDadosEnt="0.07" versaoSB="000003"> <ide> <cUF>35</cUF> <cNF>568522</cNF> <mod>59</mod> <nserieSAT>123456789</nserieSAT> <nCFe>000056</nCFe> <dEmi>20190510</dEmi> <hEmi>104712</hEmi> <cDV>0</cDV> <tpAmb>2</tpAmb> <CNPJ>15423623000144</CNPJ> <signAC>123456789</signAC> <assinaturaQRCODE>BYFMlvM7Ozn8L97ryLu7rXhRknqlpcd1JSaYfgpqtGgwsuaT/OeDOeu1qshBMpKCbxqmdMPvHvg1fElu66RtjX2IHgVnZnVj0ccgpd07B7uoVSJPc9TvduacISp2P0XniAsrN/S69dSHXNk9KXtMsQ9NFpJbKqksqiBFEx1tlHmph8SrtRuiQyRL112OYoI5rvLnhqQGurouO5V2mnj7R6sd8LO+GhTMQoVRPVJPkLBHJahUQ0F2Hwxsb+4wE/V+yeC4C7sM/4yfHNbGoSwUshvh51yf1p/cwPCvwvBbUvk0S7835YMjuBiqNfEsTChk/cdyFmcVVSawCLq97kFCHQ==</assinaturaQRCODE> <numeroCaixa>001</numeroCaixa> </ide> <emit> <CNPJ>11111111111111</CNPJ> <xNome>Estabelecimento de Teste 2</xNome> <xFant>Estabelecimento Fantasia 2</xFant> <enderEmit> <xLgr>rua das flores</xLgr> <nro>1005</nro> <xCpl>frente</xCpl> <xBairro>centro</xBairro> <xMun>Sao Paulo</xMun> <CEP>00000000</CEP> </enderEmit> <IE>111111111111</IE> <cRegTrib>3</cRegTrib> <indRatISSQN>S</indRatISSQN> </emit> <dest> <xNome>VENDA A CONSUMIDOR</xNome> </dest> <det nItem="1"> <prod> <cProd>631722000</cProd> <xProd>RASPADOR DE REJUNTE STANDART CORTAG 60850000</xProd> <NCM>82055900</NCM> <CFOP>5405</CFOP> <uCom>PC</uCom> <qCom>1.0000</qCom> <vUnCom>43.90</vUnCom> <vProd>43.90</vProd> <indRegra>A</indRegra> <vItem>43.90</vItem> </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> <ICMSTot> <vICMS>0.00</vICMS> <vProd>43.90</vProd> <vDesc>0.00</vDesc> <vPIS>0.00</vPIS> <vCOFINS>0.00</vCOFINS> <vPISST>0.00</vPISST> <vCOFINSST>0.00</vCOFINSST> <vOutro>0.00</vOutro> </ICMSTot> <vCFe>43.90</vCFe> <vCFeLei12741>14.94</vCFeLei12741> </total> <pgto> <MP> <cMP>01</cMP> <vMP>50.00</vMP> </MP> <vTroco>6.10</vTroco> </pgto> <infAdic> <infCpl>Operador: caixa</infCpl> </infAdic> </infCFe> <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/2001/04/xmldsig-more#rsa-sha256"/> <Reference URI="#CFe35190511111111111111591234567890000565685220"> <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/2001/04/xmlenc#sha256"/> <DigestValue>8OlQ4tfhmbTTYKMW+owW7mLG4X1lQRu4JTYT5m1FcZI=</DigestValue> </Reference> </SignedInfo> <SignatureValue>AQhq8CB4nEYoIJhIGqX6batUZKBzzPnLfSwXHurjzdDsi+Wu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