deleteInvoiceItem
Delete an item of a draft invoice, or a pending invoice item of a customer, so the customer is not billed for it. Deleting is permanent and cannot be undone. Returns the item as it was before the delete. Deleting the item of a booking, order, or event ticket removes only its charge, not the booking, order, or ticket itself. An item on an issued invoice cannot be deleted: it is corrected with createCreditNote. Get invoiceItemId from getInvoiceItems. Never invent UUIDs; only use values from prior tool responses.
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": {
"invoiceItemId": "<invoiceItemId>"
},
"name": "deleteInvoiceItem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceItemId | Yes | The id of the invoice item. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceItem | Yes |