Microsoft.Billing (preview:2019-10-01)

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

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
agreementType: enum ,
customerType: enum ,
accountType: enum ,
billingProfiles:
[
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
]
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplacesEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
organizationId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
agreementType: enum ,
customerType: enum ,
accountType: enum ,
billingProfiles:
[
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
]
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplacesEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
organizationId: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
{
api-version: string ,
billingAccountName: string ,
parameters:
{
properties:
{
displayName: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
agreementType: enum ,
customerType: enum ,
accountType: enum ,
billingProfiles:
[
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
]
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplacesEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
organizationId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
agreementType: enum ,
customerType: enum ,
accountType: enum ,
billingProfiles:
[
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
]
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplacesEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
organizationId: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingAccount (new)
Description :  Lists the payment Methods 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
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
paymentMethodType: enum ,
details: string ,
expiration: string ,
currency: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingProfile (new)
Description :  Lists the payment Methods for 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}/paymentMethods
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
paymentMethodType: enum ,
details: string ,
expiration: string ,
currency: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProfiles_GetEligibilityToDetachPaymentMethod (new)
Description :  Validates if the default payment method can be detached from the billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
isEligible: boolean ,
errorDetails:
[
{
code: enum ,
message: string ,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}

⚐ Response (default)

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

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
invoiceEmailOptIn: boolean ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProfiles_Update (new)
Description :  Updates the properties of a billing profile. Currently, displayName, poNumber, bill-to address and invoiceEmailOptIn can be updated. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
InvoiceSections_Update (new)
Description :  Updates an invoice section. Currently, only displayName 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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
parameters:
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_GetByCustomer (new)
Description :  Gets a product 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}/customers/{customerName}/products/{productName}
{
billingAccountName: string ,
customerName: string ,
productName: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Transactions_ListByCustomer (new)
Description :  Lists the billed and 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}/customers/{customerName}/transactions
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
periodStartDate: string ,
periodEndDate: string ,
$filter: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Departments_ListByBillingAccountName (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
{
api-version: string ,
billingAccountName: string ,
$expand: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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}
{
api-version: string ,
billingAccountName: string ,
departmentName: string ,
$expand: string ,
$filter: string ,
}

⚐ Response (200)

{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccounts_ListByBillingAccountName (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
{
api-version: string ,
billingAccountName: string ,
$expand: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccounts_GetByEnrollmentAccountId (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}
{
api-version: string ,
billingAccountName: string ,
enrollmentAccountName: string ,
$expand: string ,
$filter: string ,
}

⚐ Response (200)

{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_GetBillingAccountInvoice (new)
Description :  Gets an invoice by billing account name and ID. 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}/invoices/{invoiceName}
{
api-version: string ,
billingAccountName: string ,
invoiceName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

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

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/{invoiceName}/pricesheet/default/download
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceName: string ,
}

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PriceSheet_DownloadByBillingProfile (new)
Description :  Gets a URL to download the current month's pricesheet for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.This API is hereby deprecated in favor of https://docs.microsoft.com/en-us/rest/api/cost-management/2022-02-01-preview/price-sheet/download-by-billing-profile. We highly recommend you move to the new preview version, as the csv file in the current preview version will have 500k max size that cannot scale with Azure product growth.
Reference :  Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/{invoiceName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Transfer (new)
Description :  Moves a subscription's charges to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported 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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/transfer
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingSubscriptionName: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationBillingProfileId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
billingSubscriptionName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ValidateTransfer (new)
Description :  Validates if a subscription'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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/validateTransferEligibility
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingSubscriptionName: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationBillingProfileId: string ,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_Transfer (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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}/transfer
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
productName: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationBillingProfileId: string ,
}
,
}

⚐ Response (200)

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

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ValidateTransfer (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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}/validateTransferEligibility
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
productName: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationBillingProfileId: string ,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Transactions_ListByBillingAccount (new)
Description :  Lists the billed and unbilled transactions by billing account 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}/transactions
{
billingAccountName: string ,
api-version: string ,
periodStartDate: string ,
periodEndDate: string ,
$filter: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Transactions_ListByBillingProfile (new)
Description :  Lists the billed and unbilled transactions by billing profile 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}/transactions
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
periodStartDate: string ,
periodEndDate: string ,
$filter: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Transactions_ListByInvoiceSection (new)
Description :  Lists the billed and 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 ,
api-version: string ,
periodStartDate: string ,
periodEndDate: string ,
$filter: string ,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
viewCharges: enum ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
viewCharges: enum ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_UpdateAutoRenewByInvoiceSection (new)
Description :  Cancel auto renew for product by product id and invoice section name
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}/updateAutoRenew
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
productName: string ,
api-version: string ,
body:
{
autoRenew: enum ,
}
,
}

⚐ Response (200)

{
properties:
{
endDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
InvoiceSections_ElevateToBillingProfile (new)
Description :  Gives the caller permissions on an invoice section based on their billing profile access. 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}/elevate
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/initiateTransfer
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
parameters:
{
properties:
{
recipientEmailId: string ,
resellerId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
transferName: string ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/initiateTransfer
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
parameters:
{
properties:
{
recipientEmailId: string ,
resellerId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
transferName: string ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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}/validateTransfer
{
transferName: string ,
parameters:
{
properties:
{
productDetails:
[
{
productType: enum ,
productId: 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 ,
}
,
]
,
}
,
}
RecipientTransfers_Decline (new)
Description :  Declines a transfer request.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/transfers/{transferName}/declineTransfer
{
transferName: string ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

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

⚼ Request

GET:  /providers/Microsoft.Billing/transfers
{}

⚐ Response (200)

{
value:
[
{
properties:
{
creationTime: string ,
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_GetByDepartment (new)
Description :  Gets the definition for a role 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}/billingRoleDefinitions/{billingRoleDefinitionName}
{
api-version: string ,
billingAccountName: string ,
departmentName: string ,
billingRoleDefinitionName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_GetByEnrollmentAccount (new)
Description :  Gets the definition for a role on an 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}/billingRoleDefinitions/{billingRoleDefinitionName}
{
api-version: string ,
billingAccountName: string ,
enrollmentAccountName: string ,
billingRoleDefinitionName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_ListByDepartment (new)
Description :  Lists the role definitions 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}/billingRoleDefinitions
{
api-version: string ,
billingAccountName: string ,
departmentName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_ListByEnrollmentAccount (new)
Description :  Lists the role definitions for a enrollmentAccount. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
RoleAssignments_Put (new)
Description :  Create or update a billing role assignment.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingRoleAssignmentName: string ,
parameters:
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
name: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userEmailAddress: string ,
userAuthenticationType: string ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByDepartment (new)
Description :  Deletes 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

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentDepartmentRoleAssignments_Put (new)
Description :  Create or update a billing role assignment.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
departmentName: string ,
billingRoleAssignmentName: string ,
parameters:
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
name: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userEmailAddress: string ,
userAuthenticationType: string ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByEnrollmentAccount (new)
Description :  Deletes 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

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccountRoleAssignments_Put (new)
Description :  Create or update a billing role assignment.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
enrollmentAccountName: string ,
billingRoleAssignmentName: string ,
parameters:
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
name: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userEmailAddress: string ,
userAuthenticationType: string ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (201)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_AddByInvoiceSection (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
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
parameters:
{
principalId: string ,
billingRoleDefinitionId: string ,
}
,
}

⚐ Response (201)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/createBillingRoleAssignment
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
principalId: string ,
billingRoleDefinitionId: string ,
}
,
}

⚐ Response (201)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
agreementType: enum ,
customerType: enum ,
accountType: enum ,
billingProfiles:
[
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
]
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplacesEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
organizationId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
agreementType: enum ,
customerType: enum ,
accountType: enum ,
billingProfiles:
[
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
]
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplacesEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
organizationId: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
{
api-version: string ,
billingAccountName: string ,
parameters:
{
properties:
{
displayName: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
agreementType: enum ,
customerType: enum ,
accountType: enum ,
billingProfiles:
[
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
]
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplacesEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
organizationId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
agreementType: enum ,
customerType: enum ,
accountType: enum ,
billingProfiles:
[
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
]
,
enrollmentDetails:
{
startDate: string ,
endDate: string ,
currency: string ,
channel: string ,
policies:
{
accountOwnerViewCharges: boolean ,
departmentAdminViewCharges: boolean ,
marketplacesEnabled: boolean ,
reservedInstancesEnabled: boolean ,
}
,
language: string ,
countryCode: string ,
status: string ,
billingCycle: string ,
}
,
departments:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
organizationId: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingAccount (removed)
Description :  Lists the payment Methods 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
{
billingAccountName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
paymentMethodType: enum ,
details: string ,
expiration: string ,
currency: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PaymentMethods_ListByBillingProfile (removed)
Description :  Lists the payment Methods for 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}/paymentMethods
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
paymentMethodType: enum ,
details: string ,
expiration: string ,
currency: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProfiles_GetEligibilityToDetachPaymentMethod (removed)
Description :  Validates if the default payment method can be detached from the billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

{
isEligible: boolean ,
errorDetails:
[
{
code: enum ,
message: string ,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}

⚐ Response (default)

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

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
invoiceEmailOptIn: boolean ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingProfiles_Update (removed)
Description :  Updates the properties of a billing profile. Currently, displayName, poNumber, bill-to address and invoiceEmailOptIn can be updated. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement or Microsoft Partner Agreement.
Reference :  Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
poNumber: string ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
billingRelationshipType: enum ,
invoiceEmailOptIn: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzurePlans:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
indirectRelationshipInfo:
{
billingAccountName: string ,
billingProfileName: string ,
displayName: string ,
}
,
invoiceSections:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
status: enum ,
statusReasonCode: enum ,
spendingLimit: enum ,
targetClouds:
[
string ,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
InvoiceSections_Update (removed)
Description :  Updates an invoice section. Currently, only displayName 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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
parameters:
{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
state: enum ,
targetCloud: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_GetByCustomer (removed)
Description :  Gets a product 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}/customers/{customerName}/products/{productName}
{
billingAccountName: string ,
customerName: string ,
productName: string ,
api-version: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Transactions_ListByCustomer (removed)
Description :  Lists the billed and 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}/customers/{customerName}/transactions
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
periodStartDate: string ,
periodEndDate: string ,
$filter: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Departments_ListByBillingAccountName (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
{
api-version: string ,
billingAccountName: string ,
$expand: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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}
{
api-version: string ,
billingAccountName: string ,
departmentName: string ,
$expand: string ,
$filter: string ,
}

⚐ Response (200)

{
properties:
{
departmentName: string ,
costCenter: string ,
status: string ,
enrollmentAccounts:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccounts_ListByBillingAccountName (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
{
api-version: string ,
billingAccountName: string ,
$expand: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccounts_GetByEnrollmentAccountId (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}
{
api-version: string ,
billingAccountName: string ,
enrollmentAccountName: string ,
$expand: string ,
$filter: string ,
}

⚐ Response (200)

{
properties:
{
accountName: string ,
costCenter: string ,
accountOwner: string ,
status: string ,
startDate: string ,
endDate: string ,
department: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Invoices_GetBillingAccountInvoice (removed)
Description :  Gets an invoice by billing account name and ID. 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}/invoices/{invoiceName}
{
api-version: string ,
billingAccountName: string ,
invoiceName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

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

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/{invoiceName}/pricesheet/default/download
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceName: string ,
}

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
PriceSheet_DownloadByBillingProfile (removed)
Description :  Gets a URL to download the current month's pricesheet for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement.This API is hereby deprecated in favor of https://docs.microsoft.com/en-us/rest/api/cost-management/2022-02-01-preview/price-sheet/download-by-billing-profile. We highly recommend you move to the new preview version, as the csv file in the current preview version will have 500k max size that cannot scale with Azure product growth.
Reference :  Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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/{billingAccountName}/billingProfiles/{billingProfileName}/invoices/{invoiceName}
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_Transfer (removed)
Description :  Moves a subscription's charges to a new invoice section. The new invoice section must belong to the same billing profile as the existing invoice section. This operation is supported 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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/transfer
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingSubscriptionName: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationBillingProfileId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
billingSubscriptionName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingSubscriptions_ValidateTransfer (removed)
Description :  Validates if a subscription'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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/validateTransferEligibility
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
billingSubscriptionName: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationBillingProfileId: string ,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_Transfer (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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}/transfer
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
productName: string ,
api-version: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationBillingProfileId: string ,
}
,
}

⚐ Response (200)

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

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_ValidateTransfer (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}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}/validateTransferEligibility
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
productName: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationBillingProfileId: string ,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Transactions_ListByBillingAccount (removed)
Description :  Lists the billed and unbilled transactions by billing account 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}/transactions
{
billingAccountName: string ,
api-version: string ,
periodStartDate: string ,
periodEndDate: string ,
$filter: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Transactions_ListByBillingProfile (removed)
Description :  Lists the billed and unbilled transactions by billing profile 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}/transactions
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
periodStartDate: string ,
periodEndDate: string ,
$filter: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Transactions_ListByInvoiceSection (removed)
Description :  Lists the billed and 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 ,
api-version: string ,
periodStartDate: string ,
periodEndDate: string ,
$filter: string ,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
viewCharges: enum ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
viewCharges: enum ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
Products_UpdateAutoRenewByInvoiceSection (removed)
Description :  Cancel auto renew for product by product id and invoice section name
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/products/{productName}/updateAutoRenew
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
productName: string ,
api-version: string ,
body:
{
autoRenew: enum ,
}
,
}

⚐ Response (200)

{
properties:
{
endDate: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
InvoiceSections_ElevateToBillingProfile (removed)
Description :  Gives the caller permissions on an invoice section based on their billing profile access. 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}/elevate
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/initiateTransfer
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
parameters:
{
properties:
{
recipientEmailId: string ,
resellerId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
transferName: string ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/initiateTransfer
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
parameters:
{
properties:
{
recipientEmailId: string ,
resellerId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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

DELETE:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/customers/{customerName}/transfers/{transferName}
{
billingAccountName: string ,
billingProfileName: string ,
customerName: string ,
transferName: string ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
billingProfileId: string ,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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}/validateTransfer
{
transferName: string ,
parameters:
{
properties:
{
productDetails:
[
{
productType: enum ,
productId: 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 ,
}
,
]
,
}
,
}
RecipientTransfers_Decline (removed)
Description :  Declines a transfer request.
Reference :  Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/transfers/{transferName}/declineTransfer
{
transferName: string ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

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

⚼ Request

GET:  /providers/Microsoft.Billing/transfers
{}

⚐ Response (200)

{
value:
[
{
properties:
{
creationTime: string ,
expirationTime: string ,
allowedProductType:
[
string ,
]
,
transferStatus: enum ,
recipientEmailId: string ,
initiatorEmailId: string ,
resellerId: string ,
resellerName: string ,
initiatorCustomerType: string ,
canceledBy: string ,
lastModifiedTime: string ,
detailedTransferStatus:
[
{
productType: enum ,
productId: string ,
transferStatus: enum ,
errorDetails:
{
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_GetByDepartment (removed)
Description :  Gets the definition for a role 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}/billingRoleDefinitions/{billingRoleDefinitionName}
{
api-version: string ,
billingAccountName: string ,
departmentName: string ,
billingRoleDefinitionName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_GetByEnrollmentAccount (removed)
Description :  Gets the definition for a role on an 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}/billingRoleDefinitions/{billingRoleDefinitionName}
{
api-version: string ,
billingAccountName: string ,
enrollmentAccountName: string ,
billingRoleDefinitionName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_ListByDepartment (removed)
Description :  Lists the role definitions 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}/billingRoleDefinitions
{
api-version: string ,
billingAccountName: string ,
departmentName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleDefinitions_ListByEnrollmentAccount (removed)
Description :  Lists the role definitions for a enrollmentAccount. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
Reference :  Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
RoleAssignments_Put (removed)
Description :  Create or update a billing role assignment.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
billingRoleAssignmentName: string ,
parameters:
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
name: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userEmailAddress: string ,
userAuthenticationType: string ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByDepartment (removed)
Description :  Deletes 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

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentDepartmentRoleAssignments_Put (removed)
Description :  Create or update a billing role assignment.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
departmentName: string ,
billingRoleAssignmentName: string ,
parameters:
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
name: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userEmailAddress: string ,
userAuthenticationType: string ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_DeleteByEnrollmentAccount (removed)
Description :  Deletes 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

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
EnrollmentAccountRoleAssignments_Put (removed)
Description :  Create or update a billing role assignment.
Reference :  Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments/{billingRoleAssignmentName}
{
api-version: string ,
billingAccountName: string ,
enrollmentAccountName: string ,
billingRoleAssignmentName: string ,
parameters:
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
createdByUserEmailAddress: string ,
name: string ,
principalId: string ,
principalTenantId: string ,
roleDefinitionId: string ,
scope: string ,
userEmailAddress: string ,
userAuthenticationType: string ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (201)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
BillingRoleAssignments_AddByInvoiceSection (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
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
invoiceSectionName: string ,
parameters:
{
principalId: string ,
billingRoleDefinitionId: string ,
}
,
}

⚐ Response (201)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/createBillingRoleAssignment
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
principalId: string ,
billingRoleDefinitionId: string ,
}
,
}

⚐ Response (201)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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