upload_receipt
Upload receipt images to associate with Brex card expenses. Convert base64-encoded images to files, store them securely, and link them to specific expense records for documentation and reporting.
Instructions
Upload a receipt image (base64-encoded) to a specific card expense. Creates a pre-signed S3 URL, uploads the receipt, and associates it with the expense. Returns upload confirmation. NOTE: This is a write operation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt_data | Yes | Base64-encoded image data | |
| receipt_name | Yes | Name of the receipt file (e.g., 'receipt.jpg') | |
| content_type | Yes | MIME type of the receipt (e.g., 'image/jpeg', 'image/png', 'application/pdf') |