Can I automate any of this?

Adrien Monteleone adrien.monteleone at gmail.com
Wed Jan 31 11:11:59 EST 2018


I’m not sure about auto-raising invoices and saving to pdf from within GnuCash, but certainly, you could do that automated outside of GnuCash.

I would think with a Calc sheet or Base file to handle who gets what discounts as well as holding the customer info, you could use a macro or script to generate the invoices and export them to PDF. The macro/script could then fill-in the pdf filename and location into the Calc sheet/Base table that is then used to generate the e-mails with proper attachments. The generated invoice data should also be saved to a csv file, you can import them from the csv file into GnuCash for your records. You can have one csv per batch if you like, no need for one per invoice. (note, there is a favored data order format for importing csv invoices - check the list archives and wiki)

Just be careful about sending out batches of e-mails. Most ISPs as an anti-spam measure have an hourly and daily limit. I suspect sending 80 all at once would trigger it for the hourly limit. (of course spammers get around this)

You can manually hit ‘send’ in small batches, or use a mailing service or software that sends them over a short period of time for you. I suppose if you’re scripting all of this anyway, the script could put in a 60 second or so pause in between each one.

You could probably reduce this work to a minute or so of clicking.

Regards,
Adrien

> On Jan 31, 2018, at 1:59 AM, bob_summers <bonsai.tiger at gmail.com> wrote:
> 
> Hi, I've been using GnuCash for a few years in my business, a language
> academy, and it does everything I need it to, which is; generate invoices,
> track their payment, and send a few reports every tax quarter.  I send
> around 80 invoices on the first of the month, generally all for the same
> amount (some get family discounts).
> 
> My current workflow is:
> 1. Raise 80 invoices, 
> 2. Generate easy-invoice reports for each,
> 3. Save these reports to .pdf
> 4. Mail out the reports (Thunderbird).
> 
> All of this is done one by one, takes a few hours, and is prone to errors. 
> If anyone has an idea how to automate any of the steps, especially the last
> three, I'd love to hear about it.    
> 
> Cheers!
> 
> 
> 
> --
> Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list