register_payment
Register a payment against a posted invoice or bill via Odoo's standard wizard, keeping reconciliation accurate.
Instructions
Register a payment against a posted invoice/bill via Odoo's standard account.payment.register wizard model (keeps reconciliation correct -- never write account.payment directly).
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": {
"move_id": "<move_id>",
"journal_id": "<journal_id>"
},
"name": "register_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| move_id | Yes | ||
| journal_id | Yes | ||
| payment_date | No | ||
| payment_method_line_id | No |