PayPing: create invoice
payping_create_invoiceCreate an invoice for a saved customer and get its code, pay code, and payment URL; confirm customer, items, and prices before generating it. It does not send the invoice.
Instructions
Create an invoice for a saved customer; returns code, payCode, url (pay page). Not sent: use payping_send_invoice
or share the url. Confirm customer, items and prices with the user first.
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": {
"customer_code": "<customer_code>",
"items": "<items>"
},
"name": "payping_create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| notes | No | Shown to the customer. | |
| title | No | ||
| due_date | No | Pay by this day (YYYY-MM-DD). | |
| customer_code | Yes | From payping_create_customer. |