---
title: "Find Partner Invoices (Advanced)"
method: POST
path: "/networks/billings/affiliates/invoicestable"
tags: ["Billing"]
---

# Find Partner Invoices (Advanced)

`POST /networks/billings/affiliates/invoicestable`

## Query parameters

- `page` integer
- `page_size` integer

## Request body

- object
  - `search_terms` object[] — Search terms are optional but can be used to look for specific words.
    - `search_type` 'name', required — The name of the field used for search. On this endpoint, it can only be "name". Searching by name will search the invoice ID, the partner ID, and the partner name.
    - `value` string, required — The value to search.
  - `filters` object — Filters are optional but are usually used to narrow down the set of invoices returned. They can be used individually or combined in a single request.
    - `network_affiliate_ids` integer[] — One or multiple partner IDs for which the invoices will be returned.
    - `network_affiliate_invoice_ids` integer[] — Return a specific set of invoice IDs.
    - `account_manager_ids` integer[] — One or multiple account manager IDs for which the invoices will be returned.
    - `min_start_time` string — Only return invoices with a start date greater or equal to this value. Takes a date in the YYYY-MM-DD format.
    - `max_end_time` string — Only return invoices with an end date smaller or equal to this value. Takes a date in the YYYY-MM-DD format.
    - `min_balance` number, double — Only return invoices with an invoice balance greater than this value.
    - `max_balance` number, double — Only return invoices with an invoice balance smaller than this value.
    - `affiliate_invoice_status` 'paid' | 'unpaid' | 'deleted' — Only return invoices with this status.
    - `is_hidden_affiliate` 'visible' | 'hidden' — Filters based on whether the invoice is visible to the partner or not.
    - `payment_terms` integer[] — Only return invoices for which the payment terms is a number of days contained in this array.

## Response `200`

- object
  - `invoices` object[]
    - `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.
    - `network_affiliate_name` string — Name of the invoiced partner.
    - `affiliate_invoice_status` 'paid' | 'unpaid' | 'deleted' — Invoice status.
    - `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.
    - `billed` number, double — Total billed amount.
    - `paid` number, double — Total paid amount.
    - `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.
    - `payment_type` string — Payment method type for this invoice.
    - `is_payable` boolean — Whether this invoice can be paid.
    - `payment_status` string — Payment processing status.
    - `paid_date` integer — Unix timestamp of when the invoice was paid. 0 if not yet paid.
    - `time_created` integer — Unix timestamp of creation.
    - `time_saved` integer — Unix timestamp of last update.
  - `paging` object
    - `page` integer
    - `page_size` integer
    - `total_count` integer

---

[API](https://skmtc.net/everflow/apis/everflow-network-api-tracking-domains.md) · [All operations](https://skmtc.net/everflow/apis/everflow-network-api-tracking-domains/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/everflow/everflow-network-api-tracking-domains/versions/39242cee0e32/schema)
