Module Values.InvoiceSummarySource

The invoice that the API retrieved.

Sourcetype nonrec t = {
  1. accountId : AccountIdString.t option;
    (*

    The Amazon Web Services account ID.

    *)
  2. invoiceId : BasicString.t option;
    (*

    The invoice ID.

    *)
  3. issuedDate : Timestamp.t option;
    (*

    The issued date of the invoice.

    *)
  4. dueDate : Timestamp.t option;
    (*

    The invoice due date.

    *)
  5. billSourceAccounts : BillSourceAccountList.t option;
    (*

    The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.

    *)
  6. billSourceAccountsTotalCount : Integer.t option;
    (*

    The total number of accounts that are the bill source of the invoice.

    *)
  7. receiverRole : ReceiverRole.t option;
    (*

    The role of the invoice receiver.

    *)
  8. entity : Entity.t option;
    (*

    The organization name providing Amazon Web Services services.

    *)
  9. billingPeriod : BillingPeriod.t option;
    (*

    The billing period of the invoice-related document.

    *)
  10. invoiceFrequency : InvoiceFrequency.t option;
    (*

    The frequency of the invoice.

    *)
  11. billType : BillType.t option;
    (*

    The type of the bill.

    *)
  12. invoiceType : InvoiceType.t option;
    (*

    The type of invoice.

    *)
  13. commercialInvoiceId : BasicString.t option;
    (*

    The commercial invoice ID. This is only applicable for tax invoices and identifies the associated commercial invoice.

    *)
  14. originalInvoiceId : BasicString.t option;
    (*

    The initial or original invoice ID.

    *)
  15. purchaseOrderNumber : BasicString.t option;
    (*

    The purchase order number associated to the invoice.

    *)
  16. einvoiceDeliveryStatus : EinvoiceDeliveryStatus.t option;
    (*

    The e-invoice delivery status.

    *)
  17. taxAuthorityStatus : TaxAuthorityStatus.t option;
    (*

    The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance.

    *)
  18. baseCurrencyAmount : InvoiceCurrencyAmount.t option;
    (*

    The summary with the product and service currency.

    *)
  19. taxCurrencyAmount : InvoiceCurrencyAmount.t option;
    (*

    The summary with the tax currency.

    *)
  20. paymentCurrencyAmount : InvoiceCurrencyAmount.t option;
    (*

    The summary with the customer configured currency.

    *)
}
Sourceval make : ?accountId:??? -> ?invoiceId:??? -> ?issuedDate:??? -> ?dueDate:??? -> ?billSourceAccounts:??? -> ?billSourceAccountsTotalCount:??? -> ?receiverRole:??? -> ?entity:??? -> ?billingPeriod:??? -> ?invoiceFrequency:??? -> ?billType:??? -> ?invoiceType:??? -> ?commercialInvoiceId:??? -> ?originalInvoiceId:??? -> ?purchaseOrderNumber:??? -> ?einvoiceDeliveryStatus:??? -> ?taxAuthorityStatus:??? -> ?baseCurrencyAmount:??? -> ?taxCurrencyAmount:??? -> ?paymentCurrencyAmount:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `List of [> `String of AccountIdString.t ] list | `String of AccountIdString.t | `Structure of (string * [> `Enum of string | `Integer of Month.t | `String of BasicString.t | `Structure of (string * [> `String of BasicString.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of BasicString.t ]) list ] list | `String of BasicString.t ]) list ]) list ]) list | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t