EC Status

Hi,

Does anyone know how can we set EC Status on an invoice using the API?

Matthew

Hi Matthew,

EC Status support should just work but was missing from the documentation.
I’ve updated the documentation now. It should just be a case of setting
the invoice’s ec_status field to the required value either “Non-EC”, “EC
Services” or “EC Goods”.

Kind regards,

GraemeOn 25 April 2012 12:19, Matthew Hall matthew.hall@hallwaystudios.comwrote:

Hi,

Does anyone know how can we set EC Status on an invoice using the API?

Matthew


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
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.

Graeme Boyd
Senior Software Engineer
FreeAgent Central Ltd
40 Torphichen Street, Edinburgh EH3 8JB
Registered in Scotland SC316774

Hi Graeme,

I was in need of this kind of functionality for the module we are creating.
I have added the ‘ec_status’ flag to the invoice that I am posting and for
this script there are two possible scenarios, no ec_status flag or an
ec_status flag with the value ‘EC Services’

When testing, as soon as this ‘ec_status’ flag is set with the value ‘EC
Services’, the invoice fails to create - all other invoices are raised as
expected. The JSON being returned is -

{“errors”:[{“message”:“ec_status should indicate either EC Goods or EC
Services if set”}]}

I hope you can help!

I’m getting the same error when setting the field to ‘EC Services’.On Sunday, 29 April 2012 13:15:02 UTC+2, Chris Page wrote:

Hi Graeme,

I was in need of this kind of functionality for the module we are
creating. I have added the ‘ec_status’ flag to the invoice that I am
posting and for this script there are two possible scenarios, no ec_status
flag or an ec_status flag with the value ‘EC Services’

When testing, as soon as this ‘ec_status’ flag is set with the value ‘EC
Services’, the invoice fails to create - all other invoices are raised as
expected. The JSON being returned is -

{“errors”:[{“message”:“ec_status should indicate either EC Goods or EC
Services if set”}]}

I hope you can help!

Thanks!On Apr 25, 4:12 pm, Graeme Boyd graeme.b...@freeagent.com wrote:

Hi Matthew,

EC Status support should just work but was missing from the documentation.
I’ve updated the documentation now. It should just be a case of setting
the invoice’s ec_status field to the required value either “Non-EC”, “EC
Services” or “EC Goods”.

Kind regards,

Graeme

On 25 April 2012 12:19, Matthew Hall matthew.h...@hallwaystudios.comwrote:

Hi,

Does anyone know how can we set EC Status on an invoice using the API?

Matthew


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
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.


Graeme Boyd
Senior Software Engineer
FreeAgent Central Ltd
40 Torphichen Street, Edinburgh EH3 8JB
Registered in Scotland SC316774