Microsoft.Billing (preview:2017-02-27)

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

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 ,
$expand: string ,
$filter: string ,
$skiptoken: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
downloadUrl:
{
expiryTime: string ,
url: 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 ,
invoiceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
downloadUrl:
{
expiryTime: string ,
url: 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:
{
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
downloadUrl:
{
expiryTime: string ,
url: 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 ,
}
,
}
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 ,
$expand: string ,
$filter: string ,
$skiptoken: string ,
$top: integer ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
downloadUrl:
{
expiryTime: string ,
url: 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 ,
invoiceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
downloadUrl:
{
expiryTime: string ,
url: 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:
{
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
downloadUrl:
{
expiryTime: string ,
url: 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 ,
}
,
}