record_purchase_bill_payment
Records a payment against a purchase bill from a selected cash or bank account, capturing amount, date, and optional description for accurate accounts payable tracking.
Instructions
Record a payment made against a purchase bill, from a cash/bank account.
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": {
"bill_id": "<bill_id>",
"account_id": "<account_id>",
"amount": "<amount>",
"date": "<date>"
},
"name": "record_purchase_bill_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Payment date (YYYY-MM-DD) | |
| amount | Yes | Amount paid | |
| bill_id | Yes | Purchase bill ID | |
| account_id | Yes | Cash/bank account ID the payment comes from (see list_accounts) | |
| description | No | Description | |
| exchange_rate | No | Exchange rate to TRL if account currency differs from the bill |