API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Invoice rows in wrong order.

0

Hi!

We are using the api to download Invoices.

The commands we are using are:

Invoice_FindByNumber to get the InvoiceHandle and then Invoice_GetLines.

The problem is that we do not get the same order of the invoice lines as we see in the e-conomic web interface. 

Any sugestions on how to get the lines in the same order as we see in the webinterface?

 

created Sep 19, 2016 by david_hammar
0% Accept Rate
Q 1 A 0 C 0

1 Answer

0

Hi David

SOAP doesn't include sort keys for sales document lines.

REST includes the sort keys on the lines:
/invoices/drafts/:draftInvoiceNumber
/invoices/booked/:bookedInvoiceNumber

RESTDocs
REST Demo : https://restdemo.e-conomic.com/index.html?path=invoices/booked/20001

answered Sep 20, 2016 by olej
Visma e-conomic A/S
...