{% extends "base.html" %} {% block title %}Purchase Bill {{ invoice.bill_no }}{% endblock %} {% block page_title %}Purchase Bill {{ invoice.bill_no }}{% endblock %} {% block content %}
Bill Details
{% if invoice.status == 'draft' %}
{% endif %} {% if invoice.voucher_id %} View Voucher {% endif %} {% if invoice.status == 'posted' %}
{% endif %} {% if invoice.status == 'posted' %}
{% endif %} {% if invoice.status == 'posted' %} Pay Now {% endif %} Back
Bill No:
{{ invoice.bill_no }}
Date:
{{ invoice.bill_date.strftime('%d-%m-%Y') }}
Vendor:
{{ invoice.vendor.vendor_name }}
Vendor GSTIN:
{{ invoice.vendor_gstin or invoice.vendor.gstin or '-' }}
Status:
{% if invoice.status == 'draft' %} Draft {% elif invoice.status == 'reversed' %} Reversed {% else %} {{ invoice.status|title }} {% endif %}
Vendor Invoice No:
{{ invoice.vendor_invoice_no or '-' }}
Narration:
{{ invoice.narration or '-' }}
Entry Date:
{{ invoice.entry_date.strftime('%d-%m-%Y') }}
Posting Date:
{{ invoice.posting_date.strftime('%d-%m-%Y') }}
GST Type:
{{ invoice.gst_type|replace('_', ' ')|title }}
Currency:
{{ invoice.currency_code }} @ {{ invoice.exchange_rate }}
TDS:
{% if invoice.tds_applicable %} {{ invoice.tds_section.section_code if invoice.tds_section else '-' }} @ {{ invoice.tds_rate }}% = {{ invoice.tds_amount }} {% else %} Not Applicable {% endif %}
Net Payable:
{{ invoice.net_payable_amount or invoice.total_amount }}
{% if invoice.attachment_path %}
Attachment:
View Attachment
{% endif %}
Items
{% for item in invoice.items %} {% endfor %}
Expense Ledger Description HSN/SAC Qty Rate Discount GST % Taxable CGST SGST IGST Total
{{ item.expense_ledger.ledger_name }} {{ item.description }} {{ item.hsn_sac or '-' }} {{ item.qty }} {{ item.rate }} {{ item.discount_amount }} {{ item.gst_rate }} {{ item.taxable_amount }} {{ item.cgst_amount }} {{ item.sgst_amount }} {{ item.igst_amount }} {{ item.line_total }}
Subtotal{{ invoice.subtotal }}
Discount{{ invoice.discount_amount }}
Tax{{ invoice.tax_amount }}
Round Off{{ invoice.round_off_amount }}
TDS Deduction{{ invoice.tds_amount or 0 }}
Net Payable{{ invoice.net_payable_amount or invoice.total_amount }}
Grand Total{{ invoice.total_amount }}
{% endblock %}