When changing the status or payment method of an posted, unpaid invoice, the invoice distribution will attempt to update the distribution to use the default AP Summary account setup in Configuration > Default Accounts. This error occurs when trying to save an invoice where the CR distribution does not match the AP Summary account setting.
The default AP Summary account can be temporarily set to match the CR distribution of the invoice to allow the payment method or status to be changed:
In AP go to Configuration > Default Accounts
Select AP Summary
Set the AP Summary Account to match what is currently used by the invoice
Alternatively, the invoice can be deleted and recreated with the correct settings.
Steps to Duplicate
1. Open the invoice record 2. On the 'invoice' tab, select a different payment method from the drop down 3. Click the Save icon and Error: Record cannot be saved. Cannot edit distribution. Invoice has been posted appears