XeroAPI / xero-php-oauth2

Xero PHP SDK for oAuth 2 generated from Xero API OpenAPI Spec 3.0
MIT License
87 stars 64 forks source link

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

Open VladislavOkishev opened 1 year ago

VladislavOkishev commented 1 year ago

SDK you're using (please complete the following information):

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.

github-actions[bot] commented 1 year ago

PETOSS-305

github-actions[bot] commented 1 year ago

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

eliissc commented 1 year ago

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