InvoiceSummary

class oci.onesubscription.models.InvoiceSummary(**kwargs)

Bases: object

Invoice details.

Methods:

__init__(**kwargs)

Initializes a new InvoiceSummary object with values from keyword arguments.

Attributes:

ar_invoices

Gets the ar_invoices of this InvoiceSummary.

bill_to_address

[Required] Gets the bill_to_address of this InvoiceSummary.

bill_to_contact

[Required] Gets the bill_to_contact of this InvoiceSummary.

bill_to_customer

[Required] Gets the bill_to_customer of this InvoiceSummary.

created_by

Gets the created_by of this InvoiceSummary.

currency

[Required] Gets the currency of this InvoiceSummary.

invoice_lines

Gets the invoice_lines of this InvoiceSummary.

organization

[Required] Gets the organization of this InvoiceSummary.

payment_method

[Required] Gets the payment_method of this InvoiceSummary.

payment_term

[Required] Gets the payment_term of this InvoiceSummary.

receipt_method

Gets the receipt_method of this InvoiceSummary.

spm_invoice_number

[Required] Gets the spm_invoice_number of this InvoiceSummary.

status

[Required] Gets the status of this InvoiceSummary.

subscription_number

[Required] Gets the subscription_number of this InvoiceSummary.

time_created

Gets the time_created of this InvoiceSummary.

time_invoice_date

[Required] Gets the time_invoice_date of this InvoiceSummary.

time_updated

Gets the time_updated of this InvoiceSummary.

type

[Required] Gets the type of this InvoiceSummary.

updated_by

Gets the updated_by of this InvoiceSummary.

__init__(**kwargs)

Initializes a new InvoiceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • spm_invoice_number (str) – The value to assign to the spm_invoice_number property of this InvoiceSummary.

  • ar_invoices (str) – The value to assign to the ar_invoices property of this InvoiceSummary.

  • bill_to_customer (oci.onesubscription.models.InvoicingBusinessPartner) – The value to assign to the bill_to_customer property of this InvoiceSummary.

  • bill_to_contact (oci.onesubscription.models.InvoicingUser) – The value to assign to the bill_to_contact property of this InvoiceSummary.

  • bill_to_address (oci.onesubscription.models.InvoicingAddress) – The value to assign to the bill_to_address property of this InvoiceSummary.

  • payment_method (str) – The value to assign to the payment_method property of this InvoiceSummary.

  • payment_term (oci.onesubscription.models.InvoicingPaymentTerm) – The value to assign to the payment_term property of this InvoiceSummary.

  • receipt_method (str) – The value to assign to the receipt_method property of this InvoiceSummary.

  • currency (oci.onesubscription.models.InvoicingCurrency) – The value to assign to the currency property of this InvoiceSummary.

  • organization (oci.onesubscription.models.InvoicingOrganization) – The value to assign to the organization property of this InvoiceSummary.

  • type (str) – The value to assign to the type property of this InvoiceSummary.

  • status (str) – The value to assign to the status property of this InvoiceSummary.

  • subscription_number (str) – The value to assign to the subscription_number property of this InvoiceSummary.

  • time_invoice_date (datetime) – The value to assign to the time_invoice_date property of this InvoiceSummary.

  • time_created (datetime) – The value to assign to the time_created property of this InvoiceSummary.

  • created_by (str) – The value to assign to the created_by property of this InvoiceSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this InvoiceSummary.

  • updated_by (str) – The value to assign to the updated_by property of this InvoiceSummary.

  • invoice_lines (list[oci.onesubscription.models.InvoiceLineSummary]) – The value to assign to the invoice_lines property of this InvoiceSummary.

property ar_invoices

Gets the ar_invoices of this InvoiceSummary. Accounts receivable invoice numbers, comma-separated under one invoice.

Returns

The ar_invoices of this InvoiceSummary.

Return type

str

property bill_to_address

[Required] Gets the bill_to_address of this InvoiceSummary.

Returns

The bill_to_address of this InvoiceSummary.

Return type

oci.onesubscription.models.InvoicingAddress

property bill_to_contact

[Required] Gets the bill_to_contact of this InvoiceSummary.

Returns

The bill_to_contact of this InvoiceSummary.

Return type

oci.onesubscription.models.InvoicingUser

property bill_to_customer

[Required] Gets the bill_to_customer of this InvoiceSummary.

Returns

The bill_to_customer of this InvoiceSummary.

Return type

oci.onesubscription.models.InvoicingBusinessPartner

property created_by

Gets the created_by of this InvoiceSummary. User that executed the SPM invoice process.

Returns

The created_by of this InvoiceSummary.

Return type

str

property currency

[Required] Gets the currency of this InvoiceSummary.

Returns

The currency of this InvoiceSummary.

Return type

oci.onesubscription.models.InvoicingCurrency

property invoice_lines

Gets the invoice_lines of this InvoiceSummary. Invoice lines under a particular invoice.

Returns

The invoice_lines of this InvoiceSummary.

Return type

list[oci.onesubscription.models.InvoiceLineSummary]

property organization

[Required] Gets the organization of this InvoiceSummary.

Returns

The organization of this InvoiceSummary.

Return type

oci.onesubscription.models.InvoicingOrganization

property payment_method

[Required] Gets the payment_method of this InvoiceSummary. Payment method.

Returns

The payment_method of this InvoiceSummary.

Return type

str

property payment_term

[Required] Gets the payment_term of this InvoiceSummary.

Returns

The payment_term of this InvoiceSummary.

Return type

oci.onesubscription.models.InvoicingPaymentTerm

property receipt_method

Gets the receipt_method of this InvoiceSummary. Receipt method of payment mode.

Returns

The receipt_method of this InvoiceSummary.

Return type

str

property spm_invoice_number

[Required] Gets the spm_invoice_number of this InvoiceSummary. SPM (Subscription Plan Management) document number is a functional identifier for invoicing in SPM.

Returns

The spm_invoice_number of this InvoiceSummary.

Return type

str

property status

[Required] Gets the status of this InvoiceSummary. Document status in SPM, which depicts the current invoice state.

Returns

The status of this InvoiceSummary.

Return type

str

property subscription_number

[Required] Gets the subscription_number of this InvoiceSummary. Invoice associated subscription plan number.

Returns

The subscription_number of this InvoiceSummary.

Return type

str

property time_created

Gets the time_created of this InvoiceSummary. SPM invocie creation date.

Returns

The time_created of this InvoiceSummary.

Return type

datetime

property time_invoice_date

[Required] Gets the time_invoice_date of this InvoiceSummary. Invoice date.

Returns

The time_invoice_date of this InvoiceSummary.

Return type

datetime

property time_updated

Gets the time_updated of this InvoiceSummary. SPM invoice updated date.

Returns

The time_updated of this InvoiceSummary.

Return type

datetime

property type

[Required] Gets the type of this InvoiceSummary. Document type in SPM, such as SPM Invoice, SPM Credit Memo, and so on.

Returns

The type of this InvoiceSummary.

Return type

str

property updated_by

Gets the updated_by of this InvoiceSummary. User that updated the SPM invoice.

Returns

The updated_by of this InvoiceSummary.

Return type

str