# Write off amounts per invoice

**URL:** <https://api-discuss.freeagent.com/t/write-off-amounts-per-invoice/1927>\
**Category:** Uncategorized\
**Created:** [15 March 2020 09:47 UTC](https://api-discuss.freeagent.com/t/write-off-amounts-per-invoice/1927 "2020-03-15T09:47:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Andrew\_Stewart](https://api-discuss.freeagent.com/user_avatar/api-discuss.freeagent.com/andrew_stewart/32/149_2.png) [@Andrew\_Stewart](https://api-discuss.freeagent.com/u/Andrew_Stewart)\
**Post date:** [16 March 2020 11:17 UTC](https://api-discuss.freeagent.com/t/write-off-amounts-per-invoice/1927/2 "2020-03-16T11:17:28Z")

</div>

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](https://dev.freeagent.com/docs/invoices#invoice-attributes)

Yours,  
Andrew Stewart

–  
[https://doubleagent.io](https://doubleagent.io)

---

_[View the full topic](https://api-discuss.freeagent.com/t/write-off-amounts-per-invoice/1927)._
