Skip to content

Expose tenant billing metadata and overage invoice preference - #3589

Closed
jshearer wants to merge 2 commits into
masterfrom
codex/billing-graphql-metadata
Closed

jshearer wants to merge 2 commits into
masterfrom
codex/billing-graphql-metadata

Conversation

@jshearer

@jshearer jshearer commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Expose trialStart, trialEnd, paymentProvider, and isGcpMarketplace under Tenant.billing so billing eligibility reads can move off PostgREST. Existing ViewBilling permissions apply. trialEnd is exclusive and uses the calendar-month calculation from internal.billing_report_202308.

Add tenants.invoice_overages (non-null, default false) and expose it as invoiceOverages. Invoice collection does not yet use this preference. Apply the migration before deploying the API.

@jshearer
jshearer force-pushed the codex/billing-graphql-metadata branch from ca83cb5 to f38306a Compare October 8, 2026 23:42
@jshearer jshearer closed this Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant