Netlify
{% assign price_split = receipt.amount | round: 2 | split: "." %} {% assign receipt_integer = price_split[0] %} {% assign receipt_fractional = price_split[1] | append: "00" | truncate: 2, "" %}

Your receipt from Netlify

{{ organization.name | escape }}

Total: Date:
{%- if receipt.display_amount -%} {{receipt.display_amount }} {%- else -%} ${{ receipt_integer }}.{{ receipt_fractional }} {%- endif -%} {{ receipt.date }}
Invoice Name: Receipt number:
{{ organization.company_name | escape }} #{{ receipt.transaction_id }}
Payment details:
{{ receipt.charged_to | escape }}
{%- if accounts -%}
{%- endif -%}
{%- for account in accounts -%}

{{ account.name | escape }}

{%- for invoice in account.invoiced_items -%} {%- if invoice and invoice.size > 0 -%} {% assign price_split = invoice.charge_amount | round: 2 | split: "." %} {% assign integer = price_split[0] %} {% assign fractional = price_split[1] | append: "00" | truncate: 2, "" %}
{{ invoice.charge_name | replace: 'Montly', 'Monthly' }} {%- if invoice.display_amount -%} {{ invoice.display_amount }} {%- else -%} ${{ integer }}.{{ fractional }} {%- endif -%}
From {{ invoice.service_start_date }} to {{ invoice.service_end_date }}
{%- endif -%} {%- endfor -%}

Subtotal:

{{ account.subtotal }}

{%- endfor -%}

Total

{%- if receipt.display_amount -%} {{ receipt.display_amount }} {%- else -%} ${{ receipt_integer }}.{{ receipt_fractional }} {%- endif -%}

About Netlify • Support

512 2nd Street, FL2, San Francisco, CA 94107