accounting_allocate_payment
Allocate a payment to an invoice with exact minor-unit amounts while enforcing currency, counterparty and balance safeguards.
Instructions
Allocate payment with currency, counterparty and balance safeguards.
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": {
"payment_id": "<payment_id>",
"invoice_id": "<invoice_id>",
"amount_minor": "<amount_minor>"
},
"name": "accounting_allocate_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | manual | |
| evidence | No | ||
| source_id | No | ||
| invoice_id | Yes | ||
| payment_id | Yes | ||
| amount_minor | Yes |