When a customer buys goods or services and is not required to pay for it until a later date, you are extending credit to that customer. Normally, this credit is paid off in full within a designated time frame.
But sometimes, a customer is unable to pay an outstanding invoice due to bankruptcy or other financial problems. When you have exhausted all means of collecting it, this unpaid credit becomes a bad debt expense.