Finance exceptions queue
One queue for everything Petawork Finance could not settle by itself, from every module. The kinds, severity and risk, who may assign, resolve and waive, the totals at stake, and the webhook event.
When a Finance module finds something it cannot settle by itself, such as a bill that looks like one you already entered, a vendor whose bank details just changed, or an amount that does not match, it puts an exception on one queue that every module shares. A person (or an agent) then works it: takes it, finds out what happened, and resolves it, or accepts it as it is with a written reason.
Open the queue in Finance > Exceptions (/finance/exceptions). It shows the most severe exceptions first, then the
oldest. Filter by module, kind, severity, entity, assignee and status; the filters are in the page's address, so a link
keeps them. Pick an exception to open it beside the list: what it is about, the expected and actual amounts, who raised
it and when, the buttons your roles allow, and its history on the event chain.
What an exception holds
| Field | What it is |
|---|---|
| Module | The module that raised it, or core for the event chain, parties and exchange rates |
| Kind | What is wrong (the table below) |
| Severity | low, medium, high or critical. Each kind has a default; the module may raise it higher or lower |
| Risk score | 0 to 100, how risky the module judged it |
| Record | The kind and id of the record it is about, such as a bill or a bank line |
| Entity | The entity it belongs to, or none for one that belongs to no entity (a broken event chain) |
| Summary | One line on what was found |
| Expected and actual | The amounts in the currency's minor units, with the currency, when money is involved |
| Status | open, in_review (someone has it), resolved (with what was done) or waived (with the reason) |
| Assignee | The person or agent working it |
Raising the same problem twice does not make two exceptions. While an exception is open or in review, a module that raises the same kind for the same record updates that exception's summary, amounts and risk score instead. Once it is resolved or waived, a new problem with the record opens a new exception.
Kinds
| Kind | Module | Default severity | What it means |
|---|---|---|---|
duplicate |
Payables | high | A bill looks like one already entered |
bank_change |
core | high | A party's bank details changed |
unknown_party |
Capture | medium | A document names a vendor or customer Finance does not know |
amount_mismatch |
Payables | medium | The amount differs from the order or the receipt |
tax_mismatch |
Payables | medium | The tax differs from what the tax code gives |
missing_receipt |
Expenses | low | An expense has no receipt |
over_policy |
Expenses | medium | An expense is over the policy's limit |
over_budget |
Payables | medium | A bill takes a budget past its limit |
unmatched |
Reconciliation | medium | A record found no match |
short_payment |
Billing | medium | A customer paid less than the invoice |
over_commission |
Reconciliation | medium | A commission is higher than agreed |
fx_missing |
core | medium | No exchange rate for the date |
chain_break |
core | critical | The Finance event chain no longer checks out |
sync_failed |
Connectors | high | A sync with another system failed |
bank_account_reused |
core | high | A new bank account has the same number and bank as another party's (parties) |
reminder_skipped |
Billing | high | A payment reminder could not be sent: no Comms email, or no billing contact (collections) |
final_reminder |
Billing | high | The last reminder went out; the account's owner follows up (collections) |
folio_unplaced |
Billing | medium | A folio line a billing rule could not place (folio billing) |
payment_blocked |
Payments | high | A payment line was left out of a run or held: the payee's bank account is unverified or changed, or the item can no longer be paid (payments) |
Modules add their own kinds as they arrive.
Who may do what
Finance roles decide it, on the exception's entity (see Finance roles):
| Action | Who |
|---|---|
| Read the queue | controllers, AP, AR and reconciliation clerks, auditors (exceptions.read) |
| Assign, or resolve with what was done | controllers and clerks (exceptions.work) |
Waive a low exception |
controllers and clerks (exceptions.waive) |
Waive a medium, high or critical exception |
controllers only |
A waiver always needs a written reason of at least 10 characters and two words; "ok" is refused. An agent never waives an exception above low severity, whatever roles it holds. Owners and admins are controllers on every entity.
A member limited to some entities sees only those entities' exceptions, plus the ones that belong to no entity; another entity's exception answers exactly as an id that does not exist. Working an exception that belongs to no entity needs a role on every entity.
Assigning an exception moves it to in_review; taking the assignee off puts it back to open. Every assignment,
resolution and waiver is a new event on the event chain, with who did it, and an audit log row with the exception before
and after.
Totals at stake
Above the list, At stake adds up, for the open and in-review exceptions the filter shows, the difference between the expected and the actual amount (a missing amount counts as zero), one total per currency. Different currencies are never added together.
The broken chain
The daily check of the event chain raises a chain_break exception (module core, severity
critical, no entity) the first time it finds a broken chain, naming the first bad event. While the chain stays broken
the check looks again from that event each day, without re-reading the whole chain, and keeps the one open exception.
If you resolve or waive it while the chain is still broken, the next check opens a new one.
The bell
The bell shows Finance exceptions assigned to you, and unassigned high or critical ones on the entities where you may work exceptions. Resolving, waiving or assigning them clears it.
Bulk flows
Anything with an open or in-review exception stays out of bulk flows, such as payment runs and bulk approvals, until the exception is resolved or waived.
Webhook event
finance.exception.opened is sent to your organisation's webhooks (Settings > Webhooks) when a new exception lands on
the queue, once per exception. Raising the same problem again does not send it again. The payload carries the
exception's id, kind, severity, risk score, module, entity, the record it is about and the expected and actual amounts
with their currency, never its detail. Its link opens the exception in Finance > Exceptions. All Finance events are
listed in Finance webhook events.
For agents
| Tool | Scope | What it does |
|---|---|---|
finance_exception_list |
finance:read |
The queue with filters, and the totals at stake per currency |
finance_exception_get |
finance:read |
One exception in full |
finance_exception_assign |
finance:write |
Give it to a member or agent (me for yourself), or null to put it back |
finance_exception_resolve |
finance:write |
Close it with what was done |
finance_exception_waive |
finance:write |
Accept it with a written reason |
The REST twins are GET /api/v1/finance/exceptions, GET /api/v1/finance/exceptions/{id} and
POST /api/v1/finance/exceptions/{id}/assign, …/resolve and …/waive. Working the queue is not configuration, so
finance:write is enough; the roles above still decide.