Core Concepts
Introduction
Dryad Receipting turns gifts recorded in NPSP into official donation receipts (and thank-you acknowledgments), produces them as PDF files, and delivers them by email or mail. The main pieces fit together like this:
- Set up once. Receipt Settings hold the charity's details, receipt numbering, rules and defaults. Receipt Templates define what the receipt PDF looks like. If you issue receipts for more than one registered charity, each extra charity is an Account used as a Receipting Account.
- Record donor preferences. On each donor's Contact (for households) or Account (for organizations) you can choose how they receive receipts (email or mail), how often (one per gift, or consolidated), the language, and whether they should be receipted at all.
- Record gifts. Gifts are recorded in NPSP as Opportunities, with their Payments. Recurring gifts also belong to a Recurring Donation. Formula fields on these records work out, at all times, whether each gift can be receipted (its eligibility status), how much can be receipted, and which template to use.
- Create receipts. Receipts are created from a single gift, from a list view, through the Batch Receipts screen, or by a scheduled job (see Ways to Create and Send Receipts). Each one becomes a Receipt record. Values are copied from the gift to the receipt using Receipt Field Mappings. A Receipt Installment links the receipt to each gift it covers, and a consolidated receipt lists each gift as a Receipt Item. As part of creating each receipt, the app fills the receipt template with the receipt's values and saves the PDF as a file attached to the receipt.
- Deliver. Receipts are emailed (through Salesforce email, or through Dryad Mailer using Amazon SES) or printed. For printing, many PDFs can be merged into one file, and the PDFs you select are downloaded together as a .zip file. The receipt's Delivery Status shows what still needs to happen.
- Track the work. Every batch job writes a Batch Receipt Log so you can follow its progress and see any errors.
Households and Organizations
NPSP stores individual donors in "Household" Accounts, with one or more Contacts. Dryad Receipting treats the two kinds of Account differently:
- Households: the donor is the gift's primary contact. The donor's name, mailing address, email and receipt preferences come from that Contact.
- Organizations (any other Account): the donor is the Account. The name, billing address and receipt preferences come from the Account. Receipts are emailed to the Account's Receipt Email. If it is blank, they go to the gift's primary contact, or else to the Account's primary contact (see Which Record Is Used for Each Gift).
Which Account record type counts as a household is set by Household Record Type in Receipt Settings. Each gift's Donor Id holds the resulting donor (the primary contact or the Account), and consolidated receipts group gifts by it.
Opportunities or Payments
Every org receipts either Opportunities or Payments, never both. The choice is made with Receipt by in Receipt Settings:
- Opportunity (the default): each Opportunity is receipted. Payments show "Ineligible - Payments cannot have receipts".
- Payment: each Payment is receipted on its own, once it's paid. Opportunities show "Ineligible - Only payments can have receipts".
Receipt by is a fundamental choice: it decides which records can be receipted.
In the rest of this article, "gift" means an Opportunity or a Payment, whichever your org receipts.
Receipt Types
Every receipt is one of four types (stored in the Receipt's Type field):
- Single Receipt: an official tax receipt for one gift.
- Consolidated Receipt: one official tax receipt that covers several gifts from the same donor. Examples are all the monthly gifts of a recurring donation, or all the gifts of a donor who prefers one receipt a year. Each gift is listed as a Receipt Item.
- Acknowledgment: a thank-you letter that is not a tax receipt. A gift gets an acknowledgment instead of a receipt when "Acknowledgments Only" is chosen as the Do Not Receipt Reason on the gift, on its recurring donation, or on the donor's Contact or Account. For a Payment, the reason on its Opportunity counts too. Acknowledgments use their own templates and their own numbering. The minimum amount and donor address rules don't apply to them.
- Giving Summary: a statement listing all of a donor's gifts in a period, receipted or not. It is not a tax receipt and doesn't change the gifts' receipt status. See the Giving Summaries article.
On gifts, the Receipt Type formula shows "Donation", "Acknowledgment" or "Tribute". "Tribute" means the Opportunity has an NPSP Tribute Type (in honour or in memory).
A tribute gift is still receipted as a donation, with the donation template. If "Acknowledgments Only" applies, the gift shows "Acknowledgment" instead and gets an acknowledgment.
A Payment's Receipt Type only shows "Donation" or "Acknowledgment". Whether a donation becomes a single or a consolidated receipt is decided separately (see Single or Consolidated).
Single or Consolidated
A gift is receipted as part of a consolidated receipt when either:
- it isn't part of a recurring donation, and the donor's Receipt Occurrence is "Consolidated", or
- it belongs to a recurring donation. If Enable Single Receipts for RDs is on in Receipt Settings, these gifts follow the donor's Receipt Occurrence instead.
Otherwise the gift gets its own single receipt. In-kind gifts (see In-Kind Gift Record Type in Receipt Settings) always get a single receipt. On an Opportunity outside a recurring donation, Receipt Status Override can force either result.
Gifts waiting to be consolidated show the status "Eligible for Consolidated". When consolidated receipts are created, the gifts are grouped by donor, and gifts from a recurring donation are grouped by recurring donation (unless Enable RD Consolidation is on).
The receipt shows the date range of the gifts it covers.
Eligibility Statuses
The Receipt Status formula on each Opportunity tells you whether it can be receipted, and if not, why. Receipt creation only picks up gifts whose status starts with "Eligible". The checks run in this order, and the first one that applies wins:
| Status | When It Applies |
|---|---|
| Ineligible - Do not receipt | Do Not Receipt is ticked on the gift, on its recurring donation, on its primary contact or on its Account, and the reason isn't "Acknowledgments Only". This wins even if the gift already has a receipt or an External Receipt #. |
| Receipted / Voided | The gift already has a receipt (its Last Receipt). The status matches that receipt. A gift with an External Receipt # also counts as "Receipted". |
| Ineligible - Only payments can have receipts | Receipt by is "Payment" (see Opportunities or Payments). |
| Ineligible - Stage is not closed won | The Opportunity isn't Closed Won. |
| Ineligible - Advantage | The donor's advantage is more than 80% of the eligible amount, or the advantage's value can't be determined (see Amounts and Tax Rules). |
| Ineligible - Payment missing | Only when Require Payment is on (it applies only when receipting by Opportunity): the Opportunity has no payments or still has an amount outstanding. In-kind gifts are exempt. |
| Ineligible - Receipt amount is below minimum | The receiptable amount is below the Minimum Receipt Amount in Receipt Settings. This doesn't apply to acknowledgments or to gifts that will be consolidated. For those, the total of the consolidated receipt is checked instead. |
| Ineligible - Donor address missing | Only when Enable All CRA Rules is on: the donor's street, city, province or postal code is missing. This doesn't apply to acknowledgments. |
| Eligible for Consolidated | The gift is ready to be receipted as part of a consolidated receipt. |
| Eligible | The gift is ready for its own single receipt. |
Recurring Donations
Recurring donations have a simpler Receipt Status of their own (Receipted, Do not receipt, Donor address missing, No receipt template, or Eligible). The other checks are applied to the recurring donation's individual gifts.
Payments
Payments have their own Receipt Status, with these differences: a payment shows "Ineligible - Payments cannot have receipts" unless Receipt by is "Payment", it must be "Paid" ("Ineligible - Payment is not paid") and have a Payment Date ("Ineligible - Payment date is missing").
Do Not Receipt on the payment's Opportunity counts too. The advantage check uses the payment's own advantage fields. The stage and payment-missing checks don't apply to payments, and there is no status override.
The Receipt Eligibility article explains every status in detail.
Amounts and Tax Rules
Canada Revenue Agency (CRA) rules decide how much of a gift can be receipted. The app applies them with formula fields on the Opportunity or Payment:
- Eligible amount: the Eligible Amount if you entered one, otherwise the gift's Amount (or Payment Amount).
- Advantage: anything of value the donor received in return, such as a dinner or event ticket.
- 80% rule: if the advantage is worth more than 80% of the eligible amount, or Advantage is "Yes but value cannot be determined", no tax receipt can be issued ("Ineligible - Advantage"). Opportunities and Payments each check their own advantage fields, so an advantage recorded only on an Opportunity isn't seen when receipting by payment.
- Nominal advantages: if the advantage is worth no more than $75 or 10% of the eligible amount, whichever is less, it is treated as nominal and is not subtracted.
- Receiptable amount: the eligible amount minus the advantage (unless it's nominal). This is the amount printed on the receipt.
- Minimum amount: receipts aren't issued below the Minimum Receipt Amount in Receipt Settings (see Eligibility Statuses).
Defaults and Overrides
Several things about a receipt (which template to use, which email template, which charity issues it) can be set at three levels. The most specific one wins:
- The gift itself: fields on the Recurring Donation, Opportunity or Payment such as Receipt Template, Email Template Id and Receipting Account.
- The Receipting Account: if the gift names a Receipting Account (an Account representing another registered charity), that account's templates, logo, signature and charity details are used.
- Receipt Settings: the organization-wide defaults, used when nothing more specific is set.
The fields ending in Assigned (for example Receipt Template Id Assigned) show the result of this lookup for each gift.
Fields such as Receipt Language, Receipt Template and Email Template Id on a gift override the donor and Receipt Settings for that gift only. They stay in place even if the donor's preferences change later.
Language
Set each donor's Receipt Language (on the primary contact for households, on the Account for organizations). It decides whether their receipts use the English or French template, and English is used when it's blank.
To use a different language for one gift, fill in Receipt Language on that gift. It overrides the donor's language for that gift only. The result is shown in Donor Receipt Language.
Charity Details from a Receipting Account
This only applies if several registered charities issue receipts from the same Salesforce org, using Receipting Accounts.
For the charity's name, registration #, address, phone and website, a Receipting Account's values replace the defaults completely (a blank value stays blank).
For the logo, signature, authorized name and title, and sender email, a blank value on the Receipting Account falls back to Receipt Settings.
The Receipting Accounts and English and French Receipts articles cover these two levels in detail.
Receipt Numbers
Each receipt gets a number (its Receipt #) when it's created. The number can't be changed afterwards.
- Receipts use the Receipt Prefix and Next Receipt # from Receipt Settings. You can pad the number to a fixed length (for example, 000123) with Receipt # Length and Receipt # Padding.
- Receipts from a Receipting Account that has its own Receipt Next # use that account's prefix and counter instead (without padding).
- Acknowledgments and giving summaries always share the separate Next Non-Receipt # counter, with the Acknowledgment Prefix or Giving Summary Prefix from Receipt Settings.
The counters go up by one for each new receipt.
Voids and Replacements
A receipt is never edited after it's issued. Instead:
- Voiding. A receipt can be voided with the Void Receipt button. Its status becomes "Voided" and the voided date is recorded. Templates can print "VOID" on voided receipts.
- Replacing. If you create a new receipt for a gift that already has one, the old receipt is automatically voided and linked to the new one (Replaced By). The new receipt is marked as a "Replacement Receipt" and stores the old receipt's number in Replacement Receipt, so it can print "This cancels and replaces receipt …". A consolidated receipt can replace several earlier receipts; Replacement Receipt then lists all their numbers. Acknowledgments are never named: a new acknowledgment doesn't list what it replaces, and a replaced acknowledgment isn't listed on the new receipt.
- Receipts from another system. If a gift was receipted before you used Dryad Receipting, enter the old number in the gift's External Receipt #. The gift then counts as already receipted. If it's ever receipted again, the new receipt says which old receipt it replaces.
The Voiding and Reissuing article covers each step in detail, including consolidated and recurring donation receipts.
Delivery Status
The receipt's Delivery Status is calculated from its other fields and shows the next step:
- N/A: the receipt is voided.
- PDF Creation in Progress: the PDF hasn't been created yet.
- To be Emailed: the donor prefers email, and the receipt has an email address and an email template. It is also the status of an "Email & Print" receipt that has been printed but not emailed yet.
- To be Printed: any other receipt that hasn't been sent yet, including email receipts that are missing an address or email template. It is also the status of an "Email & Print" receipt that has been emailed but not printed yet.
- To be Emailed & Printed: the donor prefers "Email & Print", the receipt has an email address and an email template, and it hasn't been emailed or printed yet.
- Emailed, Mailed, Emailed & Mailed: the receipt has been delivered. An "Email & Print" receipt shows "Emailed & Mailed" once it has been both emailed and printed. The Set as Emailed button records an email sent outside the app, and the Download Receipt button downloads one receipt's PDF to print and marks it as mailed.
The batch email and print screens use this status to choose which receipts to process. A receipt that is "To be Emailed & Printed" is offered by both the email and the print screens.
Emailing it only marks it as emailed, and printing it only marks it as printed; it then moves to the other "To be…" status.
To print and merge receipts, see Actions from Batch Receipts and Actions from a Receipt List View.
What Gets Copied to a Receipt
When a receipt is created, values are copied from the gift onto the receipt. This includes the donor's name and address, the amounts, and the chosen templates. Later changes to the gift or the donor don't change receipts that were already issued.
The list of copied fields is controlled by Receipt Field Mappings. A standard set is installed with the app, and admins can add more (see the Field Mapping article).
The charity details on a receipt (name, address, registration #, logo, signature) work differently. They are formulas that always show the current values from Receipt Settings or the Receipting Account.
A PDF that was already created keeps the details it was created with, but if the PDF is created again, it uses the current values.
Templates and Merge Fields
A receipt template is a page layout with placeholders, called merge fields, such as {!dryad__Receipt__c.dryad__Donor_Name__c}. When the PDF is created, each placeholder is replaced with the value from the receipt.
Consolidated receipts and giving summaries can also list their Receipt Items in a table. See the Receipt Templates article.
To make templates easier to build, the Receipt has some fields that exist only to be printed:
- Formatted dates (for example the formatted Issue Date) show dates in the Date Format chosen in Receipt Settings.
- Text blocks (Advantage Text, Replacement Text, Voided Text) contain a complete, ready-made sentence when it applies, and are blank otherwise. You can place them in a template without any extra logic.
Batch Jobs and Logs
Large jobs (creating many receipts, creating PDFs, merging, emailing, printing) run in the background. Each job creates a Batch Receipt Log that shows what it's doing, how far it has got, and any errors.
A large "Create PDFs" job is split into Batch Receipt Log Segments that run at the same time (see PDF Segments in Receipt Settings).
Records touched by a job are stamped with the log's ID, which is how the app later finds "the receipts from this batch" (for example, to print them).
When you create receipts or giving summaries, email receipts or merge receipts in Batch Receipts, the last screen shows the job's progress.
Creating receipts shows two progress rings, one for the receipts and one for their PDFs; emailing and merging show one.
The Finish button becomes available once every step is complete, or once the job has been aborted from its Batch Receipt Log. You don't have to wait: if you leave the page, the job carries on in the background, and its Batch Receipt Log shows when it is done.
The Create, email, and print receipts option in Batch Receipts and the New Receipts button from a list view show the same progress rings, then go on with Next to a summary, emailing and printing.
Emailing: Salesforce or Dryad Mailer
Receipts can be emailed in two ways, chosen in Receipt Settings (Send Emails Using):
- Salesforce: emails are sent by Salesforce from an organization-wide email address. A daily email limit applies.
- Dryad Mailer (Amazon SES): emails are sent through Amazon's email service. The app records each send as an Email with one Email Recipient per receipt. As Amazon reports what happened (delivered, opened, bounced), it creates Email Events and updates the recipient.
See the Email Setup article.