404 while issue calling tax api?

Hello,

I am calling GET https://api.freeagent.com/v2/sales_tax_periods?per_page=100&page=1 api.
but i am getting response as 404 - resource not found.

{
“errors”: {
“error”: {
“message”: “Resource not found”
}
}
}
`

Hello,

Thanks for the post. One thing to check here would be whether the company you’re calling this for is a US or Universal company. This endpoint is only supported for these company types - if it’s a UK company it will return 404.

If you’re calling this API for a UK company, there is a VAT Returns API described in the documentation that might be useful.

Hope this helps.

Thanks,
Gerard