External Invoices Update
tiendanube_external_invoices_updateUpdates an external invoice for a Tiendanube order using the order ID and 44-digit fiscal key, with optional XML, invoice number, series, and issue date.
Instructions
Update an external invoice (unstable API). HTTP: PUT /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_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Invoice fiscal key (44 digits, e.g. NFe access key or CAE) | |
| xml | No | Fiscal XML | |
| number | No | Invoice number | |
| series | No | Invoice series | |
| order_id | Yes | Order ID | |
| issued_at | No | Issue timestamp (ISO 8601) | |
| additional_fields | No | Extra raw API body fields not covered above; merged into the request body |