How to write off bad debt from insolvent company

I have seen there is a way to write off bad debt for older invoices but how do you write off recent invoices which you know will not be paid as the company is insolvent?

You can create a Credit Note