Ryan Sanders
← All work
AvidXchange2026

Overdue, According to Whom?

A case study from an AvidXchange hackathon, where a finance question typed into chat became a working view built on the design system. A finance colleague tested it and said the view didn't match what overdue means for her team.

Building interfaces by conversation · 6 min read

A generated invoice view. Above the table, a card states what the system understood by overdue, with the definition editable, above a stacked bar chart, summary figures and the invoice table.

On the second afternoon of a hackathon, I typed "which invoices are overdue?" and a working page assembled itself in about four seconds.

It was a real view: a sortable table, the status of each invoice, a column for days late, a button to open any row. Everything on it came from our design system, the same components a designer would have used, and none of it had existed a moment earlier. I turned to the finance operations colleague who was testing with me, expecting her to be impressed.

A generated invoice table with each region labeled by the design-system component it uses.
Four seconds, and every piece came from the design system.

She looked at the screen for a while. Then she said, "That's not what overdue means for us."

What I was trying to find out

I had gone into the hackathon with a question, not a product. What happens if people can build an interface by talking to it, instead of waiting for designers, developers and the usual product cycle to build it for them?

I work on AI-enabled features at AvidXchange, an accounts payable platform, and I'd started to notice a pattern. A finance team has a question the product doesn't answer. It might be which invoices are overdue for vendors on net-60 terms, or who is holding approvals for a particular cost center. The product has a report for something close. Someone exports to a spreadsheet and builds the answer there. In a dozen informal conversations I counted, nine of twelve people did exactly this, and the three who didn't had given up asking.

I'd read that as a feature gap for years. Sitting with it, I thought it was something else. AP teams are some of the original end-user programmers. They build their own tools, in spreadsheets, because we don't give them a better way. The cost is that the data leaves the platform, along with its permissions, its approval history and its audit trail. Every export is a small hole in a system whose whole purpose is not to have holes.

The reframe was that a generated view isn't a convenience feature. It's a spreadsheet that never leaves the platform.

Two flows compared: exporting to a spreadsheet loses permissions, approval history and audit trail; a generated view keeps them.
Every export is a small hole. A generated view keeps permissions, history and audit trail attached.

Why a view, not an answer

The first decision was about the form of the response. A chat assistant that replies "there are 14 overdue invoices, totaling $212,000" is answering the question and ending the conversation. In accounts payable, the answer is the start of the work. The next thing a person wants is to open one, chase the vendor, or send the list to a colleague.

So I made the response a view and not a paragraph: something live, built from real components, that you can act on. That meant it had to be made of the things the product is already made of. A model improvising HTML would have produced something that looked right, behaved unpredictably, and was inaccessible in ways nobody had checked. Restricting it to the design system meant the output inherited the system's accessibility, its look, and its behavior. It also meant the model could fail, because it could only ever say what the components allowed. I came to think of that limit as the product's best feature.

Overdue, according to whom

Back to the colleague who wasn't impressed.

"Overdue" has at least three meanings in this business. It can mean past the due date on the invoice. It can mean past the date a discount for early payment expires. It can mean past the date a payment was scheduled to go out. Different customers mean different things, and the model had picked one, silently, and presented the answer with complete confidence. It was a clean, polished, plausible mistake.

I'd seen this failure before in other contexts. What was new was how much it mattered here, because people in finance act on these numbers. So I changed the first line of every view. Before the table, in plain words, it says what it understood: "Overdue: unpaid and past the invoice due date, as of today." The definition is editable. If you meant something else, you tap it and choose, and the view rebuilds. When a question is ambiguous, the view says so before it answers.

Before and after: an answer with no stated definition versus a view that states and lets you change its definition of overdue.
One sentence did more for trust than anything visual.

That one sentence did more for trust than anything visual. It also changed my sense of what I was designing. The interface wasn't the table. It was the stated understanding of the question.

The prototype

A generated invoice view. Above the table, a card states what the system understood by overdue, with the definition editable, above a stacked bar chart, summary figures and the invoice table.

Save, arrange, share

Once a view was right, people wanted to keep it. I let them save it, arrange saved views into their own navigation, and share them with colleagues. This is where the idea turned into something else: the product starts to be assembled by its users. One person's good question becomes a page everyone has.

In a regulated product, sharing is the part that needs the most care. When you share a view, you don't share the data. You share the question and its layout. Whoever opens it sees the answer that their own permissions allow. A colleague with narrower access gets a narrower table, not an error and not a leak. I spent more time on that rule than on anything visible, because the failure it prevents is the one that ends a pilot.

One saved view opened by two roles, showing a full table for a controller and a narrower table for a clerk.
When you share a view, you share the question. Whoever opens it sees what their own permissions allow.

Saved views are also saved as what they are: a question, a definition and a set of components, not a screenshot. Anyone can ask a view how it got its numbers and see the definition and the data source. If a controller asks where a number came from, there's an answer on the screen.

What it's allowed to do

I carried over a rule from earlier work: the more a system can act, the more carefully you have to define how. Views can show and prepare. They can propose, with the change spelled out. But when an action moves money or changes a record, it goes through the same approval chain it would anywhere else in the product. A generated view is never a back door around the controls. I wrote that rule down on day one, and I'd defend it in any room.

What I got wrong

My first instinct was to make the model smart about layout, choosing chart types and arranging things artfully. It produced beautiful and inconsistent pages. People trust a page more when it looks like the rest of the product, and a finance team that sees a surprising new chart style wonders whether the number is different too. I took the cleverness out. The model picks from a short list of known arrangements, and the result looks like it belongs.

I also tried letting the assistant volunteer new views, suggesting things I thought a user might want. Nobody wanted that. They had questions of their own and found suggestions noisy. I cut it.

Where it is

I built the first version in two days with an agentic coding tool, and in the two weeks since, internal teams have been using it. About forty people across finance operations, support and customer success have created views, around two hundred of them. A few dozen were saved, and a handful were shared. That's small, and I'd call it a signal, not proof. What I paid the most attention to was that people who'd never asked the platform a question started asking it questions.

To measure whether it was any good, I collected sixty real questions from colleagues and support conversations, and ran them as a set. On the first pass, 38 of the 60 produced the right view, about 63%. After I added the stated definitions and tightened the components it could choose from, 51 did, about 85%. Most of the misses that remain are about definitions, not interface, which tells me where the next work is.

Two grids of sixty squares showing 38 correct on the first pass and 51 correct after changes.
38 of 60 right on the first pass; 51 of 60 after stating definitions.

It's being scoped for the core products now. I'd rather not say more about that than I know. I'm also rebuilding the idea on open-source tools, with none of the company's code, so I can show it publicly and talk about the design decisions in detail.

What I'd do differently

I'd have started with the question I got wrong. The first demo should have been built around ambiguity: here's a question with three possible meanings, watch what the system does. I spent a day on polish and a day finding the problem that mattered.

I'd also have brought a controller into the hackathon. I used the finance operations colleague I had, and she saved the project, but a customer's controller would have told me the same thing sooner, and with more force.

I still think about her reaction. She wasn't criticizing the page. She was telling me that the thing I'd built was fast, and that fast was not the same as right. The rest of the work has been trying to make the two the same.

Next
Afraid to Publish →