Skip to main content
Source snapshot: 13 October 2026. These pages describe the current implementation, including unfinished controls. See coverage and review notes.

Billing payment history

Host: admin.<ROOT_DOMAIN> · Route: /[tenant]/billing/payments

Purpose and access

Inspect tenant subscription payment history and its invoice-download presentation.You need an account session and a resolved membership context in the selected Mahallu (including the API’s current platform elevation path). The API independently checks the requested operation’s permissions and feature availability.

Screen layout

Payment histories shows invoice rows and Download controls connected to InvoiceDownloadModal.

Fields and displayed information

This screen has no editable fields or filters in its rendered components.

Actions

Interaction sequence

Download → open the selected invoice preview → use the modal’s available output controls.

States and rules

The tenant component uses display data rather than loading the tenant’s persisted billing history. Do not equate this presentation with the functional control-panel invoice/payment tools.

Implementation references

Paths below are relative to the application repository. This is source-reviewed behavior, not a recorded browser test.
  • apps/web/src/app/sites/admin/[tenant]/billing/payments/page.tsx
  • apps/web/src/features/billing/billing-payments.tsx
  • apps/web/src/features/billing/invoice-download-modal.tsx
Data and access helpers: apps/web/src/lib/session.ts, apps/web/src/lib/server-api.ts, apps/web/src/lib/tenants.ts

API behavior references

  • apps/api/src/billing/plans.controller.ts
  • apps/api/src/billing/tenant-billing.controller.ts