GoogleApi.DisplayVideo.V1.Model.Invoice (google_api_display_video v0.23.0) View Source

A single Invoice.

Attributes

  • budgetInvoiceGroupingId (type: String.t, default: nil) - Output only. Budget invoice grouping ID associated with the budget segment in the insertion order.
  • budgetSummaries (type: list(GoogleApi.DisplayVideo.V1.Model.BudgetSummary.t), default: nil) - Output only. The list of summarized budget information associated with this invoice.
  • correctedInvoiceId (type: String.t, default: nil) - Output only. The originally issued invoice that is being adjusted by this invoice, if applicable. If there is a corrected invoice, the replaced_invoice_ids field will be empty. May appear on invoice PDF as Reference invoice number.
  • currencyCode (type: String.t, default: nil) - Output only. Invoice currency code in ISO 4217 format.
  • displayName (type: String.t, default: nil) - Output only. Display name of the invoice.
  • dueDate (type: GoogleApi.DisplayVideo.V1.Model.Date.t, default: nil) - Output only. The invoice due date.
  • invoiceId (type: String.t, default: nil) - Output only. The unique ID of the invoice.
  • invoiceType (type: String.t, default: nil) - Output only. The type of invoice document.
  • issueDate (type: GoogleApi.DisplayVideo.V1.Model.Date.t, default: nil) - Output only. The date when the invoice was issued.
  • name (type: String.t, default: nil) - Output only. The resource name of the invoice.
  • nonBudgetMicros (type: String.t, default: nil) - Output only. The total amount of costs or adjustments not tied to a particular budget, in micros of the invoice's currency. For example if currency_code is USD, then 1000000 micros is one US dollar.
  • paymentsAccountId (type: String.t, default: nil) - Output only. The ID of the payments account the invoice belongs to. Appears on the invoice PDF as Billing Account Number.
  • paymentsProfileId (type: String.t, default: nil) - Output only. The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as Billing ID.
  • pdfUrl (type: String.t, default: nil) - Output only. The URL to download a PDF copy of the invoice. Note that this URL is user specific and requires a valid OAuth 2.0 access token to access. The access token must be provided in an Authorization: Bearer HTTP header and be authorized for one of the following scopes: https://www.googleapis.com/auth/display-video-mediaplanning https://www.googleapis.com/auth/display-video The URL will only be usable for 7 days from when the api is called.
  • purchaseOrderNumber (type: String.t, default: nil) - Output only. Purchase order number associated with the invoice.
  • replacedInvoiceIds (type: list(String.t), default: nil) - Output only. The originally issued invoice(s) that is being cancelled by this invoice, if applicable. If there are any replaced invoices, the corrected_invoice_id field will be empty. May appear on invoice PDF as Replaced invoice numbers. Note: There may be multiple replaced invoices due to consolidation of multiple invoices into a single invoice.
  • serviceDateRange (type: GoogleApi.DisplayVideo.V1.Model.DateRange.t, default: nil) - Output only. Service start and end dates which are covered by this invoice.
  • subtotalAmountMicros (type: String.t, default: nil) - Output only. The pre-tax subtotal amount, in micros of the invoice's currency. For example if currency_code is USD, then 1000000 micros is one US dollar.
  • totalAmountMicros (type: String.t, default: nil) - Output only. The invoice total amount, in micros of the invoice's currency. For example if currency_code is USD, then 1000000 micros is one US dollar.
  • totalTaxAmountMicros (type: String.t, default: nil) - Output only. The sum of all taxes in invoice, in micros of the invoice's currency. For example if currency_code is USD, then 1000000 micros is one US dollar.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.DisplayVideo.V1.Model.Invoice{
  budgetInvoiceGroupingId: String.t() | nil,
  budgetSummaries: [GoogleApi.DisplayVideo.V1.Model.BudgetSummary.t()] | nil,
  correctedInvoiceId: String.t() | nil,
  currencyCode: String.t() | nil,
  displayName: String.t() | nil,
  dueDate: GoogleApi.DisplayVideo.V1.Model.Date.t() | nil,
  invoiceId: String.t() | nil,
  invoiceType: String.t() | nil,
  issueDate: GoogleApi.DisplayVideo.V1.Model.Date.t() | nil,
  name: String.t() | nil,
  nonBudgetMicros: String.t() | nil,
  paymentsAccountId: String.t() | nil,
  paymentsProfileId: String.t() | nil,
  pdfUrl: String.t() | nil,
  purchaseOrderNumber: String.t() | nil,
  replacedInvoiceIds: [String.t()] | nil,
  serviceDateRange: GoogleApi.DisplayVideo.V1.Model.DateRange.t() | nil,
  subtotalAmountMicros: String.t() | nil,
  totalAmountMicros: String.t() | nil,
  totalTaxAmountMicros: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.