Customers, invoices & receipts
Follow real customer billing from checkout through individual renewal payments.
Customer directory
Open /app/customers to search paid customers. Unpaid checkout drafts are excluded; the directory shows paid invoice counts and active recurring permissions, and opens filtered billing history. A holder can be an application-assigned ID; it is not automatically a verified email address.
The overview uses 7/30/90-day checkout-creation cohorts. Its paying-customer count is distinct paid checkout holders in that period. The customer directory is an all-time billing view and includes verified renewal invoices, so its counts have different semantics.
Issued invoices and your purchases
Open /app/invoices. Issued to customers shows provider-owned documents; My purchases shows invoices for the exact signed-in holder. Each new checkout atomically snapshots its original price, provider recipient, token and chain. Each renewal journal creates one separate invoice.
A verified payment adds receipt evidence, even if access fulfillment still needs reconciliation. Signed or submitted bytes alone do not create a paid receipt. Conflicting payer or transaction evidence is rejected. Original invoice terms do not change when catalog data changes.
Access and export
Private documents are available to the issuer, billed holder or authenticated billing email. A signed 30-day document link grants access to exactly one paid invoice and receipt. Unrelated accounts receive not found. Print / save PDF exports the invoice or paid receipt without dashboard navigation. The customer portal and emailed receipt provide the scoped document link.
An opaque application holder does not automatically map to a console email account. Use a trusted backend billing email for that holder. A scoped document link does not expose another customer’s billing history or provider administration.
What the document establishes
These are payment invoices and receipts. Verified payments queue automatic customer receipt emails. Tax assessment is not included. Fuji documents identify test assets. Backfilled historical records leave unrecorded token addresses and payment-recorded times unknown.
Payment recorded means when evidence was saved, not the block timestamp. A receipt proves verified payment; Entitlements and the subscription journal determine whether access fulfillment completed.
Automatic customer receipts
The authenticated SaaS backend supplies the customer holder and verified email when issuing an embed token. Public checkout fields cannot replace that billing contact. Every verified first payment or recurring collection queues one customer receipt email in the same database transaction as its payment evidence.
The durable email worker uses lease fencing, a stable provider idempotency key and an immutable payload. Uncertain acceptance beyond its safe retry window requires reconciliation instead of a duplicate send. The private document shows queued, sent or needs-review status; sent means email-provider acceptance, not a guarantee of inbox delivery.
Email and the customer portal link to one paid document using a signed 30-day capability. It can view or print that invoice and receipt, without creating a Bagseven provider account or receiving wallet authority. Shared pages are no-store, no-referrer and noindex. No billing email is written on-chain.
Checkouts are temporary payment windows
The default payment window is 30 minutes. Reopening the same unpaid plan checkout reuses its existing deadline. Expired sessions cannot initiate payment; an on-time confirmed transfer can still be reconciled after an interruption. Unpaid, unreferenced drafts are purged after 30 days. Paid evidence, submitted-payment recovery and subscriptions are preserved.
Unpaid drafts belong in Checkouts, not in the paid customer directory or invoice history. The billing portal has no credit-consuming test button; application work consumes prepaid credits.