Complete document upload
Completes a multipart upload after all parts have been uploaded to S3. You must provide the upload_id from the create response and the ETag returned by S3 for each uploaded part. The ETag is returned in the response headers when you PUT to each presigned URL.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Content-Type must be set to application/json.
Path Parameters
The UUID of the business.
The UUID of the document returned from the create endpoint.
Body
Response
Upload completed successfully.
A document stored in S3.
The unique identifier of the document.
The name of the uploaded file.
The MIME type of the file.
The type of document.
RECEIPT, UNSTRUCTURED_BOOKKEEPING_CONTEXT, OTHER A presigned URL for downloading the document, if available.