/donna

Automation tool for Chilean services like https://sii.cl and https://previred.com

Primary LanguageJavaScriptMIT LicenseMIT

donna

License: MIT Build Status dependencies Status JavaScript Style Guide

About

Donna is a command line tool built to automate 🇨🇱 Chilean boring tasks such as college loans, taxes and contributions.

How it works

Donna starts session in the service you want to pay and leaves you right in the final step. What follows for now is not automated.

Behind scenes it uses puppeteer for the browser automation tool.

Instalation

$ npm install -g donna-bot

Commands

pay

Want to pay something? Donna will leave you right in the final step (payment).

$ donna pay

First select one of the available services:

services

Then, Donna will prompt you to enter your RUT and password for the service:

auth

Available services:

Optional arguments

Service:

If you don't want to manually select the service you want to pay, you can use the service argument.

For example:

$ donna pay -s sii

Available services: sii and previred

RUT

rut can be specified with RUT environment variable.

Password

The service password can be specified with an environment variable:

  • SII_PASSWORD
  • PREVIRED_PASSWORD

Available Services

SII

You can use this bot to automatically pay your SII contributions. The only "inconvenient" is that you MUST use PEC payment.

How you can pay with PEC? You can read more here. Then just run the donna pay -s sii command with your SII credentials or just use environment variables.

Previred

Not working at the moment 😂 but it wasn't fully automated (yet).