Jump to content
  • 0

Adding a prefix to Invoice number


desquinn

Question

I would like to be able to have invoice number that contains a prefix e.g. I would like to have HG0001 where HG means that it is a hosting invoice. I can then record this in my accounts system alongside other services with the HG invoice number as a clear reference.

 

Is this possible?

 

thanks

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Sorry to re-open an old ticket, but I have a related question. When WHMCS sends the transaction to our gateway (Authorize.net) the invoice # comes over as a straight numeric value, and the "description" field says our company name and the invoice # again. What that does is generate an email from Authorize.net confirming the transaction but without a crucial piece of info for us, the domain name that hosting was ordered for (or renewed).

 

The question is: how can we pass a variable through so that either:

 

- The invoice # is generated and a variable can be added either in front or behind it? (example: "Invoice # [number]-[Domain]" results in an invoice number of "Invoice # 123-xyz.com")

 

- Or, the 'description' field that gets passed to Authorize.net contains a variable for the domain so that it is easy to see at a glance who the order is for.

 

We do get the client information, however we have some clients with many domains hosted, so it can't be determined from the Authorize.net email which one it was for.

 

Thanks,

 

Craig Mayers

5DollarHosting.com

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
Answer this question...

×   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