{formatUsd(invoice.amount)}
{status}
{#if invoice.method}
ยท paid via {invoice.method === "stripe" ? "Card" : "Lightning"}
{/if}
{#if periodLabel}
{periodLabel}
{/if} {#if isDraft}
Charges accruing this period. You'll be invoiced once a balance is due.
{/if}
{#if isOpen && onPay}
Pay now
{/if}