Developers
Reference

Reports

Revenue by period #

GET/api/public/v1/quosuite/reports/revenue
Scope : reports:readgetRevenueReport

Revenue excl. and incl. tax of completed sales, per day or per month.

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • fromstringquery
  • tostringquery
  • granularitystringquery
    daymonth
  • warehouseIdstring (uuid)query

Response 200application/json

Success.

  • bucketsRevenueBucketDto[]required
    RevenueBucketDto details
  • totalExclTaxnumberrequired
    e.g.150000
  • totalInclTaxnumberrequired
    e.g.178500
  • documentsnumberrequired
    e.g.214
  • baseCurrencystringrequired
    e.g.TND

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/reports/revenue' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "buckets": [
      {
        "period": "2026-07",
        "totalExclTax": 12500,
        "totalInclTax": 14875,
        "documents": 18
      }
    ],
    "totalExclTax": 150000,
    "totalInclTax": 178500,
    "documents": 214,
    "baseCurrency": "TND"
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Best-selling articles #

GET/api/public/v1/quosuite/reports/top-articles
Scope : reports:readgetTopArticlesReport

Articles ranked by revenue excl. tax over the period.

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • fromstringquery
  • tostringquery
  • limitnumberquery

Response 200application/json

Success.

  • itemsTopArticleDto[]required
    TopArticleDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/reports/top-articles' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "articleId": "f17bf1c8-eebb-4ca8-8dad-1fc1b4feeaed",
        "reference": "ART-0001",
        "label": "Ordinateur portable 14\"",
        "quantity": 37,
        "revenue": 46250
      }
    ]
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Gross margin #

GET/api/public/v1/quosuite/reports/margin
Scope : reports:readgetMarginReport

Revenue, purchase cost of the articles sold and margin, over the period.

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • fromstringquery
  • tostringquery

Response 200application/json

Success.

  • revenuenumberrequired
    e.g.150000
  • costnumberrequired
    e.g.98000
  • marginnumberrequired
    e.g.52000
  • marginRatenumberrequired

    Margin rate (% of revenue).

    e.g.34.67

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/reports/margin' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "revenue": 150000,
    "cost": 98000,
    "margin": 52000,
    "marginRate": 34.67
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Customer or supplier aged balance #

GET/api/public/v1/quosuite/reports/aged-balance
Scope : reports:readgetAgedBalanceReport

Outstanding amount of open invoices per partner, broken down by due-date age.

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar
  • typestringquery
    CLIENTSUPPLIER
  • asOfstringquery

    Cut-off date (default: today).

Response 200application/json

Success.

  • asOfstringrequired
    e.g.2026-10-02
  • typestringrequired
    valuesCLIENTSUPPLIER
  • rowsAgedRowDto[]required
    AgedRowDto details
  • totalsAgedTotalsDtorequired
    AgedTotalsDto details

Errors

400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR

Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.

401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED

Key missing, invalid, revoked or expired.

403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE

Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.

429API_RATE_LIMITEDAPI_AUTH_BLOCKED

Key or workspace quota reached (see Retry-After), or address blocked.

500INTERNAL_ERROR

Unexpected error. Quote requestId to support.

503SERVICE_UNAVAILABLE

Temporarily unavailable (see Retry-After). No infrastructure details.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/reports/aged-balance' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "asOf": "2026-10-02",
    "type": "CLIENT",
    "rows": [
      {
        "partnerId": "9d4e3d8e-36e6-4f7a-8c29-163b5af64d5d",
        "code": "string",
        "name": "string",
        "notDue": 0,
        "d1_30": 0,
        "d31_60": 0,
        "d61_90": 0,
        "d90plus": 0,
        "total": 0
      }
    ],
    "totals": {
      "notDue": 0,
      "d1_30": 0,
      "d31_60": 0,
      "d61_90": 0,
      "d90plus": 0,
      "total": 0
    }
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Generated from the QuoSuite API OpenAPI contract v1.0.0.