Get an order's invoice
get_invoiceThe tax invoice for one order as a PDF attached to the result, once the order is invoiced (paid, or on a Team's account once approved). Otherwise it says plainly that there is no invoice yet. The order page link has Download invoice too. Needs a signed-in Printdash account: called without one, the connection asks the customer to sign in on printdash.io.
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": {
"order": "<order>"
},
"name": "get_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | The order number (or the order id from its link). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| next | Yes | ||
| bytes | No | ||
| reason | No | ||
| attached | No | ||
| file_name | No | ||
| order_number | Yes | ||
| invoice_available | Yes |