copy_invoice
Duplicate an invoice in Bexio by entering the original invoice ID and the target contact ID. This creates a new invoice based on the existing one.
Instructions
Copy a invoice
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": {
"invoice_id": "<invoice_id>",
"contact_id": "<contact_id>"
},
"name": "copy_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| contact_id | Yes | References a [contact object](#operation/v2ListContacts) | |
| invoice_id | Yes | the id of the invoice | |
| is_valid_from | No | ||
| contact_sub_id | No | References a [contact object](#operation/v2ListContacts) |