Invoice Class
An invoice.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.billing.models._models_py3.ResourceInvoice
Constructor
Invoice(**kwargs)
Variables
- id
- str
Resource Id.
- name
- str
Resource name.
- type
- str
Resource type.
- due_date
- datetime
The due date for the invoice.
- invoice_date
- datetime
The date when the invoice was generated.
- status
- str or InvoiceStatus
The current status of the invoice. Possible values include: "Due", "OverDue", "Paid", "Void".
- amount_due
- Amount
The amount due as of now.
- azure_prepayment_applied
- Amount
The amount of Azure prepayment applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- billed_amount
- Amount
The total charges for the invoice billing period.
- credit_amount
- 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.
- free_azure_credit_applied
- Amount
The amount of free Azure credits applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- sub_total
- Amount
The pre-tax amount due. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- tax_amount
- Amount
The amount of tax charged for the billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- total_amount
- Amount
The amount due when the invoice was generated. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement.
- invoice_period_start_date
- datetime
The start date of the billing period for which the invoice is generated.
- invoice_period_end_date
- datetime
The end date of the billing period for which the invoice is generated.
- invoice_type
- str or InvoiceType
Invoice type. Possible values include: "AzureService", "AzureMarketplace", "AzureSupport".
- is_monthly_invoice
- bool
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.
- billing_profile_id
- str
The ID of the billing profile for which the invoice is generated.
- billing_profile_display_name
- str
The name of the billing profile for which the invoice is generated.
- purchase_order_number
- str
An optional purchase order number for the invoice.
- payments
- list[PaymentProperties]
List of payments.
- rebill_details
- dict[str, RebillDetails]
Rebill details for an invoice.
- document_type
- str or InvoiceDocumentType
The type of the document. Possible values include: "Invoice", "CreditNote".
- billed_document_id
- str
The Id of the active invoice which is originally billed after this invoice was voided. This field is applicable to the void invoices only.
- credit_for_document_id
- str
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.
- subscription_id
- str
The ID of the subscription for which the invoice is generated.
Feedback
Submit and view feedback for