Comments are not being returned in invoiceobject


#1

Hi,

We need to send through a custom id when creating an invoice and to be able to retrieve that id from the returned invoice object. i.e. before adding invoice items from our internal billing system.

I have been trying to use the comments field as the api docs state that you can pass in and it will be included in the invoice object when it is returned by FA.

I have tried this but unfortunately never appear in my returned invoice.

We have been using FA and this api for years so we know that our process is fundamentally sound but this is the first time that we have needed to pass through and retrieve a custom value.

Can anyone shed any light/offer ideas ?

Thanks,
Gary


#2

Hi Gary,

I have done a quick test and was able to set and get back the comment field on the invoice. Would you mind sharing the requests you are doing as described here?

Many thanks,
Ioan


#3

Hi,

Sorry about the delay was waiting for the next invoicing run.

This has been resolved.

What I hadn’t noticed was that we were also passing through an empty node and when the comments are empty it seems that ‘comments’ is not present in the return.

So, after all, this was a coding error.

Thanks for your help.