merit_create_sales_offer_payment
Record a payment against a sales offer by matching customer name and offer number, specifying the amount and payment date.
Instructions
Record a payment against a sales offer (POST /api/v2/sendPaymentO). Identify the offer with customerName + offerNo. paymentDate is ISO date or datetime and is sent as yyyyMMddHHmm (Merit's documented format for this endpoint).
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": {
"customerName": "<customerName>",
"offerNo": "<offerNo>",
"paymentDate": "<paymentDate>",
"amount": "<amount>"
},
"name": "merit_create_sales_offer_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | No | ||
| refNo | No | ||
| amount | Yes | Payment amount (required) | |
| bankId | No | ||
| offerNo | Yes | Sales offer number (required) | |
| paymentDate | Yes | ISO YYYY-MM-DD or YYYY-MM-DDTHH:mm (required) | |
| currencyCode | No | Required if not local currency | |
| currencyRate | No | ||
| customerName | Yes | Customer name (required) |