ArmBillingModelFactory.BillingInvoiceProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BillingInvoiceProperties.
public static Azure.ResourceManager.Billing.Models.BillingInvoiceProperties BillingInvoiceProperties (Azure.ResourceManager.Billing.Models.BillingAmount amountDue = default, Azure.ResourceManager.Billing.Models.BillingAmount azurePrepaymentApplied = default, Azure.ResourceManager.Billing.Models.BillingAmount billedAmount = default, string billedDocumentId = default, string billingProfileDisplayName = default, Azure.Core.ResourceIdentifier billingProfileId = default, Azure.ResourceManager.Billing.Models.BillingAmount creditAmount = default, string creditForDocumentId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.InvoiceDocument> documents = default, Azure.ResourceManager.Billing.Models.InvoiceDocumentType? documentType = default, DateTimeOffset? dueOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingInvoiceFailedPayment> failedPayments = default, Azure.ResourceManager.Billing.Models.BillingAmount freeAzureCreditApplied = default, DateTimeOffset? invoiceOn = default, DateTimeOffset? invoicePeriodEndOn = default, DateTimeOffset? invoicePeriodStartOn = default, Azure.ResourceManager.Billing.Models.BillingInvoiceType? invoiceType = default, bool? isMonthlyInvoice = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingInvoicePayment> payments = default, string purchaseOrderNumber = default, Azure.ResourceManager.Billing.Models.RebillDetails rebillDetails = default, Azure.ResourceManager.Billing.Models.BillingInvoiceStatus? status = default, string subscriptionDisplayName = default, string subscriptionId = default, Azure.ResourceManager.Billing.Models.SpecialTaxationType? specialTaxationType = default, Azure.ResourceManager.Billing.Models.BillingAmount subTotal = default, Azure.ResourceManager.Billing.Models.BillingAmount taxAmount = default, Azure.ResourceManager.Billing.Models.BillingAmount totalAmount = default, Azure.ResourceManager.Billing.Models.RefundDetailsSummary refundDetails = default);
static member BillingInvoiceProperties : Azure.ResourceManager.Billing.Models.BillingAmount * Azure.ResourceManager.Billing.Models.BillingAmount * Azure.ResourceManager.Billing.Models.BillingAmount * string * string * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Billing.Models.BillingAmount * string * seq<Azure.ResourceManager.Billing.Models.InvoiceDocument> * Nullable<Azure.ResourceManager.Billing.Models.InvoiceDocumentType> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.Billing.Models.BillingInvoiceFailedPayment> * Azure.ResourceManager.Billing.Models.BillingAmount * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Billing.Models.BillingInvoiceType> * Nullable<bool> * seq<Azure.ResourceManager.Billing.Models.BillingInvoicePayment> * string * Azure.ResourceManager.Billing.Models.RebillDetails * Nullable<Azure.ResourceManager.Billing.Models.BillingInvoiceStatus> * string * string * Nullable<Azure.ResourceManager.Billing.Models.SpecialTaxationType> * Azure.ResourceManager.Billing.Models.BillingAmount * Azure.ResourceManager.Billing.Models.BillingAmount * Azure.ResourceManager.Billing.Models.BillingAmount * Azure.ResourceManager.Billing.Models.RefundDetailsSummary -> Azure.ResourceManager.Billing.Models.BillingInvoiceProperties
Public Shared Function BillingInvoiceProperties (Optional amountDue As BillingAmount = Nothing, Optional azurePrepaymentApplied As BillingAmount = Nothing, Optional billedAmount As BillingAmount = Nothing, Optional billedDocumentId As String = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional billingProfileId As ResourceIdentifier = Nothing, Optional creditAmount As BillingAmount = Nothing, Optional creditForDocumentId As String = Nothing, Optional documents As IEnumerable(Of InvoiceDocument) = Nothing, Optional documentType As Nullable(Of InvoiceDocumentType) = Nothing, Optional dueOn As Nullable(Of DateTimeOffset) = Nothing, Optional failedPayments As IEnumerable(Of BillingInvoiceFailedPayment) = Nothing, Optional freeAzureCreditApplied As BillingAmount = Nothing, Optional invoiceOn As Nullable(Of DateTimeOffset) = Nothing, Optional invoicePeriodEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional invoicePeriodStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional invoiceType As Nullable(Of BillingInvoiceType) = Nothing, Optional isMonthlyInvoice As Nullable(Of Boolean) = Nothing, Optional payments As IEnumerable(Of BillingInvoicePayment) = Nothing, Optional purchaseOrderNumber As String = Nothing, Optional rebillDetails As RebillDetails = Nothing, Optional status As Nullable(Of BillingInvoiceStatus) = Nothing, Optional subscriptionDisplayName As String = Nothing, Optional subscriptionId As String = Nothing, Optional specialTaxationType As Nullable(Of SpecialTaxationType) = Nothing, Optional subTotal As BillingAmount = Nothing, Optional taxAmount As BillingAmount = Nothing, Optional totalAmount As BillingAmount = Nothing, Optional refundDetails As RefundDetailsSummary = Nothing) As BillingInvoiceProperties
Parameters
- amountDue
- BillingAmount
The amount due as of now.
- azurePrepaymentApplied
- BillingAmount
The amount of Azure prepayment applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- billedAmount
- BillingAmount
The total charges for the invoice billing period.
- billedDocumentId
- String
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
- String
The name of the billing profile for which the invoice is generated.
- billingProfileId
- ResourceIdentifier
The ID of the billing profile for which the invoice is generated.
- creditAmount
- BillingAmount
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
- String
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
- IEnumerable<InvoiceDocument>
List of documents available to download and view such as invoice, credit note, or tax receipt.
- documentType
- Nullable<InvoiceDocumentType>
The type of the document.
- dueOn
- Nullable<DateTimeOffset>
The due date for the invoice.
- failedPayments
- IEnumerable<BillingInvoiceFailedPayment>
List of failed payments.
- freeAzureCreditApplied
- BillingAmount
The amount of free Azure credits applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- invoiceOn
- Nullable<DateTimeOffset>
The date when the invoice was generated.
- invoicePeriodEndOn
- Nullable<DateTimeOffset>
The end date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format.
- invoicePeriodStartOn
- Nullable<DateTimeOffset>
The start date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format.
- invoiceType
- Nullable<BillingInvoiceType>
Invoice type.
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
- IEnumerable<BillingInvoicePayment>
List of payments.
- purchaseOrderNumber
- String
An optional purchase order number for the invoice.
- rebillDetails
- RebillDetails
Rebill details for an invoice.
- status
- Nullable<BillingInvoiceStatus>
The current status of the invoice.
- subscriptionDisplayName
- String
The name of the billing subscription for which the invoice is generated.
- subscriptionId
- String
The ID of the subscription for which the invoice is generated.
- specialTaxationType
- Nullable<SpecialTaxationType>
Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic.
- subTotal
- BillingAmount
The pre-tax amount due. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- taxAmount
- BillingAmount
The amount of tax charged for the billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- totalAmount
- BillingAmount
The amount due when the invoice was generated. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- refundDetails
- RefundDetailsSummary
The details of a refund request.
Returns
A new BillingInvoiceProperties instance for mocking.