GET
/
api
/
external
/
v2
/
transactions
{
  "has_more": true,
  "items": [
    {
      "amount": "120.00",
      "archived_at": "2023-08-30T10:08:08.146343Z",
      "bank_account": {
        "id": 53,
        "url": "https://app.pennylane.com/api/external/v2/bank_accounts/53"
      },
      "categories": [
        {
          "analytical_code": "CODE123",
          "category_group": {
            "id": 229
          },
          "created_at": "2023-08-30T10:08:08.146343Z",
          "id": 421,
          "label": "HR - Salaries",
          "updated_at": "2023-08-30T10:08:08.146343Z",
          "weight": "0.25"
        },
        {
          "analytical_code": "CODE123",
          "category_group": {
            "id": 229
          },
          "created_at": "2023-08-30T10:08:08.146343Z",
          "id": 421,
          "label": "HR - Salaries",
          "updated_at": "2023-08-30T10:08:08.146343Z",
          "weight": "0.25"
        }
      ],
      "created_at": "2023-08-30T10:08:08.146343Z",
      "currency": "EUR",
      "currency_amount": "120.00",
      "currency_fee": "120.00",
      "date": "2023-08-30",
      "fee": "120.00",
      "id": 42,
      "journal_id": 42,
      "label": "VIR SEPA MY SUPPLIER SAS",
      "matched_invoices": {
        "url": "https://app.pennylane.com/api/external/v2/transactions/42/matched_invoices"
      },
      "outstanding_balance": "49.3",
      "updated_at": "2023-08-30T10:08:08.146343Z"
    },
    {
      "amount": "120.00",
      "archived_at": "2023-08-30T10:08:08.146343Z",
      "bank_account": {
        "id": 53,
        "url": "https://app.pennylane.com/api/external/v2/bank_accounts/53"
      },
      "categories": [
        {
          "analytical_code": "CODE123",
          "category_group": {
            "id": 229
          },
          "created_at": "2023-08-30T10:08:08.146343Z",
          "id": 421,
          "label": "HR - Salaries",
          "updated_at": "2023-08-30T10:08:08.146343Z",
          "weight": "0.25"
        },
        {
          "analytical_code": "CODE123",
          "category_group": {
            "id": 229
          },
          "created_at": "2023-08-30T10:08:08.146343Z",
          "id": 421,
          "label": "HR - Salaries",
          "updated_at": "2023-08-30T10:08:08.146343Z",
          "weight": "0.25"
        }
      ],
      "created_at": "2023-08-30T10:08:08.146343Z",
      "currency": "EUR",
      "currency_amount": "120.00",
      "currency_fee": "120.00",
      "date": "2023-08-30",
      "fee": "120.00",
      "id": 42,
      "journal_id": 42,
      "label": "VIR SEPA MY SUPPLIER SAS",
      "matched_invoices": {
        "url": "https://app.pennylane.com/api/external/v2/transactions/42/matched_invoices"
      },
      "outstanding_balance": "49.3",
      "updated_at": "2023-08-30T10:08:08.146343Z"
    }
  ],
  "next_cursor": "dXBkYXRlZF9hdDoxNjc0MTIzNDU2"
}

Query Parameters

cursor
string

Cursor for pagination. Use this to fetch the next set of results. The cursor is an opaque string returned in the previous response's metadata. Leave empty for the first request.

Example:

"dXBkYXRlZF9hdDoxNjc0MTIzNDU2"

limit
string

Number of items to return per request. Defaults to 20 if not specified. Must be between 1 and 100.

Example:

"20"

filter
string

You can choose to filter items on specific fields. Available fields and values:

  • id: eq, not_eq, in, not_in
  • bank_account_id: eq, not_eq, in, not_in
  • journal_id: eq, not_eq, in, not_in
  • date: eq, not_eq, gt, lt, lteq, gteq
Example:

"[{\"field\": \"journal_id\", \"operator\": \"eq\", \"value\": \"42\"}]"

sort
string

You can choose to sort items on specific attributes Sort field may be prefixed with - for descending order. Example : id will sort by ascending order, -id will sort by descending order. Available fields : id

Example:

"id"

Response

200
application/json

A list of transactions

The response is of type object.