Reports
- GET
/reports/revenueRevenue by period - GET
/reports/top-articlesBest-selling articles - GET
/reports/marginGross margin - GET
/reports/aged-balanceCustomer or supplier aged balance
Revenue by period #
/api/public/v1/quosuite/reports/revenuereports:readgetRevenueReportRevenue excl. and incl. tax of completed sales, per day or per month.
Parameters
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenarfromstringquerytostringquerygranularitystringquerydaymonthwarehouseIdstring (uuid)query
Response 200application/json
Success.
bucketsRevenueBucketDto[]requiredRevenueBucketDto details
totalExclTaxnumberrequirede.g.150000totalInclTaxnumberrequirede.g.178500documentsnumberrequirede.g.214baseCurrencystringrequirede.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.
curl 'https://quosuite.com/api/public/v1/quosuite/reports/revenue' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"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 #
/api/public/v1/quosuite/reports/top-articlesreports:readgetTopArticlesReportArticles ranked by revenue excl. tax over the period.
Parameters
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenarfromstringquerytostringquerylimitnumberquery
Response 200application/json
Success.
itemsTopArticleDto[]requiredTopArticleDto 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.
curl 'https://quosuite.com/api/public/v1/quosuite/reports/top-articles' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"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 #
/api/public/v1/quosuite/reports/marginreports:readgetMarginReportRevenue, purchase cost of the articles sold and margin, over the period.
Parameters
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenarfromstringquerytostringquery
Response 200application/json
Success.
revenuenumberrequirede.g.150000costnumberrequirede.g.98000marginnumberrequirede.g.52000marginRatenumberrequiredMargin 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.
curl 'https://quosuite.com/api/public/v1/quosuite/reports/margin' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"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 #
/api/public/v1/quosuite/reports/aged-balancereports:readgetAgedBalanceReportOutstanding amount of open invoices per partner, broken down by due-date age.
Parameters
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenartypestringqueryCLIENTSUPPLIERasOfstringqueryCut-off date (default: today).
Response 200application/json
Success.
asOfstringrequirede.g.2026-10-02typestringrequiredvaluesCLIENTSUPPLIERrowsAgedRowDto[]requiredAgedRowDto details
totalsAgedTotalsDtorequiredAgedTotalsDto 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.
curl 'https://quosuite.com/api/public/v1/quosuite/reports/aged-balance' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"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.