📘

Here is a list of the latest bugfixes we've done

The parts we have solved affects both green technology, correct VAT numbers and so on.

Create a green tech invoice with 20 percentage for solar panel installation

This update makes it possible to create invoices with 20% and not only 15% as before, which are the only allowed values. The user has the option to change this by opening company settings and then invoice settings.

Affected endpoints:

POST v2/quotes
POST v2/orders
POST v2/customerinvoices
POST v2/quotedraft
POST v2/customerinvoicedrafts

Fix the e-mail layout formatting for quotes/orders/invoices

The formatting of the e-mail is now fixed so that it matches the one sent from the web.

Affected endpoints:

v2/quotes/{id}/email
v2/orders/{id}/email
v2/customerinvoices/{id}/email

Validate VAT number on customers

If a VAT number is added to a customer it needs to be valid according to VIES. This change will apply when creating new customers or changing existing ones. This behaviour will align with the current validation in the web application.

Affected endpoints:

POST v2/customers
PUT v2/customers/{id}

Invoice date on sales invoice drats

Today we always show the original invoice date, regardless of the company setting for “KeepOriginalDraftDate”.

This update will change the behavior to:

Keep today's date if the setting is OFF or NULL
Use the original draft date if the setting is ON
Affected endpoints:

GET v2/customerinvoicedrafts
GET v2/customerinvoicedrafts/{id}

👍

New endpoints for SalesPriceList and DiscountAgreement

We now, in eAccounting, support creating several price lists, therefore you can have specific sales prices for an article to specific customers. Also, we support creating multiple discount agreements that could be linked to a customer. These endpoints are available only for PRO variants.

Existing salespricelists and discountagreements can now be fetched in the API.

Changelog

  • Affected endpoints:

GET /v2/salespricelists
GET /v2/salespricelists/{salesPriceListId}
GET /v2/salespricelists/prices
GET /v2/salespricelists/prices/{salesPriceListId}/{articleId}
GET /v2/discountagreements
GET /v2/discountagreements/{discountAgreementId}

👍

Allow minus quantity on orders

We have added the possibility to allow minus quantity on orders in the API. The total sum of the order still needs to be positive. This gives you as a partner greater freedom in how you place your orders.

Changelog

GET v2/orders/
PUT v2/orders/
POST v2/orders/

👍

New Property on DeliveryDate

The new property delivery date has been added. Validation will be added to quotes which means that it’s not possible to select a DeliveryDate that is before the actual QuoteDate.
This provides increased security for you who are quoting.

Changelog

  • New property DeliveryDate added to the QuoteAPI entity.

New property on DueDate

by Daniel Jonsson
👍

New property: DueDate

DueDate is now exposed on customerInvoiceDrafts.

Changelog

Affected endpoints:
GET v2/customerinvoicedrafts
GET v2/customerinvoicedrafts/{id}
POST v2/customerinvoicedrafts
PUT v2/customerinvoicedrafts/{id}

New property on Quote

by Henric Ström
👍

New property on Quote

DeliveryDate has been added to the Quote model. Proper validation error will be thrown if the delivery date is earlier than the quote date.

Changelog

  • Added: DeliveryDate to the QuoteAPI model.