> For the complete documentation index, see [llms.txt](https://developers.portos.sk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.portos.sk/previous-versions/migration-to-v4.1.md).

# Migration to V4.1

This article describes breaking changes between PORTOS API v4.0 and v4.1.

## Plu

* **`RetailPrice`**: Property has been renamed to `RetailPriceIncludingVat`. As the name suggests, the retail price includes VAT now.
* `VatCategory`: The maximum value is changed from 5 to 10.

## PluPriceHistoryItem

* `RetailPrice`: Property has been renamed to `RetailPriceIncludingVat`. As the name suggests, the retail price includes VAT now.

## PluPurchaseType

* `VatCategory`: The maximum value is changed from 5 to 10.

## Vat

* `Category`: The maximum value is changed from 5 to 10.
* `Rate`: Data type is changed from decimal to nullable decimal, so value can be `null`as well.
* **`PlannedRateChange`**: New property `PlannedRateChange` of type `VatRateChange` has been added.
* **`LastModifiedAt`**: Date and time of last update. Enforced by API.

## VatIncome

* **`VatCategory`**: Property has been removed.
* `VatRate`: Data type is changed from decimal to nullable decimal, so value can be `null`as well.

## VatInfo

* `Category`: The maximum value is changed from 5 to 10.
* `Rate`: Data type is changed from decimal to nullable decimal, so value can be `null`as well.
