Customer balance
get_customer_balanceRetrieve a customer's accounts receivable balance, credit limit, open and overdue invoices, and open order counts to assess credit status or prepare payment reminders.
Instructions
Get a customer's account balance (accounts receivable).
Use for "What is Oakhurst's open balance?", "Is C-0034 over its credit limit?" or before drafting a payment reminder. Returns contact details, credit limit, invoiced, paid, open and overdue amounts, each overdue invoice with days overdue, and counts of open/overdue orders.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer": "<customer>"
},
"name": "get_customer_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer | Yes | Customer code (e.g. 'C-0007') or name, full or partial (e.g. 'Oakhurst'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||