# Tax preview generation

#### What's new

New endpoint allows you to pass any `Order` object to generate the tax invoice preview as HTML file.

#### Changes in API

New <mark style="color:blue;">`POST`</mark> `https://app.ecwid.com/api/v3/{storeId}/orders/tax-invoice-preview`  endpoint which accepts an `Order` object as request JSON body (the same way the Create order request does).

#### Documentation links

{% content-ref url="/spaces/G9n5VxMY9T0Ob3D56PSD/pages/wXMayKGrn8muT8YZ3oCl" %}
[Generate tax invoice preview](/api-reference/rest-api/orders/order-invoices/generate-tax-invoice-preview.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ecwid.com/changelog/april-2026/april-30/tax-preview-generation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
