Upload a document that will serve as an attachment for an expense, a budget, or a sick leave. Allowed content types:
image/jpeg
image/png
image/gif
application/pdf
application/msword
application/vnd.openxmlformats-officedocument.wordprocessingml.document
application/vnd.ms-excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Param name | Description |
---|---|
file
required |
Validations:
|
owner_type
required |
Type of an entity to attach the document to. Validations:
|
owner_id
required |
ID of an entity to attach the document to. Validations:
|
Param name | Description |
---|---|
id
required |
Document ID Validations:
|