gmail-invoice-processor

Extract vendor names and invoice amounts from Gmail PDFs into an Excel summary.

16|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/erafat/skills --skill gmail-invoice-processor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gmail-invoice-processor
Source: https://github.com/erafat/skills/tree/main/gmail-invoice-processor
Command: npx skills add https://github.com/erafat/skills --skill gmail-invoice-processor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdfplumber, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates extracting vendor names and invoice amounts from Gmail invoice PDFs and compiles them into a structured Excel summary.

Core Features & Use Cases

  • Multi-layered extraction: Download PDFs when available, otherwise parse the email body to identify vendor and amount, then generate an Excel summary.
  • Gmail search and filtering: Find invoices by subject (containing invoice or invoices) and apply date ranges.
  • Professional Excel output: Includes fields like vendor, amount, currency, extraction method, and actionable notes for each invoice.

Quick Start

Process Gmail invoices from the last 30 days to generate an Excel summary.

Frequently Asked Questions about gmail-invoice-processor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract invoice amounts and vendor names from Gmail PDFs automatically?

To extract invoice data from Gmail PDFs automatically, this Skill downloads PDF attachments, parses vendor names and invoice amounts, and compiles the results into a structured Excel summary with color-coded statuses.

What happens when an email invoice PDF is inaccessible or missing?

When a Gmail invoice PDF is inaccessible or missing, the extraction process implements a fallback mechanism that parses the email body text to identify the vendor name and invoice amount.

Does the Gmail invoice processor support multiple currencies in the Excel output?

Yes, the Gmail invoice processor supports multiple currencies. It extracts currency information alongside vendor names and amounts, organizing the data into an extensible Excel schema with actionable notes.

How are Gmail invoices filtered and searched before data extraction?

Gmail invoices are filtered by searching for email subjects containing 'invoice' or 'invoices' and applying specific date ranges, such as processing invoices from the last 30 days for immediate Excel summarization.

Do I need pdfplumber to parse Gmail invoice attachments?

Yes, pdfplumber is required as a dependency to parse Gmail invoice PDF attachments. It enables the multi-layered extraction of vendor names and invoice amounts before generating the Excel summary.

Can I extract invoice data from email bodies instead of PDFs?

Yes, you can extract invoice data from email bodies. The Skill uses MIME-type validation to detect PDFs, and when PDFs are absent, it falls back to parsing the email body to retrieve vendor and amount data.