Visma eAccounting API - New property in /v2/articles
by Daniel JonssonNew property in /v2/articles
We have added "Notes" as a read-only property in the /v2/articles endpoint.
New property in /v2/articles
We have added "Notes" as a read-only property in the /v2/articles endpoint.
New property in Company Settings
We have added "Swish" as a property in /v2/CompanySettings
Endpoints affected
/v2/CompanySettings
New property on CustomerInvoiceDraftRowApi and CustomerInvoiceRowApi
We've added Amount as a read-only property on CustomerInvoiceDraftRowApi and CustomerInvoiceRowApi
Endpoints affected:
/v2/customerinvoicedrafts
/v2/customerinvoices
New property regarding sales documents
We can now expose purchase price and freight costs in the API on article row for quotes, orders and sales invoices.
New property "PurchasePrice" and "FreightCosts" are added
PurchasePrice and FreightCosts is now exposed in the API. The properties are readonly.
New endpoints regarding creation of sales price list
It is now possible to create and update new sales price lists through the API.
Endpoints affected:
POST /v2/salespricelists
PUT /v2/salespricelists/{salesPriceListId}
PUT /v2/salespricelists/{salesPriceListId}/prices
DELETE /v2/salespricelists/{salesPriceListId}
Finally!
We always strive to give our partners and our customers the best out of our system and API, therefore a new feature is coming our way called Discount In Fixed Amount. Some of you might be familiar with this already because we know this is a highly desired feature by our and your users in eAccounting.
This means that we have new properties on all API endpoints with sales rows models (in other words QuoteRowApi, OrderRowApi, CustomerInvoiceRowApi, and CustomerInvoiceDraftRowApi). The properties are IsDiscountInFixedAmount (boolean, optional, read only) and DiscountFixedAmount (number, optional, read only, 2 decimals). They all align the same for all sales model rows.
In order to extend the possibility from only using discount with percentage to both percentage and a fixed amount we need to expose the discounts a bit differently.
The IsDiscountInFixedAmount property will inform you of which discount type is on the row. False equals percentage and true equals fixed amount.
The DiscountFixedAmount property will represent the discount amount when IsDiscountInFixedAmount value is true.
If your integration reads or writes information about discount we recommend you to read from these new properties in combination with the existing DiscountPercentage property.
The sooner the better. We will release this feature to be used in the GUI of eAccounting 14th of October. Before that you need to adapt to the changes in order for you integration to work with the new discount in fixed amount.
We really look forward to releasing this fully. Again, it’s a highly desired feature and will make eAccounting even better!
Questions? Don't hesitate to contact us at [email protected].
A new query parameter has been added to GET /v2/supplierinvoicedrafts
Parameter approvableByCurrentUser only returns the supplier invoice drafts approvable by the authenticated user.
New property in sales documents - VatRate
We have added a new property for all sales document rows. For CustomerInvoiceRowApi we had a similar property called PercentVat which has been deprecated and replaced by VatRate for consistency.
Convert an order to invoice
It is now possible to convert an order to invoice even if it contains an article with an accounting code for services.
New Property on CompanySettings
VatTriangulationRules
UsesVatTriangulationRules was added to an endpoint. it can be set either true or false using endpoint for Company settings.