Generate invoice
Generates a new invoice for an affiliate.
Documentation Index
Fetch the complete documentation index at: https://docs.scaleo.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key passed as query parameter. User must have api_status enabled.
Body
Affiliate to generate invoice for.
3-letter currency code (e.g. USD). Converted to uppercase.
3Invoice amount. If omitted, calculated automatically from balance.
x >= 0Period start date (YYYY-MM-DD).
Period end date (YYYY-MM-DD). Must be >= start_date.
Invoice status: unpaid, paid, draft, etc.
Memo text visible to affiliate.
Internal notes (not visible to affiliate).
Comma-separated offer IDs to include.
Comma-separated commission plan IDs.
Comma-separated commission types: cpc, cpa, rev_share, cpl, lot_fee, flat_fee.
Whether to include referral balance (0 or 1).
0, 1