payments_create_payment
Record a payment transaction by specifying amount, currency, type, and organization. Optionally include date, direction, payer, and bank account details.
Instructions
Record a payment transaction.
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": {
"amount": "<amount>",
"currency_id": "<currency_id>",
"type": "<type>",
"organization_id": "<organization_id>"
},
"name": "payments_create_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Payment date YYYY-MM-DD (defaults to today) | |
| type | Yes | Payment type ID | |
| amount | Yes | ||
| message | No | ||
| direction | No | 1=Incoming (default), 2=Outgoing | |
| person_id | No | Person who made the payment | |
| currency_id | Yes | ||
| description | No | ||
| organization_id | Yes | ||
| prescription_id | No | Associated prescription ID | |
| specific_symbol | No | ||
| variable_symbol | No | ||
| bank_account_number | No | ||
| operation_identifier | No |