{% extends "base.html" %} {% load static %} {% block title %}Invoice {{ invoice.pk }} - AI ML Operations{% endblock %} {% block content %}
Back to Invoices

Invoice #{{ invoice.pk }}

Customer: {{ invoice.customer.name }} <{{ invoice.customer.email }}>

Description: {{ invoice.description }}

Amount: ${{ invoice.amount_dollars|floatformat:2 }} {{ invoice.currency|upper }}

Status: {{ invoice.get_status_display }}

Due: {{ invoice.due_date|default:"—" }}

Stripe invoice: {{ invoice.stripe_invoice_id|default:"—" }}

{% if invoice.hosted_invoice_url %}

Pay link: Open hosted invoice

{% endif %} {% if invoice.invoice_pdf_url %}

PDF: Download

{% endif %}

Email sent: {{ invoice.pay_link_emailed_at|default:"Not yet" }}

{% if invoice.notes %}

Notes: {{ invoice.notes }}

{% endif %} {% if invoice.hosted_invoice_url %}
{% csrf_token %}
{% endif %}
{% endblock %}