Invoice Constructors
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.
Overloads
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. |
Invoice()
Initializes a new instance of the Invoice class.
public Invoice();
Public Sub New ()
Applies to
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.
public Invoice(string id = default, string name = default, string type = default, DateTime? dueDate = default, DateTime? invoiceDate = default, string status = default, Microsoft.Azure.Management.Billing.Models.Amount amountDue = default, Microsoft.Azure.Management.Billing.Models.Amount azurePrepaymentApplied = default, Microsoft.Azure.Management.Billing.Models.Amount billedAmount = default, Microsoft.Azure.Management.Billing.Models.Amount creditAmount = default, Microsoft.Azure.Management.Billing.Models.Amount freeAzureCreditApplied = default, Microsoft.Azure.Management.Billing.Models.Amount subTotal = default, Microsoft.Azure.Management.Billing.Models.Amount taxAmount = default, Microsoft.Azure.Management.Billing.Models.Amount totalAmount = default, DateTime? invoicePeriodStartDate = default, DateTime? invoicePeriodEndDate = default, string invoiceType = default, bool? isMonthlyInvoice = default, string billingProfileId = default, string billingProfileDisplayName = default, string purchaseOrderNumber = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.Document> documents = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.PaymentProperties> payments = default, string subscriptionId = default);
new Microsoft.Azure.Management.Billing.Models.Invoice : string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * Microsoft.Azure.Management.Billing.Models.Amount * Microsoft.Azure.Management.Billing.Models.Amount * Microsoft.Azure.Management.Billing.Models.Amount * Microsoft.Azure.Management.Billing.Models.Amount * Microsoft.Azure.Management.Billing.Models.Amount * Microsoft.Azure.Management.Billing.Models.Amount * Microsoft.Azure.Management.Billing.Models.Amount * Microsoft.Azure.Management.Billing.Models.Amount * Nullable<DateTime> * Nullable<DateTime> * string * Nullable<bool> * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.Document> * System.Collections.Generic.IList<Microsoft.Azure.Management.Billing.Models.PaymentProperties> * string -> Microsoft.Azure.Management.Billing.Models.Invoice
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional dueDate As Nullable(Of DateTime) = Nothing, Optional invoiceDate As Nullable(Of DateTime) = Nothing, Optional status As String = Nothing, Optional amountDue As Amount = Nothing, Optional azurePrepaymentApplied As Amount = Nothing, Optional billedAmount As Amount = Nothing, Optional creditAmount As Amount = Nothing, Optional freeAzureCreditApplied As Amount = Nothing, Optional subTotal As Amount = Nothing, Optional taxAmount As Amount = Nothing, Optional totalAmount As Amount = Nothing, Optional invoicePeriodStartDate As Nullable(Of DateTime) = Nothing, Optional invoicePeriodEndDate As Nullable(Of DateTime) = Nothing, Optional invoiceType As String = Nothing, Optional isMonthlyInvoice As Nullable(Of Boolean) = Nothing, Optional billingProfileId As String = Nothing, Optional billingProfileDisplayName As String = Nothing, Optional purchaseOrderNumber As String = Nothing, Optional documents As IList(Of Document) = Nothing, Optional payments As IList(Of PaymentProperties) = Nothing, Optional subscriptionId As String = Nothing)
Parameters
- id
- String
Resource Id.
- name
- String
Resource name.
- type
- String
Resource type.
- status
- String
The current status of the invoice. Possible values include: 'Due', 'OverDue', 'Paid'
- amountDue
- Amount
The amount due as of now.
- azurePrepaymentApplied
- Amount
The amount of Azure prepayment applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- billedAmount
- Amount
The total charges for the invoice billing period.
- creditAmount
- Amount
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.
- freeAzureCreditApplied
- Amount
The amount of free Azure credits applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- subTotal
- Amount
The pre-tax amount due. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- taxAmount
- Amount
The amount of tax charged for the billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- totalAmount
- Amount
The amount due when the invoice was generated. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
The start date of the billing period for which the invoice is generated.
The end date of the billing period for which the invoice is generated.
- invoiceType
- String
Invoice type. Possible values include: 'AzureService', 'AzureMarketplace', 'AzureSupport'
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.
- billingProfileId
- String
The ID of the billing profile for which the invoice is generated.
- billingProfileDisplayName
- String
The name of the billing profile for which the invoice is generated.
- purchaseOrderNumber
- String
An optional purchase order number for the invoice.
- payments
- IList<PaymentProperties>
List of payments.
- subscriptionId
- String
The ID of the subscription for which the invoice is generated.
Applies to
Azure SDK for .NET