Azure Billing REST API
The Azure Billing APIs allow you to view and manage your billing details programmatically. Operation groups listed below do not support all billing accounts. Supported billing accounts are specified in the table. To identify your billing account type, see Billing accounts and scopes.
REST Operation Groups
Operation Group | Description | Microsoft Customer Agreement | Enterprise Agreement | Microsoft Partner Agreement | Microsoft Online Service Program |
---|---|---|---|---|---|
Address | Provides an operation to validate a given address. | ✔ | ✔ | ✔ | ✔ |
Agreements | Provides operations to get agreements accepted for a billing account. | ✔ | ✘ | ✘ | ✘ |
Available Balance | Provides an operation to get a real-time credit balance for a billing profile. | ✔ | ✘ | ✘ | ✘ |
Billing Accounts | Provides operations to get billing accounts that a user has access to. | ✔ | ✔ | ✔ | ✔ |
Billing Permissions | Provides operations to get permissions for a billing scope. | ✔ | ✘ | ✘ | ✘ |
Billing Profiles 1 | Provides operations to get, create, and update billing profiles. | ✔ | ✘ | ✔ | ✘ |
Billing Property | Provides an operation to get billing properties for a subscription. | ✔ | ✘ | ✘ | ✘ |
Billing Role Assignments | Provides operations to get, add, and update billing role assignments. | ✔ | ✘ | ✘ | ✘ |
Billing Role Definitions | Provides operations to get billing role definitions. | ✔ | ✘ | ✘ | ✘ |
Billing Subscriptions | Provides operations to get subscriptions that are billed to a billing scope and move them between invoice sections. | ✔ | ✘ | ✘ | ✘ |
Customers | Provides operations to get customers with an Azure plan. | ✘ | ✘ | ✔ | ✘ |
Departments | Provides operations to get departments for an Enterprise Agreement (EA) enrollment. | ✘ | ✔ | ✘ | ✘ |
Enrollment Accounts | Provides operations to get accounts for an EA enrollment. | ✘ | ✔ | ✘ | ✘ |
Invoice sections | Provides operations to get, create, and update invoice sections. | ✔ | ✘ | ✘ | ✘ |
Invoices | Provides operations to get invoices. | ✔ | ✘ | ✔ | ✔ |
Operations | Provides an operation to list all operations supported by Billing APIs. | ✔ | ✔ | ✔ | ✔ |
Partner Transfers | Provides operations to get, initiate, and cancel transfer requests. | ✘ | ✘ | ✔ | ✘ |
Payment methods | Provides operations to get payment methods. | ✔ | ✘ | ✘ | ✘ |
Policies | Provides operations to get and update billing policies. | ✔ | ✘ | ✔ | ✘ |
Price Sheet | Provides operations to download Azure price sheets. | ✔ | ✘ | ✔ | ✘ |
Products 2 | Provides operations to get, update, and transfer products. | ✔ | ✘ | ✔ | ✘ |
Recipient Transfers | Provides operations to get, validate, accept, and decline transfer requests. | ✔ | ✘ | ✔ | ✘ |
Transactions | Provides operations to get billing transactions such as purchases and refunds. | ✔ | ✘ | ✔ | ✘ |
Transfers | Provides operations to get, initiate, and cancel transfer requests. | ✔ | ✘ | ✘ | ✘ |
1 New billing profile creation is supported only for billing accounts that are created by working with a Microsoft representative.
2 You must have a Microsoft Customer Agreement to transfer products between invoice sections.