AffiliateInvoice Model

An Invoice generated for an Affiliate.

NameTypeDescription
actionsIntegerThe sum of all counts/clicks/conversions found on the invoice's items
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.
amountDecimalCalculated amount of the invoice (sum of amounts for all this invoice's items)
This parameter is non-writable
conversionsNullable IntegerDEPRECATED. Ignore the contents of this field.
currencyStringThe 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_dateDateEnd of date range; use "YYYY-MM-DD" format
idIntegerID of unique, auto-generated object for this invoice
This parameter is non-writable
is_paidBooleanWhether or not the invoice has been paid out
memoStringMemo the Network attaches to the invoice. May be an empty string if no memo was provided.
notesNullable StringInternal 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_dateDateStart of date range; use "YYYY-MM-DD" format
statusStringThe status of the invoiceShow Supported Values
Have a Question? Please contact support@tune.com for technical support.