SDK you're using (please complete the following information):
Xero.NetStandard.OAuth2 5.0
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.
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.