put
https://api.operating.app/v1/receipts//file
For overwriting an existing receipt file.
The response contains a pre signed S3 upload URL which the user is expected to use for uploading the receipt file. The mimetype of the file needs to match the type in the request body. The URL is valid for 1 hour.
Example for curl:
curl -X PUT -T ./photo.jpg -H "Content-Type: image/jpeg" "https://my-bucket.s3.amazonaws.com/uploads/photo.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&..."
Receipts represent uploaded files associated with expenses. They provide documentation for expense claims and can include images or PDF files.