{%for l in record %} {{ l.invoice.move.render.date }} {{ l.account.render.code}} {{ l.invoice.party.render.rec_name}} {% if l.invoice.party.raw.tax_identifier %}{{ l.invoice.party.tax_identifier.render.code}}{% endif %} {% if l.invoice.raw.state == 'cancel' %}*{% endif %}{{ l.invoice.render.number }} {{ l.invoice.render.invoice_date }} {% for tax_line in l.invoice.taxes %} {% if tax_line.tax.raw.id == l.tax.raw.id %} {% if tax_line.render.base %}{{tax_line.raw.company_base | render(digits=l.invoice.company.currency.raw.digits)}}{% else %}0.0{% endif %} {{ l.tax.raw.name }} {% if tax_line.render.amount %}{{ tax_line.raw.company_amount | render(digits=l.invoice.company.currency.raw.digits)}}{% else %}0.0{% endif %} {% set total = tax_line.raw.company_base + l.raw.company_amount%} {{ total | render(l.invoice.company.currency.raw.digits) }} {% endif %} {% endfor %} {{ l.invoice.raw.company_total_amount | render(digits=l.invoice.company.currency.raw.digits)}} {% endfor %}