Invoice Reconciler - Built with LlamaCloud
Skills:
LLM Engineering80%
Key Takeaways
The video demonstrates the Invoice Reconciler app built with LlamaCloud, showcasing its ability to upload contracts and invoices, convert them into LLM-readable Markdown using LlamaParse, and index them in LlamaCloud for searching and reconciliation. The app defines reconciliation rules and uses a Llama agent workflow to analyze invoices and contracts, providing results and confidence scores.
Full Transcript
In this video, let's take a look at one of our demo applications, the invoice reconciler. And all of this is really about having a AI agent that is able to look at your contracts, look at your invoices, [clears throat] and try to reconcile them, deciding whether the invoice matches the contract agreement you have, whether there's anything that should be corrected, whether there's anything wrong given the agreement you made. So this application, as you can see, we have a dashboard, but really the most important three sections here are the contracts, [music] invoices, and reconcile. Let's take a look at contracts. As you can see here, we have a bunch of contracts. And what's happening in the background is every time you upload a new contract or an invoice for that matter, it gets [music] uploaded to your index in Lancloud. So we can have a look here for this application. We have two indexes contracts and invoices and we have six contracts in place and we have seven invoices. Similarly, we also index a bunch of invoices. And one thing that you can start by doing is both for contracts and invoices, you can use this search bar as sort of like a chaff application with your invoices. For example, what have we bought? And this will act like a simple rag application looking at all of the invoices we have and it will site the sources and give me a summary of what I have bought. And similarly you can do the same thing with contracts. You can for example ask what kind of contra contracts do we have in place. Let's start by playing around with this. And let's see here if we have a look we have seven invoices. And maybe we can start by adding yet another invoice. And the first thing you'll see happening is that the application will say that it the invoice is being processed. What's happening here is that we're actually sending the PDF to Llama Pause. And Llama Pass is making sure that it's converting the contents of the invoice into an LLM readable format such as markdown. Once that's complete, we can have a look at the contents of the invoice now in Markdown. And I can say save and sync one file. And you can see that that's getting indexed in llama cloud in our invoices index currently. And also in the application you can see that the indexing is in progress for this particular invoice. While that's still getting indexed, the next thing we can look at is the reconciliation. So we have two important sections here. one for reconciliation and the other for you to actually define the rules for that reconciliation. For example, here we've defined a set of rules about what an invoice should contain or what should be looked out for in both contracts and invoices to make sure that the invoices don't have anything missing etc. So here we've defined rules such as correct math, unit price match, line item match and so on. You can also additionally add your own rules here. You can also describe what those rules mean so that the AI agent understands what it should be looking for. All of this is combined in a llama agent workflow so that the workflow is both aware of the contracts, the invoices, the rules in place, and it also comes with a prompt explaining what the agent should be looking out for and how it should be doing the reconciliation. In the reconcile tab, we have a few more things that we can do for invoices that we've uploaded. You can either view the results of the reconciliation or for anything that has not been reconciled yet, you can go ahead and hit reconcile. So for example, we have one here that is still pending from before and we can hit reconcile and the agent will start analyzing based on these rules. So you can see that this particular invoice was rejected. If we expand this, we can see the reason why it's rejected. It says the invoice violates three business rules. The invoice clearly identifies a recognized supplier and has an invoice date that fits within the contract period but is missing vendor address information. Prevents an exact this prevents an exact match and so on and so on. If you want to see more details as to which rules were rejected and why, you can scroll down and have a look at them as well as seeing which rules have passed and with what confidence. Once you're happy with this, if you agree, you can save the result and it will get saved to the overall reconciliations dashboard. Other than this, you can also see all of the previous reconciliations. You can have a look at the invoices and also view the results of the reconciliation. So here we can see that this particular invoice was approved and [music] as well as the approval you can see the confidence score of that approval. Similarly this is the one that we just ran and we can have a look at the result and you can see that it was rejected again [music] the reasons why it was rejected and that's it. You can go ahead and upload your contracts and invoices. This application will create the indexes for you. pause all of your invoices and contracts as well as running a Llama agent workflow that handles all of the reconciliation as well as the rules that you set for that reconciliation.
Original Description
In this video, Tuana Celik walks through our invoice reconciler app, built with LlamaCloud:
1. Upload your contracts and invoices → LlamaParse converts them into clean, LLM-readable Markdown
2. Everything gets indexed in LlamaCloud — searchable and ready for RAG
3. Define your reconciliation rules (unit price match, correct math, line item match, etc.)
4. A LlamaAgent workflow analyzes each invoice against your contracts and rules — then approves or rejects with confidence scores and detailed reasoning
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from LlamaIndex · LlamaIndex · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
LlamaIndex Virtual Meetup (May 4th, 2023)
LlamaIndex
LlamaIndex + MongoDB Workshop/Fireside Chat
LlamaIndex
Discover LlamaIndex: Ask Complex Queries over Multiple Documents
LlamaIndex
Discover LlamaIndex: Document Management
LlamaIndex
Discover LlamaIndex: Joint Text to SQL and Semantic Search
LlamaIndex
Discover LlamaIndex: JSON Query Engine
LlamaIndex
LlamaIndex Webinar: Active Retrieval Augmented Generation
LlamaIndex
LlamaIndex Webinar: Demonstrate-Search-Predict (DSP) with Omar Khattab
LlamaIndex
LlamaIndex Sessions: Practical challenges of building a Legal Chatbot over your PDFs
LlamaIndex
LlamaIndex Webinar: Graph Databases, Knowledge Graphs, and RAG with Wey (NebulaGraph)
LlamaIndex
LlamaIndex Webinar: Community Project Showcase (07/07/2023)
LlamaIndex
LlamaIndex Webinar: LLMs for Investment Research (with Didier Lopes, co-founder/CEO at OpenBB)
LlamaIndex
Discover LlamaIndex: Bottoms-Up Development With LLMs (Part 1, LLMs and Prompts)
LlamaIndex
Discover LlamaIndex: Bottoms-Up Development With LLMs (Part 2, Documents and Metadata)
LlamaIndex
Discover LlamaIndex: Key Components to build QA Systems
LlamaIndex
Discover LlamaIndex: Bottoms-Up Development with LLMs (Part 3, Evaluation)
LlamaIndex
LlamaIndex Webinar: From Prompt to Schema Engineering with Pydantic (with @jxnlco)
LlamaIndex
Discover LlamaIndex: Bottoms-Up Development with LLMs (Part 4, Embeddings)
LlamaIndex
Discover LlamaIndex: Custom Retrievers + Hybrid Search
LlamaIndex
LlamaIndex Webinar: Document Metadata and Local Models for Better, Faster Retrieval
LlamaIndex
LlamaIndex Webinar: Build Personalized AI Characters with RealChar
LlamaIndex
LlamaIndex Webinar: Make RAG Production-Ready
LlamaIndex
LlamaIndex Workshop: Building RAG with Knowledge Graphs
LlamaIndex
Discover LlamaIndex: Introduction to Data Agents for Developers
LlamaIndex
LlamaIndex Webinar: Finetuning + RAG
LlamaIndex
Discover LlamaIndex: SEC Insights, End-to-End Guide
LlamaIndex
Discover LlamaIndex: Custom Tools for Data Agents
LlamaIndex
LlamaIndex Sessions: Building a Lending Criteria Chatbot in Production
LlamaIndex
Discover LlamaIndex: Bottoms-Up Development with LLMs (Part 5, Retrievers + Node Postprocessors)
LlamaIndex
LlamaIndex Webinar: How to Win a LLM Hackathon
LlamaIndex
LlamaIndex Webinar: LLM Challenges in Production (w/ Mayo Oshin, AI Jason, Dylan from Starmorph)
LlamaIndex
LlamaIndex Webinar: Agents Showcase!
LlamaIndex
LlamaIndex Webinar: Learn about DSPy
LlamaIndex
LlamaIndex Webinar: Time-based retrieval for RAG (with Timescale)
LlamaIndex
LlamaIndex Webinar: Build/Break/Test LLM Apps Showcase (co-hosted with TrueEra, Pinecone)
LlamaIndex
LlamaIndex Workshop: Evaluation-Driven Development (EDD)
LlamaIndex
LlamaIndex Webinar: Building LLM Apps for Production, Part 1 (co-hosted with Anyscale)
LlamaIndex
LlamaIndex Webinar: Learn about Fine-tuning + RAG (w/ Victoria Lin, author of RA-DIT)
LlamaIndex
LlamaIndex Webinar: What's next for AI after OpenAI Dev Day?
LlamaIndex
Introducing create-llama
LlamaIndex
LlamaIndex Webinar: PrivateGPT - Production RAG with Local Models
LlamaIndex
Multi-modal Retrieval Augmented Generation with LlamaIndex
LlamaIndex
LlamaIndex Webinar: LLaVa Deep Dive
LlamaIndex
A deep dive into Retrieval-Augmented Generation with Llamaindex
LlamaIndex
LlamaIndex Workshop: Multimodal + Advanced RAG Workhop with Gemini
LlamaIndex
LlamaIndex Webinar: Efficient Parallel Function Calling Agents with LLMCompiler
LlamaIndex
Introduction to Query Pipelines (Building Advanced RAG, Part 1)
LlamaIndex
LLMs for Advanced Question-Answering over Tabular/CSV/SQL Data (Building Advanced RAG, Part 2)
LlamaIndex
LlamaIndex Webinar: Advanced Tabular Data Understanding with LLMs
LlamaIndex
Ollama X LlamaIndex Multi-Modal
LlamaIndex
Build Agents from Scratch (Building Advanced RAG, Part 3)
LlamaIndex
LlamaIndex Webinar: Build No-Code RAG with Flowise
LlamaIndex
LlamaIndex Sessions: Practical Tips and Tricks for Productionizing RAG (feat. Sisil @ Jasper)
LlamaIndex
Introduction to LlamaIndex v0.10
LlamaIndex
Build SELF-DISCOVER from Scratch with LlamaIndex
LlamaIndex
Introducing LlamaCloud (and LlamaParse)
LlamaIndex
LlamaIndex Sessions: 12 RAG Pain Points and Solutions
LlamaIndex
LlamaIndex Webinar: RAG Beyond Basic Chatbots
LlamaIndex
A Comprehensive Cookbook for Claude 3
LlamaIndex
LlamaIndex Webinar: RAPTOR - Tree-Structured Indexing and Retrieval
LlamaIndex
More on: LLM Engineering
View skill →Related Reads
📰
📰
📰
📰
Building Production-Grade LLM Evaluation Pipelines: From Vibes to Metrics
Dev.to AI
Why Every AI Engineer Should Learn Hugging Face
Medium · Machine Learning
A bug in Qwen3-TTS taught me voice is biometric
Dev.to · Daniel Nwaneri
What is LoRA and how it lets anyone fine-tune a massive AI model on a single GPU
Medium · LLM
🎓
Tutor Explanation
DeepCamp AI