woo_helper_create_invoice
Creates a real, irreversible invoice in the live sevDesk/Lexware ledger for a WooCommerce order; requires confirm:true and a prior preview.
Instructions
DESTRUCTIVE, IRREVERSIBLE: creates a REAL invoice for this order in the live sevDesk/Lexware ledger. An invoice there cannot be deleted, only cancelled with a cancellation invoice. Refused with 409 while dry-run is on. Check woo_helper_get_invoice_order (preview) first. Requires confirm:true.
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": {
"site": "<site>",
"order_id": "<order_id>",
"confirm": "<confirm>"
},
"name": "woo_helper_create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| confirm | Yes | Must be true: creates a real, undeletable invoice | |
| order_id | Yes | WooCommerce order id |