# Read emailed invoices into JSON for your webhook

Give suppliers an address to email invoices to. Each PDF invoice is read for supplier, invoice number, dates, PO number, line items and totals, and the fields are posted as JSON to a webhook you choose (for example an automation tool that updates your accounts payable system), for someone to check before payment.

**Use cases:** Finance, Data processing, Automation

**Tags:** invoices, accounts payable, AP automation, email, PDF, extraction, JSON, webhook, bookkeeping

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

## How it starts

Trigger: email received.
Accepts files: Invoice (PDF), Other files (ignored).

## What it needs

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

## Steps

- Read the invoice
- Parse and validate the fields
- Send to your webhook
