> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Sample Flows ## Article: Sample Flows ## Article Link: https://dev.wix.com/docs/api-reference/business-management/get-paid/bulk-downloads/sample-flows.md ## Article Content: # Bulk Downloads: Sample Use Case and Flow This article presents a possible use case and its corresponding sample flow that you can support. This can be a helpful jumping off point as you plan your implementation. ## Download all receipts from the previous quarter You can download all of the previous quarter's receipts: 1. Call [Query Receipts](https://dev.wix.com/docs/rest/business-management/get-paid/receipts/receipts/query-receipts.md), filtered by the requested dates, to retrieve the receipts from the previous quarter. 2. Retrieve and store the IDs of the receipts. 3. Call [Initiate Bulk Download](https://dev.wix.com/docs/rest/business-management/get-paid/bulk-downloads/initiate-bulk-download.md) for those receipt IDs. 4. Call [Get Bulk Download](https://dev.wix.com/docs/rest/business-management/get-paid/bulk-downloads/list-my-bulk-downloads.md) with the bulk download ID from the response in the earlier step. Check that the value of `downloadGenerationDetails.processed` matches `downloadGenerationDetails.total` to ensure all receipts have been processed. Then, retrieve the `downloadUrl` and use it to download the .zip file containing the receipts.