Record payment (invoicing)
solo_record_paymentMoney arrived. Recording it and deciding what it settles are two acts. Never guess which invoice a payment is for — unapplied is a valid, visible state. Ask, or leave it unapplied. Effects: payment recorded as unapplied.
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_id": "<customer_id>",
"amount": "<amount>"
},
"name": "solo_record_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount received. In cents (integer minor units) — 1250 means $12.50. | |
| method | No | How it arrived. | |
| currency | No | Currency the money arrived in, ISO 4217. Defaults to the company default; a payment only ever settles invoices in its own currency. | |
| reference | No | Transfer reference, check number — exactly as shown. | |
| customer_id | Yes | Who paid. An existing customer id. | |
| received_at | No | Value date. Defaults to today. ISO date, YYYY-MM-DD. |