{% extends "base.html" %} {% block content %} {% set lines_to_show = display_lines if display_lines else invoice.lines %}

Invoice Preview

Consolidated invoice format with annexure page preview.
{% if company %} {% if company.address_line1 %}
{{ company.address_line1 }}
{% endif %} {% if company.address_line2 %}
{{ company.address_line2 }}
{% endif %}
{% if company.city %}{{ company.city }}{% endif %} {% if company.city and company.state %}, {% endif %} {% if company.state %}{{ company.state }}{% endif %} {% if company.pincode %} - {{ company.pincode }}{% endif %}
{% if company.pan %}
PAN - {{ company.pan }}
{% endif %} {% if company.gst_number %}
GST NO - {{ company.gst_number }}
{% endif %} {% endif %}
{% if invoice.invoice_type == "PROFORMA" %} Proforma Invoice {% else %} Tax Invoice {% endif %}
CUSTOMER NAME {{ billing.trade_name or "-" }}
BILLING ADDRESS
{% if billing.billing_address %}
{{ billing.billing_address }}
{% else %}
-
{% endif %} {% if billing.gst_number %}
GST - {{ billing.gst_number }}
{% endif %}
PLACE OF SUPPLY - {% if service_meta is defined and service_meta.place_of_supply %} {{ service_meta.place_of_supply }} {% else %} INDIA {% endif %}
DATE {{ invoice.issue_date }}
{% if invoice.invoice_type == "PROFORMA" %}INVOICE NO.{% else %}INVOICE #{% endif %} {{ invoice.invoice_number }}
{% if invoice.campaign %}
CAMPAIGN {{ invoice.campaign.title }}
CID C{{ invoice.campaign.id }}
{% endif %}
Service Details
{% for line in lines_to_show %} {% else %} {% endfor %}
DESCRIPTION SECTOR HSN Code DELIVERABLES TOTAL (INR)
{{ line.description or "-" }} {{ line.sector or (service_meta.sector if service_meta is defined and service_meta.sector else "Advertisement") }} {{ line.hsn_code or (service_meta.hsn_code if service_meta is defined and service_meta.hsn_code else "998361") }} {% if line.deliverables %} {{ line.deliverables }} {% elif line.quantity %} {{ line.quantity }} {% else %} - {% endif %} {{ "{:,.2f}".format(line.total or 0) }}
No line items found.
Taxable Value {{ "{:,.2f}".format(invoice.subtotal or 0) }}
GST ({{ "%.0f"|format(invoice.tax_percent or 0) }}%) on Taxable Value {{ "{:,.2f}".format(invoice.tax_amount or 0) }}
Final Value {{ "{:,.2f}".format(invoice.total_amount or 0) }}
Above Values are Indian Rupees (INR)
Please note : {% if company and company.tds_note %} {{ company.tds_note }} {% else %} TDS on our Contract Charges can be deducted at 2% Under Section 194C {% endif %}
{% if company and company.payment_mode_note %} {{ company.payment_mode_note }} {% else %} Payment Mode - Cheque / Online / Cash (Upto 10,000 INR Only Accepted) {% endif %}
Name - {{ company.bank_account_name or company.company_name or "-" }}
Account No. - {{ company.bank_account_number or "-" }}
IFSC Code. - {{ company.bank_ifsc or "-" }}
Branch - {{ company.bank_branch or "-" }}
{% if invoice.notes %}
Notes
{{ invoice.notes }}
{% endif %} {% if annexure_rows %}
Annexure – Creator & Deliverable Details
{% for row in annexure_rows %} {% endfor %}
# Creator Name Handle Deliverables
{{ loop.index }} {{ row.creator_name }} {% if row.creator_handle %} @{{ row.creator_handle }} {% else %} - {% endif %} {% if row.deliverables %} {% for d in row.deliverables %} {{ d.label }} {% endfor %} {% else %} - {% endif %}
{% endif %} {% if invoice.payments %}
Payment History
{% for p in invoice.payments %} {% endfor %}
Date Amount Mode Reference Notes
{{ p.payment_date }} ₹ {{ "%.2f"|format(p.amount or 0) }} {{ p.mode or '-' }} {{ p.reference or '-' }} {{ p.notes or '-' }}
{% endif %}
{% endblock %}