getInvoicePaymentsWithoutRefunds
getInvoicePaymentsWithoutRefundsRetrieve original payment records for an invoice while excluding refund payment rows. Use it to inspect invoice payments even when original payments were refunded or partially refunded.
Instructions
Get original payment records for an invoice, excluding refund payment rows. Refunded or partially refunded original payments may still appear here. Payment amounts are in cents.
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": {
"invoiceId": "<invoiceId>"
},
"name": "getInvoicePaymentsWithoutRefunds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | The ID of the invoice. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |