Class Invoice
A single invoice.
Implements
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3.Data
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class Invoice : IDirectResponseSchema
Properties
BudgetInvoiceGroupingId
The budget grouping ID for this invoice. This field will only be set if the invoice level of the corresponding billing profile was set to "Budget invoice grouping ID".
Declaration
[JsonProperty("budgetInvoiceGroupingId")]
public virtual string BudgetInvoiceGroupingId { get; set; }
Property Value
Type | Description |
---|---|
string |
BudgetSummaries
The list of summarized information for each budget associated with this invoice. This field will only be set if the invoice detail level of the corresponding billing profile was set to "Budget level PO".
Declaration
[JsonProperty("budgetSummaries")]
public virtual IList<BudgetSummary> BudgetSummaries { get; set; }
Property Value
Type | Description |
---|---|
IList<BudgetSummary> |
CorrectedInvoiceId
The ID of the original invoice being adjusted by this invoice, if applicable. May appear on the invoice PDF
as Reference invoice number
. If replaced_invoice_ids is set, this field will be empty.
Declaration
[JsonProperty("correctedInvoiceId")]
public virtual string CorrectedInvoiceId { get; set; }
Property Value
Type | Description |
---|---|
string |
CurrencyCode
The currency used in the invoice in ISO 4217 format.
Declaration
[JsonProperty("currencyCode")]
public virtual string CurrencyCode { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
The display name of the invoice.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
DueDate
The date when the invoice is due.
Declaration
[JsonProperty("dueDate")]
public virtual Date DueDate { get; set; }
Property Value
Type | Description |
---|---|
Date |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
InvoiceId
The unique ID of the invoice.
Declaration
[JsonProperty("invoiceId")]
public virtual string InvoiceId { get; set; }
Property Value
Type | Description |
---|---|
string |
InvoiceType
The type of invoice document.
Declaration
[JsonProperty("invoiceType")]
public virtual string InvoiceType { get; set; }
Property Value
Type | Description |
---|---|
string |
IssueDate
The date when the invoice was issued.
Declaration
[JsonProperty("issueDate")]
public virtual Date IssueDate { get; set; }
Property Value
Type | Description |
---|---|
Date |
Name
The resource name of the invoice.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NonBudgetMicros
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 represents one US dollar.
Declaration
[JsonProperty("nonBudgetMicros")]
public virtual long? NonBudgetMicros { get; set; }
Property Value
Type | Description |
---|---|
long? |
PaymentsAccountId
The ID of the payments account the invoice belongs to. Appears on the invoice PDF as Billing Account Number
.
Declaration
[JsonProperty("paymentsAccountId")]
public virtual string PaymentsAccountId { get; set; }
Property Value
Type | Description |
---|---|
string |
PaymentsProfileId
The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as Billing ID
.
Declaration
[JsonProperty("paymentsProfileId")]
public virtual string PaymentsProfileId { get; set; }
Property Value
Type | Description |
---|---|
string |
PdfUrl
The URL to download a PDF copy of the invoice. 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 be valid for 7 days after retrieval of this invoice object or until this invoice is retrieved again.
Declaration
[JsonProperty("pdfUrl")]
public virtual string PdfUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
PurchaseOrderNumber
Purchase order number associated with the invoice.
Declaration
[JsonProperty("purchaseOrderNumber")]
public virtual string PurchaseOrderNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
ReplacedInvoiceIds
The ID(s) of any originally issued invoice that is being cancelled by this invoice, if applicable. Multiple
invoices may be listed if those invoices are being consolidated into a single invoice. May appear on invoice
PDF as Replaced invoice numbers
. If corrected_invoice_id is set, this field will be empty.
Declaration
[JsonProperty("replacedInvoiceIds")]
public virtual IList<string> ReplacedInvoiceIds { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ServiceDateRange
The service start and end dates which are covered by this invoice.
Declaration
[JsonProperty("serviceDateRange")]
public virtual DateRange ServiceDateRange { get; set; }
Property Value
Type | Description |
---|---|
DateRange |
SubtotalAmountMicros
The pre-tax subtotal amount, in micros of the invoice's currency. For example, if currency_code is USD
,
then 1000000 represents one US dollar.
Declaration
[JsonProperty("subtotalAmountMicros")]
public virtual long? SubtotalAmountMicros { get; set; }
Property Value
Type | Description |
---|---|
long? |
TotalAmountMicros
The invoice total amount, in micros of the invoice's currency. For example, if currency_code is USD
, then
1000000 represents one US dollar.
Declaration
[JsonProperty("totalAmountMicros")]
public virtual long? TotalAmountMicros { get; set; }
Property Value
Type | Description |
---|---|
long? |
TotalTaxAmountMicros
The sum of all taxes in invoice, in micros of the invoice's currency. For example, if currency_code is
USD
, then 1000000 represents one US dollar.
Declaration
[JsonProperty("totalTaxAmountMicros")]
public virtual long? TotalTaxAmountMicros { get; set; }
Property Value
Type | Description |
---|---|
long? |