Automates receipt classification on the Portuguese e-Fatura portal (Portal das Finanças).
Clicks category buttons for pending invoices based on vendor name matching. Saves time during IRS season.
- Install dependencies:
npx @playwright/mcp@latest - Log in to Portal das Finanças in a browser
- Use the
@efatura-classifieragent in Copilot Chat
- Edit
data/vendors.csvand add the vendor with NIF, name, and category code - Use NIF numbers when possible for precise matching (e.g.,
500829993,PINGO DOCE,C03) - Category codes are defined in
data/categories.csv
.template/
categories.csv # Template: Category codes (C01, C02, etc.)
vendors.csv # Template: Minimal starter vendors
data/ # Created on first run (gitignored)
categories.csv # Category codes (copied from .template)
vendors.csv # Vendor-to-category mappings (grows over time)
.github/
agents/ # Copilot agents
copilot-instructions.md
.vscode/mcp.json # MCP server config
Note: The
data/folder is gitignored. On first run, the agent copies.template/todata/.
MIT