Invoice default comments

When I create an invoice over the API, but don’t send through a “comments”
parameter, I would expect the default “Additional Text” within my FreeAgent
account to be pulled through to the invoice, but it doesn’t. It seems that
for any “comments” to be displayed on the invoice, I have to send them
through with the API data.

Since I can set default text within FreeAgent, this doesn’t seem right to
me - is this the intended behaviour?

Gavin

Hi Gavin,

Thank you for your message and my apologies for the confusion.

You make a really good point, there’s an inconsistency here between the
behaviour of your FreeAgent account and the behaviour of the API when the
“Additional Text” parameter is omitted.
I’m afraid that altering this behaviour retrospectively would be a breaking
change. Silently falling back to your FreeAgent default would cause a
change in behaviour for those who are knowingly omitting the parameter (and
expecting a blank comment as a result).

That said, we could make it possible to retrieve the default comment text
via the API, so that it can be explicitly passed as a param to the
/invoices endpoint.
I will pass this feedback to our engineering team for their consideration
in a future release.

Thanks for bringing this to our attention and apologies again for the
confusion here.

Have a great weekend.

Kind regards,
Dave JOn 13 November 2015 at 10:04, gavin@churchapp.co.uk wrote:

When I create an invoice over the API, but don’t send through a “comments”
parameter, I would expect the default “Additional Text” within my FreeAgent
account to be pulled through to the invoice, but it doesn’t. It seems that
for any “comments” to be displayed on the invoice, I have to send them
through with the API data.

Since I can set default text within FreeAgent, this doesn’t seem right to
me - is this the intended behaviour?

Gavin


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_api+unsubscribe@googlegroups.com.
To post to this group, send email to freeagent_api@googlegroups.com.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/d/optout.

David Jones
Senior Support Engineer

FreeAgent