# Vertex accounts

Configure your [Vertex](https://www.vertexinc.com/) account to automatically compute tax calculations for the orders of the associated market.

Based on the [Vertex O Series](https://www.vertexinc.com/solutions/products/vertex-indirect-tax-o-series) type of solution you choose (set as the value of the `kind` attribute), the configuration might slightly differ, for example for what the base URL used to compose the appropriate endpoint URL to which the integration submits the request for an access token is concerned. Specifically, as detailed in the [Vertex API documentation](https://developer.vertexinc.com/oseries/docs/authentication-os#local-token-caching):

* **O Series Cloud** — Fixed URL with no base URL attached.
* **O Series On-Demand** — The base URL is a second-level domain.
* **O Series On-Premise** — You need to use your full server domain as the base URL.

{% hint style="warning" %}
Due to what was mentioned above, when creating a Vertex account, the `baseurl` attribute is optional only if the `kind` is `cloud`.
{% endhint %}


---

# 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.commercelayer.io/core-api-reference/vertex_accounts.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.
