XeroAPI / Xero-NetStandard

A wrapper of the Xero API in the .NetStandard 2.0 framework. Supports Accounting, Payroll AU/US, and Files
MIT License
118 stars 119 forks source link

AccountingAPI, GetInvoices method, "where" parameter, SearchTerm is not working #512

Open onuryavuzmeral opened 1 month ago

onuryavuzmeral commented 1 month ago

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

Describe the bug AccountingAPI, getinvoices method has a "where" parameter where you can filter invoices. if I use Type=="ACCREC" it has no problem, but if I use SearchTerm=="abc" it throws an error as below:

Xero API 400 error calling GetInvoices :{ "ErrorNumber": 16, "Type": "QueryParseException", "Message": "No property or field 'SearchTerm' exists in type 'Invoice'" }

Expected behavior Filter incoming invoices by searchterm case-insensitive.

github-actions[bot] commented 1 month ago

PETOSS-422

github-actions[bot] commented 1 month ago

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