Compartilhar via


BillingInvoiceProperties Class

Definition

An invoice.

public class BillingInvoiceProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.BillingInvoiceProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.BillingInvoiceProperties>
type BillingInvoiceProperties = class
    interface IJsonModel<BillingInvoiceProperties>
    interface IPersistableModel<BillingInvoiceProperties>
Public Class BillingInvoiceProperties
Implements IJsonModel(Of BillingInvoiceProperties), IPersistableModel(Of BillingInvoiceProperties)
Inheritance
BillingInvoiceProperties
Implements

Constructors

BillingInvoiceProperties()

Initializes a new instance of BillingInvoiceProperties.

Properties

AmountDue

The amount due as of now.

AzurePrepaymentApplied

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

BilledAmount

The total charges for the invoice billing period.

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.

BillingProfileDisplayName

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

BillingProfileId

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

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.

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.

Documents

List of documents available to download and view such as invoice, credit note, or tax receipt.

DocumentType

The type of the document.

DueOn

The due date for the invoice.

FailedPayments

List of failed payments.

FreeAzureCreditApplied

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

InvoiceOn

The date when the invoice was generated.

InvoicePeriodEndOn

The end date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format.

InvoicePeriodStartOn

The start date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format.

InvoiceType

Invoice type.

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.

Payments

List of payments.

PurchaseOrderNumber

An optional purchase order number for the invoice.

RebillDetails

Rebill details for an invoice.

RefundDetails

The details of a refund request.

SpecialTaxationType

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.

SubscriptionDisplayName

The name of the billing subscription for which the invoice is generated.

SubscriptionId

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

SubTotal

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

TaxAmount

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

TotalAmount

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

Explicit Interface Implementations

IJsonModel<BillingInvoiceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BillingInvoiceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingInvoiceProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingInvoiceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BillingInvoiceProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to