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

General Discussions
Best Practices
Examples

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

Postby jacobp85 » Tue Jul 19, 2011 1:09 pm

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 :)
-
jacobp85
 
Posts: 1
Joined: Tue Jul 19, 2011 1:05 pm

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

Postby Christian Estrup » Sat Jul 23, 2011 10:14 am

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,
Christian Estrup
Chief Architect

Image
Online accounting
User avatar
Christian Estrup
 
Posts: 245
Joined: Tue Jun 09, 2009 6:37 pm


Return to Miscellaneous



cron