To write off an invoice in QuickBooks, create a credit memo for the unpaid amount, apply it to the original invoice, and then review and save the transaction.