Upload deferred migration data
POST
https://app.speybooks.com/api/v1/migrations/{id}/upload-deferredProcess deferred invoice and bill sheets that were stored during the provider upload. Called by the frontend after the opening balance import is confirmed.
Reads base64-encoded CSV buffers from mapping_data.deferredSheets, calls the ODCE service for each, attaches the resulting import IDs, and clears the deferred data.
Returns a no-op success if no deferred sheets exist.
Path parameters
id string requiredMigration ID (e.g. mig_1).
Response
200 Deferred sheets processed. Returns per-entity upload results and any errors. Returns success with message if no deferred sheets exist.
Show response fields
balancesImportId stringbillsImportId string nullablecompletedAt string nullablecontactsImportId stringcreatedAt string date-timecutoverDate stringid stringinvoicesImportId stringprovider stringproviderLabel stringreconciliation string nullablestatus stringuploads objectShow child attributes
bills string nullableinvoices objectShow child attributes
importId stringstatus stringwarnings array<object>Error codes
400 Invalid migration ID format.
404 Migration not found.
422 Migration is in a terminal state.