Get GINR Trend
GET/api/reporting/ginr/trend
GINR (Goods Invoiced, Not Received) — also called Accrued Purchases or GRNI — tracks the value of goods that suppliers have invoiced but that have not yet been received into inventory. The balance is calculated as: invoiced − received + discrepancies − adjustments, accumulated from the account's inventory start date (so it behaves like a balance-sheet figure, not a period movement).
reports:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Returns the end-of-month unreceived (GINR) balance for the last N months — one point per month — suitable for rendering a sparkline or trend chart. The final point is the current in-flight month, measured as of today, and is flagged with is_current: true.
Data freshness: closed months are served from precomputed month-end snapshots that are refreshed nightly (the trailing three months are recomputed each night to absorb backdated entries). If a closed month has no snapshot yet, it is computed live as a fallback. The current month is always computed live.
Authentication: Requires Bearer token. Scope: reports (read/write).
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 Entity
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.