Orders Invoices Create
tiendanube_orders_invoices_createAttach an invoice to an existing Tiendanube order by submitting invoice details to the order invoices endpoint.
Instructions
Attach an invoice to an order. Body per the API reference. HTTP: POST /orders/{id}/invoices Required scope: write_orders API version: 2025-03
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": {
"id": "<id>",
"invoice": "<invoice>"
},
"name": "tiendanube_orders_invoices_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Order ID | |
| invoice | Yes | Invoice object (fields per the API reference) |