Receipt Upload

Create a new receipt upload

The uri will be a pre-signed S3 URL allowing you to upload the receipt securely. This URL can only be used for a PUT operation and expires 30 minutes after its creation. Once your upload is complete, we will try to match the receipt with existing expenses.

Refer to these docs on how to upload to this pre-signed S3 URL. We highly recommend using one of AWS SDKs if they're available for your language to upload these files.

post/v1/expenses/card/{expense_id}/receipt_upload

Path parameters

expense_idstring required

Request body

receipt_namestring required

The name of the receipt (with the file extension).

Response

Upload a new receipt response.

idstring required

The unique identifier for the request.

uristring required

The pre-signed S3 link that should be used to upload the file. The maximum size accepted for this document is 50 MB.