From 1d17ad82484325800588393b6d8561fed680335d Mon Sep 17 00:00:00 2001 From: luciano parruccia Date: Sat, 26 Jul 2025 08:54:21 -0300 Subject: [PATCH] =?UTF-8?q?ampliaci=C3=B3n=20de=20endpoints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- django_afip/clients.py | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/django_afip/clients.py b/django_afip/clients.py index 0d92722..6e277d1 100644 --- a/django_afip/clients.py +++ b/django_afip/clients.py @@ -28,19 +28,48 @@ WSDLS = { "production": { "wsaa": "https://wsaa.afip.gov.ar/ws/services/LoginCms?wsdl", - "wsfe": "https://servicios1.afip.gov.ar/wsfev1/service.asmx?WSDL", - "ws_sr_constancia_inscripcion": "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA5?WSDL", + "ws_sr_constancia_inscripcion": "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA5?wsdl", + "ws_sr_padron_a10": "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA10?wsdl", "ws_sr_padron_a13": "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA13?WSDL", + "wsfecred": "https://serviciosjava.afip.gob.ar/wsfecred/FECredService?wsdl", + "wsfe": "https://servicios1.afip.gov.ar/wsfev1/service.asmx?WSDL", + "wsfex": "https://servicios1.afip.gov.ar/wsfexv1/service.asmx?WSDL", + "wslpg": "https://serviciosjava.afip.gob.ar/wslpg/LpgService?wsdl", + "wscpe": "https://cpea-ws.afip.gob.ar/wscpe/services/soap?wsdl", + "wsapoc": "https://eapoc-ws.afip.gob.ar/service.asmx", + "wsagr": "https://servicios1.afip.gov.ar/wsagr/wsagr.asmx?WSDL", + "wsrgiva": "https://servicios1.afip.gov.ar/wsrgiva/wsrgiva.asmx?WSDL", + "wsct": "https://serviciosjava.afip.gob.ar/wsct/CTService?wsdl", + "sire-ws": "https://ws-aplicativos-reca.afip.gob.ar/sire/ws/v1/c2005/2005?wsdl", + "wsremharina": "https://serviciosjava.afip.gob.ar/wsremharina/RemHarinaService?wsdl", + "wsremazucar": "https://serviciosjava.afip.gob.ar/wsremazucar/RemAzucarService", + "wsremcarne": "https://serviciosjava.afip.gob.ar/wsremcarne/RemCarneService?wsdl", + "wsmtxca": "https://serviciosjava.afip.gob.ar/wsmtxca/services/MTXCAService?wsdl", }, "sandbox": { "wsaa": "https://wsaahomo.afip.gov.ar/ws/services/LoginCms?wsdl", - "wsfe": "https://wswhomo.afip.gov.ar/wsfev1/service.asmx?WSDL", - "ws_sr_constancia_inscripcion": "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA5?WSDL", + "ws_sr_constancia_inscripcion": "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA5?wsdl", + "ws_sr_padron_a10": "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA10?wsdl", "ws_sr_padron_a13": "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA13?WSDL", + "wsfecred": "https://fwshomo.afip.gov.ar/wsfecred/FECredService?wsdl", + "wsfe": "https://wswhomo.afip.gov.ar/wsfev1/service.asmx?WSDL", + "wsfex": "https://wswhomo.afip.gov.ar/wsfexv1/service.asmx?WSDL", + "wslpg": "https://fwshomo.afip.gov.ar/wslpg/LpgService?wsdl", + "wscpe": "https://cpea-ws-qaext.afip.gob.ar/wscpe/services/soap?wsdl", + "wsapoc": "https://eapoc-ws-qaext.afip.gob.ar/Service.asmx?WSDL", + "wsagr": "https://wswhomo.afip.gov.ar/wsagr/wsagr.asmx?WSDL", + "wsrgiva": "https://fwshomo.afip.gov.ar/wsrgiva/services/RegimenPercepcionIVAService?wsdl", + "wsct": "https://fwshomo.afip.gov.ar/wsct/CTService?wsdl", + "sire-ws": "https://ws-aplicativos-reca.homo.afip.gov.ar/sire/ws/v1/c2005/2005?wsdl", + "wsremharina": "https://fwshomo.afip.gov.ar/wsremharina/RemHarinaService?wsdl", + "wsremazucar": "https://fwshomo.afip.gov.ar/wsremazucar/RemAzucarService?wsdl", + "wsremcarne": "https://fwshomo.afip.gov.ar/wsremcarne/RemCarneService?", + "wsmtxca": "https://fwshomo.afip.gov.ar/wsmtxca/services/MTXCAService?wsdl", }, } + class AFIPAdapter(HTTPAdapter): """An adapter with reduced security so it'll work with AFIP."""