Regenerate invoice error - "There were errors while submitting"

Modified on: Tue, 24 May, 2022 at 3:46 PM


Error "There were errors while submitting" occurs while regenerating invoice.


You will get the ‘Regenerate an invoice’ option only if a subscription has no current term invoices (Invoices are voided/deleted and has no current term unbilled charges.) 

Apparently, if you still can’t regenerate an invoice upon meeting the above conditions, then there are chances that the current term invoice might be in a ‘Pending’ state for the specific period that wasn’t closed. Hence, you can regenerate the invoice by choosing ‘Custom Period'.



An invoice cannot be regenerated when,

A Subscription is In-Trial, Future, or Cancelled state

A Subscription has a recurring invoice for the current term

A Subscription has recurring unbilled charges for the current term

A Subscription has an Advance Invoice

A Subscription has a recurring invoice, unbilled charges, advance invoice using import option.

If you have any pending invoices for the current term, then there is a possibility to face this error. In this case, to overcome this error, you need to choose ‘Custom Period’ while regenerating the invoice.

Configure the options for Custom Period:

  1. Choose a custom period for which you want to regenerate the invoice.

  2. Choose Start and End date (ensure these dates are within the billing cycle). The time component chosen would not apply if Chargebee is running on day-based billing mode.

  3. Choose to prorate the charges for that period or not.

  4. Choose to invoice the charges immediately or add them to unbilled charges (if Consolidated Invoicing is enabled).

- The setup fee of a plan does not appear in the line items of the regenerated invoice
- If you had enabled the option to hide zero-value line items in your site settings, an invoice will not be generated even if the subscription is in an Active state. In such cases, you do not see the option to regenerate the invoice

Related Links:

What are the limitations of voiding and regenerating an invoice?

How do I void and regenerate an invoice?

Is it possible to regenerate a prorated invoice?

Configuring metered billing - PC 2.0

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.