If you search using the following restriction, adding your customer account, you will get a list of open documents: 
DOC;ACCOUNT:*xxxxx,ST<9" 

Often you will see a document in status 1 or other status preventing you from closing the customer account.


If there is an invoice not yet completed (status less than 9), this too will have to be dealt with before the account can be closed.