Templates / Extract invoice data from PDF with Claude AI and create vendor bill in Odoo 18

Extract invoice data from PDF with Claude AI and create vendor bill in Odoo 18

Ready for 3.0

by Florian Eiche ✓ · 426 views · created 2026-04-01 · Invoice Processing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 24 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.anthropic.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. PDF to Base (Extract from File): extracts data from a file (binary to propery)
  2. Configuration (Edit Fields (Set)): sets or maps fields
  3. Prepare Claude Request (Code): runs custom JavaScript code
  4. Claude AI Extract (HTTP Request): calls api.anthropic.com (POST)
  5. Parse Extraction (Code): runs custom JavaScript code
  6. Error Response (Respond to Webhook): sends the response back to the webhook caller
  7. Odoo Authenticate (HTTP Request): calls an HTTP API (POST)
  8. Prepare Duplicate Check (Code): runs custom JavaScript code
  9. Search Duplicate Invoice (HTTP Request): calls an HTTP API (POST)
  10. Duplicate Found? (If): checks a condition and branches into true / false

…plus 13 more steps. See the full node list below.

HTTP calls to: api.anthropic.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

This workflow automates accounts payable: upload a PDF invoice, let Claude AI extract the key fields, and automatically create a vendor bill (incoming invoice) in Odoo 18. Who is this for? Small and medium businesses using Odoo 18 who want to automate invoice…

Excerpt from Florian Eiche's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.