Question: Invoicing Issue Recurring

Invoicing Issue Recurring

I tested this on both my own portal and your demo portal, and the output is the same. I created an invoice on November 1 with the same due date, set to recur every month. When I ran the

SS

SAGAR KUMAR SAHU

Asked

I tested this on both my own portal and your demo portal, and the output is the same.

I created an invoice on November 1 with the same due date, set to recur every month. When I ran the “Generate Invoice” option in the admin panel, I got a 500 error, but the invoices were still created for December, January, and February. However, all these invoices have the same due date of November 1 and are still marked as “Pending” instead of “Overdue,” even though the due date has already passed.

Please check and help fix this issue.

  • MS

    Mian Saleem

    Answered

    Hello,

    I have fixed the due date for the recurring invoices in v4.1.1

    The error might be due to mail config. Did you update the email settings?

    For the due date, the invoice is generated as pending and another command do the check for due invoice to make them overdue.

    Please check the latest log file in the storage/logs/ folder.

    Thank you

  • SS

    SAGAR KUMAR SAHU

    Answered

    Can you please send all the command for cron job to set to get out put

    1. recurring invoices create automatically
    2. overdue of invoice status autoamtically
  • SS

    SAGAR KUMAR SAHU

    Answered

    I just updated to the latest version. Now, when I click “Generate Invoice,” it creates an invoice as expected. I had set recurring invoices to generate 9 days before the due date, which is working fine. However, the issue is that the due date should be 30 days after the previous invoice’s due date (as set in the first invoice), but instead, it’s also being set 9 days earlier.

  • SS

    SAGAR KUMAR SAHU

    Answered

    Also address this cron job please which out put is blank and no error logs in storage/logs and cron job also not fucntioning

  • MS

    Mian Saleem

    Answered

    Hello,

    Your due date is same day so the new invoice will have due date same as date (Feb 19).

    You only need to setup cron job to run scheduler php artisan schedule:run that will run the commands as need. You don’t have to care anything else. For the output, how are you checking? If on the cron job then there won’t be any as we are already sending it to null and discarding it.

    If you need the output then you can run the scheduler command in terminal or setup cron job without the last part starting with >>

    You can check with your server admin how the output works for your server.

    Thank you

  • Login to Reply