Missing API Data Points?

Hi there,

I am building a tool for automatically exporting FreeAgent data on a regular basis and have found a few differences between my export and the export on the FreeAgent. I am struggling to find the following in the API and how to retrieve this data so wondered if you could help out:

Subtotal field on the invoice export
Project field on the task export

Many thanks,

Lewis

Hi Lewis,

I’m trying to work out what you mean by “subtotal” for the invoice - if that’s the total before tax, then it’s in the response as net_value. If I’m misunderstanding your question let me know and I’ll see if I can help further.
https://dev.freeagent.com/docs/invoices

The project is listed on the tasks endpoint, although it does appear to be missing in our documentation - I’ll get that added. The attribute you need is project and the value is a URI for the project in the API, e.g. https://api.freeagent.com/v2/projects/12345678

Hope that helps,
Paul.