go-sii-info

command module
v0.0.0-...-7ff1774 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 12 Imported by: 0

README

go-sii-info

Table of Contents

About

This is a simple Go library for getting contributor information from the SII (Servicio de Impuestos Internos) of Chile.

Localhost

go run main.go

Usage

Http GET
localhost:3000/sii/contributor-info/RUT/76192083-9
Result
{
    "identifier_type": "RUT",
    "identifier_number": "76192083",
    "verification_code": "9",
    "commerce_name": "SASCO SPA ",
    "is_initiated_activities": true,
    "is_available_to_pay_tax_in_foreign_currency": false,
    "is_smaller_company": true,
    "commercial_activities": [
        {
            "name": "OTRAS ACTIVIDADES DE TELECOMUNICACIONES N.C.P.",
            "code": 619090,
            "category": 1,
            "is_vat_affected": false
        },
        {
            "name": "ACTIVIDADES DE CONSULTORIA DE INFORMATICA Y DE GESTION DE INSTALACIONE",
            "code": 620200,
            "category": 1,
            "is_vat_affected": false
        }
    ],
    "stamped_documents": [
        {
            "name": "Factura Electronica",
            "last_year_stamp": 2023
        },
        {
            "name": "Factura No Afecta O Exenta Electronica",
            "last_year_stamp": 2015
        },
        {
            "name": "Boleta Electronica",
            "last_year_stamp": 2023
        },
        {
            "name": "Boleta Exenta Electronica",
            "last_year_stamp": 2016
        },
        {
            "name": "Factura Compra Electronica",
            "last_year_stamp": 2023
        },
        {
            "name": "Guia Despacho Electronica",
            "last_year_stamp": 2016
        },
        {
            "name": "Nota Debito Electronica",
            "last_year_stamp": 2023
        },
        {
            "name": "Nota Credito Electronica",
            "last_year_stamp": 2023
        },
        {
            "name": "Boleta De Terceros Electronicas",
            "last_year_stamp": 2023
        },
        {
            "name": "Factura De Exportacion Electronica",
            "last_year_stamp": 2021
        }
    ]
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL