Available KPIs

The SAFE Billing Platform provides comprehensive KPIs across four main categories. Each category offers multiple KPI types to analyse different aspects of your billing operations.

Quick Reference

CategoryKPI TypesUse Case
CustomersSummary, byStatus, byDealerMonitor customer base growth and distribution
NumbersSummary, byStatus, byDealer, byTypeTrack telephone number allocation and usage
FeaturesSummary, charges, byStatus, byDealer, byTypeAnalyse feature adoption and revenue
InvoicesSummary, byDealer, byMonth, breakdownsReview billing performance and trends

URL Structure

KPI endpoints follow a RESTful URL pattern:

GET /backend/kpi/{category}/
GET /backend/kpi/{category}/{type}/

Where:

  • {category}: The KPI object (customers, numbers, features, invoices)
  • {type}: Specific KPI type (optional, defaults to summary)

Query Parameters

  • outputMode (optional): Response format (json, csv, or html)
  • key (optional): KPI key if not using Bearer authentication
  • Additional filters specific to each KPI type

Note: Output format is auto-detected based on authentication method - Bearer token defaults to JSON, key parameter defaults to HTML.

Response Patterns

KPI responses return arrays of objects with field names prefixed by the KPI type:

Single-row KPIs

Summary KPIs typically return a single row:

[
  {
    "customer_count": 1250
  }
]

Multi-row KPIs

Grouped KPIs return multiple rows:

[
  {
    "customer_status": "Active",
    "customer_count": 1100
  },
  {
    "customer_status": "Suspended",
    "customer_count": 50
  },
  {
    "customer_status": "Dropped",
    "customer_count": 100
  }
]

Financial KPIs

Multi-currency results include a currency field:

[
  {
    "invoice_currency": "GBP",
    "invoice_count": 450,
    "invoice_amount": 12500.000,
    "invoice_outstanding": 2500.000
  },
  {
    "invoice_currency": "EUR",
    "invoice_count": 50,
    "invoice_amount": 3500.000,
    "invoice_outstanding": 500.000
  }
]

Explore each category for detailed endpoint documentation and examples.

Still Didn’t Find Your Answer?

For assistance, please contact us below.

Submit a ticket