Automation

SUNAT Electronic Invoices Downloader

Desktop automation tool that programmatically downloads XML and PDF invoices from SUNAT Peru portal, reducing manual extraction time by 95%.

Stack:PythonPlaywrightCustomTkinterBeautifulSoup4python-dotenvPyInstaller
May 1, 2026

About the Project

A Python-based desktop application with both GUI (CustomTkinter) and CLI entrypoints that automates the retrieval of electronic invoices from Peru's SUNAT SOL portal. Uses Playwright for visible browser automation to authenticate, navigate the invoice consultation module, and batch-download files by date range and type. Generates a CSV audit report tracking every download's success or failure.

Loading content...