InvoiceProperties interface
An invoice.
Properties
amount |
The amount due as of now. |
azure |
The amount of Azure prepayment applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
billed |
The total charges for the invoice billing period. |
billed |
The Id of the active invoice which is originally billed after this invoice was voided. This field is applicable to the void invoices only. NOTE: This property will not be serialized. It can only be populated by the server. |
billing |
The name of the billing profile for which the invoice is generated. NOTE: This property will not be serialized. It can only be populated by the server. |
billing |
The ID of the billing profile for which the invoice is generated. NOTE: This property will not be serialized. It can only be populated by the server. |
credit |
The total refund for returns and cancellations during the invoice billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
credit |
The Id of the invoice which got voided and this credit note was issued as a result. This field is applicable to the credit notes only. NOTE: This property will not be serialized. It can only be populated by the server. |
documents | List of documents available to download and view such as invoice, credit note, or tax receipt. NOTE: This property will not be serialized. It can only be populated by the server. |
document |
The type of the document. NOTE: This property will not be serialized. It can only be populated by the server. |
due |
The due date for the invoice. NOTE: This property will not be serialized. It can only be populated by the server. |
failed |
List of failed payments. NOTE: This property will not be serialized. It can only be populated by the server. |
free |
The amount of free Azure credits applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
invoice |
The date when the invoice was generated. NOTE: This property will not be serialized. It can only be populated by the server. |
invoice |
The end date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format. NOTE: This property will not be serialized. It can only be populated by the server. |
invoice |
The start date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format. NOTE: This property will not be serialized. It can only be populated by the server. |
invoice |
Invoice type. NOTE: This property will not be serialized. It can only be populated by the server. |
is |
Specifies if the invoice is generated as part of monthly invoicing cycle or not. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. NOTE: This property will not be serialized. It can only be populated by the server. |
payments | List of payments. NOTE: This property will not be serialized. It can only be populated by the server. |
purchase |
An optional purchase order number for the invoice. NOTE: This property will not be serialized. It can only be populated by the server. |
rebill |
Rebill details for an invoice. |
refund |
The details of a refund request. |
special |
Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic. NOTE: This property will not be serialized. It can only be populated by the server. |
status | The current status of the invoice. NOTE: This property will not be serialized. It can only be populated by the server. |
subscription |
The name of the billing subscription for which the invoice is generated. NOTE: This property will not be serialized. It can only be populated by the server. |
subscription |
The ID of the subscription for which the invoice is generated. NOTE: This property will not be serialized. It can only be populated by the server. |
sub |
The pre-tax amount due. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
tax |
The amount of tax charged for the billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
total |
The amount due when the invoice was generated. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
Property Details
amountDue
The amount due as of now.
amountDue?: InvoicePropertiesAmountDue
Property Value
azurePrepaymentApplied
The amount of Azure prepayment applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
azurePrepaymentApplied?: InvoicePropertiesAzurePrepaymentApplied
Property Value
billedAmount
The total charges for the invoice billing period.
billedAmount?: InvoicePropertiesBilledAmount
Property Value
billedDocumentId
The Id of the active invoice which is originally billed after this invoice was voided. This field is applicable to the void invoices only. NOTE: This property will not be serialized. It can only be populated by the server.
billedDocumentId?: string
Property Value
string
billingProfileDisplayName
The name of the billing profile for which the invoice is generated. NOTE: This property will not be serialized. It can only be populated by the server.
billingProfileDisplayName?: string
Property Value
string
billingProfileId
The ID of the billing profile for which the invoice is generated. NOTE: This property will not be serialized. It can only be populated by the server.
billingProfileId?: string
Property Value
string
creditAmount
The total refund for returns and cancellations during the invoice billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
creditAmount?: InvoicePropertiesCreditAmount
Property Value
creditForDocumentId
The Id of the invoice which got voided and this credit note was issued as a result. This field is applicable to the credit notes only. NOTE: This property will not be serialized. It can only be populated by the server.
creditForDocumentId?: string
Property Value
string
documents
List of documents available to download and view such as invoice, credit note, or tax receipt. NOTE: This property will not be serialized. It can only be populated by the server.
documents?: InvoiceDocument[]
Property Value
documentType
The type of the document. NOTE: This property will not be serialized. It can only be populated by the server.
documentType?: string
Property Value
string
dueDate
The due date for the invoice. NOTE: This property will not be serialized. It can only be populated by the server.
dueDate?: Date
Property Value
Date
failedPayments
List of failed payments. NOTE: This property will not be serialized. It can only be populated by the server.
failedPayments?: FailedPayment[]
Property Value
freeAzureCreditApplied
The amount of free Azure credits applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
freeAzureCreditApplied?: InvoicePropertiesFreeAzureCreditApplied
Property Value
invoiceDate
The date when the invoice was generated. NOTE: This property will not be serialized. It can only be populated by the server.
invoiceDate?: Date
Property Value
Date
invoicePeriodEndDate
The end date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format. NOTE: This property will not be serialized. It can only be populated by the server.
invoicePeriodEndDate?: Date
Property Value
Date
invoicePeriodStartDate
The start date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format. NOTE: This property will not be serialized. It can only be populated by the server.
invoicePeriodStartDate?: Date
Property Value
Date
invoiceType
Invoice type. NOTE: This property will not be serialized. It can only be populated by the server.
invoiceType?: string
Property Value
string
isMonthlyInvoice
Specifies if the invoice is generated as part of monthly invoicing cycle or not. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. NOTE: This property will not be serialized. It can only be populated by the server.
isMonthlyInvoice?: boolean
Property Value
boolean
payments
List of payments. NOTE: This property will not be serialized. It can only be populated by the server.
payments?: Payment[]
Property Value
Payment[]
purchaseOrderNumber
An optional purchase order number for the invoice. NOTE: This property will not be serialized. It can only be populated by the server.
purchaseOrderNumber?: string
Property Value
string
rebillDetails
Rebill details for an invoice.
rebillDetails?: InvoicePropertiesRebillDetails
Property Value
refundDetails
The details of a refund request.
refundDetails?: InvoicePropertiesRefundDetails
Property Value
specialTaxationType
Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic. NOTE: This property will not be serialized. It can only be populated by the server.
specialTaxationType?: string
Property Value
string
status
The current status of the invoice. NOTE: This property will not be serialized. It can only be populated by the server.
status?: string
Property Value
string
subscriptionDisplayName
The name of the billing subscription for which the invoice is generated. NOTE: This property will not be serialized. It can only be populated by the server.
subscriptionDisplayName?: string
Property Value
string
subscriptionId
The ID of the subscription for which the invoice is generated. NOTE: This property will not be serialized. It can only be populated by the server.
subscriptionId?: string
Property Value
string
subTotal
The pre-tax amount due. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
subTotal?: InvoicePropertiesSubTotal
Property Value
taxAmount
The amount of tax charged for the billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
taxAmount?: InvoicePropertiesTaxAmount
Property Value
totalAmount
The amount due when the invoice was generated. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
totalAmount?: InvoicePropertiesTotalAmount