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. 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.
In billing
Organization
Stripe customer
To bill
Old script
Transfers
Cancelled
Free re-transfers
Other organizations with transfers this month — not billed
Organization
Type
Would bill
Transfers
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.