Share via


Invoice Class

Definition

An invoice.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Invoice : Microsoft.Azure.Management.Billing.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Invoice = class
    inherit Resource
Public Class Invoice
Inherits Resource
Inheritance
Invoice
Attributes

Constructors

Invoice()

Initializes a new instance of the Invoice class.

Invoice(String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, Amount, Amount, Amount, Amount, Amount, Amount, Amount, Amount, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, String, String, String, IList<Document>, IList<PaymentProperties>, String)

Initializes a new instance of the Invoice class.

Properties

AmountDue

Gets the amount due as of now.

AzurePrepaymentApplied

Gets the amount of Azure prepayment applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.

BilledAmount

Gets the total charges for the invoice billing period.

BillingProfileDisplayName

Gets the name of the billing profile for which the invoice is generated.

BillingProfileId

Gets the ID of the billing profile for which the invoice is generated.

CreditAmount

Gets 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.

Documents

Gets list of documents available to download such as invoice and tax receipt.

DueDate

Gets the due date for the invoice.

FreeAzureCreditApplied

Gets the amount of free Azure credits applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.

Id

Gets resource Id.

(Inherited from Resource)
InvoiceDate

Gets the date when the invoice was generated.

InvoicePeriodEndDate

Gets the end date of the billing period for which the invoice is generated.

InvoicePeriodStartDate

Gets the start date of the billing period for which the invoice is generated.

InvoiceType

Gets invoice type. Possible values include: 'AzureService', 'AzureMarketplace', 'AzureSupport'

IsMonthlyInvoice

Gets 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.

Name

Gets resource name.

(Inherited from Resource)
Payments

Gets list of payments.

PurchaseOrderNumber

Gets an optional purchase order number for the invoice.

Status

Gets the current status of the invoice. Possible values include: 'Due', 'OverDue', 'Paid'

SubscriptionId

Gets the ID of the subscription for which the invoice is generated.

SubTotal

Gets the pre-tax amount due. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.

TaxAmount

Gets the amount of tax charged for the billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.

TotalAmount

Gets the amount due when the invoice was generated. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.

Type

Gets resource type.

(Inherited from Resource)

Applies to