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

Find the Margin for an Invoice

0
Hi everybody,

 

I'm trying to figure out the margin on invoices for a certain period.

I'm using Invoice_FindByDateInterval, to get all the invoices, and Invoice_GetDataArray to get the data for each invoice.

But I can't find the margin associated with that Invoice, in the API.

I can find the Order Number it was created with, and Order_FindByNumber to find the ID of the order, but it seems that Orders that have been promoted to an Invoice isn't found anymore. So I can't even find the order details, and take it from here.

Are there any one who have figured otu a solution to getting the Margin for an Invoice ?
created Dec 10, 2014 by Mads N. Vestergaard
0% Accept Rate
Q 1 A 1 C 0

Visma e-conomic A/S
...