Advances a subscription to its next billing period and generates an invoice. If cancelAtPeriodEnd was set, transitions to canceled instead. The Phase 4 scheduler will call this on cycle.
AuthorizationRequiredBearer <token>API key as Bearer token
In: header
idRequiredstringSubscription id, discoverable via list_subscriptions
Preview Upcoming Subscription Invoice
Returns a non-persisted preview of the invoice the next renewal will generate (Stripe-style invoice.upcoming). Returns `invoice: null` when the subscription is set to cancel at period end. Rejects incomplete, canceled, and unpaid subscriptions (no future cycle exists to preview). For past_due subscriptions, the preview reflects the cycle AFTER the current retry, not the in-flight unpaid invoice itself. To inspect the current cycle's open invoice, use `list_invoices` with `subscriptionId` and `status: payment_failed`.
List Invoices
Lists the host's invoices, optionally filtered by status, recipient, or issue date. Sorted by issuedAt descending. Paginated.