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. |
| billing |
The name of the billing profile for which the invoice is generated. |
| billing |
The ID of the billing profile for which the invoice is generated. |
| 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. |
| documents | List of documents available to download and view such as invoice, credit note, or tax receipt. |
| document |
The type of the document. |
| due |
The due date for the invoice. |
| failed |
List of failed payments. |
| 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. |
| invoice |
The end date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format. |
| invoice |
The start date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format. |
| invoice |
Invoice type. |
| 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. |
| payments | List of payments. |
| purchase |
An optional purchase order number for the invoice. |
| 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. |
| status | The current status of the invoice. |
| subscription |
The name of the billing subscription for which the invoice is generated. |
| subscription |
The ID of the subscription for which the invoice is generated. |
| 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.
billedDocumentId?: string
Property Value
string
billingProfileDisplayName
The name of the billing profile for which the invoice is generated.
billingProfileDisplayName?: string
Property Value
string
billingProfileId
The ID of the billing profile for which the invoice is generated.
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.
creditForDocumentId?: string
Property Value
string
documents
List of documents available to download and view such as invoice, credit note, or tax receipt.
documents?: InvoiceDocument[]
Property Value
documentType
The type of the document.
documentType?: string
Property Value
string
dueDate
The due date for the invoice.
dueDate?: Date
Property Value
Date
failedPayments
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.
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.
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.
invoicePeriodStartDate?: Date
Property Value
Date
invoiceType
Invoice type.
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.
isMonthlyInvoice?: boolean
Property Value
boolean
payments
purchaseOrderNumber
An optional purchase order number for the invoice.
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.
specialTaxationType?: string
Property Value
string
status
The current status of the invoice.
status?: string
Property Value
string
subscriptionDisplayName
The name of the billing subscription for which the invoice is generated.
subscriptionDisplayName?: string
Property Value
string
subscriptionId
The ID of the subscription for which the invoice is generated.
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