{{ idLote }}
{{ indSinc }}
{% for NFe in NFes %}
{% with ide = NFe.infNFe.ide %}
{{ ide.cUF }}
{{ ide.cNF }}
{{ ide.natOp }}
{{ ide.indPag }}
{{ ide.mod }}
{{ ide.serie }}
{{ ide.nNF }}
{{ ide.dhEmi }}
{{ ide.dhSaiEnt }}
{{ ide.tpNF }}
{{ ide.idDest }}
{{ ide.cMunFG }}
{{ ide.tpImp }}
{{ ide.tpEmis }}
{{ ide.cDV }}
{{ ide.tpAmb }}
{{ ide.finNFe }}
{{ ide.indFinal }}
{{ ide.indPres }}
{{ ide.procEmi }}
Odoo Brasil 9.0
{% endwith %}
{% with emit = NFe.infNFe.emit %}
{% if emit.tipo == 'person' -%}
{{ emit.cnpj_cpf }}
{% endif %}
{% if emit.tipo == 'company' -%}
{{ emit.cnpj_cpf }}
{% endif %}
{{ emit.xNome }}
{{ emit.xFant }}
{{ emit.enderEmit.xLgr }}
{{ emit.enderEmit.nro }}
{{ emit.enderEmit.xBairro }}
{{ emit.enderEmit.cMun }}
{{ emit.enderEmit.xMun }}
{{ emit.enderEmit.UF }}
{{ emit.enderEmit.CEP }}
{{ emit.enderEmit.cPais }}
{{ emit.enderEmit.xPais }}
{{ emit.enderEmit.fone }}
{{ emit.IE }}
{{ emit.CRT }}
{% endwith %}
{% with dest = NFe.infNFe.dest %}
{% if dest.tipo == 'person' -%}
{{ dest.cnpj_cpf }}
{% endif %}
{% if dest.tipo == 'company' -%}
{{ dest.cnpj_cpf }}
{% endif %}
{{ dest.xNome }}
{{ dest.enderDest.xLgr }}
{{ dest.enderDest.nro }}
{{ dest.enderDest.xBairro }}
{{ dest.enderDest.cMun }}
{{ dest.enderDest.xMun }}
{{ dest.enderDest.UF }}
{{ dest.enderDest.CEP }}
{{ dest.enderDest.cPais }}
{{ dest.enderDest.xPais }}
{{ dest.enderDest.fone }}
{{ dest.indIEDest }}
{% if dest.IE != '' -%}{{ dest.IE }}{% endif %}
{% endwith %}
{% for det in NFe.infNFe.detalhes %}
{% with prod = det.prod %}
{{ prod.cProd }}
{{ prod.cEAN }}
{{ prod.xProd }}
{{ prod.NCM }}
{{ prod.CFOP }}
{{ prod.uCom }}
{{ prod.qCom }}
{{ prod.vUnCom }}
{{ prod.vProd }}
{{ prod.cEANTrib }}
{{ prod.uTrib }}
{{ prod.qTrib }}
{{ prod.vUnTrib }}
{{ prod.indTot }}
{% endwith %}
{% with imposto = det.imposto %}
{{ imposto.vTotTrib }}
{% if imposto.ICMS.CST == '00' -%}
{{ imposto.ICMS.orig }}
{{ imposto.ICMS.CST }}
{{ imposto.ICMS.modBC }}
{{ imposto.ICMS.vBC }}
{{ imposto.ICMS.pICMS }}
{{ imposto.ICMS.vICMS }}
{% endif %}
{% if imposto.ICMS.CST == '101' -%}
{{ imposto.ICMS.orig }}
{{ imposto.ICMS.CST }}
{{ imposto.ICMS.pCredSN }}
{{ imposto.ICMS.vCredICMSSN }}
{% endif %}
{% if imposto.ICMS.CST == '102' -%}
{{ imposto.ICMS.orig }}
{{ imposto.ICMS.CST }}
{% endif %}
{{ imposto.IPI.cEnq }}
{{ imposto.IPI.IPITrib.CST }}
{{ imposto.IPI.IPITrib.vBC }}
{{ imposto.IPI.IPITrib.pIPI }}
{{ imposto.IPI.IPITrib.vIPI }}
{{ imposto.PIS.PISAliq.CST }}
{{ imposto.PIS.PISAliq.vBC }}
{{ imposto.PIS.PISAliq.pPIS }}
{{ imposto.PIS.PISAliq.vPIS }}
{{ imposto.COFINS.COFINSAliq.CST }}
{{ imposto.COFINS.COFINSAliq.vBC }}
{{ imposto.COFINS.COFINSAliq.pCOFINS }}
{{ imposto.COFINS.COFINSAliq.vCOFINS }}
{% endwith %}
{% endfor %}
{% with total = NFe.infNFe.total %}
{{ total.vBC }}
{{ total.vICMS }}
{{ total.vICMSDeson }}
{{ total.vBCST }}
{{ total.vST }}
{{ total.vProd }}
{{ total.vFrete }}
{{ total.vSeg }}
{{ total.vDesc }}
{{ total.vII }}
{{ total.vIPI }}
{{ total.vPIS }}
{{ total.vCOFINS }}
{{ total.vOutro }}
{{ total.vNF }}
{{ total.vTotTrib }}
{% endwith %}
{{ NFe.infNFe.transp.modFrete }}
339/1
2016-06-02
8611.76
{{ NFe.infNFe.infAdic.infCpl }}
{% endfor %}