Upload deferred migration data

POSThttps://app.speybooks.com/api/v1/migration/{id}/upload-deferred

Process the invoice and bill sheets that were held during the provider upload. The frontend calls this once the opening balance import is confirmed. The held sheets are passed to the document importer, the resulting import ids are attached, and the held data is cleared. Returns a no-op success if there are no deferred sheets.

Path parameters

idstringrequired
Migration ID (e.g. mig_1).

Response

200Deferred sheets processed. Returns per-entity upload results and any errors. Returns success with message if no deferred sheets exist.
Show response fields
balancesImportIdstring
billsImportIdstringnullable
completedAtstringnullable
contactsImportIdstring
createdAtstringdate-time
cutoverDatestring
idstring
invoicesImportIdstring
providerstring
providerLabelstring
reconciliationstringnullable
statusstring
uploadsobject
Show child attributes
billsstringnullable
invoicesobject
Show child attributes
importIdstring
statusstring
warningsarray<object>

Error codes

400Invalid migration ID format.
404Migration not found.
422Migration is in a terminal state.