apply_outgoing_payment
Apply outgoing payments to vendor invoices and reconcile payables. Allocates amounts proportionally across open A/P invoice balances.
Instructions
Apply an outgoing payment to one or more A/P invoices and reconcile vendor payables. Amount is distributed proportionally across open invoice balances.
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": {
"cardCode": "<cardCode>",
"amount": "<amount>",
"invoiceDocEntries": "<invoiceDocEntries>"
},
"name": "apply_outgoing_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| docDate | No | YYYY-MM-DD | |
| remarks | No | ||
| cardCode | Yes | Vendor card code | |
| cashAccount | No | ||
| transferAccount | No | ||
| invoiceDocEntries | Yes | DocEntry values of A/P invoices to pay | |
| transferReference | No |