Generate a NEST contribution schedule (CS) file
Builds the contribution schedule NEST created for a payment source, frequency and earnings period end date: copy them and the payment due date from the schedule in NEST. Every FILE scheme paying from the source is covered. Members are reported with the contributions of payruns paid in the earnings period, and leavers, cessations and paper opt-outs with their reason. A file of the same key that was never marked uploaded is replaced; one uploaded or approved is corrected, and the new file names it in corrects_id. When records have problems NEST would reject, the file is stored as FAILED with every problem listed and no CSV. Warnings return 422 NEST_FILE_WARNINGS unless overwrite_soft_validation is true. Files are uploaded by the client on the NEST website; Intermezzo cannot see the outcome, so the client reports it with mark-uploaded.
Body
Response
Successful Response
Lifecycle of one generated NEST file.
Uploads happen on the NEST website, so the UPLOADED states are set by the client. An ME is UPLOADED_ALL_ACCEPTED or UPLOADED_WITH_ERRORS; a CS, whose row errors are fixed online in NEST, is UPLOADED and then APPROVED_IN_NEST once the employer approves the schedule.
GENERATED, FAILED, SUPERSEDED, UPLOADED_ALL_ACCEPTED, UPLOADED_WITH_ERRORS, UPLOADED, APPROVED_IN_NEST