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

Invoicenumber for CurrentInvoice


I have just created an invoice via CurrentInvoice_Create. The temp invoicenumber is not returned in the result. I have tryied to get it via CurrentInvoice_GetData, but that is not possible either. I know it is temporary, but why can I noget get the number anyway? It will only be used for display reasons, and the Id is used for retrieval for the invoice.


created Apr 2, 2015 by brians
0% Accept Rate
Q 4 A 0 C 0

1 Answer

Hi Brian

The CurrentInvoice number as displayed in the column in the GUI is not exposed via SOAP.

Via REST "draftInvoiceNumber" is available on /invoices-experimental/drafts but unfortunately there currently doesn't exist any way to map the Number in SOAP with draftInvoiceNumber in REST.
answered Apr 20, 2015 by olej
Visma e-conomic A/S