Skip to content

agileware/au.com.agileware.renewalinvoices

Repository files navigation

Renewal Invoices for Memberships (au.com.agileware.renewalinvoices)

Status

As of 11/11/2024 - this CiviCRM extension is non-functional and not recommended for use. Will cause problems if you install and try to use it. Not being maintained or supported.

About

This extension provides the additional option of sending an invoice for a membership renewal using a scheduled reminder.

The use case is that typically the membership renewal invoice is sent 30 days (or more) prior to the membership expiry date, so that the member has time to process the invoice. It's also common for invoices to be sent out 60 and even 90 days prior depending on the membership fees involved. Membership renewal invoices are almost always sent to an individual contact for action regardless of whether they are the primary member or have an inherited membership. For individual memberships, sending the membership renewal invoice to the individual is fine. For organisation memberships, membership renewal invoices that are sent to generic "[email protected]" experience significant delay in processing whilst the accounts team locate who is responsible for approving the expenditure. For organisation memberships a related contact with a defined relationship like "key contact for" is often used to identify to whom the membership renewal invoice should be sent.

Features

  • A scheduled reminder is used to generate a "pending" contribution for the membership.
  • Existing "Send confirmation and receipt" contribution functionality is executed so that the invoice is sent.
  • Ability to define which contact the membership renewal invoice is sent to for the membership invoice.

Tokens

Some tokens which can be used while creating the email on the scheduled reminders page.

  • To attach the invoice to the mail, use {contribution.attachInvoice} or select 'Attach Invoice' from the tokens menu.
  • To display the effective end date after renewal in the mail, use {membership.nextEndDate} or select 'Membership Future End Date' from the tokens menu.
  • The PDF used is the Contributions - Invoice template, so changes can be made there to alter the output of the invoice.
  • To insert URL to renew membership on-line add following code sinppet in Contributions - Invoice template. Replace https://example.org with actual host name.
https://example.org{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$id`&cid=`$contactID`&cs=`$contact.checksum`"}