External Invoices Delete
tiendanube_external_invoices_deleteDeletes an external invoice from a Tiendanube order using the order ID and fiscal key, removing the specified invoice record through the unstable API.
Instructions
Delete an external invoice (unstable API). HTTP: DELETE /orders/{order_id}/invoices/external/{key} Required scope: write_orders API version: unstable
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_id": "<order_id>",
"key": "<key>"
},
"name": "tiendanube_external_invoices_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Invoice fiscal key (44 digits, e.g. NFe access key or CAE) | |
| order_id | Yes | Order ID |