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

Create/Read SumInterval type Account

Can anyone explain to me please how to access the information about accounts that make up a SumInterval type account?
How to create such an account through API, are there any restrictions on number of intervals that we are summing?

created Sep 20, 2010 by bart
0% Accept Rate
Q 1 A 0 C 0

1 Answer


First, you create the account using the AccountUtil's Create() method - stating a type of SumInterval.

Then you create a number of SumInterval's (as many as you like), using SumIntervalUtil.Create() (and yes, the docs incorrectly state that this Create() method will create a 'Product price' - we'll be fixing that shortly ).

To read the sum interval(s) for a specific account, you use the account instance method GetSumIntervals().

Best regards,
answered Sep 22, 2010 by Christian Estrup
Visma e-conomic A/S