Skip to main content
POST
Create Partner Invoice
Create a new partner invoice. Note that creating an invoice (whether marked as paid or unpaid) will never in itself trigger a payment.

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Body

application/json
network_affiliate_id
integer

The ID of the partner that will be invoiced.

start_time
string

Invoice start date in the YYYY-MM-DD format.

end_time
string

Invoice end date in the YYYY-MM-DD format.

public_notes
string

Notes that will be visible to both network employees and the invoiced partner.

internal_notes
string

Notes that will be visible to network employees but not the invoiced partner.

is_hidden_affiliate
boolean

Determines whether the invoice is visible to the partner or not.

payment_terms
integer

Number of days for the affiliate payment term (e.g. pass 20 for NET 20).

details
object[]

Invoice line items to include.

extra_periods
object[]

Additional billing periods to include.

Response

200 - application/json
network_affiliate_invoice_id
integer

Unique invoice ID.

network_id
integer

Network ID.

network_affiliate_id
integer

The ID of the partner that was invoiced.

status
enum<string>

Invoice status.

Available options:
paid,
unpaid,
deleted
start_time
string

Invoice period start date.

end_time
string

Invoice period end date.

timezone_id
integer

Timezone ID for the invoice period.

balance
number<double>

Outstanding balance.

currency_id
string

Currency code (e.g. USD).

payment_terms
integer

Number of days for the affiliate payment term (e.g. 20 for NET 20).

is_hidden_affiliate
boolean

Whether the invoice is visible to the partner or not.

public_notes
string

Notes visible to both network employees and the invoiced partner.

internal_notes
string

Notes visible to network employees but not the invoiced partner.

time_created
integer

Unix timestamp of creation.

Example:

1734455015

time_saved
integer

Unix timestamp of last update.

Example:

1734455015

relationship
object

Related data. The details and payments keys are always included. The affiliate key is included when relationship=affiliate or relationship=all is passed.

details
object[] | null

Invoice line items (root-level, nullable).

extra_periods
object[] | null

Additional billing periods associated with this invoice.