afipsdk / afip.py Goto Github PK
View Code? Open in Web Editor NEWLibreria para usar los Web Services de AFIP con Python
Home Page: https://afipsdk.com
License: MIT License
Libreria para usar los Web Services de AFIP con Python
Home Page: https://afipsdk.com
License: MIT License
Muchas gracias por este paquete! 馃槃
Si te parece forkeo y armo PR
TL;DR
Agregar una validaci贸n en la clase para el input del alias cuando se corre el metodo createCert
en Afip
En la documentacion online dice:
# Alias para el certificado (Nombre para reconocerlo en AFIP)
# un alias puede tener muchos certificados, si estas renovando
# un certificado podes utilizar el mismo alias
cert_alias = "afipsdk"
Estuve peleando bastante y termin茅 yendo a la web para generar el certificado y ah铆 me di cuenta de que en la consola de python estaba agregando un caracter especial para identificar el certificado. Mensaje que claramente no venia en la respuesta de la API {"status":"error","data":{"message":"Unable to get cert, try again"}}
El problema que encontr茅 con la suscripci贸n paga.
Intentando utilizar la librer铆a en producci贸n con los certificados con sus alias respectivos y autorizaciones validadas en el website de Afip:
Exception: {"statusCode":400,"message":"Debe setear el sdk en modo testing. Agregue \"production: false\" al instanciar la libreria . ns1:cms.cert.untrusted"}
No puedo hacer las consultas en Afip ambiente productivo. solo testing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google 鉂わ笍 Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.