Upload income document to an application
POST/applications/:applicationId/income-document
Accepts PDF, PNG, JPEG, HEIC, DOC and DOCX, detected from file contents. The file is virus scanned before it is stored.
Where the document goes depends on who uploads it:
- Retailer (
X-CreditApp-Retailer-ID): the document is added to the application for one applicant, exactly as the portal's document upload does. With one of the four typed income documents (PAY_STUB,BANK_STATEMENT,LETTER_OF_EMPLOYMENT,NOTICE_OF_ASSESSMENT) it is filed under that document type's income stipulation for every lender on the application, creating the stipulation when nobody has requested it yet. Any other type is filed on its own, and a document with nodocumentTypejoins that applicant's other documents. Uploading does not send the document to a lender; use the stipulation upload endpoint withsubmitToLenderfor that. - Creditor (
X-CreditApp-Creditor-ID): the document goes to that creditor's own income analysis for the application. It is not attached to a stipulation, and the optional fields below are ignored.
A bank connection stipulation (INCOME / BANK_ACCOUNT) is completed only by the applicant connecting their bank account. Uploading a BANK_STATEMENT creates a separate bank statement stipulation and leaves the bank connection one open.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Clean document stored and recorded
Missing or invalid file, unsupported or unparseable content, password protected PDF, rejected scan, an applicant that is not on the application, a missing description, or a domain validation failure
Unauthorized
The caller may not upload documents to this application
Application not found
Scanner, storage or command processing failed