---
title: "Median journal entries that could be written back to QuickBooks (#2642)"
method: GET
path: "/accountant/companies/{customerId}/integrations/quickbooks/writebacks/eligible"
tags: ["Accountants"]
---

# Median journal entries that could be written back to QuickBooks (#2642)

`GET /accountant/companies/{customerId}/integrations/quickbooks/writebacks/eligible`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/integrations/quickbooks/writebacks/eligible`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Journal entries of the connected QuickBooks company's entity dated on or after the posting cutoff (at most 500, oldest first; `hasMore` when truncated), each with `eligible` and every block reason. Only adjusting entries created in Median are eligible; bank-feed, bill/invoice, payment/payroll, provider-derived, QuickBooks-pulled (including the opening balance) and closing entries, entries with an unmapped or ambiguously mapped account, a Median class, a foreign currency, or a cash/bank/card line whose mapping says QuickBooks' own feed brings that cash are blocked. Read-only.

## Response `200`

Candidates with eligibility

- object
  - `success` true, required
  - `data` object, required
    - `cutoffId` string, uuid, required
    - `cutoffDate` string, date, required
    - `hasMore` boolean, required
    - `candidates` object[], required
      - `journalEntryId` string, uuid, required
      - `entryDate` string, date, required
      - `description` string, required
      - `eligible` boolean, required
      - `blocks` QuickBooksWritebackBlock[], required
        - `code` string, required
        - `detail` string, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `422`: Invalid dates, QuickBooks not connected, or no posting cutoff (QUICKBOOKS_WRITEBACK_NO_CUTOFF)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) · [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) · [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/20090ea32b0d?raw)
