Skip to content

Xero "No property or field 'ACCPAY' exists in type 'Invoice'"

Updated

Xero returns QueryParseException with No property or field 'ACCPAY' exists in type 'Invoice' when a bills query leaves the type value unquoted.

Xero returns QueryParseException with No property or field 'ACCPAY' exists in type 'Invoice' when a bills query leaves the type value unquoted.

What we checkedWhere
Report with the original where clause and corrected syntaxstackoverflow.com
Xero invoice filters and type valuesdeveloper.xero.com

Check it yourself

  • Inspect the where parameter on GET /Invoices. A clause such as Type==ACCPAY makes Xero look for a field called ACCPAY.
  • Put double quotes around the value so the decoded filter reads Type=="ACCPAY". If you build the query string manually, the encoded filter is Type%3D%3D%22ACCPAY%22.
  • Check that you encode the full where value when sending it. Keep the date conditions and contact filter if you still need to limit the results to the same period and supplier.

Still failing?

Send the error and your decoded filter with contact identifiers removed to money@iftodo.ai for a free first look.

Weekly sync checks for €29 a month

For one Shopify or Square to QuickBooks workflow, we check weekly exports for missing or duplicate records and email you when we find a mismatch. We run a sample first to see whether the two exports have matching references.

Ask for a sample check. We agree how to share exports before starting billing. Cancel by email before your next renewal.