External Invoices Create
tiendanube_external_invoices_createAttach an external fiscal invoice (NFe/CAE) to a Tiendanube order using its order ID and 44-digit fiscal key, with optional XML, number, series, and issue date.
Instructions
Attach an external fiscal invoice (NFe/CAE...) to an order (unstable API). HTTP: POST /orders/{order_id}/invoices/external Required scope: write_orders API version: unstable
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | 44-digit fiscal key | |
| xml | No | Fiscal XML (or URL/data per the API reference) | |
| 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 |