Skip to content

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 checkedWhere
Report with ErrorNumber 17 and a quoted JSON payloadstackoverflow.com
Xero PHP Accounting API createInvoices signaturexeroapi.github.io
Xero invoice request formatdeveloper.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 Invoices array.
  • Check whether the whole JSON object was encoded as a string. With the Xero PHP OAuth SDK, build an Invoices model holding the Invoice objects and pass it to createInvoices(). 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.