Microsoft.Billing (stable:2020-05-01)

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

BillingAccounts_List (new)
Description Lists the billing accounts that a user has access to.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts
{
api-version: string ,
$expand: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
soldTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
agreementType: enum ,
accountType: enum ,
accountStatus: enum ,
billingProfiles:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
]
,
}
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplaceEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
hasReadAccess: boolean ,
notificationEmailAddress: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingAccounts_Get (new)
Description Gets a billing account by its ID.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
{
api-version: string ,
billingAccountName: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
soldTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
agreementType: enum ,
accountType: enum ,
accountStatus: enum ,
billingProfiles:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
]
,
}
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplaceEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
hasReadAccess: boolean ,
notificationEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingAccounts_Update (new)
Description Updates the properties of a billing account. Currently, displayName and address can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
{
api-version: string ,
billingAccountName: string ,
parameters:
{
properties:
{
displayName: string ,
soldTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
agreementType: enum ,
accountType: enum ,
accountStatus: enum ,
billingProfiles:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
]
,
}
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplaceEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
hasReadAccess: boolean ,
notificationEmailAddress: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
soldTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
agreementType: enum ,
accountType: enum ,
accountStatus: enum ,
billingProfiles:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
]
,
}
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplaceEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
hasReadAccess: boolean ,
notificationEmailAddress: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingAccounts_ListInvoiceSectionsByCreateSubscriptionPermission (new)
Description Lists the invoice sections for which the user has permission to create Azure subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/listInvoiceSectionsWithCreateSubscriptionPermission
{
api-version: string ,
billingAccountName: string ,
}

⚐ Response (200)

{
value:
[
{
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionSystemId: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfileSpendingLimit: enum ,
billingProfileSystemId: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Address_Validate (new)
Description Validates an address. Use the operation to validate an address before using it as soldTo or a billTo address.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/validateAddress
{
api-version: string ,
address:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
}

⚐ Response (200)

{
status: enum ,
suggestedAddresses:
[
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
]
,
validationMessage: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AvailableBalances_Get (new)
Description The available credit balance for a billing profile. This is the balance that can be used for pay now to settle due or past due invoices. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/availableBalance/default
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
amount:
{
currency: string ,
value: number ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Instructions_ListByBillingProfile (new)
Description Lists the instructions by billing profile id.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
amount: number ,
startDate: string ,
endDate: string ,
creationDate: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Instructions_Get (new)
Description Get the instruction by name. These are custom billing instructions and are only applicable for certain customers.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
instructionName: string ,
}

⚐ Response (200)

{
properties:
{
amount: number ,
startDate: string ,
endDate: string ,
creationDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Instructions_Put (new)
Description Creates or updates an instruction. These are custom billing instructions and are only applicable for certain customers.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
instructionName: string ,
parameters:
{
properties:
{
amount: number ,
startDate: string ,
endDate: string ,
creationDate: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
amount: number ,
startDate: string ,
endDate: string ,
creationDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProfiles_ListByBillingAccount (new)
Description Lists the billing profiles that a user has access to. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles
{
api-version: string ,
billingAccountName: string ,
$expand: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProfiles_Get (new)
Description Gets a billing profile by its ID. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProfiles_CreateOrUpdate (new)
Description Creates or updates a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Customers_ListByBillingProfile (new)
Description Lists the customers that are billed to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
$search: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingProfileId: string ,
billingProfileDisplayName: string ,
displayName: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
InvoiceSections_ListByBillingProfile (new)
Description Lists the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
InvoiceSections_Get (new)
Description Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
InvoiceSections_CreateOrUpdate (new)
Description Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
parameters:
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Customers_ListByBillingAccount (new)
Description Lists the customers that are billed to a billing account. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers
{
api-version: string ,
billingAccountName: string ,
$search: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingProfileId: string ,
billingProfileDisplayName: string ,
displayName: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Customers_Get (new)
Description Gets a customer by its ID. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}
{
api-version: string ,
billingAccountName: string ,
customerName: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
billingProfileId: string ,
billingProfileDisplayName: string ,
displayName: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPermissions_ListByCustomer (new)
Description Lists the billing permissions the caller has for a customer.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/billingPermissions
{
api-version: string ,
billingAccountName: string ,
customerName: string ,
}

⚐ Response (200)

{
value:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByCustomer (new)
Description Lists the subscriptions for a customer. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/billingSubscriptions
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ListByCustomer (new)
Description Lists the products for a customer. These don't include products billed based on usage.The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/products
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_ListByBillingAccount (new)
Description Lists the invoices for a billing account for a given start date and end date. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices
{
api-version: string ,
billingAccountName: string ,
periodStartDate: string ,
periodEndDate: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}
,
]
,
nextLink: string ,
totalCount: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_ListByBillingProfile (new)
Description Lists the invoices for a billing profile for a given start date and end date. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
periodStartDate: string ,
periodEndDate: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}
,
]
,
nextLink: string ,
totalCount: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_Get (new)
Description Gets an invoice by billing account name and ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_GetById (new)
Description Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_DownloadInvoice (new)
Description Gets a URL to download an invoice. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/download
{
api-version: string ,
billingAccountName: string ,
invoiceName: string ,
downloadToken: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_DownloadMultipleBillingProfileInvoices (new)
Description Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/downloadDocuments
{
api-version: string ,
billingAccountName: string ,
downloadUrls: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByBillingAccount (new)
Description Lists the subscriptions for a billing account. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_ListByBillingSubscription (new)
Description Lists the invoices for a subscription.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/invoices
{
subscriptionId: string ,
periodStartDate: string ,
periodEndDate: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}
,
]
,
nextLink: string ,
totalCount: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_GetBySubscriptionAndInvoiceId (new)
Description Gets an invoice by subscription ID and invoice ID.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_DownloadBillingSubscriptionInvoice (new)
Description Gets a URL to download an invoice.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/invoices/{invoiceName}/download
{
api-version: string ,
subscriptionId: string ,
invoiceName: string ,
downloadToken: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_DownloadMultipleBillingSubscriptionInvoices (new)
Description Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/downloadDocuments
{
api-version: string ,
subscriptionId: string ,
downloadUrls: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByBillingProfile (new)
Description Lists the subscriptions that are billed to a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingSubscriptions
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByInvoiceSection (new)
Description Lists the subscriptions that are billed to an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Get (new)
Description Gets a subscription by its ID. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{subscriptionId}
{
billingAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Update (new)
Description Updates the properties of a billing subscription. Currently, cost center can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{subscriptionId}
{
billingAccountName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Move (new)
Description Moves a subscription's charges to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{subscriptionId}/move
{
billingAccountName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ValidateMove (new)
Description Validates if a subscription's charges can be moved to a new invoice section. This operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{subscriptionId}/validateMoveEligibility
{
billingAccountName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
isMoveEligible: boolean ,
errorDetails:
{
code: enum ,
message: string ,
details: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ListByBillingAccount (new)
Description Lists the products for a billing account. These don't include products billed based on usage. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products
{
billingAccountName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ListByBillingProfile (new)
Description Lists the products for a billing profile. These don't include products billed based on usage. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/products
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ListByInvoiceSection (new)
Description Lists the products for an invoice section. These don't include products billed based on usage. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_Get (new)
Description Gets a product by ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}
{
billingAccountName: string ,
productName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_Update (new)
Description Updates the properties of a Product. Currently, auto renew can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}
{
billingAccountName: string ,
productName: string ,
api-version: string ,
parameters:
{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_Move (new)
Description Moves a product's charges to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}/move
{
billingAccountName: string ,
productName: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ValidateMove (new)
Description Validates if a product's charges can be moved to a new invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}/validateMoveEligibility
{
billingAccountName: string ,
productName: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
isMoveEligible: boolean ,
errorDetails:
{
code: enum ,
message: string ,
details: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Transactions_ListByInvoice (new)
Description Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage charges.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/transactions
{
billingAccountName: string ,
invoiceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
kind: enum ,
date: string ,
invoice: string ,
invoiceId: string ,
orderId: string ,
orderName: string ,
productFamily: string ,
productTypeId: string ,
productType: string ,
productDescription: string ,
transactionType: enum ,
transactionAmount:
{
currency: string ,
value: number ,
}
,
quantity: integer ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
azurePlan: string ,
azureCreditApplied:
{
currency: string ,
value: number ,
}
,
billingCurrency: string ,
discount: number ,
effectivePrice:
{
currency: string ,
value: number ,
}
,
exchangeRate: number ,
marketPrice:
{
currency: string ,
value: number ,
}
,
pricingCurrency: string ,
servicePeriodStartDate: string ,
servicePeriodEndDate: string ,
subTotal:
{
currency: string ,
value: number ,
}
,
tax:
{
currency: string ,
value: number ,
}
,
unitOfMeasure: string ,
units: number ,
unitType: string ,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Policies_GetByBillingProfile (new)
Description Lists the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
marketplacePurchases: enum ,
reservationPurchases: enum ,
viewCharges: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Policies_Update (new)
Description Updates the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
properties:
{
marketplacePurchases: enum ,
reservationPurchases: enum ,
viewCharges: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
marketplacePurchases: enum ,
reservationPurchases: enum ,
viewCharges: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Policies_GetByCustomer (new)
Description Lists the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
viewCharges: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Policies_UpdateCustomer (new)
Description Updates the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default
{
api-version: string ,
billingAccountName: string ,
customerName: string ,
parameters:
{
properties:
{
viewCharges: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
viewCharges: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProperty_Get (new)
Description Get the billing properties for a subscription. This operation is not supported for billing accounts with agreement type Enterprise Agreement.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
accountAdminNotificationEmailAddress: string ,
billingTenantId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfileSpendingLimit: enum ,
costCenter: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
skuId: string ,
skuDescription: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProperty_Update (new)
Description Updates the billing property of a subscription. Currently, cost center can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingProperty/default
{
subscriptionId: string ,
api-version: string ,
parameters:
{
properties:
{
accountAdminNotificationEmailAddress: string ,
billingTenantId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfileSpendingLimit: enum ,
costCenter: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
skuId: string ,
skuDescription: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
accountAdminNotificationEmailAddress: string ,
billingTenantId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfileSpendingLimit: enum ,
costCenter: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
skuId: string ,
skuDescription: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPermissions_ListByBillingAccount (new)
Description Lists the billing permissions the caller has on a billing account.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingPermissions
{
api-version: string ,
billingAccountName: string ,
}

⚐ Response (200)

{
value:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPermissions_ListByInvoiceSections (new)
Description Lists the billing permissions the caller has on an invoice section.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingPermissions
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
}

⚐ Response (200)

{
value:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPermissions_ListByBillingProfile (new)
Description Lists the billing permissions the caller has on a billing profile.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingPermissions
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
}

⚐ Response (200)

{
value:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_GetByBillingAccount (new)
Description Gets the definition for a role on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/{billingRoleDefinitionName}
{
api-version: string ,
billingAccountName: string ,
billingRoleDefinitionName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_GetByInvoiceSection (new)
Description Gets the definition for a role on an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions/{billingRoleDefinitionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingRoleDefinitionName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_GetByBillingProfile (new)
Description Gets the definition for a role on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions/{billingRoleDefinitionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
billingRoleDefinitionName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_ListByBillingAccount (new)
Description Lists the role definitions for a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions
{
api-version: string ,
billingAccountName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_ListByInvoiceSection (new)
Description Lists the role definitions for an invoice section. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_ListByBillingProfile (new)
Description Lists the role definitions for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_GetByBillingAccount (new)
Description Gets a role assignment for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByBillingAccount (new)
Description Deletes a role assignment for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_GetByInvoiceSection (new)
Description Gets a role assignment for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByInvoiceSection (new)
Description Deletes a role assignment for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_GetByBillingProfile (new)
Description Gets a role assignment for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByBillingProfile (new)
Description Deletes a role assignment for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByBillingAccount (new)
Description Lists the role assignments for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments
{
api-version: string ,
billingAccountName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByInvoiceSection (new)
Description Lists the role assignments for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByBillingProfile (new)
Description Lists the role assignments for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Agreements_ListByBillingAccount (new)
Description Lists the agreements for a billing account.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements
{
api-version: string ,
billingAccountName: string ,
$expand: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
agreementLink: string ,
category: enum ,
acceptanceMode: enum ,
billingProfileInfo:
{
billingProfileId: string ,
billingProfileDisplayName: string ,
indirectRelationshipOrganizationName: string ,
}
,
effectiveDate: string ,
expirationDate: string ,
participants:
[
{
status: string ,
statusDate: string ,
email: string ,
}
,
]
,
status: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Agreements_Get (new)
Description Gets an agreement by ID.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/{agreementName}
{
api-version: string ,
billingAccountName: string ,
agreementName: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
agreementLink: string ,
category: enum ,
acceptanceMode: enum ,
billingProfileInfo:
{
billingProfileId: string ,
billingProfileDisplayName: string ,
indirectRelationshipOrganizationName: string ,
}
,
effectiveDate: string ,
expirationDate: string ,
participants:
[
{
status: string ,
statusDate: string ,
email: string ,
}
,
]
,
status: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Reservations_ListByBillingAccount (new)
Description Lists the reservations for a billing account and the roll up counts of reservations group by provisioning states.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservations
{
api-version: string ,
billingAccountName: string ,
$filter: string ,
$orderby: string ,
refreshSummary: string ,
selectedState: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
sku:
{
name: string ,
}
,
properties:
{
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
reservedResourceType: string ,
quantity: number ,
provisioningState: string ,
expiryDate: string ,
provisioningSubState: string ,
displayName: string ,
displayProvisioningState: string ,
userFriendlyRenewState: string ,
userFriendlyAppliedScopeType: string ,
effectiveDateTime: string ,
skuDescription: string ,
term: string ,
renew: boolean ,
renewSource: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
summary:
{
succeededCount: number ,
failedCount: number ,
expiringCount: number ,
expiredCount: number ,
pendingCount: number ,
cancelledCount: number ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Reservations_ListByBillingProfile (new)
Description Lists the reservations for a billing profile and the roll up counts of reservations group by provisioning state.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/reservations
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
$filter: string ,
$orderby: string ,
refreshSummary: string ,
selectedState: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
sku:
{
name: string ,
}
,
properties:
{
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
reservedResourceType: string ,
quantity: number ,
provisioningState: string ,
expiryDate: string ,
provisioningSubState: string ,
displayName: string ,
displayProvisioningState: string ,
userFriendlyRenewState: string ,
userFriendlyAppliedScopeType: string ,
effectiveDateTime: string ,
skuDescription: string ,
term: string ,
renew: boolean ,
renewSource: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
summary:
{
succeededCount: number ,
failedCount: number ,
expiringCount: number ,
expiredCount: number ,
pendingCount: number ,
cancelledCount: number ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingAccounts_List (removed)
Description Lists the billing accounts that a user has access to.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts
{
api-version: string ,
$expand: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
soldTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
agreementType: enum ,
accountType: enum ,
accountStatus: enum ,
billingProfiles:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
]
,
}
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplaceEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
hasReadAccess: boolean ,
notificationEmailAddress: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingAccounts_Get (removed)
Description Gets a billing account by its ID.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
{
api-version: string ,
billingAccountName: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
soldTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
agreementType: enum ,
accountType: enum ,
accountStatus: enum ,
billingProfiles:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
]
,
}
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplaceEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
hasReadAccess: boolean ,
notificationEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingAccounts_Update (removed)
Description Updates the properties of a billing account. Currently, displayName and address can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
{
api-version: string ,
billingAccountName: string ,
parameters:
{
properties:
{
displayName: string ,
soldTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
agreementType: enum ,
accountType: enum ,
accountStatus: enum ,
billingProfiles:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
]
,
}
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplaceEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
hasReadAccess: boolean ,
notificationEmailAddress: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
soldTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
agreementType: enum ,
accountType: enum ,
accountStatus: enum ,
billingProfiles:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
]
,
}
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplaceEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
accountOwnerEmail: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
hasReadAccess: boolean ,
notificationEmailAddress: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingAccounts_ListInvoiceSectionsByCreateSubscriptionPermission (removed)
Description Lists the invoice sections for which the user has permission to create Azure subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/listInvoiceSectionsWithCreateSubscriptionPermission
{
api-version: string ,
billingAccountName: string ,
}

⚐ Response (200)

{
value:
[
{
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionSystemId: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfileSpendingLimit: enum ,
billingProfileSystemId: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Address_Validate (removed)
Description Validates an address. Use the operation to validate an address before using it as soldTo or a billTo address.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/validateAddress
{
api-version: string ,
address:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
}

⚐ Response (200)

{
status: enum ,
suggestedAddresses:
[
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
]
,
validationMessage: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AvailableBalances_Get (removed)
Description The available credit balance for a billing profile. This is the balance that can be used for pay now to settle due or past due invoices. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/availableBalance/default
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
amount:
{
currency: string ,
value: number ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Instructions_ListByBillingProfile (removed)
Description Lists the instructions by billing profile id.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
amount: number ,
startDate: string ,
endDate: string ,
creationDate: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Instructions_Get (removed)
Description Get the instruction by name. These are custom billing instructions and are only applicable for certain customers.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
instructionName: string ,
}

⚐ Response (200)

{
properties:
{
amount: number ,
startDate: string ,
endDate: string ,
creationDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Instructions_Put (removed)
Description Creates or updates an instruction. These are custom billing instructions and are only applicable for certain customers.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/instructions/{instructionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
instructionName: string ,
parameters:
{
properties:
{
amount: number ,
startDate: string ,
endDate: string ,
creationDate: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
amount: number ,
startDate: string ,
endDate: string ,
creationDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProfiles_ListByBillingAccount (removed)
Description Lists the billing profiles that a user has access to. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles
{
api-version: string ,
billingAccountName: string ,
$expand: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProfiles_Get (removed)
Description Gets a billing profile by its ID. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProfiles_CreateOrUpdate (removed)
Description Creates or updates a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
poNumber: string ,
billingRelationshipType: enum ,
billTo:
{
firstName: string ,
middleName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
district: string ,
region: string ,
country: string ,
postalCode: string ,
email: string ,
phoneNumber: string ,
}
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
{
hasMoreResults: boolean ,
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
}
,
hasReadAccess: boolean ,
systemId: string ,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
tags: object ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Customers_ListByBillingProfile (removed)
Description Lists the customers that are billed to a billing profile. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
$search: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingProfileId: string ,
billingProfileDisplayName: string ,
displayName: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
InvoiceSections_ListByBillingProfile (removed)
Description Lists the invoice sections that a user has access to. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
InvoiceSections_Get (removed)
Description Gets an invoice section by its ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
InvoiceSections_CreateOrUpdate (removed)
Description Creates or updates an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
parameters:
{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
labels: object ,
state: enum ,
systemId: string ,
tags: object ,
targetCloud: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Customers_ListByBillingAccount (removed)
Description Lists the customers that are billed to a billing account. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers
{
api-version: string ,
billingAccountName: string ,
$search: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
billingProfileId: string ,
billingProfileDisplayName: string ,
displayName: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Customers_Get (removed)
Description Gets a customer by its ID. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}
{
api-version: string ,
billingAccountName: string ,
customerName: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
billingProfileId: string ,
billingProfileDisplayName: string ,
displayName: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPermissions_ListByCustomer (removed)
Description Lists the billing permissions the caller has for a customer.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/billingPermissions
{
api-version: string ,
billingAccountName: string ,
customerName: string ,
}

⚐ Response (200)

{
value:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByCustomer (removed)
Description Lists the subscriptions for a customer. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/billingSubscriptions
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ListByCustomer (removed)
Description Lists the products for a customer. These don't include products billed based on usage.The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/products
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_ListByBillingAccount (removed)
Description Lists the invoices for a billing account for a given start date and end date. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices
{
api-version: string ,
billingAccountName: string ,
periodStartDate: string ,
periodEndDate: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}
,
]
,
nextLink: string ,
totalCount: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_ListByBillingProfile (removed)
Description Lists the invoices for a billing profile for a given start date and end date. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
periodStartDate: string ,
periodEndDate: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}
,
]
,
nextLink: string ,
totalCount: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_Get (removed)
Description Gets an invoice by billing account name and ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_GetById (removed)
Description Gets an invoice by ID. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_DownloadInvoice (removed)
Description Gets a URL to download an invoice. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/download
{
api-version: string ,
billingAccountName: string ,
invoiceName: string ,
downloadToken: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_DownloadMultipleBillingProfileInvoices (removed)
Description Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/downloadDocuments
{
api-version: string ,
billingAccountName: string ,
downloadUrls: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByBillingAccount (removed)
Description Lists the subscriptions for a billing account. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_ListByBillingSubscription (removed)
Description Lists the invoices for a subscription.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/invoices
{
subscriptionId: string ,
periodStartDate: string ,
periodEndDate: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}
,
]
,
nextLink: string ,
totalCount: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_GetBySubscriptionAndInvoiceId (removed)
Description Gets an invoice by subscription ID and invoice ID.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
dueDate: string ,
invoiceDate: string ,
status: enum ,
amountDue:
{
currency: string ,
value: number ,
}
,
azurePrepaymentApplied:
{
currency: string ,
value: number ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
creditAmount:
{
currency: string ,
value: number ,
}
,
freeAzureCreditApplied:
{
currency: string ,
value: number ,
}
,
subTotal:
{
currency: string ,
value: number ,
}
,
taxAmount:
{
currency: string ,
value: number ,
}
,
totalAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
billingProfileId: string ,
billingProfileDisplayName: string ,
purchaseOrderNumber: string ,
documents:
[
{
kind: enum ,
url: string ,
source: enum ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
}
,
]
,
rebillDetails: object ,
documentType: enum ,
billedDocumentId: string ,
creditForDocumentId: string ,
subscriptionId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_DownloadBillingSubscriptionInvoice (removed)
Description Gets a URL to download an invoice.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/invoices/{invoiceName}/download
{
api-version: string ,
subscriptionId: string ,
invoiceName: string ,
downloadToken: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_DownloadMultipleBillingSubscriptionInvoices (removed)
Description Gets a URL to download multiple invoice documents (invoice pdf, tax receipts, credit notes) as a zip file.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/default/billingSubscriptions/{subscriptionId}/downloadDocuments
{
api-version: string ,
subscriptionId: string ,
downloadUrls: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: string ,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByBillingProfile (removed)
Description Lists the subscriptions that are billed to a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingSubscriptions
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByInvoiceSection (removed)
Description Lists the subscriptions that are billed to an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Get (removed)
Description Gets a subscription by its ID. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{subscriptionId}
{
billingAccountName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Update (removed)
Description Updates the properties of a billing subscription. Currently, cost center can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{subscriptionId}
{
billingAccountName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Move (removed)
Description Moves a subscription's charges to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{subscriptionId}/move
{
billingAccountName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
subscriptionId: string ,
subscriptionBillingStatus: enum ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
billingProfileId: string ,
billingProfileDisplayName: string ,
costCenter: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
skuId: string ,
skuDescription: string ,
suspensionReasons:
[
string ,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ValidateMove (removed)
Description Validates if a subscription's charges can be moved to a new invoice section. This operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{subscriptionId}/validateMoveEligibility
{
billingAccountName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
isMoveEligible: boolean ,
errorDetails:
{
code: enum ,
message: string ,
details: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ListByBillingAccount (removed)
Description Lists the products for a billing account. These don't include products billed based on usage. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products
{
billingAccountName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ListByBillingProfile (removed)
Description Lists the products for a billing profile. These don't include products billed based on usage. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/products
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ListByInvoiceSection (removed)
Description Lists the products for an invoice section. These don't include products billed based on usage. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_Get (removed)
Description Gets a product by ID. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}
{
billingAccountName: string ,
productName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_Update (removed)
Description Updates the properties of a Product. Currently, auto renew can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}
{
billingAccountName: string ,
productName: string ,
api-version: string ,
parameters:
{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_Move (removed)
Description Moves a product's charges to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}/move
{
billingAccountName: string ,
productName: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
displayName: string ,
purchaseDate: string ,
productTypeId: string ,
productType: string ,
status: enum ,
endDate: string ,
billingFrequency: enum ,
lastCharge:
{
currency: string ,
value: number ,
}
,
lastChargeDate: string ,
quantity: number ,
skuId: string ,
skuDescription: string ,
tenantId: string ,
availabilityId: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ValidateMove (removed)
Description Validates if a product's charges can be moved to a new invoice section. This operation is supported only for products that are purchased with a recurring charge and for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/products/{productName}/validateMoveEligibility
{
billingAccountName: string ,
productName: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
}
,
}

⚐ Response (200)

{
isMoveEligible: boolean ,
errorDetails:
{
code: enum ,
message: string ,
details: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Transactions_ListByInvoice (removed)
Description Lists the transactions for an invoice. Transactions include purchases, refunds and Azure usage charges.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices/{invoiceName}/transactions
{
billingAccountName: string ,
invoiceName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
kind: enum ,
date: string ,
invoice: string ,
invoiceId: string ,
orderId: string ,
orderName: string ,
productFamily: string ,
productTypeId: string ,
productType: string ,
productDescription: string ,
transactionType: enum ,
transactionAmount:
{
currency: string ,
value: number ,
}
,
quantity: integer ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
azurePlan: string ,
azureCreditApplied:
{
currency: string ,
value: number ,
}
,
billingCurrency: string ,
discount: number ,
effectivePrice:
{
currency: string ,
value: number ,
}
,
exchangeRate: number ,
marketPrice:
{
currency: string ,
value: number ,
}
,
pricingCurrency: string ,
servicePeriodStartDate: string ,
servicePeriodEndDate: string ,
subTotal:
{
currency: string ,
value: number ,
}
,
tax:
{
currency: string ,
value: number ,
}
,
unitOfMeasure: string ,
units: number ,
unitType: string ,
}
,
}
,
]
,
totalCount: number ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Policies_GetByBillingProfile (removed)
Description Lists the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
marketplacePurchases: enum ,
reservationPurchases: enum ,
viewCharges: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Policies_Update (removed)
Description Updates the policies for a billing profile. This operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
properties:
{
marketplacePurchases: enum ,
reservationPurchases: enum ,
viewCharges: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
marketplacePurchases: enum ,
reservationPurchases: enum ,
viewCharges: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Policies_GetByCustomer (removed)
Description Lists the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
viewCharges: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Policies_UpdateCustomer (removed)
Description Updates the policies for a customer. This operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/policies/default
{
api-version: string ,
billingAccountName: string ,
customerName: string ,
parameters:
{
properties:
{
viewCharges: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
viewCharges: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProperty_Get (removed)
Description Get the billing properties for a subscription. This operation is not supported for billing accounts with agreement type Enterprise Agreement.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
accountAdminNotificationEmailAddress: string ,
billingTenantId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfileSpendingLimit: enum ,
costCenter: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
skuId: string ,
skuDescription: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProperty_Update (removed)
Description Updates the billing property of a subscription. Currently, cost center can be updated. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingProperty/default
{
subscriptionId: string ,
api-version: string ,
parameters:
{
properties:
{
accountAdminNotificationEmailAddress: string ,
billingTenantId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfileSpendingLimit: enum ,
costCenter: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
skuId: string ,
skuDescription: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
accountAdminNotificationEmailAddress: string ,
billingTenantId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfileSpendingLimit: enum ,
costCenter: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
skuId: string ,
skuDescription: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPermissions_ListByBillingAccount (removed)
Description Lists the billing permissions the caller has on a billing account.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingPermissions
{
api-version: string ,
billingAccountName: string ,
}

⚐ Response (200)

{
value:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPermissions_ListByInvoiceSections (removed)
Description Lists the billing permissions the caller has on an invoice section.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingPermissions
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
}

⚐ Response (200)

{
value:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingPermissions_ListByBillingProfile (removed)
Description Lists the billing permissions the caller has on a billing profile.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingPermissions
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
}

⚐ Response (200)

{
value:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_GetByBillingAccount (removed)
Description Gets the definition for a role on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/{billingRoleDefinitionName}
{
api-version: string ,
billingAccountName: string ,
billingRoleDefinitionName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_GetByInvoiceSection (removed)
Description Gets the definition for a role on an invoice section. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions/{billingRoleDefinitionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingRoleDefinitionName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_GetByBillingProfile (removed)
Description Gets the definition for a role on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions/{billingRoleDefinitionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
billingRoleDefinitionName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_ListByBillingAccount (removed)
Description Lists the role definitions for a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions
{
api-version: string ,
billingAccountName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_ListByInvoiceSection (removed)
Description Lists the role definitions for an invoice section. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleDefinitions
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_ListByBillingProfile (removed)
Description Lists the role definitions for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleDefinitions
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
permissions:
[
{
actions:
[
string ,
]
,
notActions:
[
string ,
]
,
}
,
]
,
roleName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_GetByBillingAccount (removed)
Description Gets a role assignment for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByBillingAccount (removed)
Description Deletes a role assignment for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_GetByInvoiceSection (removed)
Description Gets a role assignment for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByInvoiceSection (removed)
Description Deletes a role assignment for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_GetByBillingProfile (removed)
Description Gets a role assignment for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByBillingProfile (removed)
Description Deletes a role assignment for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
billingRoleAssignmentName: string ,
}

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByBillingAccount (removed)
Description Lists the role assignments for the caller on a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments
{
api-version: string ,
billingAccountName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByInvoiceSection (removed)
Description Lists the role assignments for the caller on an invoice section. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRoleAssignments
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByBillingProfile (removed)
Description Lists the role assignments for the caller on a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRoleAssignments
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Agreements_ListByBillingAccount (removed)
Description Lists the agreements for a billing account.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements
{
api-version: string ,
billingAccountName: string ,
$expand: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
agreementLink: string ,
category: enum ,
acceptanceMode: enum ,
billingProfileInfo:
{
billingProfileId: string ,
billingProfileDisplayName: string ,
indirectRelationshipOrganizationName: string ,
}
,
effectiveDate: string ,
expirationDate: string ,
participants:
[
{
status: string ,
statusDate: string ,
email: string ,
}
,
]
,
status: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Agreements_Get (removed)
Description Gets an agreement by ID.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/agreements/{agreementName}
{
api-version: string ,
billingAccountName: string ,
agreementName: string ,
$expand: string ,
}

⚐ Response (200)

{
properties:
{
agreementLink: string ,
category: enum ,
acceptanceMode: enum ,
billingProfileInfo:
{
billingProfileId: string ,
billingProfileDisplayName: string ,
indirectRelationshipOrganizationName: string ,
}
,
effectiveDate: string ,
expirationDate: string ,
participants:
[
{
status: string ,
statusDate: string ,
email: string ,
}
,
]
,
status: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Reservations_ListByBillingAccount (removed)
Description Lists the reservations for a billing account and the roll up counts of reservations group by provisioning states.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservations
{
api-version: string ,
billingAccountName: string ,
$filter: string ,
$orderby: string ,
refreshSummary: string ,
selectedState: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
sku:
{
name: string ,
}
,
properties:
{
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
reservedResourceType: string ,
quantity: number ,
provisioningState: string ,
expiryDate: string ,
provisioningSubState: string ,
displayName: string ,
displayProvisioningState: string ,
userFriendlyRenewState: string ,
userFriendlyAppliedScopeType: string ,
effectiveDateTime: string ,
skuDescription: string ,
term: string ,
renew: boolean ,
renewSource: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
summary:
{
succeededCount: number ,
failedCount: number ,
expiringCount: number ,
expiredCount: number ,
pendingCount: number ,
cancelledCount: number ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Reservations_ListByBillingProfile (removed)
Description Lists the reservations for a billing profile and the roll up counts of reservations group by provisioning state.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/reservations
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
$filter: string ,
$orderby: string ,
refreshSummary: string ,
selectedState: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
location: string ,
sku:
{
name: string ,
}
,
properties:
{
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
reservedResourceType: string ,
quantity: number ,
provisioningState: string ,
expiryDate: string ,
provisioningSubState: string ,
displayName: string ,
displayProvisioningState: string ,
userFriendlyRenewState: string ,
userFriendlyAppliedScopeType: string ,
effectiveDateTime: string ,
skuDescription: string ,
term: string ,
renew: boolean ,
renewSource: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
summary:
{
succeededCount: number ,
failedCount: number ,
expiringCount: number ,
expiredCount: number ,
pendingCount: number ,
cancelledCount: number ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}