Get payments
get_paymentsRetrieve payment status and payment items for a voucher or sales document by ID, so you can review how and when the document was paid.
Instructions
Read the payment status and payment items of a voucher or sales document.
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": {
"id": "<id>"
},
"name": "get_payments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the voucher or sales document |