← Javier Martin Gonzalez
facturas.xlsx
CUITMontoAmountConceptoItem
Portal de facturaciónInvoicing portal
Generar comprobanteIssue invoice
0 / 8
del tope mensualof the monthly cap

Simulación con datos inventados: el bot recorre el Excel y completa el formulario como lo haría una persona. Los CUIT van enmascarados.

Simulation with made-up data: the bot walks the spreadsheet and fills in the form as a person would. Tax IDs are masked.

FacturadorInvoicer en usoin use

Un bot que carga facturas electrónicas en el portal de AFIP a partir de un Excel.

A bot that files electronic invoices on Argentina's tax portal (AFIP) from a spreadsheet.

Por qué

Why

Emitir muchas facturas a mano en el portal de AFIP es lento y repetitivo: los mismos clics, comprobante por comprobante, todos los meses.

Issuing many invoices by hand on AFIP's portal is slow and repetitive: the same clicks, invoice after invoice, every month.

Cómo

How

Node.js con Playwright maneja un navegador real: entra al portal, elige el punto de venta y completa cada comprobante desde un Excel o desde una agenda de clientes. También consulta lo facturado en el mes, en los últimos doce meses y en el año anterior, y descarga los comprobantes emitidos. Empezó como herramienta de línea de comandos y hoy tiene una interfaz web en Docker, para que la use alguien que no programa.

Node.js with Playwright drives a real browser: it logs into the portal, picks the point of sale and fills in each invoice from a spreadsheet or a customer list. It also reports what was invoiced this month, over the last twelve months and last year, and downloads the issued invoices. It started as a command-line tool and now has a web interface in Docker, so someone who does not code can use it.

Cómo quedó

How it turned out

Va por la versión 5: de generar comprobantes de a uno pasó a procesar planillas enteras, con agenda de clientes y reportes.

It is on version 5: from issuing invoices one by one it grew into processing whole spreadsheets, with a customer list and reports.

Se integra con

Works with

AFIP
Node.jsPlaywrightExcelDocker