Hello everyone, and welcome back to those returning from vacation! We hope summer treated you well. ☀️
Time to get back in the game — here’s what’s new in our API.
Hello, dev people! 👋
Just stopping by with a few new updates. No brand new endpoints this time – but, we've given the old ones some well-deserved attention. Here's what's new:
New error messages now visable.
We've added a few error messages to the documentation that were already in use behind the scenes. Now they're properly listed, so you'll know exactly what to expect if things go sideways. You can find them here.
A bit of extra clarity here and there.
We've added maxLength to a few fields and improved property descriptions to smooth out the details and to make things easier for you. Affected endpoints: GET/POST /v2/attachments, GET/POST /v2/salesdocumentattachments
As always, let us know if anything looks funky or if you've got questions. Until next time – happy coding! 💻
Moving forward this will be the new format of delivering news, we'll make our best to publish news once every month. A lot of new stuff since last time 😄 Enjoy!
PaymentRemindersCount - Read only. Number of payment reminders sent for the overdue invoice.
LastPaymentReminderSentDate - Read only. Last payment reminder date for the overdue invoice. Null if no payment reminder has been sent.
TaxDeductionStatus- Read only. Represents the status of an invoice with applicable tax deduction in relation to export to tax authority. Possible values:
0 - None. The invoice has not yet fully been paid by the customer.
1 - ApplicableForDeductionExport. The invoice has been fully paid and can be exported to tax authority.
2 - ExportedToTaxAuthority. The invoice has been exported to tax authority.
3 - RejectedByTaxAuthority. The invoice has been rejected by tax authority.
IsQuickInvoice - Read only. Indicates if the invoice was created from journal entries posted manually or imported from another program.
IsCollectiveInvoice- Read only. Indicates if the invoice was created from more than one order.
CollectiveCustomerInvoiceRowsRelationToOrders- Read only. When IsCollectiveInvoice is true, this property is a populated list of the relation between the collective invoice rows and the orders that the invoice is generated from.
VismaWebshopStatus - Read only. Status of synchronization with Visma Webshop. Possible values:
0 - No synchronization
1 - Synchronization is enabled
2 - Synchronization not wanted (disabled)
3 - Synchronization requested
UsesVatTriangulationRules- When set to true, EU triangular transactions involve three parties and direct goods shipping, with the end VAT-registered customer liable for VAT.
CreatedFromQuoteId- Read only. If order was created from a quote, the quote id will be represented here.
TermsOfPaymentId- If this is set, the specific term of payment id will be used for this specific order instead of using the default term from the customer.
Fixed an issue where wrong validation error is given when posting an order with a order date in a non existing fiscal year. Error 3001 is now correctly thrown instead. Affected endpoint: POST /v2/orders.
Fixed an issue where wrong order date was set on a newly created order that was converted from a quote using POST /v2/quotes/{id}/converttoorder.
We're making a minor change to newly created Identity Server clients. In order to decrease complexity we are changing the way refresh tokens behaves. As of today refresh tokens are always renewed when requesting new tokens (requests towards https://identity.vismaonline.com/connect/token with grant_type=refresh_token). Going forward new clients will not have a rotating refresh token, instead it will be reusable.
If you are an existing integration partner and want to opt-in on this you can always contact our API support:
We are glad to inform you all that we are on track with development when it comes to the new feature discount in fixed amount.
Hope you all have read in our previous post about this feature otherwise we recommend you all do and prepare for being able to put these new properties into use!
What is next?
So on October the 14:th we will remove the read only to be able to create, read, update and write (all CRUD functionality) in both the API endpoints and the eAccounting Web UI with the new properties IsDiscountInFixedAmount (boolean, optional) and DiscountFixedAmount (number, optional, 2 decimals).