---
title: "Offboard Customer Route"
method: POST
path: "/api/finance/organizations/{org_id}/offboard"
tags: ["finance"]
---

# Offboard Customer Route

`POST /api/finance/organizations/{org_id}/offboard`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/finance/organizations/{org_id}/offboard`
- Auth: none declared

Stop billing a customer who cancelled, and stop routing their mail.

THIS IS THE ONLY WAY TO SAY A CUSTOMER LEFT. `offboarding_records` is
described throughout the finance module as the sole authority that stops
billing, and until this route existed nothing in v2 could write one --
every row came from the v1 import. Three cancelled customers were found on
2026-08-21 with no record at all, stopped only because their terms happened
to be `expired`. Auto-renew had already minted one of them a fresh term for
the following year.

ONE WRITE, TWO EFFECTS, because the same record is read by both:
finance's invoice generator refuses to bill a period after the last
billable day, and transcription refuses to route newly scanned mail to
the facility (see transcription.service. _assert_facility_still_takes_
scanned_mail). Baltimore County cost 1,373 parcels' worth of scanning,
printing and shipping for want of exactly this.

`finance:write`: deciding a customer has left is the same authority as
invoicing them.

## Path parameters

- `org_id` string, uuid, required

## Request body

- OffboardCustomerRequest: Recording that a customer left. BOTH DATES OPTIONAL, and that is deliberate rather than lax. A record with neither means an immediate stop (billing.last_billable_day), so somebody who knows only that a customer cancelled can say so without inventing a date. Frederick, 2026-08-21, establishing three real cancellation dates: two of them took several exchanges and one was still only inferable from the last invoice. A guessed date presented as a known one is how a refund gets computed wrong.
  - `final_scan_date` string, date, nullable
  - `cancellation_confirmed_date` string, date, nullable
  - `facility_id` string, uuid, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
