Real estate firms should build AI for the work that sets them apart and buy it for invoice coding. Build versus buy comes up in almost every technology conversation now, and invoice coding looks like an easy build: a general-purpose model such as ChatGPT, Claude or Gemini can read an invoice number, a total and a due date in seconds. The hard part is judgment. Coding an invoice to the right property, legal entity and general ledger (GL) account, the same way every time, depends on rules that are specific to each company.
Invoice coding is also a useful case to study, because a specialist product for it has been on the market for years. It shows what to look for before you decide to build.
Why does building your own invoice AI look so easy?
It looks easy because the first step is easy. Upload a PDF invoice to a large language model (LLM), ask for the vendor, invoice number, total and due date, and the answer comes back correct almost every time. Accountants call these the header fields. A capable analyst can connect that to a spreadsheet in a weekend, and the demo is convincing.
Header fields are the cheap part of accounts payable (AP), though. They are printed on the page. What takes an AP team’s time is the coding, and the coding is not on the page at all.
Why is coding a real estate invoice harder than reading it?
Coding is hard because the right answer depends on facts about your company that the invoice does not contain. Say a $12,000 landscaping invoice covers six properties. Someone has to decide which legal entity owns each property, how to split the cost among them, which GL account each line belongs to, and whether any of it can be billed back to tenants. Another firm would code the same invoice differently, and both would be right. Reading the invoice is extraction. Coding it is judgment.
Those rules live in the chart of accounts, the property list, the vendor history and, often, the heads of two or three experienced people. A general-purpose model has seen none of it. You can paste the rules into a prompt, and for ten invoices that works. Across thousands of vendors, hundreds of properties and rules that change with every acquisition, the prompt becomes a system that someone has to write, test and keep current.
Should you build AI invoice coding when a proven tool already exists?
Usually not. Invoice coding is a useful build versus buy case because the first step looks simple, the real problem is deep, and a specialist already sells a product that is mature, economical and quick to install. When all three are true, try the product before you fund a build.
PredictAP is that specialist. It was one of the first companies to bring AI invoice coding to real estate, starting in 2020, about two years before ChatGPT made large language models a household term. It holds a U.S. patent on its approach (No. 12,243,082, granted in March 2025), has raised about $15 million in venture funding, and has a full team working on this one problem.
More than 130 real estate organizations now use it to code about 7 million invoices a year. That volume is where the depth comes from: the team has already met the edge cases an in-house project would discover one at a time.
The economics favor buying too. The development cost is spread across every customer, so each pays a per-invoice price instead of funding its own team. And because the software integrates directly with the accounting systems real estate firms already run, a new customer can be live in as little as a week.
Larger software companies that serve real estate have since added AI invoice coding features of their own, another sign the category has proved itself.
What has it taken to make AI invoice coding work at scale?
It has taken years of work on four things a weekend prototype leaves out.
Company-specific training. Each company codes differently, so the model has to learn from that company’s own history. PredictAP says it automates 70–80% of coding when a customer launches and improves from there.
Consistency. Every coded invoice ends up in a ledger that is reported, reconciled and audited. A general-purpose LLM can code the same invoice two different ways on two different days, and it can change when its provider releases a new version. That is fine for drafting an email. A ledger needs the same output for the same input, which is the argument for a model built for this one job.
Integration. Coded invoices have to arrive in the system where approvals and payments happen, with the right user permissions. In real estate that usually means Yardi PayScan, Bottomline NexusPayables or ResMan. PredictAP integrates with Yardi PayScan through a native API with two-way sync, so invoices show up coded inside the workflow approvers already use.
A feedback loop. Properties are bought and sold, vendors change, and the chart of accounts gets revised. Each correction a reviewer makes becomes training data, and someone has to keep that pipeline running.
What should a real estate firm build, and what should it buy?
Build what is specific to how your firm makes money, and buy what every firm in the industry needs done the same reliable way. There is plenty of low-hanging fruit to build, and AI has made building it cheap. When a proven product already does a job better than a prototype could, buying it usually costs less than building it. PredictAP has published its own build versus buy framework.
| Work | Build or buy | Why |
| Personal productivity: drafting variance commentary, summarizing a lease, one-off analysis | Build | Low risk, shaped to how you work, and a person reads the output |
| Workflows that are your edge: how you underwrite, report to investors or run properties | Build | Nobody sells your advantage |
| Invoice header capture: vendor, invoice number, total, due date | Buy | A commodity that every invoice tool includes |
| Invoice coding to property, legal entity and GL account | Buy | Needs per-company training, system integration and constant upkeep |
| Fraud checks on incoming invoices | Buy | Needs vendor history and models that keep up with new tactics |
A tool you build is also a tool you maintain. Every model update, system upgrade and chart of accounts change becomes your team’s work, while a vendor spreads that cost across its customers.
What do purpose-built tools add beyond invoice coding?
A vendor that works on one problem full time can add capabilities that an in-house side project does not get to. Fraud detection is the clearest example. The costliest real estate invoice fraud usually looks routine: a vendor the team knows, an amount in the usual range, and payment details that were quietly changed.
PredictAP has a product in beta, Invoice Integrity, that compares each invoice with the vendor’s past invoices, checks the file for signs of editing, reads the email it arrived on, and holds suspicious invoices for a person to review.
How should you decide whether to build or buy?
Ask four questions before you commit a team to building.
- Is this work part of how we win, or does every competitor do it too?
- If the output is wrong, where does the error land: in a draft a person reads, or in the general ledger?
- Does it need to give the same answer every time?
- Who will own the integration, the retraining and the edge cases in three years, after the person who built it has moved on?
If the answers are “everyone does it,” “the ledger,” “yes” and “we’re not sure,” buy it. Then put your builders on the work only your firm can do.
Previously in Artificial intelligence: Tencent’s Hy3D 3.6 Generates Cleaner High-Poly Models with Clearer Structures and Finer Detail
