Actions77
- Columns Actions
- Comments Actions
- Companies Actions
- Currencies Actions
- Document Anchors Actions
- List Document Anchor
- List Basket Document Anchor
- Count Basket Document Anchor
- Check Edited Document Anchor
- Get By Id Document Anchor
- Update Document Anchor
- Delete Document Anchor
- Get Versions Document Anchor
- Get History Document Anchor
- Rotate Document Anchor
- Split Document Anchor
- Reassign Document Anchor
- Reassign All Document Anchor
- Redetect Document Anchor
- Get File Document Anchor
- Get Symbolic Links Document Anchor
- Get Group Treatments Document Anchor
- Get Group Documents Document Anchor
- Count Without Template Document Anchor
- List Without Template Document Anchor
- Set Template Document Anchor
- Transition Document Anchor
- Get State Document Anchor
- Update State Document Anchor
- Annotations Actions
- Expenses Actions
- Expense Categories Actions
- Expense Projects Actions
- Expense Reports Actions
- External Attachments Actions
- Fields Actions
- Files Actions
- Groups Actions
- Pending Transaction Actions
- Taxes Actions
- Tax Groups Actions
- Templates Actions
- Template Types Actions
- Streams Actions
- Users Actions
- Viridem Actions
Expenses → Get Image Expense
AI-generatedOverview
This node operation retrieves an image related to an expense from the Viridem API. It is useful for scenarios where users need to access or download images such as receipts or thumbnails associated with expense records in a company. For example, a user can fetch the thumbnail or full image of an expense receipt by specifying the company ID and expense ID.
Use Case Examples
- Fetch the thumbnail image of an expense receipt for a specific company.
- Download the full image of an expense for record-keeping or auditing purposes.
Properties
| Name | Meaning |
|---|---|
| Company Id | The unique identifier of the company to which the expense belongs. |
| Id | The unique identifier of the expense whose image is to be retrieved. |
| Type | The targeted image type to retrieve, either a THUMBNAIL or the full IMAGE. |
| Method | The file return method, either DOWNLOAD to get the file as a download or CONTENT to get the file content directly. |
| Request Options | Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
imageUrl- The URL or content of the retrieved expense image.imageType- The type of image retrieved, e.g., THUMBNAIL or IMAGE.companyId- The company identifier associated with the expense.expenseId- The expense identifier for which the image was retrieved.
Dependencies
- Viridem API with OAuth2 authentication
Troubleshooting
- Ensure the companyId and expenseId are valid and exist in the Viridem system to avoid 'not found' errors.
- If the image type or method parameters are incorrect, the API may return errors or unexpected results.
- Check network connectivity and proxy settings if requests time out or fail to connect.
- If SSL certificate validation is disabled, be aware of potential security risks when accepting insecure responses.