SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
invoicing

Get the AR aging report.

Get the AR aging report.

GEThttps://staging.softsolz.uk/api/v1/services/invoicing/reports/ar-aging

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Query Params

as_ofstring

As-of date for aging (YYYY-MM-DD). Defaults to today.

Response

Response Body

as_ofstringAs-of date.
totalsobjectOutstanding totals per bucket plus grand total (numbers).
customersarray of objectsPer-customer aging summary, sorted by total desc.
invoicesarray of objectsFlat outstanding-invoice list for drill-down.

Request

import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.invoicing.getArAgingReport({});
console.log(result);

Credentials

Sent as a Bearer token. Stored only in your browser.

Response · 200

{
"data": {
"as_of": "string",
"totals": {},
"customers": [],
"invoices": []
}
}