curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.stateset.com/api/v1/ar/customers/{customer_id}/statement' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"closing_balance": "49.00",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customer_name": "Ada Lovelace",
"line_items": [
{
"balance": "49.00",
"credit": "string",
"date": "2026-08-31T14:22:05Z",
"debit": "string",
"description": "Two-person tent, green — replacement for damaged pole set.",
"reference_number": "string",
"transaction_type": "string"
}
],
"opening_balance": "49.00",
"period_end": "string",
"period_start": "string",
"total_credits": "string",
"total_invoices": "string",
"total_payments": "string"
}
Ar customer statement
Ar customer statement
GET
/
api
/
v1
/
ar
/
customers
/
{customer_id}
/
statement
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.stateset.com/api/v1/ar/customers/{customer_id}/statement' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"closing_balance": "49.00",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customer_name": "Ada Lovelace",
"line_items": [
{
"balance": "49.00",
"credit": "string",
"date": "2026-08-31T14:22:05Z",
"debit": "string",
"description": "Two-person tent, green — replacement for damaged pole set.",
"reference_number": "string",
"transaction_type": "string"
}
],
"opening_balance": "49.00",
"period_end": "string",
"period_start": "string",
"total_credits": "string",
"total_invoices": "string",
"total_payments": "string"
}
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
Path parameters
Query parameters
Response
ArCustomerStatementResponse
Status codes
| Code | Meaning |
|---|---|
200 | — |
404 | — |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.stateset.com/api/v1/ar/customers/{customer_id}/statement' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"closing_balance": "49.00",
"customer_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customer_name": "Ada Lovelace",
"line_items": [
{
"balance": "49.00",
"credit": "string",
"date": "2026-08-31T14:22:05Z",
"debit": "string",
"description": "Two-person tent, green — replacement for damaged pole set.",
"reference_number": "string",
"transaction_type": "string"
}
],
"opening_balance": "49.00",
"period_end": "string",
"period_start": "string",
"total_credits": "string",
"total_invoices": "string",
"total_payments": "string"
}
Last modified on October 20, 2026