ScaleBox Docs

Billing Commands

Reference for invoices, billing periods, and billing history commands.

Reference for scalebox-cli billing commands.

All commands on this page also accept --compact for one-line JSON output.

billing invoices

List invoices. Supported flags: --page, --page-size.

scalebox-cli billing invoices
scalebox-cli billing invoices --page 2 --page-size 25

Canonical paginated JSON:

{
  "invoices": [],
  "pagination": {
    "page": 2,
    "limit": 25,
    "total": 0,
    "total_pages": 0,
    "offset": 0
  }
}

Other billing commands

  • billing invoice INVOICE_ID: show one invoice.
  • billing current: show the current billing period snapshot.
  • billing periods: show the unified billing periods list.
  • billing history: billing history for a time range with --start and --end.
  • billing generate-invoice: generate an invoice for the current period.
scalebox-cli billing invoice inv_123
scalebox-cli billing current
scalebox-cli billing periods
scalebox-cli billing history --start 2026-04-01T00:00:00Z --end 2026-04-30T23:59:59Z
scalebox-cli billing generate-invoice

On this page