How to write up Bad Debt/Difference
You can write up Bad Debt by posting a credit note and allocating it to the invoice. The credit note would need to be posted to a nominal code specifically set up for bad debt, which you would need to create manually.
You can write up a difference by posting a credit note and allocating it to the invoice.