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

How to get a statement of account for a debtor as PDF

0
Hey

Is it posible to get the statement of accont for a debtor as PDF?

I can't find anything abount it, in the dokumentation.

I would like at method like the GetPDF in Invoice
created Jul 19, 2011 by jacobp85
0% Accept Rate
Q 1 A 0 C 0

1 Answer

0
Hi,

At this point, that is unfortunately not possible via the API.

You can of course pull either all (.GetEntries()) or open (.GetOpenEntries()) entries from a debtor, and then generate a PDF yourself

The statement of account PDFs that can be generated in the e-conomic web application are really 'reports' - supporting a wide range of filtering and other options, e.g. date interval, whether to generate a full statement or open entries only, etc..

As such, exposing this in the API would probably need some way of specifying which entries to include.

We generally don't like to expose functionality 'mimicking' report filters exactly - but prefer allowing integrators to supply the exact data to be included. I.e., for a debtor statement of account, the logical thing would be to allow generating one while specifying exactly which entries from the debtor should be included.

In any case - any further input from both yourself and anyone else who might be interested in this functionality is highly appreciated; since that will allow us to (1) Get an idea of how important this is, compared to other requests, and (2) Make it sufficiently flexible and accessible that as many as possible may benefit from it.


Best regards,
answered Jul 23, 2011 by Christian Estrup
Visma e-conomic A/S
...