teamleader_invoices_register_payment
Record a payment against an invoice by providing the invoice ID, amount, currency, and payment date. Updates the invoice's payment status in Teamleader Focus.
Instructions
Register a payment against an invoice.
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": {
"id": "<id>",
"amount": "<amount>",
"currency": "<currency>",
"paid_at": "<paid_at>"
},
"name": "teamleader_invoices_register_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The invoice ID | |
| amount | Yes | Payment amount | |
| paid_at | Yes | Payment date-time (ISO 8601) | |
| currency | Yes | Currency code (e.g. 'EUR') | |
| payment_method_id | No | Optional payment method ID |