A document inbox that catches a changed bank account
Clients' documents wait in one queue, possible frauds first, then those with findings, then the clean ones. The open document is drawn as paper from the fields read off it, and each finding marks the value it is about with its number. When a supplier's bank account has changed, Return to client becomes the main action and accepting needs a written reason.
By Bohuslav PoláčekChecked
What the screen shows
- The queue: the clients' documents sorted by what the check found. A possible fraud says Suspicion in the danger colour, a document with findings says how many in ink, a clean one is Checked beside a neutral glyph. Each row is two cells, the supplier over the client and the amount over the findings (DataTable with
CellStack), so a phone keeps every fact without scrolling sideways. - The decision: a card at the top of the open document, and first on a phone too. It says what was found and what to do, with Return to client and Accept with a reason.
- The paper: the kit's
Paperdraws the invoice from the fields read off the PDF, in the order they sit on the page. A finding's number sits on the value it is about, here the IBAN, and pointing at a finding in the list under the paper lights up its value.
A check that flags, a person who decides
The check is a set of pure functions over what was read off the document, the client and what the office already knows: the VAT register, the supplier's earlier invoices, the client's other documents. The api runs it on every read, so a field corrected in place (a pencil, Enter saves) runs it again and a finding never outlives the data behind it. The table below lists what it compares.
It leaves one thing to a person on purpose: whether a finding is a reason to send the document back. A changed bank account changes the card. Return to client becomes the ink action and opens a message for the client, started from what the check found and edited by the accountant, which goes by e-mail with a link to the client's portal and into the document's history (audit trail). Accepting instead takes a written reason, kept in the same history.
The decision works from the keyboard too: Cmd+Enter (Ctrl+Enter off a Mac) accepts and adding Shift returns, with the keys shown on the buttons from 1024px. Every shortcut has a modifier, because the framework allows no single-key shortcuts (WCAG 2.1.4).
What AI tools tend to get wrong here
Asked for an invoice capture review screen, a code generator tends to put the extracted fields in a form beside a picture of the scan, give each field a confidence score and colour every row green, amber or red. The person then compares two lists by eye and learns to ignore the colours. Three rules of the framework keep this screen from going that way:
- The paper is drawn from the fields, so a finding points at the value itself.
- A row that is fine stays quiet and colour goes to what needs doing: a word beside a glyph, never a row of coloured pills (StatusLabel).
- The screen is the kit's worklist (work queue): one row of controls above the list and the decision as a card, never a coloured banner. The audit's
control-rowsrule fails a screen with a second row of controls, and this inbox is the worklist sample thate2e/screens.spec.tsopens at 1440 and 390, light and dark.
What the check reads and what it flags
| Read off the document | Checked against | What the inbox says | Severity |
|---|---|---|---|
| VAT number | Its shape for the country, then the VAT register (VIES for EU suppliers) | The supplier's VAT number is missing; The VAT number has the wrong shape; The supplier is not in the VAT register | Warning |
| Supplier | The unreliable payers of the Czech VAT register | The supplier is listed as an unreliable payer | Warning |
| VAT rate of each line | The rates that exist and the rate the item calls for, the reverse charge included | VAT rate … does not exist; Rate … does not fit the item; This falls under the reverse charge | Warning |
| Lines and total | The lines added up, VAT rounded once per rate | The total does not add up | Warning |
| Supplier, number and amount | The documents the office already has | We already have this document | Danger |
| Supplier, number and amount | The same supplier and amount within 7 days under another number, or the same number with another amount | Possible duplicate | Warning |
| IBAN | Its check digits (ISO 13616, mod 97) | The IBAN fails its check digits | Warning |
| IBAN | The supplier's earlier invoices | The supplier's account has changed | Danger |
| IBAN | The accounts the supplier published in the VAT register | The account is not published in the VAT register | Danger |
| Tax point | The period being processed | Tax point outside the period | Warning |
| Currency | An exchange rate for a foreign currency | The exchange rate is missing | Warning |
| Total and payment | The office's limits for a simplified document and for cash (Czech rules) | Simplified document over the limit; Cash payment over the limit | Warning |
Questions
How does the inbox spot a possibly fraudulent invoice?
It compares the bank account on the document with the supplier's earlier invoices and with the accounts published in the VAT register. A changed or unpublished account is a danger finding: the row says Suspicion, it sorts to the top of the queue, and the paper marks the IBAN with the finding's number.
Does the check reject documents by itself?
No. It says what it found and how serious it is, and whether that is a reason to return the document is the bookkeeper's call. A suspected fraud is accepted only with a written reason, which stays in the document's history.
What does Return to client send?
A message for the client, started from what the check found in plain words and edited by the accountant. It goes by e-mail with a link to the client's portal, where the returned document is the first thing the client sees, and into the document's history.
What happens to a clean document?
It waits in the queue as Checked, and its decision card sends it into the client's accounting program with one click.
Which checks run on every document?
The VAT number and the VAT register, the rates against the items, the totals, duplicates, the IBAN's check digits and history, the tax point, the exchange rate and the office's limits for simplified documents and cash. The table on this page lists each one with what it flags.
Related
- An app for an accounting officeExample app
- A month close that knows what each step waits forScreens
- Bank lines matched to the documents they paidScreens
- A print shop's jobs on one board, from enquiry to dispatchScreens
- A recipe with its cost and its allergensScreens
- A time-off request waiting for a decisionScreens
Two ways
Build it yourself, or have it built
Build it yourself
Build your app on the framework
Get the codebase these apps stand on and build yours with Claude Code, Cursor or Codex.
One payment, lifetime updates
Get the frameworkHave it built
Have us build your app
Tell us how your team works. We plan the app with you and build it on the same framework at a fixed price.
After launch, Care keeps it improving, from €99 a month.
from €1,990
Describe your app