Invoice Output PDF
Lets start with what the final result looks like in the form of the invoice PDF that is sent out or printed and saved as a File.
The invoice is composed of a header area in upper left with your organizations information, a jpeg you can add for branding on the invoice, the invoice id,
the customers Account and Contact recipient information, charges and payments with total lines and balance due difference, and lastly a footer area for payment instructions and more as you wish.
The header and footer information is customized by you in the package custom setting.
Click to enlarge if you have a small screen view.
Account
This is our example household account.
Notice the Billing Address. Look familiar? It appears on the invoice in the recipient information.
Configuration Note for NPSP: You may need to go to the Account page layout to set up Opportunities related list settings (wrench), open buttons, and check the standard New button to enable it.
Otherwise only the button New Account Donation shows with your Opportunity related list options and for invoicing we are not really working with donations.
Click to enlarge if you have a small screen view.
Opportunity
When a sale of goods and/or services is made you create an Opportunity.
Your approach to managing Opportunity lifecycle with stages is up to you but Stage value will not impact invoicing functionality. You may prefer for example to set the Opportunity to Closed Won before
proceeding with generating an invoice but that is not necessary for invoicing to proceed.
**Do not enter an Amount on the creation of the Opportunity. That will be determined by the Product lines you add for sale. (This is NOT for a Donation Opportunity for which you would likely fill in Amount when
you create it.)
Add the Products sold for the opportunity with price adjustment if necessary, quantity of the items, date, and line description.
Add the Payments received (if applicable) and select the payment date so that date will appear on invoice payment line.
Also assuming you have actually received payment check Paid as well so the payment becomes part of the invoice. (Unpaid will not appear.)
Finally when ready to send an invoice use the Invoice button.
Click to enlarge if you have a small screen view.
Custom Settings
Before we look at the easy 3-step process for invoicing lets see what controls what appears. Thats where the Custom Setting - Invoice Information - comes in.
There are three functional uses for Custom Setting delivered with the app called Invoice Information.
- Email Body records are lines you can optionally add to autofill the text area on the invoice begin page (see that description next) which then appears in the body of your sent email (also described in a section below).
- Invoice Footer records are ones that appear at the bottom of the invoice with payment instructions. Optional but recommended.
- Invoice Header records are the details of your organization you want heading the invoice. These are optional as well and if not used then the actual invoice header will default to Company Information: org name, address, and phone.
(If you DO use one or more custom setting records no Company Information will be used in the header.)
The app will select all records in order by name so be careful to suffix each of the three in the sequence you want them to appear in documents. That is, Invoice Header 1 appears before Invoice Header 2 and so on.
Also note that the Invoice Line size is standard text 255 characters. If one line runs past 255 characters dont leave a partial word on one line and finish it on the next, there will be an unwanted space in the word.
Click to enlarge if you have a small screen view.
Invoice Step 1 of 3
After hitting the Invoice button from your Opportunity you land on this page.
There are a few things to notice here:
- In the first section of the page a summary of all invoices already created on this opportunity showing date, who created, who it was sent to (blank if Print and Save chosen), and total amounts for each invoice.
- Below that is what this generation of invoice with have for totals. Beneath that who it will be sent to - one or more Billing Contacts.
- The open text area is prepopulated as follows:
1. red highlight shown is a fixed beginning encoded in the app that includes the invoice file name stating it is attached.
2. green highlight is text from your custom setting with Name starting with Email Body.
Of course this is open text you can manage and edit any way you like. Maybe you will want to keep a few fixed blocks in a document to copy and paste into the text box.
If its always the same for all invoices you can have your set up with Email Body records in the custom setting. This is encoded in the software so, for example, if
you want the recipient's first name instead of Valued Customer you will need to copy and paste from the recipient name shown above in the Billing Contacts message.
As you see by the page instructions for filling that in the app prevents tag characters < and > from being inserted. To start new paragraph use [P] and new line [L].
To proceed to the invoice preview page click the Preview Invoice button.
To cancel invoicing for any reason click Cancel link to return to the Opportunity where you started.
Click to enlarge if you have a small screen view.
Invoice Step 2 of 3
After hitting the Preview Invoice button from the previous invoice begin page you come to this web page representation of what the invoice will look like.
To confirm and send the invoice click the Send and Save button.
To confirm and print a hardcopy of the invoice click the Print and Save button.
To cancel invoicing for any reason click Return to Opportunity link to return to the Opportunity where you started (same as previous page Cancel).
Click to enlarge if you have a small screen view.
Invoice Step 3 of 3
If you chose Send and Save this is what you would see.
A sent message appears at the bottom.
The buttons available changed at the top. If you want to print hardcopy hit the Print button and a copy of the PDF will pop out into a separate window from which you can select Print.
Your invoice action is now complete. To get back to the Opportunity hit the Return to Opportunity link. A new Invoice record will be created on the Opportunity and that record will have
the PDF copy of the invoice attached as a File.
Click to enlarge if you have a small screen view.