Updates for creating and updating articles
December 6th, 2019 by David Alexandru
In eAccounting, the Gross price and Net price of an article are dependent on the selected vat rate. For example if you have selected a 25% vat rate and Net price is 100, Gross price must be 125. The same logic is valid if you enter 125 Gross price, Net price must be 100. In order to preserve data consistency we have added a validation which validates the Net and Gross price based on the selected vat rate.
Changelog
- improved : POST v2/articles.
- improved : PUT v2/articles/{Id}.
- improved : POST v1/articles.
- improved : PUT v1/articles/{Id}.