Thanks for your answer.
No, the error occurs when I create a new invoice.
The Javascript console said:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://xxxxxxxx/invoices/index.php/invoices/ajax/save Failed to load resource: the server responded with a status of 500 (Internal Server Error)