Skip to content

InvoiceDetails

Source code in docs_src/capo_payments/types/invoice_details.py
class InvoiceDetails(TypedDict, closed=True):
    invoice_id: "capo_payments.types.invoice_id.InvoiceId"
    """<p>The invoice ID that Amazon Web Services Invoicing issued for the invoice: the document number printed on it, shown in the Amazon Web Services Billing and Cost Management console and returned by the Amazon Web Services Invoicing API as <code>InvoiceId</code>. <code>GetFinancialRecord</code> and <code>BatchGetFinancialRecord</code> also accept it, as <code>invoiceIdentifier</code>.</p>"""
    due_status: NotRequired["capo_payments.types.due_status.DueStatus"]
    """<p>Whether the invoice is due or past its due date. This member is present only while the invoice's <code>status</code> is <code>OUTSTANDING</code>. It's absent when the <code>status</code> is <code>PROCESSING</code>, <code>SETTLED</code>, or <code>CANCELED</code>. The following values are valid:</p> <ul> <li> <p> <code>DUE</code> – The due date hasn't passed.</p> </li> <li> <p> <code>PAST_DUE</code> – The due date has passed, and the invoice is still outstanding.</p> </li> </ul>"""
    billing_period: "capo_payments.types.billing_period.BillingPeriod"
    """<p>The billing period the invoice covers: the period of the usage it bills.</p>"""
    due_date: "datetime.datetime"
    """<p>The calendar date by which the invoice must be paid, as the timestamp of 00:00:00 UTC on that day. The invoice is past due from the following day.</p>"""
    payment_terms: NotRequired["capo_payments.types.payment_terms.PaymentTerms"]
    """<p>The payment terms for the invoice, as Amazon Web Services Invoicing issued them, such as <code>Net30</code>. The due date follows from these terms. This member is absent when Amazon Web Services Invoicing didn't issue payment terms for the invoice.</p>"""
    invoice_frequency: "capo_payments.types.invoice_frequency.InvoiceFrequency"
    """<p>Whether the invoice was issued once or as part of a billing cycle. The following values are valid:</p> <ul> <li> <p> <code>ONE_TIME</code> – A single invoice that isn't part of a billing cycle.</p> </li> <li> <p> <code>RECURRING</code> – One invoice of a billing cycle, such as your monthly invoice.</p> </li> </ul>"""

billing_period instance-attribute

billing_period: BillingPeriod

The billing period the invoice covers: the period of the usage it bills.

due_date instance-attribute

due_date: datetime

The calendar date by which the invoice must be paid, as the timestamp of 00:00:00 UTC on that day. The invoice is past due from the following day.

due_status instance-attribute

due_status: NotRequired[DueStatus]

Whether the invoice is due or past its due date. This member is present only while the invoice's status is OUTSTANDING. It's absent when the status is PROCESSING, SETTLED, or CANCELED. The following values are valid:

  • DUE – The due date hasn't passed.

  • PAST_DUE – The due date has passed, and the invoice is still outstanding.

invoice_frequency instance-attribute

invoice_frequency: InvoiceFrequency

Whether the invoice was issued once or as part of a billing cycle. The following values are valid:

  • ONE_TIME – A single invoice that isn't part of a billing cycle.

  • RECURRING – One invoice of a billing cycle, such as your monthly invoice.

invoice_id instance-attribute

invoice_id: InvoiceId

The invoice ID that Amazon Web Services Invoicing issued for the invoice: the document number printed on it, shown in the Amazon Web Services Billing and Cost Management console and returned by the Amazon Web Services Invoicing API as InvoiceId. GetFinancialRecord and BatchGetFinancialRecord also accept it, as invoiceIdentifier.

payment_terms instance-attribute

payment_terms: NotRequired[PaymentTerms]

The payment terms for the invoice, as Amazon Web Services Invoicing issued them, such as Net30. The due date follows from these terms. This member is absent when Amazon Web Services Invoicing didn't issue payment terms for the invoice.