Skip to content

Instantly share code, notes, and snippets.

@EdwardNavarro
Forked from cdiaz/ConsultaNitRUES.js
Created March 27, 2019 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EdwardNavarro/8b21ab3ac3504ec838eb0c0270f20587 to your computer and use it in GitHub Desktop.
Save EdwardNavarro/8b21ab3ac3504ec838eb0c0270f20587 to your computer and use it in GitHub Desktop.
Consulta NIT en el Registro Único Empresarial y Social (RUES)
var request = require('request');
// Digite el NIT sin puntos ni guiones, el dígito de Verificación no es requerido.
request.post(
'http://www.rues.org.co/RUES_Web/Consultas/ConsultaNIT_json',
{ form: {strNIT: '891190346' } },
function (error, response, result) {
if (!error && response.statusCode == 200) {
console.log(result)
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment