Microsoft.Billing (preview:2018-11-01)

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

BillingAccounts_List (new)
Description Lists all billing accounts for which a user has access.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
accountType: enum ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
company: string ,
country: string ,
invoiceSections:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
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 ,
}
,
}
,
]
,
hasReadAccess: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingAccounts_Get (new)
Description Get the billing account by id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
accountType: enum ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
company: string ,
country: string ,
invoiceSections:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
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 ,
}
,
}
,
]
,
hasReadAccess: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingAccounts_Update (new)
Description The operation to update a billing account.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
{
api-version: string ,
billingAccountName: string ,
parameters:
{
properties:
{
displayName: string ,
accountType: enum ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
company: string ,
country: string ,
invoiceSections:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
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 ,
}
,
}
,
]
,
hasReadAccess: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
accountType: enum ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
company: string ,
country: string ,
invoiceSections:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
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 ,
}
,
}
,
]
,
hasReadAccess: boolean ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
PaymentMethods_ListByBillingAccountName (new)
Description Lists the Payment Methods by billing account Id.
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 ,
}
,
}
Addresses_Validate (new)
Description Validates the 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 ,
}
,
}
AvailableBalances_GetByBillingProfile (new)
Description The latest available credit balance for a given billingAccountName and billingProfileName.
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 ,
}
,
}
PaymentMethods_ListByBillingProfileName (new)
Description Lists the Payment Methods by billing profile Id.
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 ,
}
,
}
BillingProfiles_ListByBillingAccountName (new)
Description Lists all billing profiles for a user which that user has access to.
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingProfiles_Create (new)
Description The operation to create a BillingProfile.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles
{
api-version: string ,
billingAccountName: 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 ,
enableAzureSKUs:
[
{
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingProfiles_Get (new)
Description Get the billing profile by id.
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingProfiles_Update (new)
Description The operation to update a billing profile.
Reference Link ¶

⚼ Request

PUT:  /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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Customers_ListByBillingAccountName (new)
Description Lists all customers which the current user can work with on-behalf of a partner.
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 ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Customers_Get (new)
Description Get the customer by id.
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 ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_ListByBillingAccountName (new)
Description Lists all invoice sections for which a user has access.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_Create (new)
Description The operation to create a InvoiceSection.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_ListByBillingProfileName (new)
Description Lists all invoice sections under a billing profile for which a user has access.
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 ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_ListByCreateSubscriptionPermission (new)
Description Lists all invoiceSections with create subscription permission for a user.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_Get (new)
Description Get the InvoiceSection by id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_Update (new)
Description The operation to update a InvoiceSection.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}
{
api-version: string ,
billingAccountName: string ,
invoiceSectionName: string ,
parameters:
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Departments_ListByBillingAccountName (new)
Description Lists all departments for which a user has access.
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 ,
}
,
}
Departments_Get (new)
Description Get the department by id.
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 ,
}
,
}
EnrollmentAccounts_ListByBillingAccountName (new)
Description Lists all Enrollment Accounts for which a user has access.
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 ,
}
,
}
EnrollmentAccounts_GetByEnrollmentAccountId (new)
Description Get the enrollment account by id.
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 ,
}
,
}
Invoices_ListByBillingAccountName (new)
Description List of invoices for a billing account.
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 ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingProfileId: string ,
billingProfileName: string ,
purchaseOrderNumber: string ,
documentUrls:
[
{
kind: enum ,
url: string ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
PriceSheet_Download (new)
Description Download price sheet for an invoice.
Reference Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Invoices_ListByBillingProfile (new)
Description List of invoices for a billing profile.
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 ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingProfileId: string ,
billingProfileName: string ,
purchaseOrderNumber: string ,
documentUrls:
[
{
kind: enum ,
url: string ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Invoices_Get (new)
Description Get the invoice by name.
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 ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingProfileId: string ,
billingProfileName: string ,
purchaseOrderNumber: string ,
documentUrls:
[
{
kind: enum ,
url: string ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_ListByBillingAccountName (new)
Description Lists billing subscriptions by billing account name.
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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_ListByBillingProfileName (new)
Description Lists billing subscriptions by billing profile name.
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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_ListByCustomerName (new)
Description Lists billing subscription by customer name.
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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_GetByCustomerName (new)
Description Get a single billing subscription by name.
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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_ListByInvoiceSectionName (new)
Description Lists billing subscription by invoice section name.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/billingSubscriptions
{
billingAccountName: 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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_Get (new)
Description Get a single billing subscription by name.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}
{
billingAccountName: 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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_Transfer (new)
Description Transfers the subscription from one invoice section to another within a billing account.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/transfer
{
billingAccountName: string ,
invoiceSectionName: string ,
billingSubscriptionName: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationBillingProfileId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
billingSubscriptionName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_ValidateTransfer (new)
Description Validates the transfer of billing subscriptions across invoice sections.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/validateTransferEligibility
{
billingAccountName: 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 ,
}
,
}
Products_ListByBillingAccountName (new)
Description Lists products by billing account name.
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 ,
availabilityId: string ,
parentProductId: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Products_ListByInvoiceSectionName (new)
Description Lists products by invoice section name.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/products
{
billingAccountName: 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 ,
availabilityId: string ,
parentProductId: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Products_Get (new)
Description Get a single product by name.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/products/{productName}
{
billingAccountName: 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 ,
availabilityId: string ,
parentProductId: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Products_Transfer (new)
Description The operation to transfer a Product to another invoice section.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/products/{productName}/transfer
{
billingAccountName: 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 ,
availabilityId: string ,
parentProductId: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Products_ValidateTransfer (new)
Description Validates the transfer of products across invoice sections.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/products/{productName}/validateTransferEligibility
{
billingAccountName: 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 ,
}
,
}
Transactions_ListByBillingAccountName (new)
Description Lists the transactions by billing account name for given start and end date.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/transactions
{
billingAccountName: string ,
api-version: string ,
startDate: string ,
endDate: 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 ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
subscriptionId: string ,
subscriptionName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Transactions_ListByBillingProfileName (new)
Description Lists the transactions by billing profile name for given start date and end date.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
startDate: string ,
endDate: 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 ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
subscriptionId: string ,
subscriptionName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Transactions_ListByCustomerName (new)
Description Lists the transactions by invoice section name for given start date and end date.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/transactions
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
startDate: string ,
endDate: 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 ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
subscriptionId: string ,
subscriptionName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Transactions_ListByInvoiceSectionName (new)
Description Lists the transactions by invoice section name for given start date and end date.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/transactions
{
billingAccountName: string ,
invoiceSectionName: string ,
api-version: string ,
startDate: string ,
endDate: 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 ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
subscriptionId: string ,
subscriptionName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Policies_GetByBillingProfileName (new)
Description The policy for a given billing account name and billing profile name.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
marketplacePurchasesAllowed: boolean ,
reservationPurchasesAllowed: boolean ,
subscriptionOwnerCanViewCharges: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Policies_Update (new)
Description The operation to update a policy.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
properties:
{
marketplacePurchasesAllowed: boolean ,
reservationPurchasesAllowed: boolean ,
subscriptionOwnerCanViewCharges: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
marketplacePurchasesAllowed: boolean ,
reservationPurchasesAllowed: boolean ,
subscriptionOwnerCanViewCharges: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingProperty_Get (new)
Description Get billing property by subscription Id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
billingTenantId: string ,
billingAccountId: string ,
billingAccountName: string ,
billingProfileId: string ,
billingProfileName: string ,
costCenter: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
productId: string ,
productName: string ,
skuId: string ,
skuDescription: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Products_UpdateAutoRenewByBillingAccountName (new)
Description Cancel auto renew for product by product id and billing account name
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
endDate: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/products/{productName}/updateAutoRenew
{
billingAccountName: 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 ,
}
,
}
InvoiceSections_ElevateToBillingProfile (new)
Description Elevates the caller's access to match their billing profile access.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/elevate
{
billingAccountName: string ,
invoiceSectionName: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Transfers_Initiate (new)
Description Initiates the request to transfer the legacy subscriptions or RIs.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/initiateTransfer
{
billingAccountName: string ,
invoiceSectionName: string ,
body:
{
properties:
{
billingProfileId: string ,
recipientEmailId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: 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 ,
}
,
}
Transfers_Get (new)
Description Gets the transfer details for given transfer Id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: 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 ,
}
,
}
Transfers_Cancel (new)
Description Cancels the transfer for given transfer Id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: 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 ,
}
,
}
Transfers_List (new)
Description Lists all transfer's details initiated from given invoice section.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/transfers
{
billingAccountName: string ,
invoiceSectionName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: 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 ,
}
,
}
RecipientTransfers_Accept (new)
Description Accepts the transfer with given transfer Id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
allowedProductType:
[
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 ,
}
,
}
RecipientTransfers_Decline (new)
Description Declines the transfer with given transfer Id.
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 ,
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 ,
}
,
}
RecipientTransfers_Get (new)
Description Gets the transfer with given transfer Id.
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 ,
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 ,
}
,
}
RecipientTransfers_List (new)
Description Lists the transfers received by 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 ,
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 ,
}
,
}
Operations_List (new)
Description Lists all of the available billing REST API operations.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingPermissions_ListByBillingAccount (new)
Description Lists all billing permissions for the caller under a billing account.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingPermissions_ListByCustomers (new)
Description Lists all billing permissions for the caller under customer.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingPermissions_ListByInvoiceSections (new)
Description Lists all billing permissions for the caller under invoice section.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingPermissions_ListByBillingProfile (new)
Description Lists all billingPermissions for the caller has for a billing account.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_GetByBillingAccountName (new)
Description Gets the role definition for a role
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_GetByInvoiceSectionName (new)
Description Gets the role definition for a role
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_GetByBillingProfileName (new)
Description Gets the role definition for a role
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_ListByBillingAccountName (new)
Description Lists the role definition for a billing account
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_ListByInvoiceSectionName (new)
Description Lists the role definition for an invoice Section
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_ListByBillingProfileName (new)
Description Lists the role definition for a Billing Profile
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_GetByBillingAccount (new)
Description Get the role assignment for the caller
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_DeleteByBillingAccountName (new)
Description Delete the role assignment on this billing account
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_GetByInvoiceSectionName (new)
Description Get the role assignment for the caller on the invoice Section
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_DeleteByInvoiceSectionName (new)
Description Delete the role assignment on the invoice Section
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_GetByBillingProfileName (new)
Description Get the role assignment for the caller on the Billing Profile
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_DeleteByBillingProfileName (new)
Description Delete the role assignment on this Billing Profile
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_ListByBillingAccountName (new)
Description Get the role assignments on the Billing Account
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_AddByBillingAccountName (new)
Description The operation to add a role assignment to a billing account.
Reference Link ¶

⚼ Request

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

⚐ Response (201)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_ListByInvoiceSectionName (new)
Description Get the role assignments on the invoice Section
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_AddByInvoiceSectionName (new)
Description The operation to add a role assignment to a invoice Section.
Reference Link ¶

⚼ Request

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

⚐ Response (201)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_ListByBillingProfileName (new)
Description Get the role assignments on the Billing Profile
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_AddByBillingProfileName (new)
Description The operation to add a role assignment to a billing profile.
Reference Link ¶

⚼ Request

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

⚐ Response (201)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Agreements_ListByBillingAccountName (new)
Description Lists all 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 ,
effectiveDate: string ,
expirationDate: string ,
participants:
[
{
status: string ,
statusDate: string ,
email: string ,
}
,
]
,
status: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Agreements_Get (new)
Description Get the agreement by name.
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 ,
effectiveDate: string ,
expirationDate: string ,
participants:
[
{
status: string ,
statusDate: string ,
email: string ,
}
,
]
,
status: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
LineOfCredits_Get (new)
Description Get the current line of credit.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
creditLimit:
{
currency: string ,
value: number ,
}
,
reason: string ,
remainingBalance:
{
currency: string ,
value: number ,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
LineOfCredits_Update (new)
Description Increase the current line of credit.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingAccounts/default/lineOfCredit/default
{
api-version: string ,
subscriptionId: string ,
parameters:
{
properties:
{
creditLimit:
{
currency: string ,
value: number ,
}
,
reason: string ,
remainingBalance:
{
currency: string ,
value: number ,
}
,
status: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creditLimit:
{
currency: string ,
value: number ,
}
,
reason: string ,
remainingBalance:
{
currency: string ,
value: number ,
}
,
status: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
accountType: enum ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
company: string ,
country: string ,
invoiceSections:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
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 ,
}
,
}
,
]
,
hasReadAccess: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingAccounts_Get (removed)
Description Get the billing account by id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
accountType: enum ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
company: string ,
country: string ,
invoiceSections:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
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 ,
}
,
}
,
]
,
hasReadAccess: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingAccounts_Update (removed)
Description The operation to update a billing account.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}
{
api-version: string ,
billingAccountName: string ,
parameters:
{
properties:
{
displayName: string ,
accountType: enum ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
company: string ,
country: string ,
invoiceSections:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
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 ,
}
,
}
,
]
,
hasReadAccess: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
accountType: enum ,
address:
{
firstName: string ,
lastName: string ,
companyName: string ,
addressLine1: string ,
addressLine2: string ,
addressLine3: string ,
city: string ,
region: string ,
country: string ,
postalCode: string ,
}
,
company: string ,
country: string ,
invoiceSections:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
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 ,
}
,
}
,
]
,
hasReadAccess: boolean ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
PaymentMethods_ListByBillingAccountName (removed)
Description Lists the Payment Methods by billing account Id.
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 ,
}
,
}
Addresses_Validate (removed)
Description Validates the 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 ,
}
,
}
AvailableBalances_GetByBillingProfile (removed)
Description The latest available credit balance for a given billingAccountName and billingProfileName.
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 ,
}
,
}
PaymentMethods_ListByBillingProfileName (removed)
Description Lists the Payment Methods by billing profile Id.
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 ,
}
,
}
BillingProfiles_ListByBillingAccountName (removed)
Description Lists all billing profiles for a user which that user has access to.
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingProfiles_Create (removed)
Description The operation to create a BillingProfile.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles
{
api-version: string ,
billingAccountName: 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 ,
enableAzureSKUs:
[
{
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingProfiles_Get (removed)
Description Get the billing profile by id.
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingProfiles_Update (removed)
Description The operation to update a billing profile.
Reference Link ¶

⚼ Request

PUT:  /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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Customers_ListByBillingAccountName (removed)
Description Lists all customers which the current user can work with on-behalf of a partner.
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 ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Customers_Get (removed)
Description Get the customer by id.
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 ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
resellers:
[
{
resellerId: string ,
description: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_ListByBillingAccountName (removed)
Description Lists all invoice sections for which a user has access.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_Create (removed)
Description The operation to create a InvoiceSection.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_ListByBillingProfileName (removed)
Description Lists all invoice sections under a billing profile for which a user has access.
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 ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_ListByCreateSubscriptionPermission (removed)
Description Lists all invoiceSections with create subscription permission for a user.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_Get (removed)
Description Get the InvoiceSection by id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
InvoiceSections_Update (removed)
Description The operation to update a InvoiceSection.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}
{
api-version: string ,
billingAccountName: string ,
invoiceSectionName: string ,
parameters:
{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
displayName: string ,
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 ,
}
,
invoiceEmailOptIn: boolean ,
isClassic: boolean ,
invoiceDay: integer ,
currency: string ,
enabledAzureSKUs:
[
{
skuId: string ,
skuDescription: string ,
}
,
]
,
invoiceSections:
[
string ,
]
,
}
,
}
,
]
,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Departments_ListByBillingAccountName (removed)
Description Lists all departments for which a user has access.
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 ,
}
,
}
Departments_Get (removed)
Description Get the department by id.
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 ,
}
,
}
EnrollmentAccounts_ListByBillingAccountName (removed)
Description Lists all Enrollment Accounts for which a user has access.
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 ,
}
,
}
EnrollmentAccounts_GetByEnrollmentAccountId (removed)
Description Get the enrollment account by id.
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 ,
}
,
}
Invoices_ListByBillingAccountName (removed)
Description List of invoices for a billing account.
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 ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingProfileId: string ,
billingProfileName: string ,
purchaseOrderNumber: string ,
documentUrls:
[
{
kind: enum ,
url: string ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
PriceSheet_Download (removed)
Description Download price sheet for an invoice.
Reference Link ¶

⚼ Request

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

⚐ Response (202)

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

⚐ Response (200)

{
expiryTime: string ,
url: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Invoices_ListByBillingProfile (removed)
Description List of invoices for a billing profile.
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 ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingProfileId: string ,
billingProfileName: string ,
purchaseOrderNumber: string ,
documentUrls:
[
{
kind: enum ,
url: string ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Invoices_Get (removed)
Description Get the invoice by name.
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 ,
}
,
billedAmount:
{
currency: string ,
value: number ,
}
,
invoicePeriodStartDate: string ,
invoicePeriodEndDate: string ,
billingProfileId: string ,
billingProfileName: string ,
purchaseOrderNumber: string ,
documentUrls:
[
{
kind: enum ,
url: string ,
}
,
]
,
payments:
[
{
paymentType: string ,
amount:
{
currency: string ,
value: number ,
}
,
date: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_ListByBillingAccountName (removed)
Description Lists billing subscriptions by billing account name.
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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_ListByBillingProfileName (removed)
Description Lists billing subscriptions by billing profile name.
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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_ListByCustomerName (removed)
Description Lists billing subscription by customer name.
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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_GetByCustomerName (removed)
Description Get a single billing subscription by name.
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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_ListByInvoiceSectionName (removed)
Description Lists billing subscription by invoice section name.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/billingSubscriptions
{
billingAccountName: 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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_Get (removed)
Description Get a single billing subscription by name.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}
{
billingAccountName: 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 ,
billingProfileName: string ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
skuId: string ,
skuDescription: string ,
reseller:
{
resellerId: string ,
description: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_Transfer (removed)
Description Transfers the subscription from one invoice section to another within a billing account.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/transfer
{
billingAccountName: string ,
invoiceSectionName: string ,
billingSubscriptionName: string ,
parameters:
{
destinationInvoiceSectionId: string ,
destinationBillingProfileId: string ,
}
,
}

⚐ Response (200)

{
properties:
{
billingSubscriptionName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingSubscriptions_ValidateTransfer (removed)
Description Validates the transfer of billing subscriptions across invoice sections.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/billingSubscriptions/{billingSubscriptionName}/validateTransferEligibility
{
billingAccountName: 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 ,
}
,
}
Products_ListByBillingAccountName (removed)
Description Lists products by billing account name.
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 ,
availabilityId: string ,
parentProductId: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Products_ListByInvoiceSectionName (removed)
Description Lists products by invoice section name.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/products
{
billingAccountName: 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 ,
availabilityId: string ,
parentProductId: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Products_Get (removed)
Description Get a single product by name.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/products/{productName}
{
billingAccountName: 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 ,
availabilityId: string ,
parentProductId: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Products_Transfer (removed)
Description The operation to transfer a Product to another invoice section.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/products/{productName}/transfer
{
billingAccountName: 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 ,
availabilityId: string ,
parentProductId: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Products_ValidateTransfer (removed)
Description Validates the transfer of products across invoice sections.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/products/{productName}/validateTransferEligibility
{
billingAccountName: 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 ,
}
,
}
Transactions_ListByBillingAccountName (removed)
Description Lists the transactions by billing account name for given start and end date.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/transactions
{
billingAccountName: string ,
api-version: string ,
startDate: string ,
endDate: 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 ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
subscriptionId: string ,
subscriptionName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Transactions_ListByBillingProfileName (removed)
Description Lists the transactions by billing profile name for given start date and end date.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/transactions
{
billingAccountName: string ,
billingProfileName: string ,
api-version: string ,
startDate: string ,
endDate: 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 ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
subscriptionId: string ,
subscriptionName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Transactions_ListByCustomerName (removed)
Description Lists the transactions by invoice section name for given start date and end date.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/customers/{customerName}/transactions
{
billingAccountName: string ,
customerName: string ,
api-version: string ,
startDate: string ,
endDate: 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 ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
subscriptionId: string ,
subscriptionName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Transactions_ListByInvoiceSectionName (removed)
Description Lists the transactions by invoice section name for given start date and end date.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/transactions
{
billingAccountName: string ,
invoiceSectionName: string ,
api-version: string ,
startDate: string ,
endDate: 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 ,
customerId: string ,
customerDisplayName: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
billingProfileId: string ,
billingProfileName: string ,
subscriptionId: string ,
subscriptionName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Policies_GetByBillingProfileName (removed)
Description The policy for a given billing account name and billing profile name.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
marketplacePurchasesAllowed: boolean ,
reservationPurchasesAllowed: boolean ,
subscriptionOwnerCanViewCharges: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Policies_Update (removed)
Description The operation to update a policy.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/policies/default
{
api-version: string ,
billingAccountName: string ,
billingProfileName: string ,
parameters:
{
properties:
{
marketplacePurchasesAllowed: boolean ,
reservationPurchasesAllowed: boolean ,
subscriptionOwnerCanViewCharges: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
marketplacePurchasesAllowed: boolean ,
reservationPurchasesAllowed: boolean ,
subscriptionOwnerCanViewCharges: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingProperty_Get (removed)
Description Get billing property by subscription Id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
billingTenantId: string ,
billingAccountId: string ,
billingAccountName: string ,
billingProfileId: string ,
billingProfileName: string ,
costCenter: string ,
invoiceSectionId: string ,
invoiceSectionName: string ,
productId: string ,
productName: string ,
skuId: string ,
skuDescription: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Products_UpdateAutoRenewByBillingAccountName (removed)
Description Cancel auto renew for product by product id and billing account name
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
endDate: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/products/{productName}/updateAutoRenew
{
billingAccountName: 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 ,
}
,
}
InvoiceSections_ElevateToBillingProfile (removed)
Description Elevates the caller's access to match their billing profile access.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/elevate
{
billingAccountName: string ,
invoiceSectionName: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Transfers_Initiate (removed)
Description Initiates the request to transfer the legacy subscriptions or RIs.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/initiateTransfer
{
billingAccountName: string ,
invoiceSectionName: string ,
body:
{
properties:
{
billingProfileId: string ,
recipientEmailId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: 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 ,
}
,
}
Transfers_Get (removed)
Description Gets the transfer details for given transfer Id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: 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 ,
}
,
}
Transfers_Cancel (removed)
Description Cancels the transfer for given transfer Id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: 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 ,
}
,
}
Transfers_List (removed)
Description Lists all transfer's details initiated from given invoice section.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/invoiceSections/{invoiceSectionName}/transfers
{
billingAccountName: string ,
invoiceSectionName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
creationTime: string ,
expirationTime: string ,
invoiceSectionId: string ,
billingAccountId: 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 ,
}
,
}
RecipientTransfers_Accept (removed)
Description Accepts the transfer with given transfer Id.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
creationTime: string ,
expirationTime: string ,
allowedProductType:
[
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 ,
}
,
}
RecipientTransfers_Decline (removed)
Description Declines the transfer with given transfer Id.
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 ,
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 ,
}
,
}
RecipientTransfers_Get (removed)
Description Gets the transfer with given transfer Id.
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 ,
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 ,
}
,
}
RecipientTransfers_List (removed)
Description Lists the transfers received by 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 ,
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 ,
}
,
}
Operations_List (removed)
Description Lists all of the available billing REST API operations.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingPermissions_ListByBillingAccount (removed)
Description Lists all billing permissions for the caller under a billing account.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingPermissions_ListByCustomers (removed)
Description Lists all billing permissions for the caller under customer.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingPermissions_ListByInvoiceSections (removed)
Description Lists all billing permissions for the caller under invoice section.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingPermissions_ListByBillingProfile (removed)
Description Lists all billingPermissions for the caller has for a billing account.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_GetByBillingAccountName (removed)
Description Gets the role definition for a role
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_GetByInvoiceSectionName (removed)
Description Gets the role definition for a role
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_GetByBillingProfileName (removed)
Description Gets the role definition for a role
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_ListByBillingAccountName (removed)
Description Lists the role definition for a billing account
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_ListByInvoiceSectionName (removed)
Description Lists the role definition for an invoice Section
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleDefinitions_ListByBillingProfileName (removed)
Description Lists the role definition for a Billing Profile
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_GetByBillingAccount (removed)
Description Get the role assignment for the caller
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_DeleteByBillingAccountName (removed)
Description Delete the role assignment on this billing account
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_GetByInvoiceSectionName (removed)
Description Get the role assignment for the caller on the invoice Section
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_DeleteByInvoiceSectionName (removed)
Description Delete the role assignment on the invoice Section
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_GetByBillingProfileName (removed)
Description Get the role assignment for the caller on the Billing Profile
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_DeleteByBillingProfileName (removed)
Description Delete the role assignment on this Billing Profile
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_ListByBillingAccountName (removed)
Description Get the role assignments on the Billing Account
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_AddByBillingAccountName (removed)
Description The operation to add a role assignment to a billing account.
Reference Link ¶

⚼ Request

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

⚐ Response (201)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_ListByInvoiceSectionName (removed)
Description Get the role assignments on the invoice Section
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_AddByInvoiceSectionName (removed)
Description The operation to add a role assignment to a invoice Section.
Reference Link ¶

⚼ Request

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

⚐ Response (201)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_ListByBillingProfileName (removed)
Description Get the role assignments on the Billing Profile
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
BillingRoleAssignments_AddByBillingProfileName (removed)
Description The operation to add a role assignment to a billing profile.
Reference Link ¶

⚼ Request

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

⚐ Response (201)

{
value:
[
{
properties:
{
createdOn: string ,
createdByPrincipalTenantId: string ,
createdByPrincipalId: string ,
name: string ,
principalId: string ,
roleDefinitionName: string ,
scope: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Agreements_ListByBillingAccountName (removed)
Description Lists all 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 ,
effectiveDate: string ,
expirationDate: string ,
participants:
[
{
status: string ,
statusDate: string ,
email: string ,
}
,
]
,
status: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
Agreements_Get (removed)
Description Get the agreement by name.
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 ,
effectiveDate: string ,
expirationDate: string ,
participants:
[
{
status: string ,
statusDate: string ,
email: string ,
}
,
]
,
status: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
LineOfCredits_Get (removed)
Description Get the current line of credit.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
creditLimit:
{
currency: string ,
value: number ,
}
,
reason: string ,
remainingBalance:
{
currency: string ,
value: number ,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
}
,
}
LineOfCredits_Update (removed)
Description Increase the current line of credit.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingAccounts/default/lineOfCredit/default
{
api-version: string ,
subscriptionId: string ,
parameters:
{
properties:
{
creditLimit:
{
currency: string ,
value: number ,
}
,
reason: string ,
remainingBalance:
{
currency: string ,
value: number ,
}
,
status: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creditLimit:
{
currency: string ,
value: number ,
}
,
reason: string ,
remainingBalance:
{
currency: string ,
value: number ,
}
,
status: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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