agentsclimarketplace

Extract name and tax id from pdf invoices

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/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').From its SKILL.md

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

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.7 KB, 266 tokens by cl100k_base, as published. Nobody here has run it

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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.