v1

latestOpenAPI 3.0.3MIT-LICENSE2026-07-2469127278.1 KB
Taxes

Create Tax

Creates a new tax line for an existing order. The tax line is added to the order identified by id. The response returns the created tax line.

post/orders/{id}/tax_lines

Path parameters

idstring required

Identifier of the resource

Headers

Accept-Language'es' | 'en'

Use for knowing which language to use

X-Child-Company-Idstring

In the case of a holding company, the company id of the child company to which will process the request.

Request body

amountinteger required

The amount to be collected for tax in cents

descriptionstring required

description or tax's name

metadataobject

Example request

{
  "amount": 100,
  "description": "testing",
  "metadata": {
    "key": "value"
  }
}

Response

successful