Get Service Provider Spend
GET/api/reporting/suppliers/service-spend
What service providers billed in the period — freight forwarders, customs brokers, printers and any other supplier whose type is service — split by provider and cost category, with each figure as a percentage of the goods purchased in the same period.
reports:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token (scope: reports)
Spend is the sum of bill line amounts converted to your home currency at each bill's exchange rate, for bills whose invoice date falls in the period. Lines with no cost category are reported with cost_category_id null and the name "Uncategorised". Bills from archived service providers are included.
Goods purchased is the received value of purchase orders placed with goods suppliers in the same period (home currency). pct_of_goods is null when no goods were purchased.
monthly covers the trailing 12 complete calendar months regardless of period_mode; series holds one row per cost category.
Response fields:
- totals: spend (current, previous, delta_pct), goods_purchased, pct_of_goods, previous_pct_of_goods, bill_count
- categories[]: per cost category spend, previous_spend, delta_pct, pct_of_goods, bill_count
- providers[]: per service provider spend, previous spend, % of goods, bill count, last bill date and its category split
- monthly: columns (Y-m), series per category, goods_purchased and pct_of_goods per month
- service_provider_count: how many suppliers are typed as service providers
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.