Revenue API
/- Download an attachment
Upload an attachment
List journal entry attachments
Delete an attachment
Download an attachment
Purpose
Downloads an attachment. For files stored in cloud storage the response is JSON with a short-lived presigned url - fetch the file from that URL with a plain GET (no Authorization header). Older attachments are streamed directly as application/octet-stream.
When to use
- Retrieve a supporting document for review, audit or archiving.
Security
OneIdOAuth
- Zuora Revenue API (base URL)https://one.zuora.com/revenue/services/v1/journal-entries/{jeId}/attachments/{attachmentId}/download
curl -i -X GET \
https://one.zuora.com/revenue/services/v1/journal-entries/10045/attachments/501/download \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Presigned download URL (cloud-stored files)
Response
{ "url": "https://zr-attachments.s3.amazonaws.com/t1/je/10045/501?X-Amz-Expires=300&X-Amz-Signature=..." }