Installation & Configuration Guide: Invoice-Driven Forecasting
Welcome to the QuoteX Invoice and Collection Forecasting tool. In many business landscapes, particularly in India, a sales achievement is truly recognized only when a formal invoice is generated. This solution aligns Salesforce Sales Cloud with that reality, empowering you to track, adjust, and hit your targets based on real-time billing data rather than just opportunity stages.
What you will learn: prerequisites, post-installation setup, flow activation, dashboard deployment, day-to-day forecast management, quota retirement logic, Indian payment compliance and automated Invoice Payment Reminders.
Part 1: Installation & Setup
Prerequisites
- Your Salesforce org must have Quote To Order (Add Subs Product v1.7+) installed before installing this Add-on.
Post-Installation Setup
A. User Permissions
- Assign the QuoteXInvoicingAndForecasting Permission Set to all Sales Reps, Managers, and Finance Users.
Assigning the QuoteXInvoicingAndForecasting permission set
- On the User object, ensure the custom field
Allow_Collection_Forecasting__cis checked for all users who should appear in the dashboard dropdown.
Allow Collection Forecasting field on the User record
B. Defining the Fiscal Calendar
- Navigate to the Fiscal Periods tab.
Fiscal Periods tab
- Create records for your current financial year (e.g., "April 2025", "May 2025").
Creating Fiscal Period records
- Ensure
Start_Date__c,End_Date__c, andMonth_Number__care populated accurately to drive the dashboard's time-filtering logic.
Fiscal Period with dates and month number populated
C. Setting Collection Quotas
- Navigate to Collection Quotas.
- Create target records for your Sales Reps.
- Link each quota to a Fiscal Period and a Sales Rep/Owner.
- Define the
Target_Collection_Amount__cfor that specific period.
Collection Quota record with target amount
D. Configuring Company Payment Details (India Specific)
This feature allows you to manage local payment identifiers required for Indian compliance.
- Set up Company Payment Detail records.
- Populate
GSTIN__c,UPI_ID_VPA__c, andIFSC_Code__c. - Use the
Is_Default__ccheckbox to ensure these details appear on generated invoices.
Automation & Flow Activation
Ensure the following Flows are active to automate the transition from Opportunity to Invoice:
Create Invoice From Opportunity: Converts won deals into Invoice records. Add an action button on the Opportunity object and add it to the record page / layout.Create Invoice From Order: Creates an Invoice from an Order record. Add an action button on the Order object and add it to the record page / page layout.
Dashboard Deployment
- Go to Setup > Lightning App Builder.
- Open the Collection_Forecast_Dashboard Lightning Page included in the package.
Collection_Forecast_Dashboard Lightning Page in App Builder
- Activate the page as an App Page or add it as a custom tab named "Collections Command Center."
Activating the dashboard page
Setup complete: once the dashboard is activated, continue to Part 2 to learn how to use it.
Part 2: Using Collection Forecasting
1. The Dashboard Interface
The Collection Forecast Dashboard serves as your mission control for revenue tracking. It integrates several advanced Lightning Web Components to provide a comprehensive view of your financial standing.
The Collection Forecast Dashboard
Key Components
- Forecast Summary Matrix: A high-level, time-phased view of your financial outlook. It aggregates data into categories like Commit, Best Case, and Delayed, allowing you to see exactly where you stand against your monthly or quarterly targets.
- Editable Line Item Table: A granular, actionable list of all "Expected" payments. This is where you manage the specifics of individual invoices that drive your overall forecast.
- Achievement Tracker: A visual, real-time progress bar. It calculates how much of your assigned quota has been "retired" (met) by invoices generated within the current period.
2. How to Manage Your Forecast
A. Selecting Your Scope and Visibility
The dashboard is dynamic and adjusts based on the context you define:
- Sales Rep Dropdown: Filter the entire dashboard to view data for a specific team member. By default, this shows your own data.
- Include Subordinates (Manager View): If you manage a team, toggling this option aggregates all invoice data from your direct and indirect reports, providing a "roll-up" view of the team's total achievement.
- Fiscal Period Filter: Switch between different timeframes (e.g., specific months or quarters) to analyze historical performance or look ahead at future collection cycles.
Sales Rep, Include Subordinates and Fiscal Period filters
B. Real-Time Adjustments (Inline Editing)
One of the most powerful features of this dashboard is the ability to perform "what-if" analysis and update records without leaving the page:
- Identify the Record: Locate a specific Invoice Line Item in the data table that requires an update.
- Edit Values: Double-click the Expected Payment Date (to move a collection to a different period) or the Adjusted Forecast Amount (to reflect partial payments or negotiated amounts).
- Preview Impact: As you change values, the Forecast Summary matrix at the top updates instantly in your browser, showing the impact on your "Gap to Quota."
- Commit Changes: Click Save Changes to persist these updates to the Salesforce database. Use Cancel to revert to the original values.
Inline editing of Expected Payment Date and Adjusted Forecast Amount
3. Understanding Quota Retirement and Logic
The system uses the Collection Quota object to measure your success. Understanding the lifecycle of an invoice is key to managing your numbers:
- Achievement Phase: Any Invoice created with a status of 'Expected' or 'Partially Paid' contributes to your current achievement. The system categorizes these based on the
Payment_Confidence__cfield (e.g., 90%+ is 'Commit'). - Retirement Phase: As Payment Transactions are logged and the Invoice status moves to 'Paid', that value is considered "collected." This retires that portion of your quota.
- Forecast Override: If you have inside information that an invoice is at risk (despite its system status), use the
Forecast_Override__cfield on the Invoice record to manually adjust its weight or exclude it from the forecast summary.
4. Indian Payment Compliance & Regional Details
To support Indian business operations, the dashboard is integrated with local compliance tracking. When viewing or editing invoices, the system ensures visibility into:
- Tax Breakdown: View detailed GST (IGST/SGST/CGST) totals calculated at the line-item level so the forecast reflects net vs. gross collection.
- Payment Metadata: Track associated UPI IDs, VPA addresses, and Bank IFSC codes for specific branches, ensuring the collections team has all the information needed to follow up on pending payments.
Part 3: Invoice Payment Reminders
This feature emails customers automatically about invoices that are pending with them. A scheduled flow runs once a day, sends reminders on the schedule you set, and stops on its own when the invoice moves on.
Who Gets a Reminder
An invoice is picked up only when all of these are true:
- Status is Pending (Sent To Customer).
- Reminder Enabled is checked.
- Payment Due and Send Invoice To (the customer's email) are both filled in.
- The reminder count has not reached the maximum.
Invoice fields that determine reminder eligibility
Reminders stop automatically when the status changes, for example to Paid or Cancelled. Nothing else is needed.
One-Time Setup (Admin)
- Create an Org-Wide Email Address and verify it. Reminders are sent from this address.
- Get the email template Id. Open the Invoice Payment Reminder Lightning email template and copy its Id (it starts with
00X). - Configure the Invoice Reminder Setting. Go to Setup > Custom Settings > Invoice Reminder Setting > Manage, and create the org-level record using the values below.
| Setting | What to enter |
|---|---|
| Enabled | Check to turn the feature on |
| Org-Wide Email Address | The verified sender address |
| Email Template Id | The 00X… Id from step 2 |
| Default Days Before Due | Default 3 |
| Default Frequency (Days) | Default 3 |
| Default Max Reminders | Default 3 |
- Add the reminder fields to the Invoice page layout or the record page (if not there already).
- Assign the permission set Invoice Reminder Admin to the users who manage reminders.
- Activate the flow Invoice Payment Reminders.
Using It on an Invoice
- Open the invoice and set the status to Pending (Sent To Customer).
- Check Reminder Enabled.
- Optionally override the defaults for this invoice (leave any blank to use the org defaults):
- Reminder Days Before Due: when the first reminder goes out. Use 0 for the due date. A negative number such as -3 means three days after the due date.
- Reminder Frequency (Days): the gap between repeat reminders.
- Max Reminders: the most reminders to send.
Per-invoice reminder override fields
Example: due date 30 Nov, days before due 3, frequency 3, max 3. Reminders go out on 27 Nov, 30 Nov and 3 Dec, and then stop.
What the Flow Tracks
- Reminder Count: how many reminders have been sent. The flow updates it.
- Last Reminder Date: the date of the latest one. The flow updates it.
Reminder Count and Last Reminder Date on the invoice
Don't edit these by hand unless you want to restart the sequence. To restart, set Reminder Count to 0 and clear Last Reminder Date.
Customizing the Email
Edit the Invoice Payment Reminder email template. The flow fills in these merge fields:
{{{psce_ext__Invoice__c.Name}}}{{{psce_ext__Invoice__c.psce_ext__Invoice_Number__c}}}{{{psce_ext__Invoice__c.psce_ext__Bill_To__c}}}{{{psce_ext__Invoice__c.psce_ext__Invoice_Date__c}}}{{{psce_ext__Invoice__c.psce_ext__Payment_Due__c}}}{{{psce_ext__Invoice__c.psce_ext__Total__c}}}{{{psce_ext__Invoice__c.psce_ext__Total_Fees__c}}}{{{psce_ext__Invoice__c.CurrencyIsoCode}}}{{{psce_ext__Invoice__c.psce_ext__Send_Invoice_To__c}}}{{{Recipient.Name}}}, filled with the invoice's Bill To{{{Organization.Name}}}
Other merge fields are not replaced and show up as raw text. Ask an admin to add them to the flow first.
Stopping or Pausing Reminders
- One invoice: uncheck Reminder Enabled, or change the status.
- All invoices: uncheck Enabled in the Invoice Reminder Setting.
Troubleshooting
| Problem | Likely cause |
|---|---|
| No email sent | Status is not Pending (Sent To Customer), Reminder Enabled is off, Send Invoice To or Payment Due is blank, the max has been reached, or the setting is disabled or incomplete |
| Email has raw {{{...}}} text | The template uses a merge field the flow doesn't support |
| Email not received | The org-wide address isn't verified, or the message was filtered as spam |
| Same reminder repeated | Reminder Count or Last Reminder Date was edited by hand |
Part 4: Opening the Dashboard
- Select Native Dashboards.
Selecting Native Dashboards
- Find the QuoteX Invoicing Forecasting dashboard.
Locating the QuoteX Invoicing Forecasting dashboard
Open it to view the native dashboard:
The QuoteX Invoicing Forecasting native dashboard