invoices_create
Creates an invoice and emails it to the payer; optionally sets up a recurring schedule that sends a new invoice before each due date.
Instructions
Create an invoice and email it to --payer-email right away. Without --payer-email, no email is sent. With --interval and --due-date-days, it also creates a schedule that emails a new invoice before each due date; when the first issue date is still in the future or the first due date has passed, only the schedule is created and the next daily run picks it up. Requires an owner-scoped key for an org owner and the Pro plan.
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": {
"payeeName": "<payeeName>",
"payerName": "<payerName>",
"amount": "<amount>",
"chainId": "<chainId>",
"tokenAddress": "<tokenAddress>",
"dueDate": "<dueDate>"
},
"name": "invoices_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Memo shown on the invoice | |
| amount | Yes | Amount in token units (e.g. 1500.00) | |
| chainId | Yes | Chain the payer pays on | |
| dueDate | Yes | Due date, ISO 8601 (e.g. 2026-11-01T00:00:00Z). With a schedule, the first due date. Dates count as UTC calendar days. | |
| ccEmails | No | Comma-separated emails that get a copy (max 10). Requires --payer-email. | |
| interval | No | Repeat the invoice on each due date. ONCE sends a single invoice on its issue date. Requires --due-date-days. | |
| payeeName | Yes | Name of who is billing | |
| payerName | Yes | Name of who pays | |
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. | |
| payerEmail | No | Email the invoice is sent to | |
| dueDateDays | No | Days between each issue date and its due date. Requires --interval. | |
| tokenAddress | Yes | Token the payer pays in | |
| accountAddress | No | Account that receives the payment. Auto-selected if the org has one account. | |
| allowFiatPayments | No | Let the payer pay by bank transfer. Defaults to true. |