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 checked | Where |
|---|---|
| Report with the original where clause and corrected syntax | stackoverflow.com |
| Xero invoice filters and type values | developer.xero.com |
Check it yourself
- Inspect the
whereparameter onGET /Invoices. A clause such asType==ACCPAYmakes Xero look for a field calledACCPAY. - Put double quotes around the value so the decoded filter reads
Type=="ACCPAY". If you build the query string manually, the encoded filter isType%3D%3D%22ACCPAY%22. - Check that you encode the full
wherevalue 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.