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 anoverdue_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’soverdue_atis itsdateplus 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 withescalation_delay_daysonPOST /reconciliationsorPATCH /reconciliations/{id}. Changing it also recomputesoverdue_atfor 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 theiroverdue_at. - By hand.
POST /reconciliations/{reconciliation_id}/records/{record_id}/mark_overduesetsoverdue_aton the record’s entry in that reconciliation, to now or to theoverdue_atyou send.
cURL
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 whoseoverdue_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.
Exception fields
Exception (abridged)
POST /reconciliation_exceptions, and change its title, description or status with PATCH /reconciliation_exceptions/{id}.
Put an exception on hold
Useon_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
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.Related
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.