# API Release news from January 29, 2024

URL: https://shoptet.dev/news/api/api-release-news-from-january-29-2024

January 29, 2024 · 2 min read
Marko Chytka

## Upcoming Breaking changes:

#### *taxMode deprecation and new vatMode attribute*

- **since the last release (29.01.2024)** we have decided to set `taxMode` attribute as deprecated throughout the whole API endpoints spectrum
- end of support for `taxMode` is planned for **15.03. 2024 at the latest**
- instead of this we've provided a new one – `vatMode` – which has been added to all documents and directly supports the One Stop Shop (OSS) mode
- we've added the `vatMode` in [Order insertion](https://api.docs.shoptet.com/shoptet-api/openapi/orders/createorder) also, as an optional property with possible values: `Normal` , `One Stop Shop` , `Mini One Stop Shop` , `Reverse charge` , `Outside the EU`
- **PLEASE NOTE: `vatMode` is NULLable, but if set to NULL, the value `Normal` will be forced by Shoptet**

## Improvements:

#### *One stop shop (OSS) identification available via API*

- we've enabled the support of e-shop's OSS (One stop shop) as a new identifier on the [GET Eshop info endpoint](https://api.docs.shoptet.com/shoptet-api/openapi/eshop/geteshopinfo) , specifically available as `data.settings.oss` (boolean)
- new property determines if eshop has the OSS (One stop shop) tax mode enabled, this affects behavior of VAT modes and VAT rates in the order and other linked documents

## Bugfixes:

#### *New exception while setting variant visible :false on sigle variant product*

- we find out, that on product update/create is allowed to set variant as `visible:false` for single-variant product
- in that case we newly return a expeption as a `error 422`
- **example:**

```json
{
    "data": null,
    "errors": [
        {
            "errorCode": "invalid-request-data",
            "message": "It is not possible to set \"visible\" to false for single variant product.",
            "instance": "payload"
        }
    ]
}
```

**Tags:**
- [API](/news/tags/api/)
