PayPal · Schema

Search Data

The invoice search parameters.

BillingCommerceDisputesInvoicesOrderPaymentsPayoutsSubscriptionTokensWebhook

Properties

Name Type Description
recipient_email string Filters the search by the email address.
recipient_first_name string Filters the search by the recipient first name.
recipient_last_name string Filters the search by the recipient last name.
recipient_business_name string Filters the search by the recipient business name.
invoice_number string Filters the search by the invoice number.
status array An array of status values.
reference string The reference data, such as a PO number.
currency_code object The [three-character ISO-4217 currency code](/docs/integration/direct/rest/currency-codes/) that identifies the currency.
memo string A private bookkeeping memo for the user.
total_amount_range object Filters the search by the total amount.
invoice_date_range object Filters the search by a date range for the invoice, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6).
due_date_range object Filters the search by a due date range for the invoice, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6).
payment_date_range object
creation_date_range object Filters the search by a creation date range for the invoice, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6).
archived boolean Indicates whether to list merchant-archived invoices in the response. Value is:
  • true. Response lists only merchant-archived invoices.
  • false. Response lists onl
fields array A CSV file of fields to return for the user, if available. Because the invoice object can be very large, field filtering is required. Valid collection fields are items, payments
View JSON Schema on GitHub

JSON Schema

paypal-search-data-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/search_data",
  "title": "Search Data",
  "type": "object",
  "description": "The invoice search parameters.",
  "properties": {
    "recipient_email": {
      "type": "string",
      "maxLength": 254,
      "description": "Filters the search by the email address."
    },
    "recipient_first_name": {
      "type": "string",
      "description": "Filters the search by the recipient first name.",
      "maxLength": 140
    },
    "recipient_last_name": {
      "type": "string",
      "description": "Filters the search by the recipient last name.",
      "maxLength": 140
    },
    "recipient_business_name": {
      "type": "string",
      "description": "Filters the search by the recipient business name.",
      "maxLength": 300
    },
    "invoice_number": {
      "type": "string",
      "maxLength": 25,
      "description": "Filters the search by the invoice number."
    },
    "status": {
      "type": "array",
      "description": "An array of status values.",
      "items": {
        "$ref": "#/components/schemas/invoice_status"
      },
      "maxItems": 5
    },
    "reference": {
      "type": "string",
      "description": "The reference data, such as a PO number.",
      "maxLength": 120
    },
    "currency_code": {
      "$ref": "#/components/schemas/currency_code",
      "description": "The [three-character ISO-4217 currency code](/docs/integration/direct/rest/currency-codes/) that identifies the currency."
    },
    "memo": {
      "type": "string",
      "description": "A private bookkeeping memo for the user.",
      "maxLength": 500
    },
    "total_amount_range": {
      "$ref": "#/components/schemas/amount_range",
      "description": "Filters the search by the total amount."
    },
    "invoice_date_range": {
      "$ref": "#/components/schemas/date_range",
      "description": "Filters the search by a date range for the invoice, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6)."
    },
    "due_date_range": {
      "$ref": "#/components/schemas/date_range",
      "description": "Filters the search by a due date range for the invoice, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6)."
    },
    "payment_date_range": {
      "$ref": "#/components/schemas/date_time_range"
    },
    "creation_date_range": {
      "$ref": "#/components/schemas/date_time_range",
      "description": "Filters the search by a creation date range for the invoice, in [Internet date and time format](https://tools.ietf.org/html/rfc3339#section-5.6)."
    },
    "archived": {
      "type": "boolean",
      "description": "Indicates whether to list merchant-archived invoices in the response. Value is:<ul><li><code>true</code>. Response lists only merchant-archived invoices.</li><li><code>false</code>. Response lists only unarchived invoices.</li><li><code>null</code>. Response lists all invoices.</li></ul>"
    },
    "fields": {
      "description": "A CSV file of fields to return for the user, if available. Because the invoice object can be very large, field filtering is required. Valid collection fields are <code>items</code>, <code>payments</code>, <code>refunds</code>, <code>additional_recipients_info</code>, and <code>attachments</code>.",
      "type": "array",
      "items": {
        "type": "string",
        "description": "The name of the field."
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/paypal-search-data"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.