Xero invoices "NoDataProcessedException" (ErrorNumber 17)
Updated
Xero returns NoDataProcessedException and No data has been processed for this endpoint when the invoice request body is unusable.
Xero returns NoDataProcessedException and No data has been processed for this endpoint when the invoice request body is unusable.
| What we checked | Where |
|---|---|
| Report with ErrorNumber 17 and a quoted JSON payload | stackoverflow.com |
| Xero PHP Accounting API createInvoices signature | xeroapi.github.io |
| Xero invoice request format | developer.xero.com |
Check it yourself
- Check the outgoing request body for the invoice write. For a JSON batch, the body should be an object with an
Invoicesarray. - Check whether the whole JSON object was encoded as a string. With the Xero PHP OAuth SDK, build an
Invoicesmodel holding theInvoiceobjects and pass it tocreateInvoices(). Let the SDK serialize that model. - After correcting the body type, test with one invoice and check the returned invoice record.
Still failing?
Send the exact error, SDK version and the redacted outer shape of the request body 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.