Microsoft.Billing (stable:2024-04-01)

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

Agreements_Get (new)
Description :  Gets an agreement by ID.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssociatedTenants_Delete (new)
Description :  Deletes an associated tenant for a billing account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssociatedTenants_Get (new)
Description :  Gets an associated tenant by ID.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
displayName: string ,
tenantId: string ,
billingManagementState: enum ,
provisioningManagementState: enum ,
provisioningBillingRequestId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssociatedTenants_CreateOrUpdate (new)
Description :  Create or update an associated tenant for the billing account.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/associatedTenants/{associatedTenantName}
{
billingAccountName: string ,
associatedTenantName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
displayName: string ,
tenantId: string ,
billingManagementState: enum ,
provisioningManagementState: enum ,
provisioningBillingRequestId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
displayName: string ,
tenantId: string ,
billingManagementState: enum ,
provisioningManagementState: enum ,
provisioningBillingRequestId: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
displayName: string ,
tenantId: string ,
billingManagementState: enum ,
provisioningManagementState: enum ,
provisioningBillingRequestId: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssociatedTenants_ListByBillingAccount (new)
Description :  Lists the associated tenants that can collaborate with the billing account on commerce activities like viewing and downloading invoices, managing payments, making purchases, and managing or provisioning licenses.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/associatedTenants
{
billingAccountName: string ,
includeRevoked: boolean ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
displayName: string ,
tenantId: string ,
billingManagementState: enum ,
provisioningManagementState: enum ,
provisioningBillingRequestId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AvailableBalances_GetByBillingAccount (new)
Description :  The Available Credit or Payment on Account Balance for a billing account. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Online Services Program.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
amount: string ,
paymentsOnAccount:
[
{
amount: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceId: string ,
invoiceName: string ,
date: string ,
paymentMethodType: enum ,
}
,
]
,
totalPaymentsOnAccount: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AvailableBalances_GetByBillingProfile (new)
Description :  The Available Credit or Payment on Account Balance for a billing profile. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported 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: string ,
paymentsOnAccount:
[
{
amount: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceId: string ,
invoiceName: string ,
date: string ,
paymentMethodType: enum ,
}
,
]
,
totalPaymentsOnAccount: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_AddPaymentTerms (new)
Description :  Adds payment terms to all the billing profiles under the billing account. Currently, payment terms can be added only on billing accounts that have Agreement Type as 'Microsoft Customer Agreement' and AccountType as 'Enterprise'. This action needs pre-authorization and only Field Sellers are authorized to add the payment terms and is not a self-serve action.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/addPaymentTerms
{
billingAccountName: string ,
api-version: string ,
parameters:
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_CancelPaymentTerms (new)
Description :  Cancels all the payment terms on billing account that falls after the cancellation date in the request. Currently, cancel payment terms is only served by admin actions and is not a self-serve action.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_ConfirmTransition (new)
Description :  Gets the transition details for a billing account that has transitioned from agreement type Microsoft Online Services Program to agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
transitionDate: string ,
anniversaryDay: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
api-version: string ,
filter: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_ValidatePaymentTerms (new)
Description :  Validates payment terms on a billing account with agreement type 'Microsoft Customer Agreement' and account type 'Enterprise'.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/validatePaymentTerms
{
billingAccountName: string ,
api-version: string ,
parameters:
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
}

⚐ Response (200)

{
eligibilityStatus: enum ,
eligibilityDetails:
[
{
code: enum ,
message: string ,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_Update (new)
Description :  Updates the properties of a billing account. Currently, displayName and address can be updated for billing accounts with agreement type Microsoft Customer Agreement. Currently address and notification email address can be updated for billing accounts with agreement type Microsoft Online Services Agreement. Currently, purchase order number can be edited for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
{
billingAccountName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_List (new)
Description :  Lists the billing accounts that a user has access to.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts
{
includeAll: boolean ,
includeAllWithoutBillingProfiles: boolean ,
includeDeleted: boolean ,
includePendingAgreement: boolean ,
includeResellee: boolean ,
legalOwnerTID: string ,
legalOwnerOID: string ,
api-version: string ,
filter: string ,
expand: string ,
top: integer ,
skip: integer ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
parameters:
{
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
companyName: string ,
country: string ,
district: string ,
email: string ,
firstName: string ,
lastName: string ,
middleName: string ,
phoneNumber: string ,
postalCode: string ,
region: string ,
isValidAddress: boolean ,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByBillingProfile (new)
Description :  Provides a list of check access response objects for a billing profile.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/checkAccess
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByCustomer (new)
Description :  Provides a list of check access response objects for a customer.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/checkAccess
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_ListByInvoiceSection (new)
Description :  Lists the billing permissions the caller has for an invoice section.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByInvoiceSection (new)
Description :  Provides a list of check access response objects for an invoice section.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/checkAccess
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByBillingAccount (new)
Description :  Provides a list of check access response objects for a billing account.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/checkAccess
{
billingAccountName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_ListByCustomerAtBillingAccount (new)
Description :  Lists the billing permissions the caller has for a customer at billing account level.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_ListByDepartment (new)
Description :  Lists the billing permissions the caller has for a department.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByDepartment (new)
Description :  Provides a list of check access response objects for a department.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/checkAccess
{
billingAccountName: string ,
departmentName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_ListByEnrollmentAccount (new)
Description :  Lists the billing permissions the caller has for an enrollment account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByEnrollmentAccount (new)
Description :  Provides a list of check access response objects for an enrollment account.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/checkAccess
{
billingAccountName: string ,
enrollmentAccountName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProfiles_ValidateDeleteEligibility (new)
Description :  Validates if the billing profile can be deleted. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
eligibilityStatus: enum ,
eligibilityDetails:
[
{
code: enum ,
message: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProfiles_Delete (new)
Description :  Deletes a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProfiles_Get (new)
Description :  Gets a billing profile 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}/billingProfiles/{billingProfileName}
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
billingRelationshipType: enum ,
billTo: string ,
currency: string ,
displayName: string ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
hasReadAccess: boolean ,
indirectRelationshipInfo: string ,
invoiceDay: integer ,
invoiceEmailOptIn: boolean ,
invoiceRecipients:
[
string ,
]
,
poNumber: string ,
shipTo: string ,
soldTo: string ,
spendingLimit: enum ,
spendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
systemId: string ,
tags: object ,
targetClouds:
[
string ,
]
,
currentPaymentTerm: string ,
otherPaymentTerms:
[
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProfiles_CreateOrUpdate (new)
Description :  Creates or updates a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. If you are a MCA Individual (Pay-as-you-go) customer, then please use the Azure portal experience to create the billing profile.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
billingRelationshipType: enum ,
billTo: string ,
currency: string ,
displayName: string ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
hasReadAccess: boolean ,
indirectRelationshipInfo: string ,
invoiceDay: integer ,
invoiceEmailOptIn: boolean ,
invoiceRecipients:
[
string ,
]
,
poNumber: string ,
shipTo: string ,
soldTo: string ,
spendingLimit: enum ,
spendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
systemId: string ,
tags: object ,
targetClouds:
[
string ,
]
,
currentPaymentTerm: string ,
otherPaymentTerms:
[
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
billingRelationshipType: enum ,
billTo: string ,
currency: string ,
displayName: string ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
hasReadAccess: boolean ,
indirectRelationshipInfo: string ,
invoiceDay: integer ,
invoiceEmailOptIn: boolean ,
invoiceRecipients:
[
string ,
]
,
poNumber: string ,
shipTo: string ,
soldTo: string ,
spendingLimit: enum ,
spendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
systemId: string ,
tags: object ,
targetClouds:
[
string ,
]
,
currentPaymentTerm: string ,
otherPaymentTerms:
[
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
]
,
}
,
}

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
billingRelationshipType: enum ,
billTo: string ,
currency: string ,
displayName: string ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
hasReadAccess: boolean ,
indirectRelationshipInfo: string ,
invoiceDay: integer ,
invoiceEmailOptIn: boolean ,
invoiceRecipients:
[
string ,
]
,
poNumber: string ,
shipTo: string ,
soldTo: string ,
spendingLimit: enum ,
spendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
systemId: string ,
tags: object ,
targetClouds:
[
string ,
]
,
currentPaymentTerm: string ,
otherPaymentTerms:
[
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles
{
billingAccountName: string ,
includeDeleted: boolean ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
billingRelationshipType: enum ,
billTo: string ,
currency: string ,
displayName: string ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
hasReadAccess: boolean ,
indirectRelationshipInfo: string ,
invoiceDay: integer ,
invoiceEmailOptIn: boolean ,
invoiceRecipients:
[
string ,
]
,
poNumber: string ,
shipTo: string ,
soldTo: string ,
spendingLimit: enum ,
spendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
systemId: string ,
tags: object ,
targetClouds:
[
string ,
]
,
currentPaymentTerm: string ,
otherPaymentTerms:
[
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProperty_Get (new)
Description :  Gets the billing properties for a subscription
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
billingAccountAgreementType: enum ,
billingAccountDisplayName: string ,
billingAccountId: string ,
accountAdminNotificationEmailAddress: string ,
billingAccountSoldToCountry: string ,
billingAccountStatus: enum ,
billingAccountStatusReasonCode: enum ,
billingAccountType: enum ,
billingAccountSubType: enum ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
billingProfileSpendingLimit: enum ,
billingProfileSpendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfilePaymentMethodFamily: enum ,
billingProfilePaymentMethodType: string ,
billingTenantId: string ,
costCenter: string ,
customerDisplayName: string ,
customerId: string ,
customerStatus: enum ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionStatus: enum ,
invoiceSectionStatusReasonCode: enum ,
isTransitionedBillingAccount: boolean ,
skuDescription: string ,
skuId: string ,
subscriptionBillingStatus: enum ,
subscriptionBillingStatusDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
subscriptionBillingType: enum ,
subscriptionServiceUsageAddress: string ,
subscriptionWorkloadType: enum ,
enrollmentDetails: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProperty_Update (new)
Description :  Updates the billing property of a subscription. Currently, cost center can be updated for billing accounts with agreement type Microsoft Customer Agreement and subscription service usage address can be updated for billing accounts with agreement type Microsoft Online Service Program.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingProperty/default
{
subscriptionId: string ,
api-version: string ,
parameters:
{
properties:
{
billingAccountAgreementType: enum ,
billingAccountDisplayName: string ,
billingAccountId: string ,
accountAdminNotificationEmailAddress: string ,
billingAccountSoldToCountry: string ,
billingAccountStatus: enum ,
billingAccountStatusReasonCode: enum ,
billingAccountType: enum ,
billingAccountSubType: enum ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
billingProfileSpendingLimit: enum ,
billingProfileSpendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfilePaymentMethodFamily: enum ,
billingProfilePaymentMethodType: string ,
billingTenantId: string ,
costCenter: string ,
customerDisplayName: string ,
customerId: string ,
customerStatus: enum ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionStatus: enum ,
invoiceSectionStatusReasonCode: enum ,
isTransitionedBillingAccount: boolean ,
skuDescription: string ,
skuId: string ,
subscriptionBillingStatus: enum ,
subscriptionBillingStatusDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
subscriptionBillingType: enum ,
subscriptionServiceUsageAddress: string ,
subscriptionWorkloadType: enum ,
enrollmentDetails: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
billingAccountAgreementType: enum ,
billingAccountDisplayName: string ,
billingAccountId: string ,
accountAdminNotificationEmailAddress: string ,
billingAccountSoldToCountry: string ,
billingAccountStatus: enum ,
billingAccountStatusReasonCode: enum ,
billingAccountType: enum ,
billingAccountSubType: enum ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
billingProfileSpendingLimit: enum ,
billingProfileSpendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfilePaymentMethodFamily: enum ,
billingProfilePaymentMethodType: string ,
billingTenantId: string ,
costCenter: string ,
customerDisplayName: string ,
customerId: string ,
customerStatus: enum ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionStatus: enum ,
invoiceSectionStatusReasonCode: enum ,
isTransitionedBillingAccount: boolean ,
skuDescription: string ,
skuId: string ,
subscriptionBillingStatus: enum ,
subscriptionBillingStatusDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
subscriptionBillingType: enum ,
subscriptionServiceUsageAddress: string ,
subscriptionWorkloadType: enum ,
enrollmentDetails: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_ListByBillingProfile (new)
Description :  The list of billing requests submitted for the billing profile.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRequests
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_ListByCustomer (new)
Description :  The list of billing requests submitted for the customer.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/billingRequests
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_ListByInvoiceSection (new)
Description :  The list of billing requests submitted for the invoice section.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRequests
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_ListByBillingAccount (new)
Description :  The list of billing requests submitted for the billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRequests
{
billingAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_Get (new)
Description :  Gets a billing request by its ID.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_CreateOrUpdate (new)
Description :  Create or update a billing request.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingRequests/{billingRequestName}
{
billingRequestName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_ListByUser (new)
Description :  The list of billing requests submitted by a user.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingRequests
{
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByBillingProfile (new)
Description :  Deletes a role assignment 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}
{
billingAccountName: string ,
billingProfileName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}
{
billingAccountName: string ,
billingProfileName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 Partner Agreement or Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateByBillingProfile (new)
Description :  Adds a role assignment on a billing profile. 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}/billingProfiles/{billingProfileName}/createBillingRoleAssignment
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
parameters:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByCustomer (new)
Description :  Deletes a role assignment on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByCustomer (new)
Description :  Lists the role assignments for the caller on customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/billingRoleAssignments
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
filter: string ,
top: integer ,
skip: integer ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateByCustomer (new)
Description :  Adds a role assignment on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/createBillingRoleAssignment
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
parameters:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ResolveByCustomer (new)
Description :  Lists the role assignments for the caller on a customer while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/resolveBillingRoleAssignments
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
resolveScopeDisplayNames: boolean ,
api-version: string ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByInvoiceSection (new)
Description :  Deletes a role assignment 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}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
filter: string ,
top: integer ,
skip: integer ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/createBillingRoleAssignment
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
parameters:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/resolveBillingRoleAssignments
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
resolveScopeDisplayNames: boolean ,
api-version: string ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ResolveByBillingProfile (new)
Description :  Lists the role assignments for the caller on an billing profile while fetching user info for each role assignment. 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}/billingProfiles/{billingProfileName}/resolveBillingRoleAssignments
{
billingAccountName: string ,
billingProfileName: string ,
resolveScopeDisplayNames: boolean ,
api-version: string ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateOrUpdateByBillingAccount (new)
Description :  Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
billingAccountName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateByBillingAccount (new)
Description :  Adds a role assignment on a billing account. 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}/createBillingRoleAssignment
{
billingAccountName: string ,
api-version: string ,
parameters:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByDepartment (new)
Description :  Deletes a role assignment on a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_GetByDepartment (new)
Description :  Gets a role assignment for the caller on a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateOrUpdateByDepartment (new)
Description :  Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/billingRoleAssignments/{billingRoleAssignmentName}
{
billingAccountName: string ,
departmentName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByDepartment (new)
Description :  Lists the role assignments for the caller on a department. The operation is supported for billing accounts of type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByEnrollmentAccount (new)
Description :  Deletes a role assignment on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_GetByEnrollmentAccount (new)
Description :  Gets a role assignment for the caller on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateOrUpdateByEnrollmentAccount (new)
Description :  Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
billingAccountName: string ,
enrollmentAccountName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByEnrollmentAccount (new)
Description :  Lists the role assignments for the caller on a enrollment account. The operation is supported for billing accounts of type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ResolveByBillingAccount (new)
Description :  Lists the role assignments for the caller on a billing account while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/resolveBillingRoleAssignments
{
billingAccountName: string ,
resolveScopeDisplayNames: boolean ,
api-version: string ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_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/{roleDefinitionName}
{
billingAccountName: string ,
billingProfileName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_ListByBillingProfile (new)
Description :  Lists the role definitions for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_GetByCustomer (new)
Description :  Gets the definition for a role on 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}/billingProfiles/{billingProfileName}/customers/{customerName}/billingRoleDefinitions/{roleDefinitionName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_ListByCustomer (new)
Description :  Lists the role definitions for a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_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/{roleDefinitionName}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_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
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_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, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/{roleDefinitionName}
{
billingAccountName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_ListByBillingAccount (new)
Description :  Lists the role definitions for a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_GetByDepartment (new)
Description :  Gets the definition for a role on a department. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/billingRoleDefinitions/{roleDefinitionName}
{
billingAccountName: string ,
departmentName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_ListByDepartment (new)
Description :  List the definition for a department. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_GetByEnrollmentAccount (new)
Description :  Gets the definition for a role on an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions/{roleDefinitionName}
{
billingAccountName: string ,
enrollmentAccountName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_ListByEnrollmentAccount (new)
Description :  List the definition for an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlanOrders_GetByBillingAccount (new)
Description :  Get a savings plan order by billing account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
billingPlan: enum ,
benefitStartTime: string ,
expiryDateTime: string ,
planInformation:
{
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
startDate: string ,
nextPaymentDueDate: string ,
transactions:
[
{
dueDate: string ,
paymentDate: string ,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
status: enum ,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
}
,
]
,
}
,
savingsPlans:
[
string ,
]
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlanOrders_ListByBillingAccount (new)
Description :  List all Savings plan orders by billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/savingsPlanOrders
{
billingAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
skiptoken: number ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
billingPlan: enum ,
benefitStartTime: string ,
expiryDateTime: string ,
planInformation:
{
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
startDate: string ,
nextPaymentDueDate: string ,
transactions:
[
{
dueDate: string ,
paymentDate: string ,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
status: enum ,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
}
,
]
,
}
,
savingsPlans:
[
string ,
]
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlans_ListBySavingsPlanOrder (new)
Description :  List savings plans in an order by billing account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
displayProvisioningState: string ,
userFriendlyAppliedScopeType: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
benefitStartTime: string ,
expiryDateTime: string ,
purchaseDateTime: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlans_ListByBillingAccount (new)
Description :  List savings plans by billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/savingsPlans
{
billingAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
skiptoken: number ,
take: number ,
selectedState: string ,
refreshSummary: string ,
}

⚐ Response (200)

{
summary:
{
succeededCount: number ,
failedCount: number ,
expiringCount: number ,
expiredCount: number ,
pendingCount: number ,
cancelledCount: number ,
processingCount: number ,
noBenefitCount: number ,
warningCount: number ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlans_GetByBillingAccount (new)
Description :  Get savings plan by billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}
{
billingAccountName: string ,
savingsPlanOrderId: string ,
savingsPlanId: string ,
api-version: string ,
expand: string ,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
displayProvisioningState: string ,
userFriendlyAppliedScopeType: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
benefitStartTime: string ,
expiryDateTime: string ,
purchaseDateTime: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlans_UpdateByBillingAccount (new)
Description :  Update savings plan by billing account.
Reference :  Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}
{
billingAccountName: string ,
savingsPlanOrderId: string ,
savingsPlanId: string ,
api-version: string ,
body:
{
properties:
{
displayName: string ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
}
,
sku:
{
name: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
displayProvisioningState: string ,
userFriendlyAppliedScopeType: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
benefitStartTime: string ,
expiryDateTime: string ,
purchaseDateTime: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlans_ValidateUpdateByBillingAccount (new)
Description :  Validate savings plan patch by billing account.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/validate
{
billingAccountName: string ,
savingsPlanOrderId: string ,
savingsPlanId: string ,
api-version: string ,
body:
{
benefits:
[
{
displayName: string ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
}
,
]
,
}
,
}

⚐ Response (200)

{
benefits:
[
{
valid: boolean ,
reasonCode: string ,
reason: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_GetByBillingProfile (new)
Description :  Gets a subscription by its billing profile and ID. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
includeDeleted: boolean ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}/billingProfiles/{billingProfileName}/customers/{customerName}/billingSubscriptions
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
includeDeleted: boolean ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
includeDeleted: boolean ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_Get (new)
Description :  Gets a subscription by its alias ID. The operation is supported for seat based billing subscriptions.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
billingSubscriptionId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_CreateOrUpdate (new)
Description :  Creates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases/{aliasName}
{
billingAccountName: string ,
aliasName: string ,
api-version: string ,
parameters:
{
properties:
{
billingSubscriptionId: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
billingSubscriptionId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
billingSubscriptionId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_ListByBillingAccount (new)
Description :  Lists the subscription aliases for a billing account. The operation is supported for seat based billing subscriptions.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases
{
billingAccountName: string ,
includeDeleted: boolean ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
billingSubscriptionId: string ,
provisioningState: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Cancel (new)
Description :  Cancels a usage-based subscription. This operation is supported only for billing accounts of type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/cancel
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
cancellationReason: enum ,
customerId: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Merge (new)
Description :  Merges the billing subscription provided in the request with a target billing subscription.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/merge
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
targetBillingSubscriptionName: string ,
quantity: integer ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Move (new)
Description :  Moves charges for a subscription 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/{billingSubscriptionName}/move
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationEnrollmentAccountId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Split (new)
Description :  Splits a subscription into a new subscription with quantity less than current subscription quantity and not equal to 0.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/split
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
targetProductTypeId: string ,
targetSkuId: string ,
quantity: integer ,
termDuration: string ,
billingFrequency: string ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_ValidateMoveEligibility (new)
Description :  Validates if charges for a subscription 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/{billingSubscriptionName}/validateMoveEligibility
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationEnrollmentAccountId: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Delete (new)
Description :  Cancels a billing subscription. This operation is supported only for billing accounts of type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Update (new)
Description :  Updates the properties of a billing subscription.
Reference :  Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByBillingAccount (new)
Description :  Lists the subscriptions for a billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions
{
billingAccountName: string ,
includeDeleted: boolean ,
includeTenantSubscriptions: boolean ,
includeFailed: boolean ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByCustomerAtBillingAccount (new)
Description :  Lists the subscriptions for a customer at billing account level. 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 ,
includeDeleted: boolean ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByEnrollmentAccount (new)
Description :  Lists the subscriptions for an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingSubscriptions
{
billingAccountName: string ,
enrollmentAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}/billingProfiles/{billingProfileName}/customers/{customerName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingProfileDisplayName: string ,
billingProfileId: string ,
displayName: string ,
systemId: string ,
status: enum ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
billingProfileDisplayName: string ,
billingProfileId: string ,
displayName: string ,
systemId: string ,
status: enum ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
tags: object ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Customers_GetByBillingAccount (new)
Description :  Gets a customer by its ID at billing account level. 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}
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingProfileDisplayName: string ,
billingProfileId: string ,
displayName: string ,
systemId: string ,
status: enum ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
billingProfileDisplayName: string ,
billingProfileId: string ,
displayName: string ,
systemId: string ,
status: enum ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
tags: object ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Departments_Get (new)
Description :  Gets a department by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
costCenter: string ,
displayName: string ,
id: string ,
status: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Departments_ListByBillingAccount (new)
Description :  Lists the departments that a user has access to. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments
{
billingAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
costCenter: string ,
displayName: string ,
id: string ,
status: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnrollmentAccounts_GetByDepartment (new)
Description :  Gets an enrollment account by department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/enrollmentAccounts/{enrollmentAccountName}
{
billingAccountName: string ,
departmentName: string ,
enrollmentAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
costCenter: string ,
displayName: string ,
departmentDisplayName: string ,
departmentId: string ,
isDevTestEnabled: boolean ,
accountOwner: string ,
authType: string ,
status: string ,
startDate: string ,
endDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnrollmentAccounts_ListByDepartment (new)
Description :  Lists the enrollment accounts for a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/enrollmentAccounts
{
billingAccountName: string ,
departmentName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
costCenter: string ,
displayName: string ,
departmentDisplayName: string ,
departmentId: string ,
isDevTestEnabled: boolean ,
accountOwner: string ,
authType: string ,
status: string ,
startDate: string ,
endDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnrollmentAccounts_Get (new)
Description :  Gets an enrollment account by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
costCenter: string ,
displayName: string ,
departmentDisplayName: string ,
departmentId: string ,
isDevTestEnabled: boolean ,
accountOwner: string ,
authType: string ,
status: string ,
startDate: string ,
endDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnrollmentAccounts_ListByBillingAccount (new)
Description :  Lists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts
{
billingAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
costCenter: string ,
displayName: string ,
departmentDisplayName: string ,
departmentId: string ,
isDevTestEnabled: boolean ,
accountOwner: string ,
authType: string ,
status: string ,
startDate: string ,
endDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
billingProfileName: string ,
periodStartDate: string ,
periodEndDate: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_DownloadDocumentsByBillingAccount (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
{
billingAccountName: string ,
api-version: string ,
parameters:
{
documentName: string ,
invoiceName: string ,
}
,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_Amend (new)
Description :  Regenerate an invoice by billing account name and invoice name. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_DownloadSummaryByBillingAccount (new)
Description :  Gets a URL to download the summary document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_GetByBillingAccount (new)
Description :  Gets an invoice by billing account name and ID. The operation is supported for all billing account types.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_ListByBillingAccount (new)
Description :  Lists the invoices for a billing account for a given start date and end date. The operation is supported for all billing account types.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices
{
billingAccountName: string ,
periodStartDate: string ,
periodEndDate: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_DownloadDocumentsByBillingSubscription (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/default/billingSubscriptions/{subscriptionId}/downloadDocuments
{
subscriptionId: string ,
api-version: string ,
parameters:
{
documentName: string ,
invoiceName: string ,
}
,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_DownloadByBillingSubscription (new)
Description :  Gets a URL to download an invoice by billing subscription. 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/default/billingSubscriptions/{subscriptionId}/invoices/{invoiceName}/download
{
subscriptionId: string ,
invoiceName: string ,
documentName: string ,
api-version: string ,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_GetByBillingSubscription (new)
Description :  Gets an invoice by subscription ID and invoice 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/billingSubscriptions/{subscriptionId}/invoices/{invoiceName}
{
subscriptionId: string ,
invoiceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_ListByBillingSubscription (new)
Description :  Lists the invoices for a subscription. 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/billingSubscriptions/{subscriptionId}/invoices
{
subscriptionId: string ,
periodStartDate: string ,
periodEndDate: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_Get (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}
{
invoiceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
InvoiceSections_ValidateDeleteEligibility (new)
Description :  Validates if the invoice section can be deleted. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
eligibilityStatus: enum ,
eligibilityDetails:
[
{
code: enum ,
message: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
InvoiceSections_Delete (new)
Description :  Deletes 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}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
}

⚐ Response (202)

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

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
displayName: string ,
state: enum ,
reasonCode: enum ,
systemId: string ,
targetCloud: string ,
tags: object ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
displayName: string ,
state: enum ,
reasonCode: enum ,
systemId: string ,
targetCloud: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
billingProfileName: string ,
includeDeleted: boolean ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
displayName: string ,
state: enum ,
reasonCode: enum ,
systemId: string ,
targetCloud: string ,
tags: object ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description :  List of operations supported by provider.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingProfile (new)
Description :  Lists payment methods attached to a billing profile. 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}/paymentMethodLinks
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethod:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
paymentMethodId: string ,
paymentMethodType: string ,
status: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_GetByBillingProfile (new)
Description :  Gets a payment method linked with a billing profile. 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}/paymentMethodLinks/{paymentMethodName}
{
billingAccountName: string ,
billingProfileName: string ,
paymentMethodName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethod:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
paymentMethodId: string ,
paymentMethodType: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingAccount (new)
Description :  Lists the payment methods available for a billing account. Along with the payment methods owned by the caller, these payment methods can be attached to a billing profile to make payments. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_GetByBillingAccount (new)
Description :  Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_ListByUser (new)
Description :  Lists the payment methods owned by the caller.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_DeleteByUser (new)
Description :  Deletes a payment method owned by the caller.
Reference :  Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/paymentMethods/{paymentMethodName}
{
api-version: string ,
paymentMethodName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_GetByUser (new)
Description :  Gets a payment method owned by the caller.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/{policyName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
policyName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdateByCustomer (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}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/default
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
invoiceSectionLabelManagement: enum ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdateByBillingProfile (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
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
invoiceSectionLabelManagement: enum ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
invoiceSectionLabelManagement: enum ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
invoiceSectionLabelManagement: enum ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_GetByCustomerAtBillingAccount (new)
Description :  Lists the policies for a customer at billing account scope. 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:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdateByCustomerAtBillingAccount (new)
Description :  Updates the policies for a customer at billing account scope. 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
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_GetByBillingAccount (new)
Description :  Get the policies for a billing account of Enterprise Agreement type.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdateByBillingAccount (new)
Description :  Update the policies for a billing account of Enterprise Agreement type.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/policies/default
{
billingAccountName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_GetBySubscription (new)
Description :  Lists the policies that are managed by the Billing Admin for the defined subscriptions. This is supported for Microsoft Online Services Program, Microsoft Customer Agreement and Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
availabilityId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
displayName: string ,
endDate: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
lastCharge: string ,
lastChargeDate: string ,
productType: string ,
productTypeId: string ,
skuId: string ,
skuDescription: string ,
purchaseDate: string ,
quantity: integer ,
status: enum ,
tenantId: string ,
reseller: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Products_ValidateMoveEligibility (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: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
availabilityId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
displayName: string ,
endDate: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
lastCharge: string ,
lastChargeDate: string ,
productType: string ,
productTypeId: string ,
skuId: string ,
skuDescription: string ,
purchaseDate: string ,
quantity: integer ,
status: enum ,
tenantId: string ,
reseller: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
availabilityId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
displayName: string ,
endDate: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
lastCharge: string ,
lastChargeDate: string ,
productType: string ,
productTypeId: string ,
skuId: string ,
skuDescription: string ,
purchaseDate: string ,
quantity: integer ,
status: enum ,
tenantId: string ,
reseller: string ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Reservations_ListByBillingAccount (new)
Description :  Lists the reservations in the 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 ,
skiptoken: number ,
refreshSummary: string ,
selectedState: string ,
take: number ,
}

⚐ Response (200)

{
nextLink: string ,
summary:
{
cancelledCount: number ,
expiredCount: number ,
expiringCount: number ,
failedCount: number ,
pendingCount: number ,
succeededCount: number ,
noBenefitCount: number ,
warningCount: number ,
processingCount: number ,
}
,
value:
[
{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
skiptoken: number ,
refreshSummary: string ,
selectedState: string ,
take: number ,
}

⚐ Response (200)

{
nextLink: string ,
summary:
{
cancelledCount: number ,
expiredCount: number ,
expiringCount: number ,
failedCount: number ,
pendingCount: number ,
succeededCount: number ,
noBenefitCount: number ,
warningCount: number ,
processingCount: number ,
}
,
value:
[
{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Reservations_GetByReservationOrder (new)
Description :  Get specific Reservation details in the billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders/{reservationOrderId}/reservations/{reservationId}
{
api-version: string ,
billingAccountName: string ,
reservationOrderId: string ,
reservationId: string ,
expand: string ,
}

⚐ Response (200)

{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Reservations_UpdateByBillingAccount (new)
Description :  Update reservation by billing account.
Reference :  Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders/{reservationOrderId}/reservations/{reservationId}
{
billingAccountName: string ,
reservationOrderId: string ,
reservationId: string ,
api-version: string ,
body:
{
properties:
{
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
instanceFlexibility: enum ,
displayName: string ,
renew: boolean ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
}
,
reviewDateTime: string ,
}
,
sku:
{
name: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Reservations_ListByReservationOrder (new)
Description :  List Reservations within a single ReservationOrder in the billing account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ReservationOrders_GetByBillingAccount (new)
Description :  Get the details of the ReservationOrder in the billing account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
etag: integer ,
properties:
{
displayName: string ,
enrollmentId: string ,
customerId: string ,
billingProfileId: string ,
billingAccountId: string ,
requestDateTime: string ,
createdDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
benefitStartTime: string ,
originalQuantity: integer ,
term: string ,
provisioningState: string ,
billingPlan: enum ,
planInformation:
{
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
startDate: string ,
nextPaymentDueDate: string ,
transactions:
[
{
dueDate: string ,
paymentDate: string ,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingAccount: string ,
status: enum ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
}
,
]
,
}
,
reservations:
[
{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
]
,
reviewDateTime: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ReservationOrders_ListByBillingAccount (new)
Description :  List all the `ReservationOrders in the billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders
{
api-version: string ,
billingAccountName: string ,
filter: string ,
orderBy: string ,
skiptoken: number ,
}

⚐ Response (200)

{
value:
[
{
etag: integer ,
properties:
{
displayName: string ,
enrollmentId: string ,
customerId: string ,
billingProfileId: string ,
billingAccountId: string ,
requestDateTime: string ,
createdDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
benefitStartTime: string ,
originalQuantity: integer ,
term: string ,
provisioningState: string ,
billingPlan: enum ,
planInformation:
{
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
startDate: string ,
nextPaymentDueDate: string ,
transactions:
[
{
dueDate: string ,
paymentDate: string ,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingAccount: string ,
status: enum ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
}
,
]
,
}
,
reservations:
[
{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
]
,
reviewDateTime: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transactions_ListByCustomer (new)
Description :  Lists the billed or unbilled transactions by customer id for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transactions
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
periodStartDate: string ,
periodEndDate: string ,
type: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
azureCreditApplied: string ,
azurePlan: string ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
consumptionCommitmentDecremented: string ,
customerDisplayName: string ,
customerId: string ,
creditType: enum ,
date: string ,
discount: number ,
effectivePrice: string ,
exchangeRate: number ,
invoice: string ,
invoiceId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
isThirdParty: boolean ,
kind: enum ,
marketPrice: string ,
partNumber: string ,
pricingCurrency: string ,
productDescription: string ,
productFamily: string ,
productTypeId: string ,
productType: string ,
quantity: integer ,
reasonCode: string ,
servicePeriodStartDate: string ,
servicePeriodEndDate: string ,
subTotal: string ,
tax: string ,
transactionAmount: string ,
transactionType: string ,
units: number ,
unitOfMeasure: string ,
unitType: string ,
specialTaxationType: enum ,
refundTransactionDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transactions_ListByInvoiceSection (new)
Description :  Lists the billed or unbilled transactions by invoice section name for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transactions
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
periodStartDate: string ,
periodEndDate: string ,
type: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
azureCreditApplied: string ,
azurePlan: string ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
consumptionCommitmentDecremented: string ,
customerDisplayName: string ,
customerId: string ,
creditType: enum ,
date: string ,
discount: number ,
effectivePrice: string ,
exchangeRate: number ,
invoice: string ,
invoiceId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
isThirdParty: boolean ,
kind: enum ,
marketPrice: string ,
partNumber: string ,
pricingCurrency: string ,
productDescription: string ,
productFamily: string ,
productTypeId: string ,
productType: string ,
quantity: integer ,
reasonCode: string ,
servicePeriodStartDate: string ,
servicePeriodEndDate: string ,
subTotal: string ,
tax: string ,
transactionAmount: string ,
transactionType: string ,
units: number ,
unitOfMeasure: string ,
unitType: string ,
specialTaxationType: enum ,
refundTransactionDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transactions_ListByBillingProfile (new)
Description :  Lists the billed or unbilled transactions by billing profile name for given start and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions
{
billingAccountName: string ,
billingProfileName: string ,
periodStartDate: string ,
periodEndDate: string ,
type: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
azureCreditApplied: string ,
azurePlan: string ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
consumptionCommitmentDecremented: string ,
customerDisplayName: string ,
customerId: string ,
creditType: enum ,
date: string ,
discount: number ,
effectivePrice: string ,
exchangeRate: number ,
invoice: string ,
invoiceId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
isThirdParty: boolean ,
kind: enum ,
marketPrice: string ,
partNumber: string ,
pricingCurrency: string ,
productDescription: string ,
productFamily: string ,
productTypeId: string ,
productType: string ,
quantity: integer ,
reasonCode: string ,
servicePeriodStartDate: string ,
servicePeriodEndDate: string ,
subTotal: string ,
tax: string ,
transactionAmount: string ,
transactionType: string ,
units: number ,
unitOfMeasure: string ,
unitType: string ,
specialTaxationType: enum ,
refundTransactionDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
azureCreditApplied: string ,
azurePlan: string ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
consumptionCommitmentDecremented: string ,
customerDisplayName: string ,
customerId: string ,
creditType: enum ,
date: string ,
discount: number ,
effectivePrice: string ,
exchangeRate: number ,
invoice: string ,
invoiceId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
isThirdParty: boolean ,
kind: enum ,
marketPrice: string ,
partNumber: string ,
pricingCurrency: string ,
productDescription: string ,
productFamily: string ,
productTypeId: string ,
productType: string ,
quantity: integer ,
reasonCode: string ,
servicePeriodStartDate: string ,
servicePeriodEndDate: string ,
subTotal: string ,
tax: string ,
transactionAmount: string ,
transactionType: string ,
units: number ,
unitOfMeasure: string ,
unitType: string ,
specialTaxationType: enum ,
refundTransactionDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transactions_TransactionsDownloadByInvoice (new)
Description :  Gets a URL to download the transactions document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transactions_GetTransactionSummaryByInvoice (new)
Description :  Gets the transaction summary for an invoice. Transactions include purchases, refunds and Azure usage charges.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
azureCreditApplied: number ,
billingCurrency: string ,
consumptionCommitmentDecremented: number ,
subTotal: number ,
tax: number ,
total: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transfers_Get (new)
Description :  Gets a transfer request 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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
transferName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transfers_Initiate (new)
Description :  Sends a request to a user in another billing account to transfer billing ownership of their subscriptions. 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}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
transferName: string ,
parameters:
{
properties:
{
recipientEmailId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transfers_Cancel (new)
Description :  Cancels a transfer request. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}/cancel
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
transferName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transfers_List (new)
Description :  Lists the transfer requests for 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}/transfers
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PartnerTransfers_Get (new)
Description :  Gets a transfer request by ID. 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/{customerName}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
transferName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorCustomerType: enum ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PartnerTransfers_Initiate (new)
Description :  Sends a request to a user in a customer's billing account to transfer billing ownership of their subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
transferName: string ,
parameters:
{
properties:
{
recipientEmailId: string ,
resellerId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorCustomerType: enum ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorCustomerType: enum ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PartnerTransfers_Cancel (new)
Description :  Cancels a transfer request. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transfers/{transferName}/cancel
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
transferName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorCustomerType: enum ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PartnerTransfers_List (new)
Description :  Lists the transfer requests sent to 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}/billingProfiles/{billingProfileName}/customers/{customerName}/transfers
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorCustomerType: enum ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RecipientTransfers_Accept (new)
Description :  Accepts a transfer request.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/transfers/{transferName}/accept
{
transferName: string ,
parameters:
{
properties:
{
productDetails:
[
{
productType: enum ,
productId: string ,
}
,
]
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: enum ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
customerTenantId: string ,
supportedAccounts:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RecipientTransfers_Validate (new)
Description :  Validates if a subscription or a reservation can be transferred. Use this operation to validate your subscriptions or reservation before using the accept transfer operation.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/transfers/{transferName}/validate
{
transferName: string ,
parameters:
{
properties:
{
productDetails:
[
{
productType: enum ,
productId: string ,
}
,
]
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: string ,
productId: string ,
results:
[
{
level: string ,
code: string ,
message: string ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RecipientTransfers_Decline (new)
Description :  Declines a transfer request.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/transfers/{transferName}/decline
{
transferName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: enum ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
customerTenantId: string ,
supportedAccounts:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RecipientTransfers_Get (new)
Description :  Gets a transfer request by ID. The caller must be the recipient of the transfer request.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: enum ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
customerTenantId: string ,
supportedAccounts:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RecipientTransfers_List (new)
Description :  Lists the transfer requests received by the caller.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: enum ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
customerTenantId: string ,
supportedAccounts:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssociatedTenants_Delete (removed)
Description :  Deletes an associated tenant for a billing account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssociatedTenants_Get (removed)
Description :  Gets an associated tenant by ID.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
displayName: string ,
tenantId: string ,
billingManagementState: enum ,
provisioningManagementState: enum ,
provisioningBillingRequestId: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssociatedTenants_CreateOrUpdate (removed)
Description :  Create or update an associated tenant for the billing account.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/associatedTenants/{associatedTenantName}
{
billingAccountName: string ,
associatedTenantName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
displayName: string ,
tenantId: string ,
billingManagementState: enum ,
provisioningManagementState: enum ,
provisioningBillingRequestId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
displayName: string ,
tenantId: string ,
billingManagementState: enum ,
provisioningManagementState: enum ,
provisioningBillingRequestId: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
displayName: string ,
tenantId: string ,
billingManagementState: enum ,
provisioningManagementState: enum ,
provisioningBillingRequestId: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AssociatedTenants_ListByBillingAccount (removed)
Description :  Lists the associated tenants that can collaborate with the billing account on commerce activities like viewing and downloading invoices, managing payments, making purchases, and managing or provisioning licenses.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/associatedTenants
{
billingAccountName: string ,
includeRevoked: boolean ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
displayName: string ,
tenantId: string ,
billingManagementState: enum ,
provisioningManagementState: enum ,
provisioningBillingRequestId: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AvailableBalances_GetByBillingAccount (removed)
Description :  The Available Credit or Payment on Account Balance for a billing account. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Online Services Program.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
amount: string ,
paymentsOnAccount:
[
{
amount: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceId: string ,
invoiceName: string ,
date: string ,
paymentMethodType: enum ,
}
,
]
,
totalPaymentsOnAccount: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AvailableBalances_GetByBillingProfile (removed)
Description :  The Available Credit or Payment on Account Balance for a billing profile. The credit balance can be used to settle due or past due invoices and is supported for billing accounts with agreement type Microsoft Customer Agreement. The payment on account balance is supported 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: string ,
paymentsOnAccount:
[
{
amount: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceId: string ,
invoiceName: string ,
date: string ,
paymentMethodType: enum ,
}
,
]
,
totalPaymentsOnAccount: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_AddPaymentTerms (removed)
Description :  Adds payment terms to all the billing profiles under the billing account. Currently, payment terms can be added only on billing accounts that have Agreement Type as 'Microsoft Customer Agreement' and AccountType as 'Enterprise'. This action needs pre-authorization and only Field Sellers are authorized to add the payment terms and is not a self-serve action.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/addPaymentTerms
{
billingAccountName: string ,
api-version: string ,
parameters:
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_CancelPaymentTerms (removed)
Description :  Cancels all the payment terms on billing account that falls after the cancellation date in the request. Currently, cancel payment terms is only served by admin actions and is not a self-serve action.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_ConfirmTransition (removed)
Description :  Gets the transition details for a billing account that has transitioned from agreement type Microsoft Online Services Program to agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
transitionDate: string ,
anniversaryDay: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
api-version: string ,
filter: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_ValidatePaymentTerms (removed)
Description :  Validates payment terms on a billing account with agreement type 'Microsoft Customer Agreement' and account type 'Enterprise'.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/validatePaymentTerms
{
billingAccountName: string ,
api-version: string ,
parameters:
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
}

⚐ Response (200)

{
eligibilityStatus: enum ,
eligibilityDetails:
[
{
code: enum ,
message: string ,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingAccounts_Update (removed)
Description :  Updates the properties of a billing account. Currently, displayName and address can be updated for billing accounts with agreement type Microsoft Customer Agreement. Currently address and notification email address can be updated for billing accounts with agreement type Microsoft Online Services Agreement. Currently, purchase order number can be edited for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
{
billingAccountName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts
{
includeAll: boolean ,
includeAllWithoutBillingProfiles: boolean ,
includeDeleted: boolean ,
includePendingAgreement: boolean ,
includeResellee: boolean ,
legalOwnerTID: string ,
legalOwnerOID: string ,
api-version: string ,
filter: string ,
expand: string ,
top: integer ,
skip: integer ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
accountStatus: enum ,
accountType: enum ,
accountSubType: enum ,
accountStatusReasonCode: enum ,
agreementType: enum ,
displayName: string ,
enrollmentDetails: string ,
hasReadAccess: boolean ,
hasNoBillingProfiles: boolean ,
notificationEmailAddress: string ,
primaryBillingTenantId: string ,
soldTo: string ,
registrationNumber: string ,
billingRelationshipTypes:
[
string ,
]
,
qualifications:
[
string ,
]
,
taxIds:
[
{
id: string ,
type: enum ,
scope: string ,
country: string ,
status: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
parameters:
{
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
companyName: string ,
country: string ,
district: string ,
email: string ,
firstName: string ,
lastName: string ,
middleName: string ,
phoneNumber: string ,
postalCode: string ,
region: string ,
isValidAddress: boolean ,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByBillingProfile (removed)
Description :  Provides a list of check access response objects for a billing profile.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/checkAccess
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByCustomer (removed)
Description :  Provides a list of check access response objects for a customer.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/checkAccess
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_ListByInvoiceSection (removed)
Description :  Lists the billing permissions the caller has for an invoice section.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByInvoiceSection (removed)
Description :  Provides a list of check access response objects for an invoice section.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/checkAccess
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByBillingAccount (removed)
Description :  Provides a list of check access response objects for a billing account.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/checkAccess
{
billingAccountName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_ListByCustomerAtBillingAccount (removed)
Description :  Lists the billing permissions the caller has for a customer at billing account level.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_ListByDepartment (removed)
Description :  Lists the billing permissions the caller has for a department.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByDepartment (removed)
Description :  Provides a list of check access response objects for a department.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/checkAccess
{
billingAccountName: string ,
departmentName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_ListByEnrollmentAccount (removed)
Description :  Lists the billing permissions the caller has for an enrollment account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingPermissions_CheckAccessByEnrollmentAccount (removed)
Description :  Provides a list of check access response objects for an enrollment account.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/checkAccess
{
billingAccountName: string ,
enrollmentAccountName: string ,
api-version: string ,
parameters:
{
actions:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
accessDecision: enum ,
action: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProfiles_ValidateDeleteEligibility (removed)
Description :  Validates if the billing profile can be deleted. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
eligibilityStatus: enum ,
eligibilityDetails:
[
{
code: enum ,
message: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProfiles_Delete (removed)
Description :  Deletes a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProfiles_Get (removed)
Description :  Gets a billing profile 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}/billingProfiles/{billingProfileName}
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
billingRelationshipType: enum ,
billTo: string ,
currency: string ,
displayName: string ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
hasReadAccess: boolean ,
indirectRelationshipInfo: string ,
invoiceDay: integer ,
invoiceEmailOptIn: boolean ,
invoiceRecipients:
[
string ,
]
,
poNumber: string ,
shipTo: string ,
soldTo: string ,
spendingLimit: enum ,
spendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
systemId: string ,
tags: object ,
targetClouds:
[
string ,
]
,
currentPaymentTerm: string ,
otherPaymentTerms:
[
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProfiles_CreateOrUpdate (removed)
Description :  Creates or updates a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. If you are a MCA Individual (Pay-as-you-go) customer, then please use the Azure portal experience to create the billing profile.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
billingRelationshipType: enum ,
billTo: string ,
currency: string ,
displayName: string ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
hasReadAccess: boolean ,
indirectRelationshipInfo: string ,
invoiceDay: integer ,
invoiceEmailOptIn: boolean ,
invoiceRecipients:
[
string ,
]
,
poNumber: string ,
shipTo: string ,
soldTo: string ,
spendingLimit: enum ,
spendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
systemId: string ,
tags: object ,
targetClouds:
[
string ,
]
,
currentPaymentTerm: string ,
otherPaymentTerms:
[
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
billingRelationshipType: enum ,
billTo: string ,
currency: string ,
displayName: string ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
hasReadAccess: boolean ,
indirectRelationshipInfo: string ,
invoiceDay: integer ,
invoiceEmailOptIn: boolean ,
invoiceRecipients:
[
string ,
]
,
poNumber: string ,
shipTo: string ,
soldTo: string ,
spendingLimit: enum ,
spendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
systemId: string ,
tags: object ,
targetClouds:
[
string ,
]
,
currentPaymentTerm: string ,
otherPaymentTerms:
[
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
]
,
}
,
}

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
billingRelationshipType: enum ,
billTo: string ,
currency: string ,
displayName: string ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
hasReadAccess: boolean ,
indirectRelationshipInfo: string ,
invoiceDay: integer ,
invoiceEmailOptIn: boolean ,
invoiceRecipients:
[
string ,
]
,
poNumber: string ,
shipTo: string ,
soldTo: string ,
spendingLimit: enum ,
spendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
systemId: string ,
tags: object ,
targetClouds:
[
string ,
]
,
currentPaymentTerm: string ,
otherPaymentTerms:
[
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles
{
billingAccountName: string ,
includeDeleted: boolean ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
billingRelationshipType: enum ,
billTo: string ,
currency: string ,
displayName: string ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
hasReadAccess: boolean ,
indirectRelationshipInfo: string ,
invoiceDay: integer ,
invoiceEmailOptIn: boolean ,
invoiceRecipients:
[
string ,
]
,
poNumber: string ,
shipTo: string ,
soldTo: string ,
spendingLimit: enum ,
spendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
systemId: string ,
tags: object ,
targetClouds:
[
string ,
]
,
currentPaymentTerm: string ,
otherPaymentTerms:
[
{
term: string ,
startDate: string ,
endDate: string ,
isDefault: boolean ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProperty_Get (removed)
Description :  Gets the billing properties for a subscription
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
billingAccountAgreementType: enum ,
billingAccountDisplayName: string ,
billingAccountId: string ,
accountAdminNotificationEmailAddress: string ,
billingAccountSoldToCountry: string ,
billingAccountStatus: enum ,
billingAccountStatusReasonCode: enum ,
billingAccountType: enum ,
billingAccountSubType: enum ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
billingProfileSpendingLimit: enum ,
billingProfileSpendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfilePaymentMethodFamily: enum ,
billingProfilePaymentMethodType: string ,
billingTenantId: string ,
costCenter: string ,
customerDisplayName: string ,
customerId: string ,
customerStatus: enum ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionStatus: enum ,
invoiceSectionStatusReasonCode: enum ,
isTransitionedBillingAccount: boolean ,
skuDescription: string ,
skuId: string ,
subscriptionBillingStatus: enum ,
subscriptionBillingStatusDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
subscriptionBillingType: enum ,
subscriptionServiceUsageAddress: string ,
subscriptionWorkloadType: enum ,
enrollmentDetails: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingProperty_Update (removed)
Description :  Updates the billing property of a subscription. Currently, cost center can be updated for billing accounts with agreement type Microsoft Customer Agreement and subscription service usage address can be updated for billing accounts with agreement type Microsoft Online Service Program.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingProperty/default
{
subscriptionId: string ,
api-version: string ,
parameters:
{
properties:
{
billingAccountAgreementType: enum ,
billingAccountDisplayName: string ,
billingAccountId: string ,
accountAdminNotificationEmailAddress: string ,
billingAccountSoldToCountry: string ,
billingAccountStatus: enum ,
billingAccountStatusReasonCode: enum ,
billingAccountType: enum ,
billingAccountSubType: enum ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
billingProfileSpendingLimit: enum ,
billingProfileSpendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfilePaymentMethodFamily: enum ,
billingProfilePaymentMethodType: string ,
billingTenantId: string ,
costCenter: string ,
customerDisplayName: string ,
customerId: string ,
customerStatus: enum ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionStatus: enum ,
invoiceSectionStatusReasonCode: enum ,
isTransitionedBillingAccount: boolean ,
skuDescription: string ,
skuId: string ,
subscriptionBillingStatus: enum ,
subscriptionBillingStatusDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
subscriptionBillingType: enum ,
subscriptionServiceUsageAddress: string ,
subscriptionWorkloadType: enum ,
enrollmentDetails: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
billingAccountAgreementType: enum ,
billingAccountDisplayName: string ,
billingAccountId: string ,
accountAdminNotificationEmailAddress: string ,
billingAccountSoldToCountry: string ,
billingAccountStatus: enum ,
billingAccountStatusReasonCode: enum ,
billingAccountType: enum ,
billingAccountSubType: enum ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
billingProfileSpendingLimit: enum ,
billingProfileSpendingLimitDetails:
[
{
amount: number ,
currency: string ,
startDate: string ,
endDate: string ,
type: enum ,
status: enum ,
}
,
]
,
billingProfileStatus: enum ,
billingProfileStatusReasonCode: enum ,
billingProfilePaymentMethodFamily: enum ,
billingProfilePaymentMethodType: string ,
billingTenantId: string ,
costCenter: string ,
customerDisplayName: string ,
customerId: string ,
customerStatus: enum ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionStatus: enum ,
invoiceSectionStatusReasonCode: enum ,
isTransitionedBillingAccount: boolean ,
skuDescription: string ,
skuId: string ,
subscriptionBillingStatus: enum ,
subscriptionBillingStatusDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
subscriptionBillingType: enum ,
subscriptionServiceUsageAddress: string ,
subscriptionWorkloadType: enum ,
enrollmentDetails: string ,
isAccountAdmin: boolean ,
productId: string ,
productName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_ListByBillingProfile (removed)
Description :  The list of billing requests submitted for the billing profile.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/billingRequests
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_ListByCustomer (removed)
Description :  The list of billing requests submitted for the customer.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/billingRequests
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_ListByInvoiceSection (removed)
Description :  The list of billing requests submitted for the invoice section.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingRequests
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_ListByBillingAccount (removed)
Description :  The list of billing requests submitted for the billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRequests
{
billingAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_Get (removed)
Description :  Gets a billing request by its ID.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_CreateOrUpdate (removed)
Description :  Create or update a billing request.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingRequests/{billingRequestName}
{
billingRequestName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRequests_ListByUser (removed)
Description :  The list of billing requests submitted by a user.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingRequests
{
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
additionalInformation: object ,
reviewedBy: string ,
reviewalDate: string ,
billingAccountId: string ,
billingAccountName: string ,
billingAccountDisplayName: string ,
billingAccountPrimaryBillingTenantId: string ,
billingProfileId: string ,
billingProfileName: string ,
billingProfileDisplayName: string ,
createdBy: string ,
creationDate: string ,
expirationDate: string ,
decisionReason: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerName: string ,
customerDisplayName: string ,
subscriptionId: string ,
subscriptionName: string ,
subscriptionDisplayName: string ,
justification: string ,
recipients:
[
{
tenantId: string ,
objectId: string ,
upn: string ,
}
,
]
,
requestScope: string ,
billingScope: string ,
status: enum ,
type: enum ,
lastUpdatedBy: string ,
lastUpdatedDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByBillingProfile (removed)
Description :  Deletes a role assignment 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}
{
billingAccountName: string ,
billingProfileName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}
{
billingAccountName: string ,
billingProfileName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 Partner Agreement or Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateByBillingProfile (removed)
Description :  Adds a role assignment on a billing profile. 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}/billingProfiles/{billingProfileName}/createBillingRoleAssignment
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
parameters:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByCustomer (removed)
Description :  Deletes a role assignment on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByCustomer (removed)
Description :  Lists the role assignments for the caller on customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/billingRoleAssignments
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
filter: string ,
top: integer ,
skip: integer ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateByCustomer (removed)
Description :  Adds a role assignment on a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/createBillingRoleAssignment
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
parameters:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ResolveByCustomer (removed)
Description :  Lists the role assignments for the caller on a customer while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/resolveBillingRoleAssignments
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
resolveScopeDisplayNames: boolean ,
api-version: string ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByInvoiceSection (removed)
Description :  Deletes a role assignment 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}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
filter: string ,
top: integer ,
skip: integer ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/createBillingRoleAssignment
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
parameters:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/resolveBillingRoleAssignments
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
resolveScopeDisplayNames: boolean ,
api-version: string ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ResolveByBillingProfile (removed)
Description :  Lists the role assignments for the caller on an billing profile while fetching user info for each role assignment. 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}/billingProfiles/{billingProfileName}/resolveBillingRoleAssignments
{
billingAccountName: string ,
billingProfileName: string ,
resolveScopeDisplayNames: boolean ,
api-version: string ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateOrUpdateByBillingAccount (removed)
Description :  Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
billingAccountName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateByBillingAccount (removed)
Description :  Adds a role assignment on a billing account. 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}/createBillingRoleAssignment
{
billingAccountName: string ,
api-version: string ,
parameters:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByDepartment (removed)
Description :  Deletes a role assignment on a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_GetByDepartment (removed)
Description :  Gets a role assignment for the caller on a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateOrUpdateByDepartment (removed)
Description :  Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/billingRoleAssignments/{billingRoleAssignmentName}
{
billingAccountName: string ,
departmentName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByDepartment (removed)
Description :  Lists the role assignments for the caller on a department. The operation is supported for billing accounts of type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByEnrollmentAccount (removed)
Description :  Deletes a role assignment on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_GetByEnrollmentAccount (removed)
Description :  Gets a role assignment for the caller on a enrollment Account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_CreateOrUpdateByEnrollmentAccount (removed)
Description :  Create or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
billingAccountName: string ,
enrollmentAccountName: string ,
billingRoleAssignmentName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ListByEnrollmentAccount (removed)
Description :  Lists the role assignments for the caller on a enrollment account. The operation is supported for billing accounts of type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleAssignments_ResolveByBillingAccount (removed)
Description :  Lists the role assignments for the caller on a billing account while fetching user info for each role assignment. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/resolveBillingRoleAssignments
{
billingAccountName: string ,
resolveScopeDisplayNames: boolean ,
api-version: string ,
filter: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByPrincipalPuid: string ,
createdByUserEmailAddress: string ,
modifiedOn: string ,
modifiedByPrincipalPuid: string ,
modifiedByUserEmailAddress: string ,
modifiedByPrincipalId: string ,
modifiedByPrincipalTenantId: string ,
principalPuid: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userAuthenticationType: string ,
userEmailAddress: string ,
principalTenantName: string ,
principalDisplayName: string ,
principalType: enum ,
billingRequestId: string ,
billingAccountId: string ,
billingAccountDisplayName: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
}
,
}
,
]
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_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/{roleDefinitionName}
{
billingAccountName: string ,
billingProfileName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_ListByBillingProfile (removed)
Description :  Lists the role definitions for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_GetByCustomer (removed)
Description :  Gets the definition for a role on 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}/billingProfiles/{billingProfileName}/customers/{customerName}/billingRoleDefinitions/{roleDefinitionName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_ListByCustomer (removed)
Description :  Lists the role definitions for a customer. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_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/{roleDefinitionName}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_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
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_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, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleDefinitions/{roleDefinitionName}
{
billingAccountName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_ListByBillingAccount (removed)
Description :  Lists the role definitions for a billing account. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement, Microsoft Customer Agreement or Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_GetByDepartment (removed)
Description :  Gets the definition for a role on a department. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/billingRoleDefinitions/{roleDefinitionName}
{
billingAccountName: string ,
departmentName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_ListByDepartment (removed)
Description :  List the definition for a department. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_GetByEnrollmentAccount (removed)
Description :  Gets the definition for a role on an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleDefinitions/{roleDefinitionName}
{
billingAccountName: string ,
enrollmentAccountName: string ,
roleDefinitionName: string ,
api-version: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingRoleDefinition_ListByEnrollmentAccount (removed)
Description :  List the definition for an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlanOrders_GetByBillingAccount (removed)
Description :  Get a savings plan order by billing account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
billingPlan: enum ,
benefitStartTime: string ,
expiryDateTime: string ,
planInformation:
{
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
startDate: string ,
nextPaymentDueDate: string ,
transactions:
[
{
dueDate: string ,
paymentDate: string ,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
status: enum ,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
}
,
]
,
}
,
savingsPlans:
[
string ,
]
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlanOrders_ListByBillingAccount (removed)
Description :  List all Savings plan orders by billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/savingsPlanOrders
{
billingAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
skiptoken: number ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
billingPlan: enum ,
benefitStartTime: string ,
expiryDateTime: string ,
planInformation:
{
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
startDate: string ,
nextPaymentDueDate: string ,
transactions:
[
{
dueDate: string ,
paymentDate: string ,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
status: enum ,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
}
,
]
,
}
,
savingsPlans:
[
string ,
]
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlans_ListBySavingsPlanOrder (removed)
Description :  List savings plans in an order by billing account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
displayProvisioningState: string ,
userFriendlyAppliedScopeType: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
benefitStartTime: string ,
expiryDateTime: string ,
purchaseDateTime: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlans_ListByBillingAccount (removed)
Description :  List savings plans by billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/savingsPlans
{
billingAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
skiptoken: number ,
take: number ,
selectedState: string ,
refreshSummary: string ,
}

⚐ Response (200)

{
summary:
{
succeededCount: number ,
failedCount: number ,
expiringCount: number ,
expiredCount: number ,
pendingCount: number ,
cancelledCount: number ,
processingCount: number ,
noBenefitCount: number ,
warningCount: number ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlans_GetByBillingAccount (removed)
Description :  Get savings plan by billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}
{
billingAccountName: string ,
savingsPlanOrderId: string ,
savingsPlanId: string ,
api-version: string ,
expand: string ,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
displayProvisioningState: string ,
userFriendlyAppliedScopeType: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
benefitStartTime: string ,
expiryDateTime: string ,
purchaseDateTime: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlans_UpdateByBillingAccount (removed)
Description :  Update savings plan by billing account.
Reference :  Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}
{
billingAccountName: string ,
savingsPlanOrderId: string ,
savingsPlanId: string ,
api-version: string ,
body:
{
properties:
{
displayName: string ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
}
,
sku:
{
name: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
provisioningState: enum ,
displayProvisioningState: string ,
userFriendlyAppliedScopeType: string ,
billingScopeId: string ,
billingProfileId: string ,
customerId: string ,
billingAccountId: string ,
term: enum ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
billingPlan: enum ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
commitment:
{
grain: enum ,
}
,
effectiveDateTime: string ,
benefitStartTime: string ,
expiryDateTime: string ,
purchaseDateTime: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
extendedStatusInfo:
{
statusCode: string ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SavingsPlans_ValidateUpdateByBillingAccount (removed)
Description :  Validate savings plan patch by billing account.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/savingsPlanOrders/{savingsPlanOrderId}/savingsPlans/{savingsPlanId}/validate
{
billingAccountName: string ,
savingsPlanOrderId: string ,
savingsPlanId: string ,
api-version: string ,
body:
{
benefits:
[
{
displayName: string ,
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
properties:
{
displayName: string ,
billingScopeId: string ,
term: enum ,
billingPlan: enum ,
appliedScopeType: enum ,
commitment:
{
grain: enum ,
}
,
renew: boolean ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
}
,
}
,
}
,
}
,
]
,
}
,
}

⚐ Response (200)

{
benefits:
[
{
valid: boolean ,
reasonCode: string ,
reason: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_GetByBillingProfile (removed)
Description :  Gets a subscription by its billing profile and ID. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
includeDeleted: boolean ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}/billingProfiles/{billingProfileName}/customers/{customerName}/billingSubscriptions
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
includeDeleted: boolean ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
includeDeleted: boolean ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_Get (removed)
Description :  Gets a subscription by its alias ID. The operation is supported for seat based billing subscriptions.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
billingSubscriptionId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_CreateOrUpdate (removed)
Description :  Creates or updates a billing subscription by its alias ID. The operation is supported for seat based billing subscriptions.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases/{aliasName}
{
billingAccountName: string ,
aliasName: string ,
api-version: string ,
parameters:
{
properties:
{
billingSubscriptionId: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
billingSubscriptionId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
billingSubscriptionId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptionsAliases_ListByBillingAccount (removed)
Description :  Lists the subscription aliases for a billing account. The operation is supported for seat based billing subscriptions.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptionAliases
{
billingAccountName: string ,
includeDeleted: boolean ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
billingSubscriptionId: string ,
provisioningState: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Cancel (removed)
Description :  Cancels a usage-based subscription. This operation is supported only for billing accounts of type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/cancel
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
cancellationReason: enum ,
customerId: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Merge (removed)
Description :  Merges the billing subscription provided in the request with a target billing subscription.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/merge
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
targetBillingSubscriptionName: string ,
quantity: integer ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Move (removed)
Description :  Moves charges for a subscription 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/{billingSubscriptionName}/move
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationEnrollmentAccountId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Split (removed)
Description :  Splits a subscription into a new subscription with quantity less than current subscription quantity and not equal to 0.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/split
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
targetProductTypeId: string ,
targetSkuId: string ,
quantity: integer ,
termDuration: string ,
billingFrequency: string ,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_ValidateMoveEligibility (removed)
Description :  Validates if charges for a subscription 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/{billingSubscriptionName}/validateMoveEligibility
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationEnrollmentAccountId: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Delete (removed)
Description :  Cancels a billing subscription. This operation is supported only for billing accounts of type Microsoft Partner Agreement or Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_Update (removed)
Description :  Updates the properties of a billing subscription.
Reference :  Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
{
billingAccountName: string ,
billingSubscriptionName: string ,
api-version: string ,
parameters:
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByBillingAccount (removed)
Description :  Lists the subscriptions for a billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions
{
billingAccountName: string ,
includeDeleted: boolean ,
includeTenantSubscriptions: boolean ,
includeFailed: boolean ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByCustomerAtBillingAccount (removed)
Description :  Lists the subscriptions for a customer at billing account level. 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 ,
includeDeleted: boolean ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BillingSubscriptions_ListByEnrollmentAccount (removed)
Description :  Lists the subscriptions for an enrollment account. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingSubscriptions
{
billingAccountName: string ,
enrollmentAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
totalCount: number ,
value:
[
{
properties:
{
autoRenew: enum ,
beneficiaryTenantId: string ,
beneficiary:
{
tenantId: string ,
objectId: string ,
}
,
billingFrequency: string ,
billingProfileId: string ,
billingPolicies: object ,
billingProfileDisplayName: string ,
billingProfileName: string ,
consumptionCostCenter: string ,
customerId: string ,
customerDisplayName: string ,
customerName: string ,
displayName: string ,
enrollmentAccountId: string ,
enrollmentAccountDisplayName: string ,
enrollmentAccountSubscriptionDetails:
{
enrollmentAccountStartDate: string ,
subscriptionEnrollmentAccountStatus: enum ,
}
,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionName: string ,
lastMonthCharges:
{
currency: string ,
value: number ,
}
,
monthToDateCharges:
{
currency: string ,
value: number ,
}
,
nextBillingCycleDetails:
{
billingFrequency: string ,
}
,
offerId: string ,
productCategory: string ,
productType: string ,
productTypeId: string ,
purchaseDate: string ,
quantity: integer ,
reseller:
{
resellerId: string ,
description: string ,
}
,
renewalTermDetails:
{
billingFrequency: string ,
productId: string ,
productTypeId: string ,
skuId: string ,
termDuration: string ,
quantity: integer ,
termEndDate: string ,
}
,
skuId: string ,
skuDescription: string ,
systemOverrides:
{
cancellation: enum ,
cancellationAllowedEndDate: string ,
}
,
resourceUri: string ,
termDuration: string ,
termStartDate: string ,
termEndDate: string ,
provisioningTenantId: string ,
status: enum ,
operationStatus: enum ,
provisioningState: enum ,
subscriptionId: string ,
suspensionReasons:
[
string ,
]
,
suspensionReasonDetails:
[
{
effectiveDate: string ,
reason: enum ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}/billingProfiles/{billingProfileName}/customers/{customerName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingProfileDisplayName: string ,
billingProfileId: string ,
displayName: string ,
systemId: string ,
status: enum ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
billingProfileDisplayName: string ,
billingProfileId: string ,
displayName: string ,
systemId: string ,
status: enum ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
tags: object ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Customers_GetByBillingAccount (removed)
Description :  Gets a customer by its ID at billing account level. 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}
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
billingProfileDisplayName: string ,
billingProfileId: string ,
displayName: string ,
systemId: string ,
status: enum ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
tags: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
api-version: string ,
expand: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
billingProfileDisplayName: string ,
billingProfileId: string ,
displayName: string ,
systemId: string ,
status: enum ,
enabledAzurePlans:
[
{
productId: string ,
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
tags: object ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Departments_Get (removed)
Description :  Gets a department by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
costCenter: string ,
displayName: string ,
id: string ,
status: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Departments_ListByBillingAccount (removed)
Description :  Lists the departments that a user has access to. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments
{
billingAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
costCenter: string ,
displayName: string ,
id: string ,
status: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnrollmentAccounts_GetByDepartment (removed)
Description :  Gets an enrollment account by department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/enrollmentAccounts/{enrollmentAccountName}
{
billingAccountName: string ,
departmentName: string ,
enrollmentAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
costCenter: string ,
displayName: string ,
departmentDisplayName: string ,
departmentId: string ,
isDevTestEnabled: boolean ,
accountOwner: string ,
authType: string ,
status: string ,
startDate: string ,
endDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnrollmentAccounts_ListByDepartment (removed)
Description :  Lists the enrollment accounts for a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/enrollmentAccounts
{
billingAccountName: string ,
departmentName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
costCenter: string ,
displayName: string ,
departmentDisplayName: string ,
departmentId: string ,
isDevTestEnabled: boolean ,
accountOwner: string ,
authType: string ,
status: string ,
startDate: string ,
endDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnrollmentAccounts_Get (removed)
Description :  Gets an enrollment account by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
costCenter: string ,
displayName: string ,
departmentDisplayName: string ,
departmentId: string ,
isDevTestEnabled: boolean ,
accountOwner: string ,
authType: string ,
status: string ,
startDate: string ,
endDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnrollmentAccounts_ListByBillingAccount (removed)
Description :  Lists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts
{
billingAccountName: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
costCenter: string ,
displayName: string ,
departmentDisplayName: string ,
departmentId: string ,
isDevTestEnabled: boolean ,
accountOwner: string ,
authType: string ,
status: string ,
startDate: string ,
endDate: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
billingProfileName: string ,
periodStartDate: string ,
periodEndDate: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_DownloadDocumentsByBillingAccount (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
{
billingAccountName: string ,
api-version: string ,
parameters:
{
documentName: string ,
invoiceName: string ,
}
,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_Amend (removed)
Description :  Regenerate an invoice by billing account name and invoice name. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_DownloadSummaryByBillingAccount (removed)
Description :  Gets a URL to download the summary document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_GetByBillingAccount (removed)
Description :  Gets an invoice by billing account name and ID. The operation is supported for all billing account types.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_ListByBillingAccount (removed)
Description :  Lists the invoices for a billing account for a given start date and end date. The operation is supported for all billing account types.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoices
{
billingAccountName: string ,
periodStartDate: string ,
periodEndDate: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_DownloadDocumentsByBillingSubscription (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/default/billingSubscriptions/{subscriptionId}/downloadDocuments
{
subscriptionId: string ,
api-version: string ,
parameters:
{
documentName: string ,
invoiceName: string ,
}
,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_DownloadByBillingSubscription (removed)
Description :  Gets a URL to download an invoice by billing subscription. 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/default/billingSubscriptions/{subscriptionId}/invoices/{invoiceName}/download
{
subscriptionId: string ,
invoiceName: string ,
documentName: string ,
api-version: string ,
}

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_GetByBillingSubscription (removed)
Description :  Gets an invoice by subscription ID and invoice 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/billingSubscriptions/{subscriptionId}/invoices/{invoiceName}
{
subscriptionId: string ,
invoiceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_ListByBillingSubscription (removed)
Description :  Lists the invoices for a subscription. 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/billingSubscriptions/{subscriptionId}/invoices
{
subscriptionId: string ,
periodStartDate: string ,
periodEndDate: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Invoices_Get (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}
{
invoiceName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
amountDue: string ,
azurePrepaymentApplied: string ,
billedAmount: string ,
billedDocumentId: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
creditAmount: string ,
creditForDocumentId: string ,
documents:
[
{
documentNumbers:
[
string ,
]
,
externalUrl: string ,
kind: enum ,
name: string ,
url: string ,
source: enum ,
}
,
]
,
documentType: enum ,
dueDate: string ,
failedPayments:
[
{
date: string ,
failedPaymentReason: enum ,
}
,
]
,
freeAzureCreditApplied: string ,
invoiceDate: string ,
invoicePeriodEndDate: string ,
invoicePeriodStartDate: string ,
invoiceType: enum ,
isMonthlyInvoice: boolean ,
payments:
[
{
amount: string ,
date: string ,
paymentMethodId: string ,
paymentMethodFamily: enum ,
paymentMethodType: string ,
paymentType: string ,
}
,
]
,
purchaseOrderNumber: string ,
rebillDetails: string ,
status: enum ,
subscriptionDisplayName: string ,
subscriptionId: string ,
specialTaxationType: enum ,
subTotal: string ,
taxAmount: string ,
totalAmount: string ,
refundDetails: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
InvoiceSections_ValidateDeleteEligibility (removed)
Description :  Validates if the invoice section can be deleted. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
eligibilityStatus: enum ,
eligibilityDetails:
[
{
code: enum ,
message: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
InvoiceSections_Delete (removed)
Description :  Deletes 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}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
}

⚐ Response (202)

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

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
displayName: string ,
state: enum ,
reasonCode: enum ,
systemId: string ,
targetCloud: string ,
tags: object ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
displayName: string ,
state: enum ,
reasonCode: enum ,
systemId: string ,
targetCloud: 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 ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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
{
billingAccountName: string ,
billingProfileName: string ,
includeDeleted: boolean ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
provisioningState: enum ,
displayName: string ,
state: enum ,
reasonCode: enum ,
systemId: string ,
targetCloud: string ,
tags: object ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (removed)
Description :  List of operations supported by provider.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingProfile (removed)
Description :  Lists payment methods attached to a billing profile. 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}/paymentMethodLinks
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethod:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
paymentMethodId: string ,
paymentMethodType: string ,
status: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_GetByBillingProfile (removed)
Description :  Gets a payment method linked with a billing profile. 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}/paymentMethodLinks/{paymentMethodName}
{
billingAccountName: string ,
billingProfileName: string ,
paymentMethodName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethod:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
paymentMethodId: string ,
paymentMethodType: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingAccount (removed)
Description :  Lists the payment methods available for a billing account. Along with the payment methods owned by the caller, these payment methods can be attached to a billing profile to make payments. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_GetByBillingAccount (removed)
Description :  Gets a payment method available for a billing account. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_ListByUser (removed)
Description :  Lists the payment methods owned by the caller.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_DeleteByUser (removed)
Description :  Deletes a payment method owned by the caller.
Reference :  Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Billing/paymentMethods/{paymentMethodName}
{
api-version: string ,
paymentMethodName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PaymentMethods_GetByUser (removed)
Description :  Gets a payment method owned by the caller.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
id: string ,
accountHolderName: string ,
displayName: string ,
expiration: string ,
family: enum ,
lastFourDigits: string ,
logos:
[
{
mimeType: string ,
url: string ,
}
,
]
,
paymentMethodType: string ,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/{policyName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
policyName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdateByCustomer (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}/billingProfiles/{billingProfileName}/customers/{customerName}/policies/default
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
invoiceSectionLabelManagement: enum ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdateByBillingProfile (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
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
invoiceSectionLabelManagement: enum ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
invoiceSectionLabelManagement: enum ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
invoiceSectionLabelManagement: enum ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_GetByCustomerAtBillingAccount (removed)
Description :  Lists the policies for a customer at billing account scope. 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:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdateByCustomerAtBillingAccount (removed)
Description :  Updates the policies for a customer at billing account scope. 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
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
viewCharges: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_GetByBillingAccount (removed)
Description :  Get the policies for a billing account of Enterprise Agreement type.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_CreateOrUpdateByBillingAccount (removed)
Description :  Update the policies for a billing account of Enterprise Agreement type.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/policies/default
{
billingAccountName: string ,
api-version: string ,
parameters:
{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
enterpriseAgreementPolicies: string ,
marketplacePurchases: enum ,
reservationPurchases: enum ,
savingsPlanPurchases: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Policies_GetBySubscription (removed)
Description :  Lists the policies that are managed by the Billing Admin for the defined subscriptions. This is supported for Microsoft Online Services Program, Microsoft Customer Agreement and Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
policies:
[
{
name: string ,
value: string ,
policyType: enum ,
scope: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
availabilityId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
displayName: string ,
endDate: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
lastCharge: string ,
lastChargeDate: string ,
productType: string ,
productTypeId: string ,
skuId: string ,
skuDescription: string ,
purchaseDate: string ,
quantity: integer ,
status: enum ,
tenantId: string ,
reseller: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Products_ValidateMoveEligibility (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: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
availabilityId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
displayName: string ,
endDate: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
lastCharge: string ,
lastChargeDate: string ,
productType: string ,
productTypeId: string ,
skuId: string ,
skuDescription: string ,
purchaseDate: string ,
quantity: integer ,
status: enum ,
tenantId: string ,
reseller: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
availabilityId: string ,
billingFrequency: string ,
billingProfileId: string ,
billingProfileDisplayName: string ,
customerId: string ,
customerDisplayName: string ,
displayName: string ,
endDate: string ,
invoiceSectionId: string ,
invoiceSectionDisplayName: string ,
lastCharge: string ,
lastChargeDate: string ,
productType: string ,
productTypeId: string ,
skuId: string ,
skuDescription: string ,
purchaseDate: string ,
quantity: integer ,
status: enum ,
tenantId: string ,
reseller: string ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Reservations_ListByBillingAccount (removed)
Description :  Lists the reservations in the 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 ,
skiptoken: number ,
refreshSummary: string ,
selectedState: string ,
take: number ,
}

⚐ Response (200)

{
nextLink: string ,
summary:
{
cancelledCount: number ,
expiredCount: number ,
expiringCount: number ,
failedCount: number ,
pendingCount: number ,
succeededCount: number ,
noBenefitCount: number ,
warningCount: number ,
processingCount: number ,
}
,
value:
[
{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
skiptoken: number ,
refreshSummary: string ,
selectedState: string ,
take: number ,
}

⚐ Response (200)

{
nextLink: string ,
summary:
{
cancelledCount: number ,
expiredCount: number ,
expiringCount: number ,
failedCount: number ,
pendingCount: number ,
succeededCount: number ,
noBenefitCount: number ,
warningCount: number ,
processingCount: number ,
}
,
value:
[
{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Reservations_GetByReservationOrder (removed)
Description :  Get specific Reservation details in the billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders/{reservationOrderId}/reservations/{reservationId}
{
api-version: string ,
billingAccountName: string ,
reservationOrderId: string ,
reservationId: string ,
expand: string ,
}

⚐ Response (200)

{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Reservations_UpdateByBillingAccount (removed)
Description :  Update reservation by billing account.
Reference :  Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders/{reservationOrderId}/reservations/{reservationId}
{
billingAccountName: string ,
reservationOrderId: string ,
reservationId: string ,
api-version: string ,
body:
{
properties:
{
appliedScopeType: enum ,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
instanceFlexibility: enum ,
displayName: string ,
renew: boolean ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
}
,
reviewDateTime: string ,
}
,
sku:
{
name: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Reservations_ListByReservationOrder (removed)
Description :  List Reservations within a single ReservationOrder in the billing account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ReservationOrders_GetByBillingAccount (removed)
Description :  Get the details of the ReservationOrder in the billing account.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
etag: integer ,
properties:
{
displayName: string ,
enrollmentId: string ,
customerId: string ,
billingProfileId: string ,
billingAccountId: string ,
requestDateTime: string ,
createdDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
benefitStartTime: string ,
originalQuantity: integer ,
term: string ,
provisioningState: string ,
billingPlan: enum ,
planInformation:
{
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
startDate: string ,
nextPaymentDueDate: string ,
transactions:
[
{
dueDate: string ,
paymentDate: string ,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingAccount: string ,
status: enum ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
}
,
]
,
}
,
reservations:
[
{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
]
,
reviewDateTime: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ReservationOrders_ListByBillingAccount (removed)
Description :  List all the `ReservationOrders in the billing account.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/reservationOrders
{
api-version: string ,
billingAccountName: string ,
filter: string ,
orderBy: string ,
skiptoken: number ,
}

⚐ Response (200)

{
value:
[
{
etag: integer ,
properties:
{
displayName: string ,
enrollmentId: string ,
customerId: string ,
billingProfileId: string ,
billingAccountId: string ,
requestDateTime: string ,
createdDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
benefitStartTime: string ,
originalQuantity: integer ,
term: string ,
provisioningState: string ,
billingPlan: enum ,
planInformation:
{
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
startDate: string ,
nextPaymentDueDate: string ,
transactions:
[
{
dueDate: string ,
paymentDate: string ,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingAccount: string ,
status: enum ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
}
,
]
,
}
,
reservations:
[
{
location: string ,
etag: integer ,
properties:
{
reservedResourceType: string ,
instanceFlexibility: enum ,
displayName: string ,
appliedScopes:
[
string ,
]
,
appliedScopeType: string ,
archived: boolean ,
capabilities: string ,
quantity: number ,
provisioningState: string ,
effectiveDateTime: string ,
benefitStartTime: string ,
lastUpdatedDateTime: string ,
expiryDate: string ,
expiryDateTime: string ,
reviewDateTime: string ,
skuDescription: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
billingPlan: enum ,
displayProvisioningState: string ,
provisioningSubState: string ,
purchaseDate: string ,
purchaseDateTime: string ,
splitProperties:
{
splitDestinations:
[
string ,
]
,
splitSource: string ,
}
,
mergeProperties:
{
mergeDestination: string ,
mergeSources:
[
string ,
]
,
}
,
swapProperties:
{
swapSource: string ,
swapDestination: string ,
}
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
billingScopeId: string ,
renew: boolean ,
renewSource: string ,
renewDestination: string ,
renewProperties:
{
purchaseProperties:
{
sku:
{
name: string ,
}
,
location: string ,
properties:
{
reservedResourceType: string ,
billingScopeId: string ,
term: string ,
billingPlan: enum ,
quantity: integer ,
displayName: string ,
appliedScopeType: enum ,
appliedScopes:
[
string ,
]
,
appliedScopeProperties:
{
tenantId: string ,
managementGroupId: string ,
subscriptionId: string ,
resourceGroupId: string ,
displayName: string ,
}
,
renew: boolean ,
reservedResourceProperties:
{
instanceFlexibility: enum ,
}
,
instanceFlexibility: enum ,
reviewDateTime: string ,
}
,
}
,
pricingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
billingCurrencyTotal:
{
currencyCode: string ,
amount: number ,
}
,
}
,
term: string ,
userFriendlyAppliedScopeType: string ,
userFriendlyRenewState: string ,
utilization:
{
trend: string ,
aggregates:
[
{
grain: number ,
grainUnit: string ,
value: number ,
valueUnit: string ,
}
,
]
,
}
,
productCode: string ,
}
,
tags: object ,
sku:
{
name: string ,
}
,
}
,
]
,
reviewDateTime: string ,
extendedStatusInfo:
{
statusCode: enum ,
message: string ,
properties:
{
subscriptionId: string ,
}
,
}
,
productCode: string ,
}
,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transactions_ListByCustomer (removed)
Description :  Lists the billed or unbilled transactions by customer id for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transactions
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
periodStartDate: string ,
periodEndDate: string ,
type: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
azureCreditApplied: string ,
azurePlan: string ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
consumptionCommitmentDecremented: string ,
customerDisplayName: string ,
customerId: string ,
creditType: enum ,
date: string ,
discount: number ,
effectivePrice: string ,
exchangeRate: number ,
invoice: string ,
invoiceId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
isThirdParty: boolean ,
kind: enum ,
marketPrice: string ,
partNumber: string ,
pricingCurrency: string ,
productDescription: string ,
productFamily: string ,
productTypeId: string ,
productType: string ,
quantity: integer ,
reasonCode: string ,
servicePeriodStartDate: string ,
servicePeriodEndDate: string ,
subTotal: string ,
tax: string ,
transactionAmount: string ,
transactionType: string ,
units: number ,
unitOfMeasure: string ,
unitType: string ,
specialTaxationType: enum ,
refundTransactionDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transactions_ListByInvoiceSection (removed)
Description :  Lists the billed or unbilled transactions by invoice section name for given start date and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transactions
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
periodStartDate: string ,
periodEndDate: string ,
type: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
azureCreditApplied: string ,
azurePlan: string ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
consumptionCommitmentDecremented: string ,
customerDisplayName: string ,
customerId: string ,
creditType: enum ,
date: string ,
discount: number ,
effectivePrice: string ,
exchangeRate: number ,
invoice: string ,
invoiceId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
isThirdParty: boolean ,
kind: enum ,
marketPrice: string ,
partNumber: string ,
pricingCurrency: string ,
productDescription: string ,
productFamily: string ,
productTypeId: string ,
productType: string ,
quantity: integer ,
reasonCode: string ,
servicePeriodStartDate: string ,
servicePeriodEndDate: string ,
subTotal: string ,
tax: string ,
transactionAmount: string ,
transactionType: string ,
units: number ,
unitOfMeasure: string ,
unitType: string ,
specialTaxationType: enum ,
refundTransactionDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transactions_ListByBillingProfile (removed)
Description :  Lists the billed or unbilled transactions by billing profile name for given start and end date. Transactions include purchases, refunds and Azure usage charges. Unbilled transactions are listed under pending invoice Id and do not include tax. Tax is added to the amount once an invoice is generated.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions
{
billingAccountName: string ,
billingProfileName: string ,
periodStartDate: string ,
periodEndDate: string ,
type: string ,
api-version: string ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
azureCreditApplied: string ,
azurePlan: string ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
consumptionCommitmentDecremented: string ,
customerDisplayName: string ,
customerId: string ,
creditType: enum ,
date: string ,
discount: number ,
effectivePrice: string ,
exchangeRate: number ,
invoice: string ,
invoiceId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
isThirdParty: boolean ,
kind: enum ,
marketPrice: string ,
partNumber: string ,
pricingCurrency: string ,
productDescription: string ,
productFamily: string ,
productTypeId: string ,
productType: string ,
quantity: integer ,
reasonCode: string ,
servicePeriodStartDate: string ,
servicePeriodEndDate: string ,
subTotal: string ,
tax: string ,
transactionAmount: string ,
transactionType: string ,
units: number ,
unitOfMeasure: string ,
unitType: string ,
specialTaxationType: enum ,
refundTransactionDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
filter: string ,
orderBy: string ,
top: integer ,
skip: integer ,
count: boolean ,
search: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
azureCreditApplied: string ,
azurePlan: string ,
billingCurrency: string ,
billingProfileDisplayName: string ,
billingProfileId: string ,
consumptionCommitmentDecremented: string ,
customerDisplayName: string ,
customerId: string ,
creditType: enum ,
date: string ,
discount: number ,
effectivePrice: string ,
exchangeRate: number ,
invoice: string ,
invoiceId: string ,
invoiceSectionDisplayName: string ,
invoiceSectionId: string ,
isThirdParty: boolean ,
kind: enum ,
marketPrice: string ,
partNumber: string ,
pricingCurrency: string ,
productDescription: string ,
productFamily: string ,
productTypeId: string ,
productType: string ,
quantity: integer ,
reasonCode: string ,
servicePeriodStartDate: string ,
servicePeriodEndDate: string ,
subTotal: string ,
tax: string ,
transactionAmount: string ,
transactionType: string ,
units: number ,
unitOfMeasure: string ,
unitType: string ,
specialTaxationType: enum ,
refundTransactionDetails: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transactions_TransactionsDownloadByInvoice (removed)
Description :  Gets a URL to download the transactions document for an invoice. The operation is supported for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transactions_GetTransactionSummaryByInvoice (removed)
Description :  Gets the transaction summary for an invoice. Transactions include purchases, refunds and Azure usage charges.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
azureCreditApplied: number ,
billingCurrency: string ,
consumptionCommitmentDecremented: number ,
subTotal: number ,
tax: number ,
total: number ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transfers_Get (removed)
Description :  Gets a transfer request 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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
transferName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transfers_Initiate (removed)
Description :  Sends a request to a user in another billing account to transfer billing ownership of their subscriptions. 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}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
transferName: string ,
parameters:
{
properties:
{
recipientEmailId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transfers_Cancel (removed)
Description :  Cancels a transfer request. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}/cancel
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
transferName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Transfers_List (removed)
Description :  Lists the transfer requests for 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}/transfers
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PartnerTransfers_Get (removed)
Description :  Gets a transfer request by ID. 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/{customerName}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
transferName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorCustomerType: enum ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PartnerTransfers_Initiate (removed)
Description :  Sends a request to a user in a customer's billing account to transfer billing ownership of their subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
transferName: string ,
parameters:
{
properties:
{
recipientEmailId: string ,
resellerId: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorCustomerType: enum ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorCustomerType: enum ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PartnerTransfers_Cancel (removed)
Description :  Cancels a transfer request. The operation is supported only for billing accounts with agreement type Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transfers/{transferName}/cancel
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
transferName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorCustomerType: enum ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PartnerTransfers_List (removed)
Description :  Lists the transfer requests sent to 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}/billingProfiles/{billingProfileName}/customers/{customerName}/transfers
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
expirationTime: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorCustomerType: enum ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RecipientTransfers_Accept (removed)
Description :  Accepts a transfer request.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/transfers/{transferName}/accept
{
transferName: string ,
parameters:
{
properties:
{
productDetails:
[
{
productType: enum ,
productId: string ,
}
,
]
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: enum ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
customerTenantId: string ,
supportedAccounts:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RecipientTransfers_Validate (removed)
Description :  Validates if a subscription or a reservation can be transferred. Use this operation to validate your subscriptions or reservation before using the accept transfer operation.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/transfers/{transferName}/validate
{
transferName: string ,
parameters:
{
properties:
{
productDetails:
[
{
productType: enum ,
productId: string ,
}
,
]
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: string ,
productId: string ,
results:
[
{
level: string ,
code: string ,
message: string ,
}
,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RecipientTransfers_Decline (removed)
Description :  Declines a transfer request.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/transfers/{transferName}/decline
{
transferName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: enum ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
customerTenantId: string ,
supportedAccounts:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RecipientTransfers_Get (removed)
Description :  Gets a transfer request by ID. The caller must be the recipient of the transfer request.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: enum ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
customerTenantId: string ,
supportedAccounts:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RecipientTransfers_List (removed)
Description :  Lists the transfer requests received by the caller.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: enum ,
canceledBy: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
productName: string ,
skuDescription: string ,
transferStatus: enum ,
errorDetails:
{
code: string ,
message: string ,
}
,
}
,
]
,
customerTenantId: string ,
supportedAccounts:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}