Submit a payroll migration import for review

Submit a payroll migration import for review, handing its files to the Deel Payroll Implementation Manager working on the legal entity. An import already submitted is refused rather than submitted twice - treat that 409 as success. Attaching more files reopens an import, so it can be submitted again once it has changed. Error codes: 401 UNAUTHORIZED, 403 FORBIDDEN, 403 PAYROLL_MIGRATION_IMPORT_DISABLED, 404 NOT_FOUND, 409 IMPORT_ALREADY_SUBMITTED, 409 NO_FILES_UPLOADED, 500 INTERNAL_SERVER_ERROR. **Token scopes**: `global-payroll:write`

Authentication

AuthorizationBearer
## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.deel.training/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Path parameters

legal_entity_idstringRequiredformat: "uuid"
The unique identifier of the legal entity the payroll migration import belongs to.
import_idstringRequiredformat: "uuid"
The unique identifier of the payroll migration import to submit, as returned when its files were attached.

Response

OK
dataobject
The payroll migration import.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error