- A complete guide to automating data extraction and analysis from Hebrew travel expense reports using AI. Practical steps and reliable tools so no receipt or reimbursement amount slips through.
More than 30% of expense reports in organizations contain calculation errors or missing receipts, mainly due to manual processing.
What Is AI-Powered Data Extraction Automation for Travel Expense Reports?
Data extraction automation is a process in which an AI model (such as Claude or Gemini) scans images of receipts, extracts information from them (date, amount, expense description, vendor) and categorizes it according to your fixed categories. Instead of reading every receipt yourself and punching the numbers into a spreadsheet, the AI does the work, and with greater accuracy, because it does not "forget" or "miscalculate." In a sense, it is like hiring a processing employee who never takes vacation and never gets tired.
Why Does This Matter for Organizations in Israel?
Every small and mid-sized organization in Israel faces the same problem: employees submit expense reports in different formats and styles, receipts in both Hebrew and English, photos taken at odd angles, and text that is small or blurry. In that situation, manual review by a CFO or expense manager takes many hours and is prone to errors. AI dramatically reduces that time, handles varied report formats, and lowers the risk of missed items.
Step 1: Choose the Right AI Tool
Not every AI tool is suited for data extraction. The key point: the tool needs to rely on solid computer vision and an understanding of Hebrew text.
Recommended tools:
- Claude, particularly strong at understanding Hebrew text, interpreting complex layouts, and logical calculations. Available to use through the web interface for free or via a paid API.
- Gemini, can process images and Hebrew text, with an option for free internal use and storing items within the application.
- Claude Code, if you want to write full automation (a script that runs every day), Claude Code can help you create a Python script if the data is stored in the cloud.
What to avoid: broad tools like ChatGPT alone (without advanced image vision) or tools that do not understand Hebrew.
Step 2: Prepare Receipts in a Clear Format
You will need:
- High-quality images, at least 200 dpi if the receipt is small. If your employee sends a photo taken on a phone that is 2 megabytes, that is less ideal.
- The source format: is the receipt a physical printout that was photographed, or a PDF you received? If it is a PDF, consider using a tool that handles PDFs (Claude Code or a more powerful API).
- Logical organization, it is best to organize files into folders by person or by month, so that it is easy to review the output.
Step 3: Define an Extraction Template
Before passing receipts to an AI, make sure you have a "response template," meaning exactly what you want the AI to extract.
Example of a standard template:
Expense date: [date]
Amount (in shekels): [amount]
Vendor / business name: [name]
Expense details: [brief description]
Category: [one of: travel, food, hospitality, equipment]
Receipt number: [if available]
Notes / doubts: [if anything is unclear]
If you are using Claude, you can write a prompt like this:
"For the receipt in the following image, extract the following information: date, amount in shekels, vendor name, category (choose from: travel / food / hospitality / equipment), and notes on the clarity of the receipt. If the text is not entirely clear, state that."
Step 4: Process Receipts Through AI
Option A: Free Web Interface (Claude / Gemini)
- Open claude.ai or gemini.google.com in your browser.
- Upload a receipt image or PDF.
- Paste your prompt (the example above).
- You receive a response within seconds.
- Copy manually to Excel / Google Sheets (a small amount of work).
Advantage: simple and free. Disadvantage: slow if you have 100+ receipts, and manual copy-paste work.
Option B: API + Automated Script
If you have 50+ receipts per month, full automation is preferable:
- Sign up for the API of Claude or Gemini, each requires an API key.
- Write a script (Python or JavaScript) that does the following:
- Reads all receipts from a specific folder
- Sends each one to the API with your prompt
- Stores the results in a Google Sheets spreadsheet or CSV file
- Set up a daily or weekly run (if you are using Google Cloud or AWS).
Example script (simple Python), pseudo-code:
import anthropic
import os
from pathlib import Path
client = anthropic.Anthropic(api_key=os.environ.get("ANTHROPIC_API_KEY"))
def extract_from_receipt(image_path):
with open(image_path, "rb") as image_file:
image_data = base64.standard_b64encode(image_file.read()).decode("utf-8")
message = client.messages.create(
model="claude-3-5-sonnet-20241022",
max_tokens=1024,
messages=[
{
"role": "user",
"content": [
{
"type": "image",
"source": {
"type": "base64",
"media_type": "image/jpeg",
"data": image_data,
},
},
{
"type": "text",
"text": "Extract the following data from the receipt: date, amount in ILS, vendor name, and category."
}
],
}
],
)
return message.content[0].text
receipts_folder = "./receipts"
for receipt in Path(receipts_folder).glob("*.jpg"):
result = extract_from_receipt(str(receipt))
print(f"{receipt.name}: {result}")
Note: this requires a small payment per API call, but saves hours of manual work.
Step 5: Validation and Filing
Automation is not perfect. You should always check:
- Missing or misleading data: if the AI could not read an amount, it will suggest "unknown" or "?". Verify it yourself.
- Incorrect categories: if an expense was mistakenly marked as "food" instead of "travel," correct it.
- Strange amounts: if an amount looks unreasonable (for example, 500,000 ILS for a coffee), do a double-check.
- Missing reports: verify that every receipt sent to you was actually processed. Do not let any one slip through the cracks.
A Concrete Example: A Sales Representative's Expense Report
Dvir, an insurance sales representative in Tel Aviv, was sent on a 3-day trip with 8 expenses:
- Morning: taxi ride
- Midday: lunch with a client at a cafe
- Evening: hotel in the city center
- Morning of day 2: return taxi + coffee
- Midday: lunch with a colleague
- Evening: a return flight entered by mistake (later removed from the report)
- And so on...
With automation:
- Dvir sends 8 receipt images to a Google Drive folder that has a QR code.
- An automated script runs every morning, scans the folder, and sends the files to Claude.
- Within a minute, every receipt is extracted into a row in the spreadsheet with: date, amount, vendor, category.
- The expense manager reviews the spreadsheet in five minutes, adds a note about the flight that was removed, and approves.
- Everything is accurate and organized, with no calculation errors and no forgotten receipts.
Common Mistakes to Avoid
| Mistake | The problem | The solution |
|---|---|---|
| Uploading poor-quality images | AI cannot read them and returns "?" | Ask the employee to upload a clear image (high resolution) |
| No clear prompt | AI guesses what you want | Write a structured prompt that specifies exactly what to extract |
| Different prompts for different receipts | Inconsistent results | Use a fixed template for all receipts |
| No review after processing | Errors make it into the final report | Build in a manual check of at least 10% of reports |
| No "notes" field | Uncertain receipts go undocumented | Always add a "notes" field for "not sure" or "incorrect" |
When Should You Seek Professional Advice?
You need consulting or a custom script if:
- Your volume exceeds 200 receipts per month, to build a complete pipeline that requires no manual intervention.
- Your receipt vendors vary (receipts from abroad, in English, Arabic, and Chinese), a stronger prompt is needed.
- You need integration with your ERP system, so the data flows directly into the system.
- You are not sure which API to choose, you need a comparison of costs and accuracy.
A private lesson or a daily course at Tzedek Academy can save you weeks of trial and error.
The Bottom Line
Automating data extraction from Hebrew expense reports with AI is possible, safe, and cost-effective, provided you use the right tool (Claude, Gemini, or something similar), define a clear prompt, and still review the results. What used to take hours now takes minutes, with no human errors.
If you are still not sure how to get started, schedule a consulting session and we will build a routine that fits your organization's structure.

