{% extends 'base.html' %} {% load static %} {% block title %}Invoice {{ invoice.invoice_number }} - 3ncount{% endblock %} {% block page_pretitle %}Billing{% endblock %} {% block page_title %}Invoice {{ invoice.invoice_number }}{% endblock %} {% block page_actions %} Back to History Download PDF {% if invoice.status != 'PAID' %} {% endif %} {% endblock %} {% block extra_css %} {% endblock %} {% block content %}

3ncount

Smart Accounting System

For Malaysian SMEs

{{ invoice.invoice_number }}
{{ invoice.get_status_display }}

Bill To

{{ invoice.organization.name }}
{% if invoice.organization.address %} {{ invoice.organization.address }}
{% endif %} {% if invoice.organization.contact_email %} Email: {{ invoice.organization.contact_email }}
{% endif %}

Invoice Details

Issue Date: {{ invoice.created_at|date:"d M Y" }}
{% if invoice.due_date %} Due Date: {{ invoice.due_date|date:"d M Y" }}
{% endif %} Billing Period:
{{ invoice.billing_period_start|date:"d M Y" }} - {{ invoice.billing_period_end|date:"d M Y" }}
{% for item in invoice.line_items.all %} {% endfor %}
Description Amount
{{ item.description }} {% if item.item_type != 'SUBSCRIPTION' %}
{{ item.get_item_type_display }} {% endif %}
RM {{ item.amount|floatformat:2 }}
Subtotal: RM {{ invoice.subtotal|floatformat:2 }}
{% if invoice.tax_amount > 0 %}
Tax ({{ invoice.tax_rate }}%): RM {{ invoice.tax_amount|floatformat:2 }}
{% endif %}
Total: RM {{ invoice.total_amount|floatformat:2 }}
{% if invoice.status == 'PAID' %}
Payment Received
Paid On:
{{ invoice.paid_at|date:"d M Y H:i" }}
{% if invoice.payment_method %}
Payment Method:
{{ invoice.payment_method.get_type_display }} ({{ invoice.payment_method.get_gateway_display }})
{% endif %}
{% if invoice.payment_reference %}
Reference: {{ invoice.payment_reference }}
{% endif %}
{% elif invoice.status == 'PENDING' %}
Payment Pending

This invoice is awaiting payment. Please complete payment by {{ invoice.due_date|date:"d M Y" }}.

{% elif invoice.status == 'OVERDUE' %}
Payment Overdue

This invoice is past due. Please make payment immediately to avoid service interruption.

{% endif %} {% if invoice.notes %}

Notes

{{ invoice.notes }}

{% endif %}
Thank you for your business!
If you have any questions about this invoice, please contact support@3ncount.com
{% endblock %}