{% set total_acumulado_g21 = 0 %}
{% set total_acumulado_g10 = 0 %}
{% set total_acumulado_exento = 0 %}
{% set total_acumulado_iva10 = 0 %}
{% set total_acumulado_iva21 = 0 %}
{% set total_acumulado_global = 0 %}
{% for fecha in fechas %}
Club94 Sport Center de Caramellino Gustavo
Hoja {{ loop.index }}
====================================
C.U.I.T.: 20-14305977-5
Periodo: {{ fechas[0] }} - {{ fechas[1] }}
{{ punto_de_venta }}
{% set total_acumulado_g21 = total_acumulado_g21+total_g21 %}
{% set total_acumulado_g10 = total_acumulado_g10+total_g10 %}
{% set total_acumulado_exento = total_acumulado_exento+total_exento %}
{% set total_acumulado_iva21 = total_acumulado_iva21+total_iva21 %}
{% set total_acumulado_iva10 = total_acumulado_iva10+total_iva10 %}
{% set total_acumulado_global = total_acumulado_global+total_global %}
{% set month = fecha | date('F') %}
Libro I.V.A. Ventas (Débitos - Créditos) - Día :
{{ fecha | date('d') }} de {{ month | trans }} de {{ fecha | date('Y') }}
{% set total_g21 = 0 %}
{% set total_g10 = 0 %}
{% set total_exento = 0 %}
{% set total_iva10 = 0 %}
{% set total_iva21 = 0 %}
{% set total_global = 0 %}
{% set total_consf_g21 = 0 %}
{% set total_consf_g10 = 0 %}
{% set total_consf_exento = 0 %}
{% set total_consf_iva21 = 0 %}
{% set total_consf_iva10 = 0 %}
{% set total_consf_global = 0 %}
{% set total_respi_g21 = 0 %}
{% set total_respi_g10 = 0 %}
{% set total_respi_exento = 0 %}
{% set total_respi_iva21 = 0 %}
{% set total_respi_iva10 = 0 %}
{% set total_respi_global = 0 %}
{% set total_respni_g21 = 0 %}
{% set total_respni_g10 = 0 %}
{% set total_respni_exento = 0 %}
{% set total_respni_iva21 = 0 %}
{% set total_respni_iva10 = 0 %}
{% set total_respni_global = 0 %}
{% set total_ivae_g21 = 0 %}
{% set total_ivae_g10 = 0 %}
{% set total_ivae_exento = 0 %}
{% set total_ivae_iva21 = 0 %}
{% set total_ivae_iva10 = 0 %}
{% set total_ivae_global = 0 %}
{% set total_mono_g21 = 0 %}
{% set total_mono_g10 = 0 %}
{% set total_mono_exento = 0 %}
{% set total_mono_iva21 = 0 %}
{% set total_mono_iva10 = 0 %}
{% set total_mono_global = 0 %}
{% for r in pages[fecha] %}
Comp. Tipo y Nro.
CAE
C.U.I.T
Emitido A
Grav 21%
Grav 10,5%
Exento
I.V.A. 21%
I.V.A. 10,5%
Total
{% set mult = 1 %}
{% if 'NOTA' in r.tipoComp %}
{% set mult = -1 %}
{% endif %}
{% if 'CONSUMIDOR FINAL' in r.condicionIva %}
{% set total_consf_g21 = total_consf_g21 + r.importeNeto21*mult %}
{% set total_consf_g10 = total_consf_g10 + r.importeNeto105*mult %}
{% set total_consf_exento = total_consf_exento + 0 %}
{% set total_consf_iva21 = total_consf_iva21 + r.iva21*mult %}
{% set total_consf_iva10 = total_consf_iva10 + r.iva105*mult %}
{% set total_consf_global = total_consf_global + r.importeBruto*mult %}
{% endif %}
{% if 'RESPONSABLE INSCRIPTO' in r.condicionIva %}
{% set total_respi_g21 = total_respi_g21 + r.importeNeto21*mult %}
{% set total_respi_g10 = total_respi_g10 + r.importeNeto105*mult %}
{% set total_respi_exento = total_respi_exento + 0 %}
{% set total_respi_iva21 = total_respi_iva21 + r.iva21*mult %}
{% set total_respi_iva10 = total_respi_iva10 + r.iva105*mult %}
{% set total_respi_global = total_respi_global + r.importeBruto*mult %}
{% endif %}
{% if 'RESPONSABLE NO INSCRIPTO' in r.condicionIva %}
{% set total_respni_g21 = total_respni_g21 + r.importeNeto21*mult %}
{% set total_respni_g10 = total_respni_g10 + r.importeNeto105*mult %}
{% set total_respni_exento = total_respni_exento + 0 %}
{% set total_respni_iva21 = total_respni_iva21 + r.iva21*mult %}
{% set total_respni_iva10 = total_respni_iva10 + r.iva105*mult %}
{% set total_respni_global = total_respni_global + r.importeBruto*mult %}
{% endif %}
{% if 'IVA EXENTO' in r.condicionIva %}
{% set total_ivae_g21 = total_ivae_g21 + r.importeNeto21*mult %}
{% set total_ivae_g10 = total_ivae_g10 + r.importeNeto105*mult %}
{% set total_ivae_exento = total_ivae_exento + 0 %}
{% set total_ivae_iva21 = total_ivae_iva21 + r.iva21*mult %}
{% set total_ivae_iva10 = total_ivae_iva10 + r.iva105*mult %}
{% set total_ivae_global = total_ivae_global + r.importeBruto*mult %}
{% endif %}
{% if 'MONOTRIBUTISTA' in r.condicionIva %}
{% set total_mono_g21 = total_mono_g21 + r.importeNeto21*mult %}
{% set total_mono_g10 = total_mono_g10 + r.importeNeto105*mult %}
{% set total_mono_exento = total_mono_exento + 0 %}
{% set total_mono_iva21 = total_mono_iva21 + r.iva21*mult %}
{% set total_mono_iva10 = total_mono_iva10 + r.iva105*mult %}
{% set total_mono_global = total_mono_global + r.importeBruto*mult %}
{% endif %}
{% set total_g21 = total_g21 + r.importeNeto21*mult %}
{% set total_g10 = total_g10 + r.importeNeto105*mult %}
{% set total_exento = 0 %}
{% set total_iva21 = total_iva21 + r.iva21*mult %}
{% set total_iva10 = total_iva10 + r.iva105*mult %}
{% set total_global = total_global + r.importeBruto*mult %}
{% endfor %}
{{ r.tipoComp }} - {{ r.nroComp }}
{{ r.cae }}
{{ r.cuil }}
{{ r.nomCliente|upper|slice(0,45) }}
{{ r.importeNeto21 | number_format(2, ',', '.') }}
{{ r.importeNeto105 | number_format(2, ',', '.') }}
{{ r.iva21 | number_format(2, ',', '.') }}
{{ r.iva105 | number_format(2, ',', '.') }}
{{ r.importeBruto | number_format(2, ',', '.') }}
Gravado 21%
Gravado 10,5%
Exento
I.V.A. 21%
I.V.A. 10,5%
Total
Sub-Total Consumidor Final
{{ total_consf_g21 | number_format(2) }}
{{ total_consf_g10 | number_format(2) }}
{{ total_consf_exento | number_format(2) }}
{{ total_consf_iva21 | number_format(2) }}
{{ total_consf_iva10 | number_format(2) }}
{{ total_consf_global | number_format(2) }}
Sub-Total Responsable Inscripto
{{ total_respi_g21 | number_format(2) }}
{{ total_respi_g10 | number_format(2) }}
{{ total_respi_exento | number_format(2) }}
{{ total_respi_iva21 | number_format(2) }}
{{ total_respi_iva10 | number_format(2) }}
{{ total_respi_global | number_format(2) }}
Sub-Total Responsable No Inscripto
{{ total_respni_g21 | number_format(2) }}
{{ total_respni_g10 | number_format(2) }}
{{ total_respni_exento | number_format(2) }}
{{ total_respni_iva21 | number_format(2) }}
{{ total_respni_iva10 | number_format(2) }}
{{ total_respni_global | number_format(2) }}
Sub-Total I.V.A. Exento
{{ total_ivae_g21 | number_format(2) }}
{{ total_ivae_g10 | number_format(2) }}
{{ total_ivae_exento | number_format(2) }}
{{ total_ivae_iva21 | number_format(2) }}
{{ total_ivae_iva10 | number_format(2) }}
{{ total_ivae_global | number_format(2) }}
Sub-Total Monotributista
{{ total_mono_g21 | number_format(2) }}
{{ total_mono_g10 | number_format(2) }}
{{ total_mono_exento | number_format(2) }}
{{ total_mono_iva21 | number_format(2) }}
{{ total_mono_iva10 | number_format(2) }}
{{ total_mono_global | number_format(2) }}
Total del día:
{{ total_g21 | number_format(2) }}
{{ total_g10 | number_format(2) }}
{{ total_exento | number_format(2) }}
{{ total_iva21 | number_format(2) }}
{{ total_iva10 | number_format(2) }}
{{ total_global | number_format(2) }}
Total Acumulado:
{{ total_acumulado_g21 | number_format(2) }}
{{ total_acumulado_g10 | number_format(2) }}
{{ total_acumulado_exento | number_format(2) }}
{{ total_acumulado_iva21 | number_format(2) }}
{{ total_acumulado_iva10 | number_format(2) }}
{{ total_acumulado_global | number_format(2) }}