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

Sending invoice email to customer

0
Hi

As far as we can se there is no way to have API to send the invoice to the customer, but you can get a pdf copy of the invoice.

Is there any good suggestions for how to send it automatically?

We have one (not tested) idea. Is this possible?

1. Get customer ID from order
2. Look up customer in economic and get the email address (as far as we can se that is not possible so we will use like EAN field for email address)
3. Then build a send function to fill in email address in and attach pdf file to it.

It is realy annoying that API don't support this   


Mvh
Kim
created Aug 10, 2011 by KimP
0% Accept Rate
Q 1 A 0 C 0

2 Answers

0
Hi Kim,

The reason we don't expose e-mail functionality is that by doing so, we'd effectively have published a publicly available, programmable mail server - thus risking being blacklisted, to the potential annoyance of thousands of customers

The Debtor class does in fact expose an Email property.

I'm unsure as to whether you actually mean orders or invoices. Admittedly, this is kind of a pet peeve for me - since I see so many people completely unnecessarily going through the step of creating an order first, even though they only send the invoice to the customer. In which case you don't really need an order...

If this is the case for you as well, your best bet would obviously be to use the Invoice class' FindByNumber() or FindByOrderNumber() method.


Best regards,
answered Aug 11, 2011 by Christian Estrup
0
Hi,

Just a quick question..

Is this problem solved or do you still need a solution?  
answered Jul 11, 2012 by scansoft-mhp
hi...

I need solution for this. I want to email invoices to customer after book. And i need to download invoices from my admin panel. i am using PHP. I need to get invoices as PDF using PHP.

please help us
Visma e-conomic A/S
...