---
title: "Record the date from which Median posts QuickBooks activity (#2642)"
method: POST
path: "/accountant/companies/{customerId}/integrations/quickbooks/posting-cutoff"
tags: ["Accountants"]
---

# Record the date from which Median posts QuickBooks activity (#2642)

`POST /accountant/companies/{customerId}/integrations/quickbooks/posting-cutoff`

## Request

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

Appends a cutoff that supersedes the current one. Activity dated before the cutoff stays read-only. `expectedCurrentCutoffId` must name the cutoff being replaced (null for the first); a stale value returns 409.

## Request body

- object
  - `cutoffDate` string, date, required
  - `reason` string, required
  - `expectedCurrentCutoffId` string, uuid, nullable, required

## Response `200`

The recorded cutoff

- object
  - `success` true, required
  - `data` QuickBooksPostingCutoff, required
    - `id` string, uuid, required
    - `companyId` string, uuid, required
    - `entityId` string, uuid, required
    - `connectionId` string, uuid, required
    - `realmId` string, required
    - `cutoffDate` string, date, required
    - `reason` string, required
    - `setByUserId` string, uuid, required
    - `supersedesId` string, uuid, nullable, required
    - `createdAt` string, date-time, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `409`: The cutoff changed since it was read
- `422`: Validation error, or QuickBooks is not connected

---

[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)
