Skip to main content

Download Files Bulk

POST 

/api/billing/invoices/download-bulk

Download multiple files from URLs and return as a ZIP file.

This endpoint uses the FileDownloadService to download files from provided URLs (e.g., Stripe invoice PDFs) and packages them into a single ZIP file for convenient bulk downloading.

Args: request: List of file URLs and filenames to download (max 50)

Returns: ZIP file containing all requested files

Raises: HTTPException: 400 if no files could be downloaded, 500 for other errors

Request

Responses

Successful Response