Skip to main content
An exception in End Close is the set of unmatched records in one data stream of one reconciliation that are past due. End Close opens it automatically when the first record goes overdue, keeps it up to date as records arrive and match, and resolves it once nothing is left to look at.

How exceptions fit with the other concepts

  • An exception belongs to one reconciliation and one data stream on it. There is at most one open exception per pair.
  • Its lines are the stream’s records that are unmatched in that reconciliation and past their overdue_at.
  • A line leaves the exception when a rule or a person matches it.
  • Agents investigate exceptions and write a note, with a suggested fix, for each line.

When a record becomes overdue

Each record has an entry in every reconciliation its stream belongs to, and that entry carries an overdue_at timestamp. A record is overdue when it’s still unmatched in the reconciliation and overdue_at has passed. overdue_at is set in one of two ways:
  • From the reconciliation’s escalation delay. When a reconciliation has one (escalation_delay_days), each record’s overdue_at is its date plus that many days. A reconciliation without one doesn’t escalate on its own. Set it under Configure in the app (“Flag unmatched records as overdue after N days”) or with escalation_delay_days on POST /reconciliations or PATCH /reconciliations/{id}. Changing it also recomputes overdue_at for the reconciliation’s unmatched records already loaded, so lowering it can open exceptions for existing records, and raising or clearing it lets an exception with nothing left overdue resolve itself. Records marked overdue by hand keep their overdue_at.
  • By hand. POST /reconciliations/{reconciliation_id}/records/{record_id}/mark_overdue sets overdue_at on the record’s entry in that reconciliation, to now or to the overdue_at you send.
cURL
The record’s stream must be part of the reconciliation (422 otherwise), and a record already matched there can’t be marked overdue (409). Because the subject is the record’s entry in one reconciliation, the same record can be overdue in one reconciliation and matched in another.

Exceptions are live rollups

You don’t add lines to an exception or remove them. End Close works out the lines whenever you read the exception, from the stream’s unmatched records whose overdue_at has passed. So:
  • A record that goes overdue joins the open exception for its stream, or opens a new one.
  • A record that gets matched drops out straight away.
  • When no overdue lines are left, End Close resolves the exception on its own, unless someone is still working on it: it has an assignee, a comment from the last 7 days, or review lines that aren’t done. End Close never resolves an exception that is on_hold.
If records go overdue again later, End Close opens a new exception for the stream.

Exception fields

Exception (abridged)
End Close creates exceptions itself. You can also open one with POST /reconciliation_exceptions, and change its title, description or status with PATCH /reconciliation_exceptions/{id}.

Put an exception on hold

Use on_hold when you have reviewed a break and are waiting on someone else to decide, for example a client choosing to cover a fee or send another payment. An exception on hold stays in the open list and keeps ageing, and new overdue lines for its stream join it. Send an optional hold_reason with the status:
cURL
To take it off hold, set status back to open (or to investigating), or resolve it. Leaving hold clears hold_reason and held_at. List the held exceptions with GET /reconciliation_exceptions?status=on_hold.

Notes and findings

Each overdue line can carry a finding: a short note on what happened to the line and what was checked, plus an optional suggested fix. End Close’s agents write findings (source: "agent"), and your own matching engine can write them through the API (source: "api"). Each line’s review status follows from its finding: to_look_at, looks_right, or done once the record is matched. See Exception findings API.

Review exceptions in the app

The Exceptions page lists the open lines with their notes. Reviewers can approve a suggested fix, keep a line as it is, or confirm every line that looks right in one step. Pick All exceptions to review every open exception in a single table instead of one at a time. See Review exceptions.

Review exceptions

Work through overdue lines in the app.

Exception findings API

Write notes and suggested fixes from your own engine.

Agents

How agents investigate exceptions.

Write off a record

Close a line that will never match, with a reason.