Microsoft.Billing (preview:2017-04-24)

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

BillingPeriods_List (new)
Description :  Lists the available billing periods for a subscription in reverse chronological order.
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 ,
}
,
}
BillingPeriods_Get (new)
Description :  Gets a named billing period.
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 ,
}
,
}
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.
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.
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.
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 ,
}
,
}
BillingPeriods_List (removed)
Description :  Lists the available billing periods for a subscription in reverse chronological order.
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 ,
}
,
}
BillingPeriods_Get (removed)
Description :  Gets a named billing period.
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 ,
}
,
}
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.
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.
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.
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 ,
}
,
}