How to remove an opening balance from a customer account?

SUGGESTED

I tried to delete an OB when editing a customer, but I get an error: 

The record could not be deleted.

Possible reasons:

remaining bal. on acc.;

trans. associated with acc.;

acc still associated with projects).

 

I have an account with an OB entered twice and I can't remove either.

Any ideas?