{% extends "base.html" %} {% block title %}Libros de registros{% endblock %} {% block page_title %}Libros de registros IVA{% endblock %} {% block topbar_actions %} Exportar Excel Volver al calendario {% endblock %} {% block content %}
| Nº Factura | Fecha | Cliente / Destinatario | Base imp. | IVA % | Cuota IVA | IRPF % | Ret. IRPF | Total | Estado |
|---|---|---|---|---|---|---|---|---|---|
| {{ f.numero }} | {{ f.fecha }} | {{ f.cliente or '—' }} | {{ "%.2f"|format(f.subtotal) }} € | {{ f.iva_pct }}% | {{ "%.2f"|format(f.iva_importe) }} € | {% if f.irpf_pct %}{{ f.irpf_pct }}%{% else %}—{% endif %} | {% if f.irpf_importe %}{{ "%.2f"|format(f.irpf_importe) }} €{% else %}—{% endif %} | {{ "%.2f"|format(f.total) }} € | {{ f.estado|capitalize }} |
| TOTALES ({{ emitidas|length }} facturas) | {{ "%.2f"|format(tot_emit.base) }} € | {{ "%.2f"|format(tot_emit.iva) }} € | {{ "%.2f"|format(tot_emit.irpf) }} € | {{ "%.2f"|format(tot_emit.total) }} € | |||||
| Nº Factura | Fecha | Proveedor / Expedidor | Base imp. | IVA % | Cuota IVA | IRPF % | Ret. IRPF | Total | Estado |
|---|---|---|---|---|---|---|---|---|---|
| {{ f.numero }} | {{ f.fecha }} | {{ f.proveedor or '—' }} | {{ "%.2f"|format(f.subtotal) }} € | {{ f.iva_pct }}% | {{ "%.2f"|format(f.iva_importe) }} € | {% if f.irpf_pct %}{{ f.irpf_pct }}%{% else %}—{% endif %} | {% if f.irpf_importe %}{{ "%.2f"|format(f.irpf_importe) }} €{% else %}—{% endif %} | {{ "%.2f"|format(f.total) }} € | {{ f.estado|capitalize }} |
| TOTALES ({{ recibidas|length }} facturas) | {{ "%.2f"|format(tot_recib.base) }} € | {{ "%.2f"|format(tot_recib.iva) }} € | {{ "%.2f"|format(tot_recib.irpf) }} € | {{ "%.2f"|format(tot_recib.total) }} € | |||||