Monthly invoicing of pet shops for microchip registrations is being built here, step by step:
Registrations per organization per month, organizations ↔ Stripe customers — Registrations tab
Pricing: standard and ACH rates, organization contract prices and discounts
Invoices in Stripe: dry run, approval, finalization, PDF
Payment statuses, ACH failures, reminders and notifications
Nothing here sends anything to Stripe yet.
A pet transferred to a buyer is billed once per month to the organization that transferred it. Only the organizations of the billing group (shared API token, see Settings) are billed. Free: cancelled transfers, and re-transfers within 90 days of a transfer in an earlier month. Months are New York time. Old script is what the previous counting script would have billed — details show why each pet differs.
Nobody is billed
In billing
Organization
Stripe customer
To bill
Old script
Price ACH / standard
Amount ACH / standard
Cancelled
Free re-transfers
Taken out of billing — in the group, not billed
Organization
Note
Would bill
Transfers
Outside the billing group, with a billing profile — not billed
Saved before the group rule, or the organization's token changed. Unlink the Stripe customer here if another organization should pay with it.
Organization
Stripe customer
Note
TEST MODEInvoices are created in Stripe test mode — nobody is e-mailed or charged. A rehearsal of the monthly run before live billing.
Needs attention
When
What
Preview — what Create drafts would make; nothing is written
Organization
Payment
Registrations
Amount
Notes
Invoices
Organization
Status
Payment
Registrations
Amount
Stripe
PDF
Bank accounts with a failed ACH payment — billed at the standard rate until the mark is cleared
Account
Why
Status
Billing group
Only organizations that share one API token are billed — the chain of Findpet shops. Shelters, test accounts and partners with a token of their own are never billed; a new shop added with the group's token is billed automatically. Tokens are never shown: a group is named by a short fingerprint of its token.
Only the owner can change this.
Invoice sending
What happens after the monthly run has created an invoice in Stripe.
Manual (default)
Invoices are created in Stripe as drafts. Nothing is emailed and nothing is charged until someone presses Send on the invoice here.
Automatic
Once an invoice's amount check passes, the app finalizes it and emails it or charges the saved payment method by itself.
Only the owner can change this.
Prices
Per billable registration. The ACH Direct Debit price is a discount for paying by bank debit; the standard price is always the ACH price × 1.03. Organizations' contract prices and discounts are set on the Registrations tab (Pricing).