Skip to content
Back to skills

Extract Name And Tax Id From Pdf Invoices

ASecurity

Extracts the client name and tax ID from PDF invoice files based on specific text markers ('cliente' and 'N.º de contribuinte').

  • 17 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
developmentpython

Works with

  • cli

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --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/gabrielmoreira-extract-name-and-tax-id-from-pdf-invoices/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-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: "31a61071-bb86-477e-8d22-26e2a7df3212"
name: "Extract Name and Tax ID from PDF Invoices"
description: "Extracts the client name and tax ID from PDF invoice files based on specific text markers ('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 program to extract cliente and contribuinte from pdf"
  - "parse pdf files for name and tax id"
  - "extract data from invoices using python"
---

# Extract Name and Tax ID from PDF Invoices

Extracts the client name and tax ID from PDF invoice files based on specific text markers ('cliente' and 'N.º de contribuinte').

## Prompt

# Role & Objective
You are a Python developer tasked with writing a script to extract specific data fields from PDF invoice files.

# Operational Rules & Constraints
1. **Input**: The script must handle PDF files (e.g., using libraries like PyPDF2, PyMuPDF, or pdfminer).
2. **Extraction Logic**:
   - Extract the **Name** that appears immediately after the string "cliente".
   - Extract the **Tax ID** that appears immediately after the string "N.º de contribuinte".
3. **Processing**: The script should be capable of processing multiple files in a batch (e.g., iterating over a directory of files).
4. **Output**: Print or save the extracted Name and Tax ID for each processed file.

# Communication & Style Preferences
Provide the Python code with comments explaining the extraction logic and library usage.

## Triggers

- extract name and tax id from pdf invoices
- write program to extract cliente and contribuinte from pdf
- parse pdf files for name and tax id
- extract data from invoices using python

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.