Jump to content

Exchange rate on InvoiceCreated email


quickq

Recommended Posts

Hi all,

 

Wondering if some one can give me a hand with this:

 

In QuickBooks, we invoice everything in USD but we show the local currency on invoices as everyone always asks. This is obviously variable, we update it roughly once per week.

 

We know the issue with this with WHMCS is that the rate would change when they go into the client portal so have come up with a compromise; show the exchange rate on the invoice created email, we and the client can refer to that if there is a query.

 

But, I'm a little stuck on how to do this. I know I need a InvoiceCreated hook to call function for looking up the rate in the DB (then rounding to 2 decimal places) but don't know much more than that!

 

Any help / guidance is appreciated.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated