Giter Club home page Giter Club logo

sii_situacion_tributaria's Introduction

sii_situacion_tributaria

Script para consultar situación tributaria de terceros. Versión web https://zeus.sii.cl/cvc_cgi/stc/getstc

Traducción de Ruby a Python de @sii

Cómo usar

git clone https://github.com/pdelteil/sii_situacion_tributaria.git

cd sii_situacion_tributaria

pip install -r requirements.txt 

python main.py RUT

ex: python main.py 76632059-7

Salida:

{
    "rut": "76632059-7",
    "razon_social": "INFOSEC SERVICIOS DE SEGURIDAD INFORMATICA SPA",
    "empresa_menor_tamano": "SI",
    "aut_moneda_extranjera": "NO",
    "inicio_actividades": "SI",
    "fecha_inicio_actividades": "08-07-2016",
    "actividades": [
        {
            "giro": "FABRICACION DE COMPUTADORES Y EQUIPO PERIFERICO",
            "codigo": 262000,
            "categoria": "Primera",
            "afecta": true
        },
        {
            "giro": "ACTIVIDADES DE CONSULTORIA DE INFORMATICA Y DE GESTION DE INSTALACIONE",
            "codigo": 620200,
            "categoria": "Primera",
            "afecta": true
        },
        {
            "giro": "PROCESAMIENTO DE DATOS, HOSPEDAJE Y ACTIVIDADES CONEXAS",
            "codigo": 631100,
            "categoria": "Primera",
            "afecta": true
        }
    ],
    "documentos_timbrados": [
        {
            "Documento": "01-02-2017",
            "Año último timbraje": "28-02-2017"
        },
        {
            "Documento": "Factura No Afecta O Exenta Electronica",
            "Año último timbraje": "2023"
        },
        {
            "Documento": "Nota Debito Electronica",
            "Año último timbraje": "2021"
        },
        {
            "Documento": "Nota Credito Electronica",
            "Año último timbraje": "2022"
        }
    ]
}

Alternativa

curl -sX GET 'https://siichile.herokuapp.com/consulta?rut=76632059-7' -H 'Content-Type: application/json' -H 'Accept: application/json'

sii_situacion_tributaria's People

Contributors

pdelteil avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

sii_situacion_tributaria's Issues

[ feature ] Display more result fields

  • Field Fecha de Inicio de Actividades
  • Field Contribuyente presenta Inicio de Actividades
  • Field Contribuyente es Empresa de Menor Tamaño (según Ley N°20.416)
  • Field Documentos Timbrados

 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.