{{ invoice.invoice_number or ("INV-" ~ invoice.id) }}
Status
{% set s = (invoice.status or "")|lower %}
{% if pending_crypto_payment and pending_crypto_payment.txid and not pending_crypto_payment.processing_expired and s != "paid" %}
processing
{% elif s == "paid" %}{{ invoice.status }}
{% elif s == "pending" %}{{ invoice.status }}
{% elif s == "overdue" %}{{ invoice.status }}
{% else %}{{ invoice.status }}{% endif %}
Created
{{ invoice.created_at }}
Total
{{ invoice.total_amount }}
Paid
{{ invoice.amount_paid }}
Outstanding
{{ invoice.outstanding }}
Invoice Items
Description
Qty
Unit Price
Line Total
{% for item in items %}
{{ item.description }}
{{ item.quantity }}
{{ item.unit_price }}
{{ item.line_total }}
{% else %}
No invoice line items found.
{% endfor %}
{% if (invoice.status or "")|lower != "paid" and invoice.outstanding != "0.00" %}
Pay Now
Interac e-Transfer Send payment to: payment@outsidethebox.top Reference: Invoice {{ invoice.invoice_number or ("INV-" ~ invoice.id) }}
{% if invoice.oracle_quote and invoice.oracle_quote.quotes and crypto_options %}
Crypto Quote Snapshot
Quoted At: {{ invoice.oracle_quote.quoted_at or "—" }}
Source Status: {{ invoice.oracle_quote.source_status or "—" }}
Frozen Amount: {{ invoice.oracle_quote.amount or invoice.quote_fiat_amount or invoice.total_amount }} {{ invoice.oracle_quote.fiat or invoice.quote_fiat_currency or "CAD" }}
{% if pending_crypto_payment %}
Your quote is protected after acceptance.
{% else %}
Select a crypto asset to accept the quote.
{% endif %}
{% if pending_crypto_payment and pending_crypto_payment.txid %}
--:--
Waiting for network confirmation / processing
{% elif pending_crypto_payment %}
--:--
Quote protected while you open wallet
{% else %}
--:--
This price times out:
{% endif %}
{% if pending_crypto_payment and selected_crypto_option %}
{{ pending_crypto_payment.reference }}
{% if selected_crypto_option.wallet_capable and not pending_crypto_payment.txid and not pending_crypto_payment.lock_expired %}