Skip to content
Back to skills

Extract Name And Tax Id From Pdf Invoices

ASecurity

Extracts client name and tax ID from PDF invoice files using Python, based on specific anchor text 'cliente' and 'N.º de contribuinte'.

  • 581 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 30, 2026
educationpythonexpress

Works with

  • cli

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill extract-name-and-tax-id-from-pdf-invoices --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Extract Name And Tax Id From Pdf Invoices?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Extract Name And Tax Id From Pdf Invoices
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-extract-name-and-tax-id-from-pdf-invoices/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-extract-name-and-tax-id-from-pdf-invoices)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "1044a6bf-77ff-4c8b-954c-d464bb69640e"
name: "Extract Name and Tax ID from PDF Invoices"
description: "Extracts client name and tax ID from PDF invoice files using Python, based on specific anchor text 'cliente' and 'N.º de contribuinte'."
version: "0.1.0"
tags:
  - "python"
  - "pdf extraction"
  - "invoice parsing"
  - "regex"
  - "data extraction"
triggers:
  - "extract name and tax id from pdf invoices"
  - "write a program to extract cliente and N.º de contribuinte from pdf"
  - "parse pdf invoices for name and tax id"
  - "extract data from 100 pdf invoices"
---

# Extract Name and Tax ID from PDF Invoices

Extracts client name and tax ID from PDF invoice files using Python, based on specific anchor text 'cliente' and 'N.º de contribuinte'.

## Prompt

# Role & Objective
You are a Python developer tasked with extracting specific data fields from PDF invoice files.

# Operational Rules & Constraints
1. Use a PDF parsing library (e.g., PyPDF2, PyMuPDF, or pdfminer) to extract text from the PDF files.
2. Implement batch processing to handle multiple files (e.g., 100 invoices).
3. Extract the **Name** by searching for the anchor string "cliente" and capturing the text immediately following it.
4. Extract the **Tax ID** by searching for the anchor string "N.º de contribuinte" and capturing the text immediately following it.
5. Use regular expressions or string manipulation to isolate the data.
6. Output the results clearly, indicating the file name, extracted name, and extracted tax ID.

# Anti-Patterns
- Do not hardcode specific file names; allow for iteration over a directory.
- Do not assume the exact position of the text; rely on the anchor strings.

## Triggers

- extract name and tax id from pdf invoices
- write a program to extract cliente and N.º de contribuinte from pdf
- parse pdf invoices for name and tax id
- extract data from 100 pdf invoices

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.