Get the AR aging report.
Get the AR aging report.
GET
https://staging.softsolz.uk/api/v1/services/invoicing/reports/ar-agingRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Headers
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Query Params
as_ofstringAs-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": [] }}