xero-php
xero-php copied to clipboard
ReportTaxType is hard coded to be required, but it is not required for US orgs
Steps to Reproduce.
- Set your demo account type to US.
- Attempt to create a TaxRate with out a ReportTaxType property... Result: Validation Fails before the request is ever sent to Xero. Expected Result: If the Org Version is "US" it should pass validation and send the request to Xero. Alternate Acceptable Result: Always let it pass validation and send the request to Xero.
If the Alternate is acceptable I'll be happy to send a pull request.
Yeah for Global Too
ReportTaxType | See ReportTaxTypes. Required when creating tax rates for AU, NZ and UK orgs.