Skip to content

This script automates the process of validating NIT (Número de Identificación Tributaria) against the DIAN (Dirección de Impuestos y Aduanas Nacionales) website.

Notifications You must be signed in to change notification settings

hivam/estado_RUT

Repository files navigation

NIT Validation Script

Overview

This script automates the process of validating NIT (Número de Identificación Tributaria) against the DIAN (Dirección de Impuestos y Aduanas Nacionales) website. It reads a list of NIT from a CSV file, checks each NIT to see if it has already been validated, and if not, queries the DIAN website for the current status. The results are saved in new CSV files.

UML sequence diagram

License

This program is distributed under the terms of the GNU Lesser General Public License (LGPL) v3. See the LICENSE file for details.

Author

  • Name: Hector Ivan Valencia Muñoz

Requirements

This script run over Robocorp an this provides an extension for Visual Studio Code. See How to.

Installation

  1. **Clone the repository
  2. **Run over Robocorp extension for Visual Studio Code

Usage

  1. Prepare the input CSV files:
  • nid_validar.csv: A CSV file containing the NIT to be validated. Ensure it has the following columns:

    • nid
    • dv
  • nid_validados.csv: A CSV file containing previously validated NIT with the following columns:

    • nid, dv, apl1, apl2, nom1, nom2, raz, estado
  1. Run the script

  2. Output files:

  • nid_validar_result.csv: A CSV file with the validation results for the NIT.
  • nid_validados.csv: Updated CSV file with newly validated NIT.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgements

Special thanks to the Robocorp team for their excellent tools and documentation.

About

This script automates the process of validating NIT (Número de Identificación Tributaria) against the DIAN (Dirección de Impuestos y Aduanas Nacionales) website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages