SwiftGoma.SwiftGoma

Search endpoints

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

Reports

Download report (PDF)

GET/api/v1/accounting/report/pdf

Generates the same report as a downloadable PDF, and stores a copy for later retrieval via the report history.

Requires Authorization
ADMIN, ACCOUNTANT only
Session

Query parameters

fromstring
ISO date.
tostring
ISO date.
Request
curl --request GET \
  --url https://api.swiftgoma.com/api/v1/accounting/report/pdf \
  --header 'Authorization: Bearer <access_token>'
200Example response
{
  "success": true,
  "data": {
    "message": "Returns application/pdf — not a JSON body."
  }
}