uploadDocument
Admin Portal
uploadDocument
This API is used to upload compliance and miscellaneous documents to a company for retriveal using the downloadDocument API
When to use:
- When adding documents at a company level
- When adding employee or pay period specific documents
Only IDs that pertain to the specific documentType are required to ensure they are routed correctly.
| Example Document | Requried IDs |
|---|---|
| Paystubs | companyId, employeeId, payPeriodId |
| Payroll journals | companyId, payPeriodId |
| Company handbook | companyId |
8655 and W4 forms:
Rollfi supports uploading employee W4s and 8655 forms through the API. These are specified using the documentType
| Document | documentType | Required IDs |
|---|---|---|
| Employee W4 | W4Form | companyId, employeeId |
| Company 8655 | 8655Form | companyId |
Note:
- Documents should be uploaded in base64 encoding for safe storage and retrieval
- Uploaded documents can be viewed using
getUploadedDocumentsand retrieved from storage usingdownloadDocument
POST
uploadDocument
Documentation Index
Fetch the complete documentation index at: https://developer.rollfi.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/json
