Track your business anytime, anywhere Know More
Updated January 04, 2026

Auto-generation of Recurring Sales

EquiBillBook automatically generates sales invoices from your recurring invoice templates based on the configured schedule. This guide explains how the auto-generation process works, when invoices are created, and how to monitor the process.

How Auto-generation Works

The auto-generation system:

  • Continuously monitors all active recurring invoices
  • Checks if it's time to generate the next invoice based on the recurrence pattern
  • Automatically creates sales invoices when the scheduled date arrives
  • Updates the next invoice date for the recurring invoice
  • Maintains a record of all generated invoices

When Invoices Are Generated

Invoices are automatically generated when:

  • The recurring invoice status is "Active"
  • The current date matches or exceeds the Next Invoice Date
  • The start date has passed
  • The end date hasn't passed (if an end date is set)
  • The recurring invoice is not on hold

Generation Process

When the system generates an invoice, it:

  1. Creates a new sales invoice based on the recurring invoice template
  2. Copies all items, quantities, and prices from the recurring invoice
  3. Applies the same tax, discount, and charge settings
  4. Sets the invoice date to the scheduled date
  5. Uses the customer and branch information from the recurring invoice
  6. Copies notes and terms and conditions
  7. Calculates the next invoice date based on the recurrence pattern
  8. Updates the recurring invoice's Last Invoice Date and Next Invoice Date
  9. Invoice Details

    Each auto-generated invoice includes:

    • Invoice Number: Auto-generated based on your numbering settings
    • Invoice Date: The scheduled date for that invoice
    • Due Date: Calculated based on payment terms
    • Reference: Links back to the recurring invoice
    • All Items: Same items, quantities, and prices as the template
    • Taxes and Discounts: Applied as configured in the recurring invoice
    • Status: Initially set to "Draft" or "Sent" based on your settings

    Monitoring Auto-generation

    You can monitor the auto-generation process by:

    • Viewing Recurring Invoice Details: Check the Last Invoice Date and Next Invoice Date
    • Reviewing Generated Invoices: View all invoices created from a recurring invoice
    • Checking Invoice List: Look for new invoices with the recurring invoice reference
    • Dashboard Reports: View recurring invoice statistics and upcoming invoices

    Next Invoice Date Calculation

    The system calculates the next invoice date based on:

    • Last Invoice Date: The date of the most recently generated invoice
    • Recurrence Pattern: The Repeat Every and Repeat Every Number settings
    • Date Logic:
      • Daily: Adds the specified number of days
      • Weekly: Adds the specified number of weeks (7 days × number)
      • Monthly: Adds the specified number of months

    Example: If Last Invoice Date is January 1st and pattern is Monthly (1), Next Invoice Date will be February 1st

    Automatic Status Updates

    The recurring invoice status is automatically updated:

    • Active: Recurring invoice is generating invoices as scheduled
    • Completed: Recurring invoice has reached its end date (if set)
    • On Hold: Recurring invoice is temporarily paused (manual action)
    • Inactive: Recurring invoice has been deactivated (manual action)

    Handling Generation Issues

    If an invoice fails to generate automatically, the system:

    • Logs the error for review
    • Does not update the Next Invoice Date if generation fails
    • Allows manual generation if needed
    • Provides error messages for troubleshooting

    Manual Generation

    You can also manually generate invoices from recurring invoices:

    1. Navigate to the Recurring Sales list
    2. Select the recurring invoice
    3. Click "Generate Invoice" or "Create Invoice Now"
    4. The system will create an invoice immediately
    5. The next invoice date will be updated accordingly

    Use Cases for Manual Generation:

    • Testing the recurring invoice setup
    • Generating an invoice ahead of schedule
    • Recovering from a missed automatic generation
    • Creating a one-time invoice from the template

    Best Practices

    • Monitor Regularly: Check recurring invoices periodically to ensure they're generating correctly
    • Review Generated Invoices: Verify that auto-generated invoices are correct
    • Set Appropriate Dates: Ensure start dates and end dates are set correctly
    • Keep Templates Updated: Update recurring invoice templates when prices or items change
    • Test Before Activating: Create a test recurring invoice to verify the pattern works
    • Document Special Cases: Add notes for any special generation requirements

    System Requirements

    For auto-generation to work properly:

    • The system must be running (for on-premise installations)
    • Background jobs or scheduled tasks must be configured (if applicable)
    • Recurring invoices must be in "Active" status
    • System date and time must be accurate

    Troubleshooting Auto-generation

    If invoices are not generating automatically:

    • Verify the recurring invoice status is "Active"
    • Check that the Next Invoice Date has passed
    • Ensure the Start Date has been reached
    • Verify the End Date hasn't passed (if set)
    • Check that "Never Expires" is enabled if no end date is set
    • Review system logs for any error messages
    • Confirm background jobs are running (if applicable)
    • Try manual generation to test the recurring invoice

    Viewing Generation History

    You can view the history of generated invoices:

    • Open the recurring invoice details
    • Navigate to the "Generated Invoices" section
    • View a list of all invoices created from this recurring invoice
    • See the generation date and invoice details
    • Access each generated invoice directly

    Need Help?

    If you need assistance with auto-generation:

    • Review the recurring invoice configuration
    • Check the Next Invoice Date and Last Invoice Date
    • Verify the recurrence pattern is set correctly
    • Contact support if invoices are not generating as expected

    Auto-generation of recurring sales saves significant time and ensures consistent billing. Once set up correctly, the system handles invoice creation automatically, allowing you to focus on other aspects of your business.

Tags:
Sales Invoice