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:
Choose a custom period for which you want to regenerate the invoice.
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.
Choose to prorate the charges for that period or not.
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