You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
For GET /invoice endpoint SearchTerm is supported as a separate GetInvoices method parameter from Xero.NetStandard.OAuth version = 8.0. Please consider using version 8.0 or higher to use SearchTerm filter in AccountingAPI, GetInvoices method.
Please use SearchTerm with single "=" and outside of the where clause parameter. Closing this issue for now, do let us know if you face any further issues.
Thanks..
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.
The text was updated successfully, but these errors were encountered: