How to Download Expense Attachments from Zoho Expenses Using Document Details?

How to Download Expense Attachments from Zoho Expenses Using Document Details?

I am currently working on syncing Zoho Expenses with our internal portal. While syncing, I can successfully retrieve expense details, including document-related information such as file_name, document_id, and other metadata.

However, I am facing an issue with downloading the associated document attachments. I need to either:

  1. Download these documents to my local system directly.
  2. Store these documents in my system for further processing.

The problem is that I couldn’t find any specific API endpoint in Zoho’s documentation to download or access these files using the document_id or related fields.

Could someone guide me on how to achieve this? Is there an existing API endpoint or an alternative approach for downloading expense attachments in Zoho Expenses?