No Project on Invoices?

Just now I realized in the Invoice entity there is no Project information.
You should poll for any project the list of all related invoices. Not so
convenient.
Considered that am invoice is one-to-one project related should be more
efficient to have all in one place on the invoice entity.
By the way in FreeAgent the export-to-excel function act exactly this way
and the invoice has the project reference information on it.

Walter

Sorry, I was wrong. If the invoice is related to some project than - and
only in that case - it has the project reference.

Walter

Hi Walter,

As you’ve observed, if an invoice is related to a project the API response
includes the project URL and you can retrieve all the invoices for a
project at once by passing the project URL to the invoices resource as the
project parameter as shown in
https://dev.freeagent.com/docs/invoices#list-all-invoices-related-to-a-project.
I hope this solves your problem.

Regards,
Harry MillsOn Fri, Jan 4, 2013 at 8:56 PM, Ossowalt wmacorig@gmail.com wrote:

Sorry, I was wrong. If the invoice is related to some project than - and
only in that case - it has the project reference.

Walter


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/freeagent_api/-/ujQ-wmysKd0J.

To post to this group, send email to freeagent_api@googlegroups.com.
To unsubscribe from this group, send email to
freeagent_api+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/freeagent_api?hl=en.