{% extends "ui/templates/base/layout.html" %} {% block content %}

{{ invoice_ctx.invoice_title }} {{ invoice.invoice_no }}

{{ invoice.client_legal_name or (invoice.client.client_name if invoice.client else '') }} • {{ invoice.invoice_date }}

{% if invoice.status == 'DRAFT' %}
{% endif %} {% if can_record_payment and invoice.status not in ['DRAFT','CANCELLED','PAID'] %} Record Payment {% endif %} Print / PDF Back
Status
{{ invoice.status }}
Due Date
{{ invoice.due_date or '-' }}
Place of Supply
{{ invoice.place_of_supply or '-' }}
Total
₹ {{ '%.2f'|format(invoice.total_amount or 0) }}
Amount Received
₹ {{ '%.2f'|format(invoice.amount_received or 0) }}
TDS Deducted
₹ {{ '%.2f'|format(invoice.tds_deducted or 0) }}
Balance
₹ {{ '%.2f'|format(invoice.balance_amount or 0) }}

Supplier

{{ invoice_ctx.firm_name }}
{{ invoice_ctx.firm_address or '-' }}
GSTIN: {{ invoice_ctx.firm_gstin or '-' }} • PAN: {{ invoice_ctx.firm_pan or '-' }}

Bill To

{{ invoice.client_legal_name or '-' }}
{{ invoice.client_billing_address or '-' }}
GSTIN: {{ invoice.client_gstin or '-' }} • PAN: {{ invoice.client_pan or '-' }}
{% for line in invoice.lines %} {% endfor %}
DescriptionSACQtyRateTaxableGSTTotal
{{ line.description }}
{{ line.service.service_name if line.service else '' }}
{{ line.sac_code or '-' }} {{ line.quantity }} ₹ {{ '%.2f'|format(line.rate or 0) }} ₹ {{ '%.2f'|format(line.taxable_amount or 0) }} {{ line.gst_rate }}% ₹ {{ '%.2f'|format(line.line_total or 0) }}
Subtotal₹ {{ '%.2f'|format(invoice.subtotal or 0) }}
Discount₹ {{ '%.2f'|format(invoice.discount_amount or 0) }}
Taxable Value₹ {{ '%.2f'|format(invoice.taxable_amount or 0) }}
CGST₹ {{ '%.2f'|format(invoice.cgst_amount or 0) }}
SGST₹ {{ '%.2f'|format(invoice.sgst_amount or 0) }}
IGST₹ {{ '%.2f'|format(invoice.igst_amount or 0) }}
Grand Total₹ {{ '%.2f'|format(invoice.total_amount or 0) }}

Payment History

Receipts, TDS deductions and outstanding balance for this invoice.

{% if can_record_payment and invoice.status not in ['DRAFT','CANCELLED','PAID'] %} Record Payment {% endif %}
{% for payment in invoice.payments %} {% else %} {% endfor %}
ReceiptDateModeReferenceReceivedTDS
{{ payment.receipt_no }} {{ payment.payment_date }} {{ payment.mode }} {{ payment.reference_no or '-' }} ₹ {{ '%.2f'|format(payment.amount_received or 0) }} ₹ {{ '%.2f'|format(payment.tds_deducted or 0) }} Receipt
No payments recorded yet.

Amount in Words

{{ invoice.amount_in_words or '-' }}

Bank / UPI Details

{% if invoice_ctx.bank_name %}{{ invoice_ctx.bank_name }}{% endif %}{% if invoice_ctx.bank_account_number %}\nA/c: {{ invoice_ctx.bank_account_number }}{% endif %}{% if invoice_ctx.bank_ifsc %}\nIFSC: {{ invoice_ctx.bank_ifsc }}{% endif %}{% if invoice_ctx.upi_id %}\nUPI: {{ invoice_ctx.upi_id }}{% endif %}

{% endblock %}