Invoice
import type { Invoice } from "https://googleapis.deno.dev/v1/dfareporting:v4.ts";
Contains information about a single invoice
§Properties
The list of summarized campaign information associated with this invoice.
The originally issued invoice that is being adjusted by this invoice, if applicable. May appear on invoice PDF as Reference invoice number.
The type of invoice document.
Identifies what kind of resource this is. Value: the fixed string "dfareporting#invoice".
The ID of the payments account the invoice belongs to. Appears on the invoice PDF as Billing Account Number.
The ID of the payments profile the invoice belongs to. Appears on the invoice PDF as Billing ID.
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.
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.