SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Invoices

Get invoice stats

GET/api/v1/invoices/stats

Returns aggregate invoice totals. Staff-only.

Requires Authorization
ADMIN, ACCOUNTANT only
Session
Request
curl --request GET \
  --url https://api.swiftgoma.com/api/v1/invoices/stats \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": {
    "totalIssued": 340,
    "totals": [
      {
        "currency": "USD",
        "amount": "3400.00"
      }
    ]
  }
}