You can query the invoices endpoint for all recent invoices, then look at each one’s status field to find those which are Written-off or Part written-off. You can then look at an invoice’s reference attribute and written_off_date.
Presumably the written-off amount is the same as the due_value.
https://dev.freeagent.com/docs/invoices#invoice-attributes
Yours,
Andrew Stewart