AffiliateInvoice Model

An Invoice generated for an Affiliate.

NameTypeDescription
advertiser_idNullable IntegerIf the Preference "enable_invoices_by_advertiser" is enabled, this can contain the Advertiser ID for invoices generated by Advertiser. May be NULL or set to "0" otherwise.
affiliate_idIntegerThe ID of the Affiliate account the invoice belongs to. Cannot be modified after the Affiliate Invoice is created.
actionsIntegerThe sum of all counts/clicks/conversions found on the invoice's items
amountDecimalThe amount of the invoice (this is the sum of amounts for all this invoice's items)
conversionsNullable IntegerDEPRECATED. Ignore the contents of this field.
currencyString The 3-character currency code identifying the currency used for this invoice. If not specified, defaults to the Network currency defined by the "network_currency" Preference.
datetimeDatetimeThe time the invoice was created
end_dateDate End of date range; use "YYYY-MM-DD" format
idIntegerID of unique, auto-generated object for this invoice
This parameter is non-writable
is_paidBoolean Whether or not the invoice has been paid out
memoString Memo the Network attaches to the invoice. May be an empty string if no memo was provided.
notesNullable String Internal notes the Network can attach to this invoice
receipt_idNullable IntegerThe ID of the Affiliate Receipt that was used to pay the invoice. Present if the invoice has been paid out.
start_dateDate Start of date range; use "YYYY-MM-DD" format
statusString The status of the invoiceShow Supported Values
Have a Question? Please contact support@tune.com for technical support.