# Intelligent Invoice Processing for n8n

> Guide an AI agent through installing and testing a bilingual n8n invoice demo with Google Gemini, arithmetic checks, duplicate lookup, and a pending-review register.

Intelligent Invoice Processing for n8n is a free AI agent skill on Agensi by Ahmed Negm, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ahmed Negm](https://www.agensi.io/creators/ahmed-negm)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/intelligent-invoice-processing-for-n8n
- Tags: automation, finance, n8n, workflow-automation, invoice-processing, document-extraction, gemini, arabic-invoices

## About this skill

Set up Ahmed Negm’s bilingual invoice-processing demo with help from your AI agent. The skill walks you through importing two n8n workflows, connecting Google Gemini, and testing the results in a private n8n project.

**What you can do**
- Configure intake for Arabic and English PDF, JPG/JPEG, and PNG invoices up to 10 MiB.
- Test rule-based checks for line amounts, subtotals, and totals. Compare a new invoice with a duplicate and a sample with a deliberate mismatch.
- Connect the InvoiceRegistry Data Table and check that new records are marked pending review.
- Troubleshoot binary field mappings, model selection, sub-workflow links, and Gemini errors.

Built for n8n learners, automation builders, and operations teams prototyping invoice intake. Includes both workflow exports, the table schema, and a test guide with links to fictional PDFs. The skill guides setup and testing. Your configured n8n instance runs the workflows.

## Requires

- n8n
- Gemini
- Google Gemini API credential and quota

Run the workflows in your own private n8n test project. Create the Gemini credential in n8n. Google receives invoice contents when the workflow invokes Gemini. API and infrastructure costs may apply.

## Known limitations

Portfolio demo for synthetic test data. Gemini receives invoice contents externally. The exported backup model identifier must be replaced and tested in your environment. Duplicate lookup can race under concurrent submissions. The workflow does not approve invoices, post to accounting software, provide private inference, prevent fraud, or guarantee extraction accuracy.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Intelligent Invoice Processing for n8n skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does the skill process invoices on its own?

Your configured n8n instance runs the workflow. The skill guides installation, configuration, and testing.

### Where does the invoice data go?

The n8n workflow sends invoice content to Google Gemini for extraction and stores selected metadata in your n8n Data Table. Use fictional samples for the demo.

### Does passing validation approve an invoice?

Passing means the arithmetic checks passed. Every new record is marked pending_review. That field does not trigger an approval process.

### Will the backup model work immediately?

Choose an available PDF/image-capable Gemini model on both backup nodes and verify the fallback in your own test project.

### Which files can I test?

Use one synthetic PDF, JPG/JPEG, or PNG per submission, up to 10 MiB. Fictional PDF fixtures are linked in the test guide.

### Does duplicate detection prevent every duplicate?

The workflow looks up a normalized supplier name and invoice number. Concurrent submissions and spelling variations can still produce duplicates.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
