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

Unpaid invoices

0
Hi,

I'm integrating e-conomic with a solution for automatic credit card payment, so I need to somehow be able to extract the unpaid invoices for a debtor.

I use Debtor_GetInvoices but it returns all generated invoices, whether they are paid or not

Best Regards
Niels
created May 19, 2011 by boldt
0% Accept Rate
Q 5 A 2 C 1

2 Answers

0
Hi,

You can do that in a couple of different ways:

1. Using invoices - these have a Remainder property, representing the as-yet unmatched part of the invoice. If Remainder = Amount, nothing has been paid/matched, if Remainder = 0, the full amount has been paid/matched.

2. Somewhat faster: Debtor.GetOpenEntries() - will retrieve all entries with Remainder  0, in one go.


Best regards,
answered May 19, 2011 by Christian Estrup
How to get all openentries for all the customers at aglance..?
I have tried with the DebtorEntry_GetAllOpenEntries method in c#, but i can not access this method..
Is there any other way to get all?
0
Hi Christian

Thanks for your reply.

Solved my problem

/Niels
answered May 22, 2011 by boldt
Visma e-conomic A/S
...