Invoices

Lists receipt-backed invoices for accounts the caller can read. Legacy invoices are excluded.

get/invoices

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Query parameters

account_id, string
status, 'draft' | 'open' | 'authorized' | 'paid' | 'pending' | 'uncollectible' | 'unresolved' | 'void'
statuses, string[]

Only invoices in any of these statuses. Repeat the parameter to pass several. Combined with status when both are sent.

[
  "open"
]
overdue, boolean
scheduled, boolean

Set to true for drafts with a scheduled send, which are the invoices with a scheduled_send_at. Set to false for every other invoice. Only a draft can be scheduled. An open invoice is not scheduled, even with a scheduled_charge_at. A draft that sends on its due date (sends_on_due_date) is not scheduled. Omit to include both.

member_id, string
product_id, string
variant_id, string

Only invoices that bill this variant, prefixed plan_. An invoice matches when the variant is any of its items.

query, string

Text to find invoices by. It matches the invoice number, the invoice ID, and the customer's name, username, or email address. A number matches with or without its prefix and leading zeros. A name matches on any part. An email address matches from its start. The match ignores letter case. % and _ match literally. Combined with the other filters. Name matches need member:basic:read. Email matches need member:email:read.

created_after, string date-time
created_before, string date-time
order, 'created_at' | 'due_at' | 'status' | 'scheduled_send_at'

Field to sort by. Sorting by due_at or scheduled_send_at puts invoices without that date last in both directions.

direction, 'asc' | 'desc'
first, integer

Number of results to return from the start of the range.

after, string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

last, integer

Number of results to return from the end of the range.

before, string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

include_total_count, boolean

Set to true to return the number of matching results in page_info.total_count. Send first=0 as well to return the count without any results.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

invoices

object required
data, Invoice[] required
page_info, object required

Example response

{
  "data": [
    {
      "account": {
        "id": "biz_xxxxxxxxxxxxxx",
        "title": "Shine Time Auto Detailing"
      },
      "account_id": "biz_xxxxxxxxxxxxxx",
      "amount_due": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "billing_address": {
        "city": "Austin",
        "country": "US",
        "line1": "1114 Bouldin Ave",
        "line2": "Unit B",
        "name": "Dana Whitfield",
        "postal_code": "78704",
        "state": "TX"
      },
      "buyer_fee_amount": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "checkout_link": "pay_xxxxxxxxxxxxxx.xxxxxxxxxxxxxxxx",
      "created_at": "2026-01-01T12:00:00.000Z",
      "customer_name": "Dana",
      "email_address": "marcus@shinetime.example",
      "id": "pay_xxxxxxxxxxxxxx",
      "issued_at": "2026-01-01T12:00:00.000Z",
      "line_items": [
        {
          "description": "Deposit toward invoice #xxxxxxxx: $225.00 of $750.00, $525.00 left after this",
          "discount_amount": {
            "amount": "-1234.56",
            "currency": "usd",
            "decimals": 2,
            "display_decimals": 2
          },
          "id": "li_xxxxxxxxxxxxxx",
          "initial_price": {
            "amount": "-1234.56",
            "currency": "usd",
            "decimals": 2,
            "display_decimals": 2
          },
          "label": "Deposit (30%)",
          "product_id": "prod_xxxxxxxxxxxxxx",
          "quantity": 1,
          "subtotal": {
            "amount": "-1234.56",
            "currency": "usd",
            "decimals": 2,
            "display_decimals": 2
          },
          "tax_amount": {
            "amount": "-1234.56",
            "currency": "usd",
            "decimals": 2,
            "display_decimals": 2
          },
          "unit_amount": {
            "amount": "-1234.56",
            "currency": "usd",
            "decimals": 2,
            "display_decimals": 2
          },
          "variant_id": "plan_xxxxxxxxxxxxxx"
        }
      ],
      "member_id": "mber_xxxxxxxxxxxxxx",
      "membership_id": "mem_xxxxxxxxxxxxxx",
      "metadata": {},
      "number": "#xxxxxxxx",
      "object": "invoice",
      "payment_method_configuration": {
        "disabled": [
          "card"
        ],
        "enabled": [
          "card"
        ],
        "include_platform_defaults": true
      },
      "payment_method_id": "payt_xxxxxxxxxxxxxx",
      "quote_accepted_at": "2026-01-01T12:00:00.000Z",
      "quote_amount_paid": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "quote_amount_remaining": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "quote_deposit_amount": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "quote_sent_at": "2026-01-01T12:00:00.000Z",
      "quote_signature_url": "https://whop-assets-example.s3.amazonaws.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "quote_signer_name": "Dana Whitfield",
      "recipient_emails": [
        "marcus@shinetime.example"
      ],
      "scheduled_collection_method": "charge_automatically",
      "status": "open",
      "subtotal": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "tax_amount": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "time_zone": "UTC",
      "total": {
        "amount": "-1234.56",
        "currency": "usd",
        "decimals": 2,
        "display_decimals": 2
      },
      "totals_status": "final",
      "updated_at": "2026-01-01T12:00:00.000Z"
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes