Show / Hide Table of Contents

Class Invoice

Contains information about a single invoice

Inheritance
object
Invoice
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dfareporting.v4.Data
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class Invoice : IDirectResponseSchema

Properties

CampaignSummaries

The list of summarized campaign information associated with this invoice.

Declaration
[JsonProperty("campaign_summaries")]
public virtual IList<CampaignSummary> CampaignSummaries { get; set; }
Property Value
Type Description
IList<CampaignSummary>

CorrectedInvoiceId

The originally issued invoice that is being adjusted by this invoice, if applicable. May appear on invoice PDF as Reference invoice number.

Declaration
[JsonProperty("correctedInvoiceId")]
public virtual string CorrectedInvoiceId { get; set; }
Property Value
Type Description
string

CurrencyCode

Invoice currency code in ISO 4217 format.

Declaration
[JsonProperty("currencyCode")]
public virtual string CurrencyCode { get; set; }
Property Value
Type Description
string

DueDate

The invoice due date.

Declaration
[JsonProperty("dueDate")]
public virtual string DueDate { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

ID of this invoice.

Declaration
[JsonProperty("id")]
public virtual string Id { 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 string IssueDate { get; set; }
Property Value
Type Description
string

Kind

Identifies what kind of resource this is. Value: the fixed string "dfareporting#invoice".

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

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. 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.

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 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.

Declaration
[JsonProperty("replacedInvoiceIds")]
public virtual IList<string> ReplacedInvoiceIds { get; set; }
Property Value
Type Description
IList<string>

ServiceEndDate

The invoice service end date.

Declaration
[JsonProperty("serviceEndDate")]
public virtual string ServiceEndDate { get; set; }
Property Value
Type Description
string

ServiceStartDate

The invoice service start date.

Declaration
[JsonProperty("serviceStartDate")]
public virtual string ServiceStartDate { get; set; }
Property Value
Type Description
string

SubtotalAmountMicros

The pre-tax subtotal amount, in micros of the invoice's currency.

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.

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.

Declaration
[JsonProperty("totalTaxAmountMicros")]
public virtual long? TotalTaxAmountMicros { get; set; }
Property Value
Type Description
long?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX