Can't delete customer bill

hey guys
still trying to figure out how this program works, and I found more convenient to try on an installed version… I was simulating a sale, and did it successfully, but when i tried to clear its realtive data, I simply could not exclude the customer bill. I already excluded the bank account it was linked to, and I don’t understand SQL programming.