GoogleApi.DFAReporting.V4.Model.Invoice (google_api_dfa_reporting v0.31.0)
View SourceContains information about a single invoice
Attributes
-
campaign_summaries
(type:list(GoogleApi.DFAReporting.V4.Model.CampaignSummary.t)
, default:nil
) - The list of summarized campaign information associated with this invoice. -
correctedInvoiceId
(type:String.t
, default:nil
) - The originally issued invoice that is being adjusted by this invoice, if applicable. May appear on invoice PDF as Reference invoice number. -
currencyCode
(type:String.t
, default:nil
) - Invoice currency code in ISO 4217 format. -
dueDate
(type:String.t
, default:nil
) - The invoice due date. -
id
(type:String.t
, default:nil
) - ID of this invoice. -
invoiceType
(type:String.t
, default:nil
) - The type of invoice document. -
issueDate
(type:String.t
, default:nil
) - The date when the invoice was issued. -
kind
(type:String.t
, default:nil
) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#invoice". -
paymentsAccountId
(type:String.t
, default:nil
) - 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
) - The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as Billing ID. -
pdfUrl
(type:String.t
, default:nil
) - 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. The URL will only be usable for 7 days from when the api is called. -
purchaseOrderNumber
(type:String.t
, default:nil
) - Purchase order number associated with the invoice. -
replacedInvoiceIds
(type:list(String.t)
, default:nil
) - The originally issued invoice(s) that is being cancelled by this invoice, if applicable. 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. -
serviceEndDate
(type:String.t
, default:nil
) - The invoice service end date. -
serviceStartDate
(type:String.t
, default:nil
) - The invoice service start date. -
subtotalAmountMicros
(type:String.t
, default:nil
) - The pre-tax subtotal amount, in micros of the invoice's currency. -
totalAmountMicros
(type:String.t
, default:nil
) - The invoice total amount, in micros of the invoice's currency. -
totalTaxAmountMicros
(type:String.t
, default:nil
) - The sum of all taxes in invoice, in micros of the invoice's currency.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DFAReporting.V4.Model.Invoice{ campaign_summaries: [GoogleApi.DFAReporting.V4.Model.CampaignSummary.t()] | nil, correctedInvoiceId: String.t() | nil, currencyCode: String.t() | nil, dueDate: String.t() | nil, id: String.t() | nil, invoiceType: String.t() | nil, issueDate: String.t() | nil, kind: String.t() | nil, paymentsAccountId: String.t() | nil, paymentsProfileId: String.t() | nil, pdfUrl: String.t() | nil, purchaseOrderNumber: String.t() | nil, replacedInvoiceIds: [String.t()] | nil, serviceEndDate: String.t() | nil, serviceStartDate: String.t() | nil, subtotalAmountMicros: String.t() | nil, totalAmountMicros: String.t() | nil, totalTaxAmountMicros: String.t() | nil }