"Charge Sales Tax" not in API docs

Hey guys,

I noticed the ability to set the VAT setting for a contact isn’t documented
in the API. It turns out it can be set using “charge_sales_tax” (guessed it
by looking at FreeAgent source for edit contact) as a key with a value of
-1, 0 or 1.

This would be useful to note on the API documentation,

Cheers,
Dave

Paul: see my previous posts about possible values for various fields :)On Thu, Jun 26, 2014 at 3:01 AM, Paul Smith paul@freeagent.com wrote:

Hi Dave,

It looks like that is missing from the documentation, but I would strongly
recommend against passing an integer into that field. Instead can I suggest
that you pass a string constant, which will be correctly handled by our API.

charge_sales_tax can be one of “Auto”, “Always” or “Never”.

I’ll get that documented to save others from digging around in the form
markup in future!

Cheers,
Paul.

On Wednesday, 25 June 2014 13:17:10 UTC+1, Dave Goodchild wrote:

Hey guys,

I noticed the ability to set the VAT setting for a contact isn’t
documented in the API. It turns out it can be set using “charge_sales_tax”
(guessed it by looking at FreeAgent source for edit contact) as a key with a
value of -1, 0 or 1.

This would be useful to note on the API documentation,

Cheers,
Dave


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.

Nic Wise
t. +64 21 676 418 | @fastchicken
b. http://www.fastchicken.co.nz/

Hi Dave,

It looks like that is missing from the documentation, but I would strongly
recommend against passing an integer into that field. Instead can I suggest
that you pass a string constant, which will be correctly handled by our API.

charge_sales_tax can be one of “Auto”, “Always” or “Never”.

I’ll get that documented to save others from digging around in the form
markup in future!

Cheers,
Paul.On Wednesday, 25 June 2014 13:17:10 UTC+1, Dave Goodchild wrote:

Hey guys,

I noticed the ability to set the VAT setting for a contact isn’t
documented in the API. It turns out it can be set using “charge_sales_tax”
(guessed it by looking at FreeAgent source for edit contact) as a key with
a value of -1, 0 or 1.

This would be useful to note on the API documentation,

Cheers,
Dave