Skip to content

Instantly share code, notes, and snippets.

@wnasich
Last active January 31, 2019 12:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wnasich/38f4cbba030ef3c70b4f505a853bded7 to your computer and use it in GitHub Desktop.
Save wnasich/38f4cbba030ef3c70b4f505a853bded7 to your computer and use it in GitHub Desktop.
Información en JSON sobre un CUIT desde webservices de AFIP usando bash (AFIP deshabilito este acceso)
#! /bin/bash
if [ -z "$1" ]; then
echo "Ingrese un CUIT"
exit 1
fi
curl https://soa.afip.gob.ar/sr-padron/v2/persona/$1
@wnasich
Copy link
Author

wnasich commented Jan 31, 2019

AFIP ya no permite accesos no autenticados a estos datos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment