The bad debt expense is the amount charged when a customer fails to pay their invoice. Conversely, the allowance for doubtful accounts is an estimate of the total amount of uncollectable receivables that are expected to be written off.