{{ account | pdf_account_logo }}

Invoice #{{ invoice.number }}

{{ invoice.title }}

{% if invoice.po != blank %} {% endif %} {% if invoice.paid? -%} {% if invoice.paid_date != null -%} {% else %} {% endif %} {% else -%} {% endif -%}
Invoice No. {{ invoice.number }}
PO No. {{ invoice.po }}
Invoice Date {{ invoice.date | date: "%B %e, %Y" }}
Invoice Paid {{ invoice.paid_date | date: "%B %e, %Y" }}
Invoice Status PAID
Payment Due {{ invoice | invoice_due }}

From

{{ account.company }}

{{ account | two_line_address : invoice.client }} {% if account.email != blank %}

{{ account.email | h | mail_to: account.email }}

{% endif %} {% if account.invoice_extra_fields != blank %} {{ account.invoice_extra_fields | safe_textilize }} {% endif %}
{% if invoice.client != null %}

To

{{ invoice.client.name }}

{{ invoice.client | two_line_address : account }} {% if invoice.client.number != blank %} ID: {{ invoice.client.number | h }} {% endif %} {% if invoice.client.invoice_extra_fields != blank %} {{ invoice.client.invoice_extra_fields | safe_textilize }} {% endif %}
{% endif %}
{% if invoice.summary != blank %}

Summary

{{ invoice.summary | safe_textilize | auto_link }}
{% endif %} {% comment %} This is the main invoice table with invoice items enumerated and an invoice summary generated based on the invoice totals. {% endcomment %} {% if invoice.invoice_items != empty %} {% for item in invoice.invoice_items %} {% if item.section_header? %} {% else %} {% endif %} {% endfor %} {% else %} {% endif %} {% if invoice.total_tax != 0 or invoice.total_tax2 != 0 or invoice.total_discount > 0 or invoice.total_late_fees > 0 %} {% endif %} {% if invoice.total_discount > 0 %} {% endif %} {% if invoice.total_tax != 0 %} {% endif %} {% if invoice.total_tax2 != 0 %} {% endif %} {% if invoice.total_late_fees > 0 %} {% endif %} {% if invoice.payments != empty %} {% for payment in invoice.payments %} {% endfor %} {% endif %} {% if invoice.payments != empty %} {% elsif invoice.pure_balance < 0 %} {% else %} {% endif %}
Invoice Items
Item Description Qty Price per unit Total Price
{{ item.title | auto_link }}
{{ item.title | safe_textilize | auto_link }} {{ item.quantity | numeric: 4 }} {{ item.price | currency: invoice.currency_code }} {% if item.taxable %} + tax {% endif %} {{ item.cost | currency: invoice.currency_code }}
There are no invoice items.
Invoice Totals
Invoice Subtotal {{ invoice.total_gross | currency: invoice.currency_code }}
Invoice Discounts ({{ invoice.total_discount | currency: invoice.currency_code }})
{{ invoice.tax_label }} ({{ invoice.tax | tax_percentage }} of taxable items) {{ invoice.total_tax | currency: invoice.currency_code }}
{{ invoice.tax2_label }} ({{ invoice.tax2 | tax_percentage }} of taxable items) {{ invoice.total_tax2 | currency: invoice.currency_code }}
Late Fees {{ invoice.total_late_fees | currency: invoice.currency_code }}
Invoice Total {{ invoice.total_cost | currency: invoice.currency_code }}
Invoice Payment - {{ payment.date | date: "%B %e, %Y" }} {% if payment.transaction_fee_amount > 0 %} ({{ payment.transaction_fee_amount | currency: invoice.currency_code }} fee) {% endif %} ({{ payment.amount | minus: payment.transaction_fee_amount | currency: invoice.currency_code }})
{% if invoice.cancelled? %} Waived Balance {% else %} Remaining Balance {% endif %} {{ invoice.currency_code }} {{ invoice.balance | currency: invoice.currency_code }}
Credit Balance ({{ invoice.currency_code }} {{ invoice.pure_balance | times:-1 | currency: invoice.currency_code }})
Total Due {{ invoice.currency_code }} {{ invoice.balance | currency: invoice.currency_code }}
{% if invoice.note != blank%}
{{ invoice.note | safe_textilize | auto_link }}
{% endif %}