Upload deferred migration data
POST
https://app.speybooks.com/api/v1/migration/{id}/upload-deferredProcess 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
idstringrequiredMigration 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
balancesImportIdstringbillsImportIdstringnullablecompletedAtstringnullablecontactsImportIdstringcreatedAtstringdate-timecutoverDatestringidstringinvoicesImportIdstringproviderstringproviderLabelstringreconciliationstringnullablestatusstringuploadsobjectShow child attributes
billsstringnullableinvoicesobjectShow child attributes
importIdstringstatusstringwarningsarray<object>Error codes
400Invalid migration ID format.
404Migration not found.
422Migration is in a terminal state.