I need our invoice date to be static not the date I print it. Is there a token or some other way of achieving this please. We plan to use invoices in civi for all contributions - via payment processor and BACs pending.

I can see there’s a receipt date and a received date. Is there any date field that is a created date? I really want to use civi for this but it needs to work in a way that doesn’t require too much user adaption.

I have changed the system workflow invoice template so it suits our needs but I’m stuck on this one. I have seen a thread about this but it doesn’t quite answer the how to for me How do I print the "received date" on an invoice?

I mean that I would like to have the invoice date always show the date the invoice is issued. The contribution invoice date is the date it is printed or emailed which isn’t acceptable as any invoice needs to have the same date it started with, not one that changes every time it’s printed or emailed.

Thanks in advance

  • linking to the other thread would help others avoid repeating such advice.
    – petednz - fuzion
    Aug 31, 2022 at 20:12
  • also, for clarity sake, you say 'needs to be static' but then seem to say 'created date'. can you add more to your Question to explain exactly what you are after
    – petednz - fuzion
    Aug 31, 2022 at 20:13
  • As requested I’ve added further info
    – SandJT
    Aug 31, 2022 at 22:53
  • 1
    can you provide the path that you are using to access the Invoice to edit it? do you have Tax/Invoice enabled at civicrm/admin/setting/preferences/contribute?reset=1?have you already access the Invoice msg tpl at civicrm/admin/messageTemplates?reset=1 (under System Workflow Messages), if so have you already tried the fix offered by Jaap in the other Q+A that you linked to , namely replacing with $contribution.receive_date
    – petednz - fuzion
    Sep 1, 2022 at 5:49
  • I've customised the template from system workflow and all is working we. I can use the receive date however when adding a new contribution - the assuption is that the date received is the date the contribution was received (eg via BACS etc) and that's what users expect that to be. We don't do all transactions through a payment processor so we have to manually enter that date for our BACS member subs.
    – SandJT
    Sep 1, 2022 at 8:51


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.