List accounting entries

Changed on

List accounting entries, newest first. Use status=in_review for the review queue or status=failed for entries the platform rejected.

get/v2/accounting/entries

Request

  • Base URL
    https://api.slash.com
  • URL
    https://api.slash.com/v2/accounting/entries
  • Auth
    API key in header X-API-Key

Query parameters

connectionIdstring

The accounting connection to read. Optional when the legal entity has exactly one connection; required (connection_id_required) when it has several. List them at GET /v2/accounting/connections.

cursorstring

The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.

limitinteger

Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.

status'in_review' | 'ready_to_sync' | 'pending_sync' | 'syncing' | 'synced' | 'archived' | 'failed'

Return only entries in this status.

sourceType'transaction' | 'bill'

Return only entries created from transactions, or only from bills.

transactionIdstring

Return the entry that covers one transaction (agg_tx_ prefix). Can't be combined with billId, and combines only with status.

billIdstring

Return the entry for one bill (bill_ prefix). Can't be combined with transactionId, and combines only with status.

cardIdstring

Return only entries for transactions on one card (c_ prefix). Bill entries have no card, so they are never matched.

cardGroupIdstring

Return only entries for transactions on cards in one card group (card_group_ prefix).

virtualAccountIdstring

Return only entries for transactions on one virtual account (subaccount_ prefix).

currencystring

Return only entries whose source transaction was in this ISO-4217 currency, for example EUR for foreign-currency card spend.

dateFromstring date

Return only entries with an accounting date on or after this YYYY-MM-DD date.

dateTostring date

Return only entries with an accounting date on or before this YYYY-MM-DD date.

Response

A page of entries.

Example response

{
  "items": [
    {
      "id": "accounting_entry_2rj4l7hmrrrcv",
      "connectionId": "accounting_connection_2rj4l7hmrrrcv",
      "statusUpdatedAt": "2026-09-19T14:05:22.000Z",
      "date": "2026-09-18",
      "memo": "AWS hosting, September",
      "source": {
        "id": "agg_tx_2rj4l7hmrrrcv"
      },
      "transactionIds": [
        "agg_tx_2rj4l7hmrrrcv"
      ],
      "lineItems": [
        {
          "id": "accounting_line_item_2rj4l7hmrrrcv",
          "description": "AWS hosting",
          "transactionId": "agg_tx_2rj4l7hmrrrcv",
          "dimensions": {
            "account": {
              "id": "accounting_account_2rj4l7hmrrrcv",
              "name": "6100 Software Subscriptions"
            },
            "class": {
              "id": "accounting_class_3sk5m8inssscw",
              "name": "Engineering"
            }
          },
          "customFields": {
            "cf_cost_center": "CC-100"
          }
        }
      ],
      "lineItemLevelDimensions": [
        "account",
        "class"
      ],
      "entryLevelDimensions": [
        "department"
      ],
      "unsupportedDimensions": [
        "customer"
      ],
      "customFields": {
        "cf_approved_by": "jane@acme.com"
      },
      "attachments": [
        {
          "id": "accounting_attachment_2rj4l7hmrrrcv",
          "documentId": "st_2rj4l7hmrrrcv",
          "filename": "receipt-4471.pdf",
          "contentType": "application/pdf"
        }
      ],
      "externalId": "1234",
      "externalUrl": "https://app.qbo.intuit.com/app/expense?txnId=1234",
      "lastSyncError": {
        "code": "qbo_invalid_account_type",
        "message": "The selected account type cannot be used for this type of transaction.",
        "title": "Invalid account type",
        "suggestion": "Use an Expense, Cost of Goods Sold, or Other Current Asset type account instead."
      },
      "createdAt": "2026-09-18T20:11:02.000Z",
      "updatedAt": "2026-09-19T14:05:22.000Z"
    }
  ]
}

Changes