Skip to content
agents/en vrai

Automatic checks on supplier invoices received by email

For every invoice received, the agent extracts the data, checks the mandatory legal mentions, logs it in your sheet and flags anomalies.

L2 semi-autonomousVerified sourceBased on official documentation we checked; not tested by us yet.Updated
Difficulty
Intermediate
Setup time
2 h
Estimated cost
€0–10/month
Category
Small business & freelancers

⏱ Trigger

New email with a PDF invoice (event)

✋ Human approval

You approve payment: the agent pays nothing.

→ Output

Row in Sheets + anomaly alert

Autonomy level 2 — Semi-autonomous (approval): Runs on its own but waits for your approval before anything sensitive.

01Connected tools

02What the agent does on its own

  1. step 01

    Spots the email with an invoice attached.

  2. step 02

    Extracts supplier, number, net/VAT/gross amounts and due date.

  3. step 03

    Checks mandatory mentions and that totals add up.

  4. step 04

    Adds a row to the sheet and flags anomalies.

03Agent instructions

$ instructions.txt · replace the {VARIABLES}
> Extract from this invoice: supplier, company ID, number, date, net, VAT, gross, due date. Check the mentions in this list: {MENTIONS}. Return JSON with an "anomalies" field (empty list if none).

04Limits and legal points

Always confirm a changed IBAN through another channel (fake-supplier fraud). The source lists French mandatory invoice mentions (official government site).

05In short

When does the agent run, and what does it produce?
Trigger: New email with a PDF invoice (event). Output: Row in Sheets + anomaly alert.
What stays under your control?
You approve payment: the agent pays nothing. Autonomy level 2 — Semi-autonomous (approval): Runs on its own but waits for your approval before anything sensitive.
How much does it cost and how long does setup take?
Estimated cost: €0–10/month. Setup time: 2 h, difficulty "intermediate". Tools: n8n – Gmail Trigger, n8n – OpenAI, n8n – Google Sheets.

Answers taken from this recipe · updated 16 October 2026

06Source

https://entreprendre.service-public.gouv.fr/vosdroits/F31808

07Related recipes

Same category or same connected tools.

All recipes in "Small business & freelancers" →

→ monthly newsletter

3 agents en vrai.
Every month.

Three reproducible, sourced autonomous agents. No hype, no "top 100 tools". One-click unsubscribe.