Invoice billing, negotiated prices and minimum spend
Your team can bill a customer by invoice on payment terms, agree a price or allowance with one customer, and set a minimum spend each billing period.
Added
9- BillingA subscription can now be billed by invoice on payment terms. Choose Billing method in the Actions menu on a workspace's subscription card, or call POST /api/subscriptions/actions/collection with method send_invoice and daysUntilDue from 1 to 365. Stripe sends each invoice to the customer to pay within those days, with an optional PO number printed on it. method charge_automatically moves it back to the saved payment method. The next invoice follows the new method, and an invoice already open keeps its own terms.
- BillingPOST /api/subscriptions/actions/invoice-subscription starts a workspace on a paid plan collected by invoice, without Checkout. Stripe makes it active with its first invoice open and due in daysUntilDue days. A workspace that already has a subscription is refused, and a person cannot be started this way (SELF_CHECKOUT_ONLY).
- BillingOn invoice billing, payment recovery starts at the invoice due date. A card the customer tries on the invoice page and that is declined before then starts nothing.
- WebhooksNew events invoice.sent, when Stripe sends an invoice, and invoice.overdue, once when an invoice on payment terms passes its due date unpaid. They come from Stripe's own invoice.sent and invoice.overdue, which the payment setup page now lists for your Stripe webhook endpoint.
- BillingNegotiated terms: a price or allowance agreed with one customer can be set on the subscription they already hold, without publishing a plan for them. Use Set a negotiated term under Negotiated terms on a workspace's subscription card, or POST /api/subscriptions/overrides. A term is a base price, a price per seat, a quota's included amount or overage price, or a limit, with an optional start and end date and a reason. GET /api/subscriptions/overrides lists them and POST /api/subscriptions/overrides/:id/end ends one. They need the stripe_subscription_overrides permission, separate from the other subscription actions.
- BillingA negotiated price is billed from the first invoice dated on or after its start, with nothing prorated. A negotiated allowance replaces the plan's value from its start date, even a lower one, and grants still add on top.
- BillingWhile a negotiated price is in force, a customer's own plan change or billing interval switch, and its preview, answers 400 NEGOTIATED_TERMS_HELD, on PATCH /api/v1/public/workspaces/:workspaceId/subscription and on the person's /me/subscription routes. A plan change by your team, POST /api/subscriptions/actions/change-plan, that would end negotiated terms answers 409 PLAN_CHANGE_ENDS_OVERRIDES and lists them. Send endOverrides: true to go ahead.
- BillingMinimum spend commitments: POST /api/subscriptions/actions/commitment sets an amount per billing period on a live paid subscription, in the currency's smallest unit, and POST /api/subscriptions/actions/commitment/remove removes it. At each period end, what the customer was charged for metered usage, after discounts and before tax, is compared with it. A shortfall is added to the renewal invoice as a Minimum commitment true-up line, which takes no discount. overageRateBps bills usage past the commitment at another rate. The console has no screen for it yet.
- BillingA commitment shows in the subscription read, the entitlement answer and the next-invoice preview, and counts toward MRR. The true-up is added when Stripe sends invoice.created for the renewal. If your Stripe webhook endpoint does not send that event, it is billed on the following invoice.