woo_helper_get_invoice_order
Retrieve a WooCommerce order's invoice state—status, invoice number, errors, attempts, PDF availability, dry-run preview, and credit notes—to diagnose invoicing.
Instructions
Invoice state of one order: status, invoice number, error, attempts, has_pdf, the dry-run request preview, and credit notes.
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>"
},
"name": "woo_helper_get_invoice_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| order_id | Yes | WooCommerce order id |