xero-php-oauth2 icon indicating copy to clipboard operation
xero-php-oauth2 copied to clipboard

500 at the stage of integrating tax rates, when Xero account has a Singapore location

Open VladislavOkishev opened this issue 1 year ago • 3 comments

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: Screenshot 2023-06-19 at 17 16 48

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.

VladislavOkishev avatar Jun 19 '23 14:06 VladislavOkishev

PETOSS-305

github-actions[bot] avatar Jun 19 '23 14:06 github-actions[bot]

Thanks for raising an issue, a ticket has been created to track your request

github-actions[bot] avatar Jun 19 '23 14:06 github-actions[bot]

We are facing the same issue. Hopefully, it gets fixed soon!

eliissc avatar Jun 27 '23 11:06 eliissc