{% if invoice.status == 'REFUNDED' %}Refund Invoice{% else %}Sale Invoice{% endif %}
{{ invoice.status }}
Inv/Folder#
{{ invoice.folder_no }}
Invoice Date
{{ invoice.invoice_date|date:"d/m/Y" }}
Inv.Category
{{ invoice.inv_category }}
Receipt No.
{{ invoice.receipt_no }}
Inv Title
{{ invoice.inv_title|default:"-" }}
{% if invoice.original_invoice %}
Original Inv#
{{ invoice.original_invoice.folder_no }}
{% endif %}
Client Receivable
{{ invoice.client_name }}
A/C: {{ invoice.client_account }}
Agent/Supplier/Airline Payable
{{ invoice.agent_name }}
A/C: {{ invoice.agent_account }}
{% for line in ticket_lines %}
Flight
{{ line.flight_type }}
Flight No.
{{ line.flight_no }}
Class
{{ line.flight_class|default:"-" }}
Dep.Date
{{ line.dep_date|date:"d/m/Y" }}
Tkt Issue Dt
{{ line.tkt_issue_date|date:"d/m/Y" }}
{{ line.pax_title }} — {{ line.pax_name }}
{% if line.remarks %}{{ line.remarks }}{% endif %}
Fare & Tax
IATA Fare{{ line.iata_fare|floatformat:2 }}
Market Fare{{ line.market_fare|floatformat:2 }}
Tax1{{ line.tax1|floatformat:2 }}
Tax2{{ line.tax2|floatformat:2 }}
Tax3{{ line.tax3|floatformat:2 }}
Tax4{{ line.tax4|floatformat:2 }}
Other Tx/Chrgs{{ line.other_tx_chrgs|floatformat:2 }}
Total Taxes{{ line.total_txs|floatformat:2 }}
Fare+Txs{{ line.fare_plus_txs|floatformat:2 }}
Airline/Agent
Airline Com%{{ line.airline_com_pct|floatformat:3 }}
Comm. Amount{{ line.comm_amount|floatformat:2 }}
PSA/GSA%{{ line.psa_gsa_pct|floatformat:3 }}
PSA/GSA Amt{{ line.psa_gsa_amount|floatformat:2 }}
Adjustment{{ line.com_adjustment|floatformat:2 }}
Tot. Commission{{ line.tot_commission|floatformat:2 }}
Services
PSF%{{ line.psf_pct|floatformat:3 }}
PSF Amount{{ line.psf_amount|floatformat:2 }}
SP Disc.{{ line.sp_disc_amount|floatformat:2 }}
Other Srvs{{ line.other_services|floatformat:2 }}
Summary
Incentive Airline{{ line.incentive_airline|floatformat:2 }}
Add PSF{{ line.add_psf_amount|floatformat:2 }}
Less S.P{{ line.less_sp|floatformat:2 }}
Total Income{{ line.total_income|floatformat:2 }}
Ticket Value{{ line.ticket_value|floatformat:2 }}
Receivable{{ line.receivable|floatformat:2 }}
Payable{{ line.payable|floatformat:2 }}
{% if line.refund_detail %}
Refund Breakdown
USED Fare{{ line.refund_detail.used_fare|floatformat:2 }}
No Show/Srvc{{ line.refund_detail.no_show_srvc|floatformat:2 }}
Canx Chrgs{{ line.refund_detail.canx_chrgs|floatformat:2 }}
Commission{{ line.refund_detail.commission|floatformat:2 }}
Other Taxes{{ line.refund_detail.other_taxes|floatformat:2 }}
W.H.Tax{{ line.refund_detail.wh_tax|floatformat:2 }}
CVT/RG/FED{{ line.refund_detail.cvt_rg_fed_tx|floatformat:2 }}
PSF{{ line.refund_detail.psf|floatformat:2 }}
Pay to Client{{ line.refund_detail.pay_to_client|floatformat:2 }}
Refund Airline{{ line.refund_detail.refund_airline|floatformat:2 }}
{% endif %}
{% endfor %}
{% if ticket_lines|length > 1 %}
| # | Ticket No. | Pax Name | Sector | Market Fare | All Taxes | Receivable | Payable |
{% for line in ticket_lines %}
| {{ forloop.counter }} | {{ line.ticket_no }} | {{ line.pax_name }} | {{ line.sector }} |
{{ line.market_fare|floatformat:2 }} | {{ line.total_txs|floatformat:2 }} |
{{ line.receivable|floatformat:2 }} | {{ line.payable|floatformat:2 }} |
{% endfor %}
| Total ({{ ticket_lines|length }} tickets) |
- | - |
{{ invoice.total_receivable|floatformat:2 }} |
{{ invoice.total_payable|floatformat:2 }} |
{% endif %}
{% if visa_lines %}
Visa Details ({{ visa_lines|length }} entr{{ visa_lines|length|pluralize:"y,ies" }})
| # | Name | Passport# | Visa# |
Visa Type | Country | Issue Date |
Currency | Amount | PKR |
PSF1 | PSF2 |
Cust.Recv. |
Disc |
Vend.Pay. |
Vendor |
{% for vl in visa_lines %}
| {{ forloop.counter }} |
{{ vl.name }} |
{{ vl.passport_no|default:"-" }} |
{{ vl.visa_no|default:"-" }} |
{{ vl.visa_type|default:"-" }} |
{{ vl.travel_country|default:"-" }} |
{{ vl.issue_date|date:"d/m/Y"|default:"-" }} |
PKR |
{{ vl.amount_foreign|floatformat:2 }} |
{{ vl.amount_pkr|floatformat:2 }} |
{{ vl.psf1_amount|default:0|floatformat:2 }} |
{{ vl.psf2_amount|default:0|floatformat:2 }} |
{{ vl.customer_receivable|default:vl.amount_pkr|floatformat:2 }} |
{{ vl.disc_amount|default:0|floatformat:2 }} |
{{ vl.vendor_payable|default:vl.amount_pkr|floatformat:2 }} |
{{ vl.vendor_name|default:"-" }} |
{% endfor %}
| Total Visa (PKR) |
{{ invoice.total_visa_amount|floatformat:2 }} |
|
{% endif %}
{% if hotel_lines %}
Hotel Details ({{ hotel_lines|length }} entr{{ hotel_lines|length|pluralize:"y,ies" }})
| # | Passenger | Passport# | Visa# |
Check-in | Nights | Checkout |
Hotel |
Rent |
PSF1 | PSF2 |
Cust.Recv. |
Disc |
Vend.Pay. |
Vendor |
{% for hl in hotel_lines %}
| {{ forloop.counter }} |
{{ hl.passenger_name }} |
{{ hl.passport_no|default:"-" }} |
{{ hl.visa_no|default:"-" }} |
{{ hl.checkin_date|date:"d/m/Y"|default:"-" }} |
{{ hl.duration_of_stay|default:0 }} |
{{ hl.checkout_date|date:"d/m/Y"|default:"-" }} |
{{ hl.hotel_name|default:"-" }} |
{{ hl.rent_amount|floatformat:2 }} |
{{ hl.psf1_amount|default:0|floatformat:2 }} |
{{ hl.psf2_amount|default:0|floatformat:2 }} |
{{ hl.customer_receivable|default:hl.rent_amount|floatformat:2 }} |
{{ hl.disc_amount|default:0|floatformat:2 }} |
{{ hl.vendor_payable|default:hl.rent_amount|floatformat:2 }} |
{{ hl.vendor_name|default:"-" }} |
{% endfor %}
| Total Hotel (PKR) |
{{ invoice.total_hotel_amount|floatformat:2 }} |
|
{% endif %}
{% if transport_lines %}
Transport Details ({{ transport_lines|length }} entr{{ transport_lines|length|pluralize:"y,ies" }})
| # | Passenger | Car Type | Persons |
Arrival Date | Arrival Time | Vehicle# |
Fare |
PSF1 | PSF2 |
Total Recv. |
Vendor |
{% for tl in transport_lines %}
| {{ forloop.counter }} |
{{ tl.passenger_name }} |
{{ tl.car_type|default:"-" }} |
{{ tl.no_of_persons }} |
{{ tl.arrival_date|date:"d/m/Y"|default:"-" }} |
{{ tl.arrival_time|default:"-" }} |
{{ tl.vehicle_no|default:"-" }} |
{{ tl.decided_fare|floatformat:2 }} |
{{ tl.psf1_amount|floatformat:2 }} |
{{ tl.psf2_amount|floatformat:2 }} |
{{ tl.total_receivable|floatformat:2 }} |
{{ tl.vendor_name|default:"-" }} |
{% endfor %}
| Total Transport (PKR) |
{{ invoice.total_transport_amount|floatformat:2 }} |
|
{% endif %}
{% if insurance_lines %}
Insurance Details ({{ insurance_lines|length }} entr{{ insurance_lines|length|pluralize:"y,ies" }})
| # | Client | Passport/CNIC | Nationality |
Country | Start | End |
Company | Plan | Policy# |
Fee |
PSF1 | PSF2 |
Total Recv. |
Status |
{% for il in insurance_lines %}
| {{ forloop.counter }} |
{{ il.client_name }} |
{{ il.passport_cnic|default:"-" }} |
{{ il.nationality|default:"-" }} |
{{ il.travel_country|default:"-" }} |
{{ il.travel_start_date|date:"d/m/Y"|default:"-" }} |
{{ il.travel_end_date|date:"d/m/Y"|default:"-" }} |
{{ il.insurance_company|default:"-" }} |
{{ il.plan_package|default:"-" }} |
{{ il.policy_number|default:"-" }} |
{{ il.insurance_fee|floatformat:2 }} |
{{ il.psf1_amount|floatformat:2 }} |
{{ il.psf2_amount|floatformat:2 }} |
{{ il.total_receivable|floatformat:2 }} |
{{ il.payment_status }} |
{% endfor %}
| Total Insurance (PKR) |
{{ invoice.total_insurance_amount|floatformat:2 }} |
|
{% endif %}
Tkt Receivable
{{ invoice.total_receivable|floatformat:2 }}
Tkt Payable
{{ invoice.total_payable|floatformat:2 }}
Total Income
{{ invoice.total_income|floatformat:2 }}
{% if visa_lines %}
Visa (PKR)
{{ invoice.total_visa_amount|floatformat:2 }}
{% endif %}
{% if hotel_lines %}
Hotel (PKR)
{{ invoice.total_hotel_amount|floatformat:2 }}
{% endif %}
{% if transport_lines %}
Transport
{{ invoice.total_transport_amount|floatformat:2 }}
{% endif %}
{% if insurance_lines %}
Insurance
{{ invoice.total_insurance_amount|floatformat:2 }}
{% endif %}
{% if invoice.status == 'REFUNDED' %}
Rfnd Pay Client
{{ invoice.rfnd_payable_to_client|floatformat:2 }}
{% endif %}
Grand Total
{{ invoice.grand_total|floatformat:2 }}
{% if bank_payments %}
Payment Received
{% for bp in bank_payments %}
{{ bp.bank_name }}{{ bp.amount|floatformat:2 }}
{% endfor %}
Total Received{{ invoice.amount_received|floatformat:2 }}
{% if balance_due > 0 %}
Balance Due{{ balance_due|floatformat:2 }}
{% endif %}
{% endif %}
Grand Total Receivable: {{ invoice.grand_total|floatformat:2 }}