---
title: "List invoices matched to a bank transaction"
method: GET
path: "/api/external/v2/transactions/{transaction_id}/matched_invoices"
tags: ["Transactions"]
---

# List invoices matched to a bank transaction

`GET /api/external/v2/transactions/{transaction_id}/matched_invoices`

## Request

- Base URL: `https://app.pennylane.com`
- URL: `https://app.pennylane.com/api/external/v2/transactions/{transaction_id}/matched_invoices`
- Auth: OAuth 2
  - Authorization code: `https://app.pennylane.com/oauth/authorize`
  - Token URL: `https://app.pennylane.com/oauth/oauth/token` scopes: `transactions:readonly`, `transactions:all`

List invoices matched to a bank transaction

> ℹ️
> This endpoint requires one of the following scopes: `transactions:readonly`, `transactions:all`

## Path parameters

- `transaction_id` integer, required

## Query parameters

- `cursor` string
- `limit` integer

## Headers

- `X-Company-Id` string

## Response `200`

A list of invoices matched to the bank transaction

- object
  - `items` object[], required
    - `id` integer, required: Invoice identifier
    - `type` 'customer' | 'supplier', required
    - `url` string, required
  - `has_more` boolean, required: Indicates whether additional results are available beyond this set. Use this flag to determine if another request is needed.
  - `next_cursor` string, nullable, required: Cursor to retrieve the next set of results. Include this value in the cursor parameter of your next request to fetch subsequent items. A `null` `next_cursor` in the response indicates no further results.

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `403`: Access to this resource forbidden
- `404`: The resource was not found

## Changes

- **2026-11-03** `871f863307e5`: 1 info
  - added the new optional `header` request parameter `X-Company-Id`

[Operation history](https://skmtc.dev/pennylane/apis/company-v2/changes/api/external/v2/transactions/:transaction_id/matched_invoices/get.md)

---

[API](https://skmtc.dev/pennylane/apis/company-v2.md) - [All operations](https://skmtc.dev/pennylane/apis/company-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/pennylane/apis/company-v2/revisions/871f863307e5?raw)
