duplicate_custom_invoice
Mutation/readOnly:false, script-tier/no-model-token action. Clone an existing custom invoice (draft, sent, or paid) into a brand-new unsent draft for the current billing month, bumping any month name in the title automatically. Nothing is emailed or charged. Requires the Owner or Admin role. Storefront Pro.
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": {
"invoiceId": "<invoiceId>",
"proAccessToken": "<proAccessToken>"
},
"name": "duplicate_custom_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | The existing invoice id from list_custom_invoices to duplicate. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |