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
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 |