xero-php-oauth2
xero-php-oauth2 copied to clipboard
500 at the stage of integrating tax rates, when Xero account has a Singapore location
SDK you're using (please complete the following information):
- Version 2.22.0
Describe the bug If the account has a Singapore location, then when you try to get tax rates, 500 will appear with a messege "Invalid value for 'report_tax_type', must be one of..."
To Reproduce Call ->GET TaxRates on the SDK vs a direct call to the endpoint. GET https://api.xero.com/api.xro/2.0/TaxRates
Expected behavior Tax rates import should work correctly for different types of companies.
Error message:
Additional context As far as I know, version 2.22.0 had some corrections to the tax rates for the Singapore location. But the problem still exists.
PETOSS-305
Thanks for raising an issue, a ticket has been created to track your request
We are facing the same issue. Hopefully, it gets fixed soon!