2024-05-03 Accommodate Invoice send out date changes

Invoice Dispatch Timing Adjustment:

  • Adjusted the timing for 'Generate and Send invoices X days in advance' under business settings from 5 days before the billing day to 7 days before.
  • Transition Handling:

  • Added logic to ensure that invoices scheduled to be sent out between 5 and 7 days before the billing day are not overlooked during this transition.
  • Implemented error handling mechanisms to prevent any potential oversights or skipped invoices during this period.
  1. Cron Job Update:
    1. Updated the cron job responsible for sending out invoices to accommodate the new dispatch timing.
    2. Implemented logic to identify and process invoices scheduled between the original 5-day and the new 7-day timeframe before the billing day.
  2. Real-Time Adjustment:
    1. Upon saving changes in the business settings, the system performs a calculation to determine which invoices are affected by the change in dispatch timing.
    2. The system then processes these invoices according to the new settings, ensuring continuity in invoice generation and dispatch.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.