CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Invoice numbers
Pages: [1]

Author Topic: Invoice numbers  (Read 1954 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Invoice numbers
July 24, 2009, 04:10:52 am
Hello,

Someone has just asked me about something that seems to come up moderately often - how to add an invoice number to contribution or event registration e-mails. This seems like a common enough request that it would make sense to make it easier to configure.

But the complexity is what do people use for invoice IDs?. We get people to send in their payments by internet banking & to include the invoice number  so we generally don't like to use the invoice no CiviCRM generates (e.g. 954047b6c02c15bb10223c2bc7468186). Instead we prefer to use a combination of contribution ID, contact ID & participant IDs (with - separators). The bonus with this is that it is easy to substitue these numbers into CiviCRM urls to move from one contribution record/ contributor to another while receipting them

One tricky thing is that these are not generally assigned to the tpl files so we have to edit php files for such a trivial change (assigning ID variables)

I'm just wondering what other approaches people use. And whether there is a useful one that could be built into the next release
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Invoice numbers
July 24, 2009, 11:13:54 am
Eileen - this is a great topic for discussion because the issue has come up multiple times and it would be good to get some consensus on how to provide better support for Invoice Numbers and Confirmation Numbers in a future version. I suspect that passing a known "set" of related ID's to the tpl and letting folks assemble them as needed might provide needed flexibility. But it would be best to hear from folks about what their requirements are.

If we don't get some good responses here - how about escalating this to a blog post (more visibilty).
Protect your investment in CiviCRM by  becoming a Member!

ianlinux

  • Guest
Re: Invoice numbers
September 13, 2009, 12:53:03 pm
When using Attend Events 0.9, I did exactly what Eileen described. Looks like I might have to do the same here because invoicing with something simple, unique and sequential is paramount for tax scrutiny purposes 

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Invoice numbers
September 13, 2009, 01:43:42 pm
Hi Ian,

Note that in 3.0 I think the various IDs are exposed to the templates but you may need to do some tweaks to expose them in 2.2.8. There is another forum post on these.

Obviously 3.0 will be out in stable release form very soon so if you go straight to 3.0 you won't need to do any php tweaks (only tpl files)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Invoice numbers

This forum was archived on 2017-11-26.