# Upload a receipt or invoice and send its details as JSON

Upload a photo or PDF of a receipt or invoice and send its merchant, date, totals and category as JSON to a webhook you choose (for example an automation tool that updates a spreadsheet or your expense tool).

**Use cases:** Finance, Data processing

**Tags:** vision, OCR, extraction, JSON, webhook, expenses

[Create this agent](https://seclai.com/agent-examples/create/receipt_extraction)

## How it starts

Trigger: dynamic input.
Accepts files: Receipt or invoice.

## What it needs

No knowledge base, memory bank or connection to create first.

## Steps

- Read the receipt
- Parse and validate the fields
- Send to webhook
