fixed

Visma eAccounting API - Fixed an issue with pricelist

📘

Fixed issues with pricelist

We have fixed a bug for sales invoice drafts, so that when the price on the row is zero and ReplaceUnitPriceWhenZero is true, the price is taken from the sales pricelist the customer uses (if the company uses pricelists).

We have added the ReplaceUnitPriceWhenZero property for sales invoices as well.

Endpoints affected

GET /v2/customerinvoices
POST /v2/customerinvoices
GET /v2/customerinvoices/{invoiceId}