Invoice Management and Collection Forecasting | QuoteX

Install and configure QuoteX Invoice-Driven Collection Forecasting (v0.32). Learn prerequisites, permissions, fiscal periods, quotas, India GST/UPI/IFSC details, flows, dashboard use, quota retirement



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

  1. 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

  1. Assign the QuoteXInvoicingAndForecasting Permission Set to all Sales Reps, Managers, and Finance Users.

Assigning the QuoteXInvoicingAndForecasting permission set

  1. On the User object, ensure the custom field Allow_Collection_Forecasting__c is checked for all users who should appear in the dashboard dropdown.

Allow Collection Forecasting field on the User record

B. Defining the Fiscal Calendar

  1. Navigate to the Fiscal Periods tab.

Fiscal Periods tab

  1. Create records for your current financial year (e.g., "April 2025", "May 2025").

Creating Fiscal Period records

  1. Ensure Start_Date__c, End_Date__c, and Month_Number__c are populated accurately to drive the dashboard's time-filtering logic.

Fiscal Period with dates and month number populated

C. Setting Collection Quotas

  1. Navigate to Collection Quotas.
  2. Create target records for your Sales Reps.
  3. Link each quota to a Fiscal Period and a Sales Rep/Owner.
  4. Define the Target_Collection_Amount__c for 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.

  1. Set up Company Payment Detail records.
  2. Populate GSTIN__c, UPI_ID_VPA__c, and IFSC_Code__c.
  3. Use the Is_Default__c checkbox 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:

  1. 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.
  2. 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

  1. Go to Setup > Lightning App Builder.
  2. Open the Collection_Forecast_Dashboard Lightning Page included in the package.

Collection_Forecast_Dashboard Lightning Page in App Builder

  1. 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

  1. 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.
  2. 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.
  3. 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:

  1. Sales Rep Dropdown: Filter the entire dashboard to view data for a specific team member. By default, this shows your own data.
  2. 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.
  3. 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:

  1. Identify the Record: Locate a specific Invoice Line Item in the data table that requires an update.
  2. 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).
  3. 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."
  4. 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:

  1. 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__c field (e.g., 90%+ is 'Commit').
  2. 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.
  3. Forecast Override: If you have inside information that an invoice is at risk (despite its system status), use the Forecast_Override__c field 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:

  1. Tax Breakdown: View detailed GST (IGST/SGST/CGST) totals calculated at the line-item level so the forecast reflects net vs. gross collection.
  2. 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:

  1. Status is Pending (Sent To Customer).
  2. Reminder Enabled is checked.
  3. Payment Due and Send Invoice To (the customer's email) are both filled in.
  4. 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)

  1. Create an Org-Wide Email Address and verify it. Reminders are sent from this address.
  2. Get the email template Id. Open the Invoice Payment Reminder Lightning email template and copy its Id (it starts with 00X).
  3. Configure the Invoice Reminder Setting. Go to Setup > Custom Settings > Invoice Reminder Setting > Manage, and create the org-level record using the values below.
SettingWhat to enter
EnabledCheck to turn the feature on
Org-Wide Email AddressThe verified sender address
Email Template IdThe 00X… Id from step 2
Default Days Before DueDefault 3
Default Frequency (Days)Default 3
Default Max RemindersDefault 3
  1. Add the reminder fields to the Invoice page layout or the record page (if not there already).
  2. Assign the permission set Invoice Reminder Admin to the users who manage reminders.
  3. Activate the flow Invoice Payment Reminders.

Using It on an Invoice

  1. Open the invoice and set the status to Pending (Sent To Customer).
  2. Check Reminder Enabled.
  3. 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

  1. Reminder Count: how many reminders have been sent. The flow updates it.
  2. 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

  1. One invoice: uncheck Reminder Enabled, or change the status.
  2. All invoices: uncheck Enabled in the Invoice Reminder Setting.

Troubleshooting

ProblemLikely cause
No email sentStatus 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 {{{...}}} textThe template uses a merge field the flow doesn't support
Email not receivedThe org-wide address isn't verified, or the message was filtered as spam
Same reminder repeatedReminder Count or Last Reminder Date was edited by hand

Part 4: Opening the Dashboard

  1. Select Native Dashboards.

Selecting Native Dashboards

  1. 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

Get QuoteX on Salesforce AppExchange: View QuoteX on AppExchange


Knowledge Article Number: KA-00218