---
title: "POST /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/downloadDocuments"
method: POST
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/downloadDocuments"
tags: ["Invoices"]
---

# POST /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/downloadDocuments

`POST /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/downloadDocuments`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/downloadDocuments`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.

## Path parameters

- `billingAccountName` string, required
- `billingProfileName` string, required

## Query parameters

- `api-version` string, required

## Request body

- string[]

## Response `200`

OK. The request has succeeded.

- DownloadUrl: A secure URL that can be used to download a an entity until the URL expires.
  - `expiryTime` string, date-time: The time in UTC when the download URL will expire.
  - `url` string: The URL to the PDF file.

## Other responses

- `202`: Accepted.
- `default`: Error response describing why the operation failed.

## Changes

- **2020-10-14** (2019-10-01-preview) `4944be9a4813`: 1 info
  - api operation id `Invoices_DownloadMultipleModernInvoice` removed and replaced with `Invoices_DownloadMultipleBillingProfileInvoices`
- **2020-09-23** (2019-10-01-preview) `7e54538c72a9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/billingmanagementclient/changes/providers/Microsoft.Billing/billingAccounts/:billingAccountName/billingProfiles/:billingProfileName/downloadDocuments/post.md)

---

[API](https://skmtc.dev/azure/apis/billingmanagementclient.md) - [All operations](https://skmtc.dev/azure/apis/billingmanagementclient/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/billingmanagementclient/revisions/481e7355ac16?raw)
