Upload a new file attachment (e.g. a receipt)
The access token received from the authorization server in the OAuth 2.0 flow.
The Tight entity to which this attachment belongs
bankTransfer, business, closing, company, expense, invoice, invoicePayment, revenue, taxPayment .+File to be uploaded
Id of the entity to which this attachment belongs
Caption for the attachment, especially useful for images
Date of the attachment (e.g. if attachment is a receipt, optionally provide the receipt date)
The dollar amount associated with the attachment (e.g. if attachment is a receipt, optionally provide the total cost on the receipt)
Successful operation
SUCCESS, FAILURE_CLOUDSTORAGE_NOT_SETUP, FAILURE_UPLOAD_ERROR, MASTER_SUCCESS_PERSONAL_FAILURE_UPLOAD_ERROR, FAILURE_NO_DATA, FAILURE_TOKEN_INVALIDATED, FAILURE_EMAIL_TOKEN_INVALIDATED, FAILURE_UNKNOWN_ERROR, FAILURE_USER_OVER_QUOTA, FAILURE_VALIDATION_ERROR