Microsoft.Billing (preview:2018-03-01)

2025/09/26 • 12 new, 12 deleted methods

EnrollmentAccounts_List (new)
Description :  Lists the enrollment accounts the caller has access to.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/enrollmentAccounts
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
principalName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccounts_Get (new)
Description :  Gets a enrollment account by name.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/enrollmentAccounts/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
principalName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPeriods_List (new)
Description :  Lists the available billing periods for a subscription in reverse chronological order. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods
{
subscriptionId: string ,
api-version: string ,
$filter: string ,
$skiptoken: string ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingPeriodStartDate: string ,
billingPeriodEndDate: string ,
invoiceIds:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPeriods_Get (new)
Description :  Gets a named billing period. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}
{
subscriptionId: string ,
api-version: string ,
billingPeriodName: string ,
}

⚐ Response (200)

{
properties:
{
billingPeriodStartDate: string ,
billingPeriodEndDate: string ,
invoiceIds:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_List (new)
Description :  Lists the available invoices for a subscription in reverse chronological order beginning with the most recent invoice. In preview, invoices are available via this API only for invoice periods which end December 1, 2016 or later. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices
{
subscriptionId: string ,
api-version: string ,
$expand: string ,
$filter: string ,
$skiptoken: string ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
downloadUrl:
{
expiryTime: string ,
url: string ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingPeriodIds:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Invoices_Get (new)
Description :  Gets a named invoice resource. When getting a single invoice, the downloadUrl property is expanded automatically. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices/{invoiceName}
{
subscriptionId: string ,
api-version: string ,
invoiceName: string ,
}

⚐ Response (200)

{
properties:
{
downloadUrl:
{
expiryTime: string ,
url: string ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingPeriodIds:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Invoices_GetLatest (new)
Description :  Gets the most recent invoice. When getting a single invoice, the downloadUrl property is expanded automatically. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices/latest
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
downloadUrl:
{
expiryTime: string ,
url: string ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingPeriodIds:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Operations_List (new)
Description :  Lists all of the available billing REST API operations.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
EnrollmentAccounts_List (new)
Description :  Lists the enrollment accounts the caller has access to.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/enrollmentAccounts
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
principalName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccounts_Get (new)
Description :  Gets a enrollment account by name.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/enrollmentAccounts/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
principalName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPeriods_List (new)
Description :  Lists the available billing periods for a subscription in reverse chronological order. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods
{
subscriptionId: string ,
api-version: string ,
$filter: string ,
$skiptoken: string ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingPeriodStartDate: string ,
billingPeriodEndDate: string ,
invoiceIds:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPeriods_Get (new)
Description :  Gets a named billing period. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}
{
subscriptionId: string ,
api-version: string ,
billingPeriodName: string ,
}

⚐ Response (200)

{
properties:
{
billingPeriodStartDate: string ,
billingPeriodEndDate: string ,
invoiceIds:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccounts_List (removed)
Description :  Lists the enrollment accounts the caller has access to.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/enrollmentAccounts
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
principalName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccounts_Get (removed)
Description :  Gets a enrollment account by name.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/enrollmentAccounts/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
principalName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPeriods_List (removed)
Description :  Lists the available billing periods for a subscription in reverse chronological order. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods
{
subscriptionId: string ,
api-version: string ,
$filter: string ,
$skiptoken: string ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingPeriodStartDate: string ,
billingPeriodEndDate: string ,
invoiceIds:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPeriods_Get (removed)
Description :  Gets a named billing period. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}
{
subscriptionId: string ,
api-version: string ,
billingPeriodName: string ,
}

⚐ Response (200)

{
properties:
{
billingPeriodStartDate: string ,
billingPeriodEndDate: string ,
invoiceIds:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_List (removed)
Description :  Lists the available invoices for a subscription in reverse chronological order beginning with the most recent invoice. In preview, invoices are available via this API only for invoice periods which end December 1, 2016 or later. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices
{
subscriptionId: string ,
api-version: string ,
$expand: string ,
$filter: string ,
$skiptoken: string ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
downloadUrl:
{
expiryTime: string ,
url: string ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingPeriodIds:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Invoices_Get (removed)
Description :  Gets a named invoice resource. When getting a single invoice, the downloadUrl property is expanded automatically. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices/{invoiceName}
{
subscriptionId: string ,
api-version: string ,
invoiceName: string ,
}

⚐ Response (200)

{
properties:
{
downloadUrl:
{
expiryTime: string ,
url: string ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingPeriodIds:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Invoices_GetLatest (removed)
Description :  Gets the most recent invoice. When getting a single invoice, the downloadUrl property is expanded automatically. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/invoices/latest
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
downloadUrl:
{
expiryTime: string ,
url: string ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingPeriodIds:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Operations_List (removed)
Description :  Lists all of the available billing REST API operations.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
EnrollmentAccounts_List (removed)
Description :  Lists the enrollment accounts the caller has access to.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/enrollmentAccounts
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
principalName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccounts_Get (removed)
Description :  Gets a enrollment account by name.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/enrollmentAccounts/{name}
{
name: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
principalName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPeriods_List (removed)
Description :  Lists the available billing periods for a subscription in reverse chronological order. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods
{
subscriptionId: string ,
api-version: string ,
$filter: string ,
$skiptoken: string ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingPeriodStartDate: string ,
billingPeriodEndDate: string ,
invoiceIds:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPeriods_Get (removed)
Description :  Gets a named billing period. This is only supported for Azure Web-Direct subscriptions. Other subscription types which were not purchased directly through the Azure web portal are not supported through this preview API.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}
{
subscriptionId: string ,
api-version: string ,
billingPeriodName: string ,
}

⚐ Response (200)

{
properties:
{
billingPeriodStartDate: string ,
billingPeriodEndDate: string ,
invoiceIds:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}