Skip to content

Commit

Permalink
Merge branch 'main' into coverage_wsltv
Browse files Browse the repository at this point in the history
  • Loading branch information
reingart authored Aug 15, 2021
2 parents 2b772f4 + 9349e91 commit 3af38a8
Show file tree
Hide file tree
Showing 90 changed files with 15,458 additions and 55 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
- name: Copy wsltv.ini file
run: |
sudo cp conf/wsltv.ini wsltv.ini
- name: Copy wslsp.ini file
run: |
sudo cp conf/wslsp.ini wslsp.ini
- name: Test with pytest
run: |
pytest --html=report.html --self-contained-html
Expand Down
12 changes: 12 additions & 0 deletions conf/wslsp.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[WSAA]
CERT = reingart.crt
PRIVATEKEY = reingart.key
## URL = https: //wsaa.afip.gov.ar/ws/services/LoginCms

[WSLSP]
CUIT = 20267565393
INPUT = invoices.csv
OUTPUT = OUTPUT.txt
ENTRADA=entrada.txt
SALIDA=salida.txt
## URL = https: //serviciosjava.afip.gob.ar/wslsp/LumService? Wsdl
53 changes: 53 additions & 0 deletions tests/cassettes/test_ws_sr_padron/test_consultar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
interactions:
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:ser=\"http://a5.soap.ws.server.puc.sr/\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ <ser:getPersona>\n <token>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgdW5pcXVlX2lkPSIzMzkyNDE2ODI0IiBnZW5fdGltZT0iMTYyODYyOTYwOCIgZXhwX3RpbWU9IjE2Mjg2NzI4NjgiLz4KICAgIDxvcGVyYXRpb24gdHlwZT0ibG9naW4iIHZhbHVlPSJncmFudGVkIj4KICAgICAgICA8bG9naW4gZW50aXR5PSIzMzY5MzQ1MDIzOSIgc2VydmljZT0id3Nfc3JfcGFkcm9uX2E1IiB1aWQ9IlNFUklBTE5VTUJFUj1DVUlUIDIwMjY3NTY1MzkzLCBDTj1yZWluZ2FydDIwMjEiIGF1dGhtZXRob2Q9ImNtcyIgcmVnbWV0aG9kPSIyMiI+CiAgICAgICAgICAgIDxyZWxhdGlvbnM+CiAgICAgICAgICAgICAgICA8cmVsYXRpb24ga2V5PSIyMDI2NzU2NTM5MyIgcmVsdHlwZT0iNCIvPgogICAgICAgICAgICA8L3JlbGF0aW9ucz4KICAgICAgICA8L2xvZ2luPgogICAgPC9vcGVyYXRpb24+Cjwvc3NvPgo=</token><sign>qljPWZn7p4+Jn9nrXKPbfwrDLSLm8C8wga98LZtGvV/IgmoHxzwBUHrnCkCXnaxcX97enYea9DQ3jl3SLP3Cn5xCftaZ7OFmtwNQRD2QNSk9gxOoFfTHvWcbTzIiGuhpkpAIx8yxyelPRnlapSkRf4teUKd3gHJRv0+Ue+sTUaM=</sign><cuitRepresentada>20267565393</cuitRepresentada><idPersona>20201797064</idPersona></ser:getPersona>\n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '1297'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"None"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA5
response:
body:
string: "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><ns2:getPersonaResponse
xmlns:ns2=\"http://a5.soap.ws.server.puc.sr/\"><personaReturn><datosGenerales><apellido>VICTORIA
CAROLINA</apellido><domicilioFiscal><codPostal>1030</codPostal><descripcionProvincia>CIUDAD
AUTONOMA BUENOS AIRES</descripcionProvincia><direccion>LARREA 1</direccion><idProvincia>0</idProvincia><tipoDomicilio>FISCAL</tipoDomicilio></domicilioFiscal><estadoClave>ACTIVO</estadoClave><idPersona>20201797064</idPersona><mesCierre>12</mesCierre><nombre>DARIO</nombre><tipoClave>CUIT</tipoClave><tipoPersona>FISICA</tipoPersona></datosGenerales><datosRegimenGeneral><actividad><descripcionActividad>SUMINISTRO
DE VAPOR Y AIRE ACONDICIONADO</descripcionActividad><idActividad>353001</idActividad><nomenclador>883</nomenclador><orden>2</orden><periodo>201311</periodo></actividad><actividad><descripcionActividad>FORMACI\xD3N
DE POSGRADO</descripcionActividad><idActividad>853300</idActividad><nomenclador>883</nomenclador><orden>1</orden><periodo>201311</periodo></actividad><impuesto><descripcionImpuesto>GANANCIAS
PERSONAS FISICAS</descripcionImpuesto><idImpuesto>11</idImpuesto><periodo>201101</periodo></impuesto><impuesto><descripcionImpuesto>IVA</descripcionImpuesto><idImpuesto>30</idImpuesto><periodo>201101</periodo></impuesto><impuesto><descripcionImpuesto>DACI\xD3N
EN PAGO DE ESP.PUBLICI.</descripcionImpuesto><idImpuesto>936</idImpuesto><periodo>200701</periodo></impuesto></datosRegimenGeneral><errorMonotributo><error>Datos
de monotributo incompletos- no posee categor\xEDa</error><mensaje>No cumple
con las condiciones para enviar datos monotributo</mensaje></errorMonotributo><metadata><fechaHora>2021-08-10T18:10:22.424-03:00</fechaHora><servidor>setiwsh2</servidor></metadata></personaReturn></ns2:getPersonaResponse></soap:Body></soap:Envelope>"
headers:
Content-Length:
- '1853'
Content-Type:
- text/xml;charset=UTF-8
Date:
- Tue, 10 Aug 2021 21:10:22 GMT
Set-Cookie:
- HttpOnly;Secure
- TS01a1c3b4=01439f1ddf7c01d20ab4d9aa045aa9b1089c9783f431ab26bc1ee2052f588187be7359228d0bad5b4cefd89aab9dc53213c88c5328;
Path=/
Strict-Transport-Security:
- max-age=300; includeSubDomains; preload
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- sameorigin
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
version: 1
96 changes: 96 additions & 0 deletions tests/cassettes/test_ws_sr_padron/test_main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
interactions:
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:ser=\"https://wsaahomo.afip.gov.ar/ws/services/LoginCms\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ <ser:loginCms>\n <in0>MIIHEAYJKoZIhvcNAQcCoIIHATCCBv0CAQExDzANBglghkgBZQMEAgEFADCCATcG\nCSqGSIb3DQEHAaCCASgEggEkPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0i\nVVRGLTgiPz48bG9naW5UaWNrZXRSZXF1ZXN0IHZlcnNpb249IjEuMCI+PGhlYWRl\ncj48dW5pcXVlSWQ+MTYyODY3MDQyODwvdW5pcXVlSWQ+PGdlbmVyYXRpb25UaW1l\nPjIwMjEtMDgtMTFUMDg6NTc6MDg8L2dlbmVyYXRpb25UaW1lPjxleHBpcmF0aW9u\nVGltZT4yMDIxLTA4LTExVDE4OjU3OjA4PC9leHBpcmF0aW9uVGltZT48L2hlYWRl\ncj48c2VydmljZT53c19zcl9jb25zdGFuY2lhX2luc2NyaXBjaW9uPC9zZXJ2aWNl\nPjwvbG9naW5UaWNrZXRSZXF1ZXN0PqCCA1AwggNMMIICNKADAgECAghz/4NTdXcp\nvjANBgkqhkiG9w0BAQ0FADA4MRowGAYDVQQDDBFDb21wdXRhZG9yZXMgVGVzdDEN\nMAsGA1UECgwEQUZJUDELMAkGA1UEBhMCQVIwHhcNMjEwNzEzMTQ0ODUxWhcNMjMw\nNzEzMTQ0ODUxWjAyMRUwEwYDVQQDDAxyZWluZ2FydDIwMjExGTAXBgNVBAUTEENV\nSVQgMjAyNjc1NjUzOTMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC2\nNxoJg4hKU5xO3Oq3bA2hYV16PZu++RenUzjDTf1fofFw9LZ4FsJu1OaquZzCIcLm\ngYa49poHRTTPTD111nM5RGAjQlpg8kvR4TePMhvagITUdPaqwBFSmPcbWWzRmBwV\ns6nd0281gmAnaVHjkU4g+gdnWU9C5QMG7HhOmKcJD34iYl2Ax+FBz7Id5CRH6kBv\nKudCRiu0SDeXI6vgc+oh2jIWR30QIcm2spqnXtSchyLd51zhuruBE//SUJ/G37pv\nNi6mymLPQAKSXU35W0LD8p2nmwpkyDF4hX0k+JoNbp2QBa8pBsGRE5tiWHEdGJa0\nF4OCjkC33X+b0+mMg+jhAgMBAAGjYDBeMAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgw\nFoAUs7LT//3put7eja8RIZzWIH3yT28wHQYDVR0OBBYEFLeul03RbyQzEXDlQZnJ\nEClwxcHbMA4GA1UdDwEB/wQEAwIF4DANBgkqhkiG9w0BAQ0FAAOCAQEAD6ooLpu4\nasVz7tNuLIDmWQ45Ht93Fxi6TovuqNLGNCARoZpq81UDaBB3X0SAxm3n5ji5Crxt\nTkaFv0A7SzYIT7M7dkk1gQoVTgQtrbgjwJOtW67goz7qEewluiY+DYXLt+9PkFMC\nTJsQyDr1rKEkTTW4wojfXSXtbSbTNRsaX8B8ShvPb4Zcao8OMnLakZhPIcTG9yXT\nY+195wTmZnFiy79cJYr4NtjhkZbh6AdRnQx1NVuwZ4YlwUVmb3iDIbZpzNzJF1iz\njzXORRgyMPf2PhI3qWX/JGPjXicG2ZfLspeve2Cs6bn/9CT0mWv1LKZS7h9M6T/8\nsO6FsOIMnSk5NjGCAlYwggJSAgEBMEQwODEaMBgGA1UEAwwRQ29tcHV0YWRvcmVz\nIFRlc3QxDTALBgNVBAoMBEFGSVAxCzAJBgNVBAYTAkFSAghz/4NTdXcpvjANBglg\nhkgBZQMEAgEFAKCB5DAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3\nDQEJBTEPFw0yMTA4MTExMzU3MDhaMC8GCSqGSIb3DQEJBDEiBCAEMtLADe4Iqb21\nGWK9SUttv3FcEqieLK6i7FYvEN2xszB5BgkqhkiG9w0BCQ8xbDBqMAsGCWCGSAFl\nAwQBKjALBglghkgBZQMEARYwCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqG\nSIb3DQMCAgIAgDANBggqhkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIB\nKDANBgkqhkiG9w0BAQEFAASCAQBs8v6khPakgbVOYM+vb3rCcFeswhotuLter1Ga\ndRjljnePbQDJhEBFxMFQQOl8A0fFIUkc9OD+WmxZAob+NsDb6WKyGr+Sr4kYOkyR\n1x/RSU16ZqtI64WvidrLl0LkZDZJjO2HTrCivTd8/Z2C1H54+q757wTT7q7pU1WQ\nAMLD5XCTM++0VRgwe23RZKpNJXeR4WJO61FQxiwZnafDh6ktzsI0+OXObh3Ochn/\nwlOwopEJl3Ph1rQhompOgQxW/yzGLr9WV9lXuSYbklSWg92kdsBl1FleVWvJqABK\nHsx/jxzMQmeX8x85a7nHFZNZxBtQ8GhifJU/iodsuzcGR+J6\n\n</in0></ser:loginCms>\n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '2750'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"None"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://wsaahomo.afip.gov.ar/ws/services/LoginCms
response:
body:
string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><soapenv:Body><loginCmsResponse
xmlns=\"https://wsaahomo.afip.gov.ar/ws/services/LoginCms\"><loginCmsReturn>&lt;?xml
version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;\n&lt;loginTicketResponse
version=&quot;1.0&quot;&gt;\n &lt;header&gt;\n &lt;source&gt;CN=wsaahomo,
O=AFIP, C=AR, SERIALNUMBER=CUIT 33693450239&lt;/source&gt;\n &lt;destination&gt;SERIALNUMBER=CUIT
20267565393, CN=reingart2021&lt;/destination&gt;\n &lt;uniqueId&gt;377544856&lt;/uniqueId&gt;\n
\ &lt;generationTime&gt;2021-08-11T10:57:11.799-03:00&lt;/generationTime&gt;\n
\ &lt;expirationTime&gt;2021-08-11T22:57:11.799-03:00&lt;/expirationTime&gt;\n
\ &lt;/header&gt;\n &lt;credentials&gt;\n &lt;token&gt;PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgdW5pcXVlX2lkPSI1NDU4MDYxNTUiIGdlbl90aW1lPSIxNjI4NjkwMTcxIiBleHBfdGltZT0iMTYyODczMzQzMSIvPgogICAgPG9wZXJhdGlvbiB0eXBlPSJsb2dpbiIgdmFsdWU9ImdyYW50ZWQiPgogICAgICAgIDxsb2dpbiBlbnRpdHk9IjMzNjkzNDUwMjM5IiBzZXJ2aWNlPSJ3c19zcl9jb25zdGFuY2lhX2luc2NyaXBjaW9uIiB1aWQ9IlNFUklBTE5VTUJFUj1DVUlUIDIwMjY3NTY1MzkzLCBDTj1yZWluZ2FydDIwMjEiIGF1dGhtZXRob2Q9ImNtcyIgcmVnbWV0aG9kPSIyMiI+CiAgICAgICAgICAgIDxyZWxhdGlvbnM+CiAgICAgICAgICAgICAgICA8cmVsYXRpb24ga2V5PSIyMDI2NzU2NTM5MyIgcmVsdHlwZT0iNCIvPgogICAgICAgICAgICA8L3JlbGF0aW9ucz4KICAgICAgICA8L2xvZ2luPgogICAgPC9vcGVyYXRpb24+Cjwvc3NvPgo=&lt;/token&gt;\n
\ &lt;sign&gt;nBOmb8KBTYunXQ/Lnq83pP//0GnpxGCYFFrZfGCkd7sdWyq1UZrzU5bhaEMY51SQcapHOAfaGVP+C3KKhWPa8TfX4kRfXzFpgEEof8k8/6G1iU0n4TrMkrVmon6w+oyvmhWUY2RFnctjTMYsj+KP8x1a7cfJQ1JXAWa19Fp1kGQ=&lt;/sign&gt;\n
\ &lt;/credentials&gt;\n&lt;/loginTicketResponse&gt;\n</loginCmsReturn></loginCmsResponse></soapenv:Body></soapenv:Envelope>"
headers:
Content-Type:
- text/xml;charset=utf-8
Date:
- Wed, 11 Aug 2021 13:57:11 GMT
Set-Cookie:
- TS01b14f84=0145b27a9751990d784b5df2fc143ff51f6e24d6871f496afdcccf928011466496097164a6;
Path=/
Transfer-Encoding:
- chunked
status:
code: 200
message: OK
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:ser=\"http://a5.soap.ws.server.puc.sr/\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ <ser:getPersona>\n <token>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgdW5pcXVlX2lkPSI1NDU4MDYxNTUiIGdlbl90aW1lPSIxNjI4NjkwMTcxIiBleHBfdGltZT0iMTYyODczMzQzMSIvPgogICAgPG9wZXJhdGlvbiB0eXBlPSJsb2dpbiIgdmFsdWU9ImdyYW50ZWQiPgogICAgICAgIDxsb2dpbiBlbnRpdHk9IjMzNjkzNDUwMjM5IiBzZXJ2aWNlPSJ3c19zcl9jb25zdGFuY2lhX2luc2NyaXBjaW9uIiB1aWQ9IlNFUklBTE5VTUJFUj1DVUlUIDIwMjY3NTY1MzkzLCBDTj1yZWluZ2FydDIwMjEiIGF1dGhtZXRob2Q9ImNtcyIgcmVnbWV0aG9kPSIyMiI+CiAgICAgICAgICAgIDxyZWxhdGlvbnM+CiAgICAgICAgICAgICAgICA8cmVsYXRpb24ga2V5PSIyMDI2NzU2NTM5MyIgcmVsdHlwZT0iNCIvPgogICAgICAgICAgICA8L3JlbGF0aW9ucz4KICAgICAgICA8L2xvZ2luPgogICAgPC9vcGVyYXRpb24+Cjwvc3NvPgo=</token><sign>nBOmb8KBTYunXQ/Lnq83pP//0GnpxGCYFFrZfGCkd7sdWyq1UZrzU5bhaEMY51SQcapHOAfaGVP+C3KKhWPa8TfX4kRfXzFpgEEof8k8/6G1iU0n4TrMkrVmon6w+oyvmhWUY2RFnctjTMYsj+KP8x1a7cfJQ1JXAWa19Fp1kGQ=</sign><cuitRepresentada>20267565393</cuitRepresentada><idPersona>20000000516</idPersona></ser:getPersona>\n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '1313'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"None"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA5
response:
body:
string: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getPersonaResponse
xmlns:ns2="http://a5.soap.ws.server.puc.sr/"><personaReturn><datosGenerales><apellido>ERNESTO
DANIEL</apellido><domicilioFiscal><codPostal>8371</codPostal><datoAdicional>N/A
PATRICIA ANDREA</datoAdicional><descripcionProvincia>NEUQUEN</descripcionProvincia><direccion>LAGUNA
LOS SAUCES 2</direccion><idProvincia>20</idProvincia><localidad>JUNIN DE LOS
ANDES</localidad><tipoDatoAdicional>NO DETERMINADO</tipoDatoAdicional><tipoDomicilio>FISCAL</tipoDomicilio></domicilioFiscal><estadoClave>ACTIVO</estadoClave><idPersona>20000000516</idPersona><mesCierre>12</mesCierre><nombre>MARCELO
NICOLAS</nombre><tipoClave>CUIT</tipoClave><tipoPersona>FISICA</tipoPersona></datosGenerales><errorRegimenGeneral><error>El
contribuyente cuenta con impuestos con baja de oficio por Decreto 1299/98</error><mensaje>No
cumple con las condiciones para enviar datos del regimen general</mensaje></errorRegimenGeneral><metadata><fechaHora>2021-08-11T10:57:15.249-03:00</fechaHora><servidor>setiwsh2</servidor></metadata></personaReturn></ns2:getPersonaResponse></soap:Body></soap:Envelope>
headers:
Content-Length:
- '1174'
Content-Type:
- text/xml;charset=UTF-8
Date:
- Wed, 11 Aug 2021 13:57:15 GMT
Set-Cookie:
- HttpOnly;Secure
- TS01a1c3b4=01439f1ddfe2375885e0be844af621fbd694446ae91feddbe5556cbcb420e5046dd780f614fb274ad8a8189a416d34f690e582dfbe;
Path=/
Strict-Transport-Security:
- max-age=300; includeSubDomains; preload
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- sameorigin
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
version: 1
52 changes: 52 additions & 0 deletions tests/cassettes/test_ws_sr_padron/test_main_csv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
interactions:
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:ser=\"http://a5.soap.ws.server.puc.sr/\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ <ser:getPersona>\n <token>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgdW5pcXVlX2lkPSIxODM4NTU4ODc1IiBnZW5fdGltZT0iMTYyODY5NTI0NiIgZXhwX3RpbWU9IjE2Mjg3Mzg1MDYiLz4KICAgIDxvcGVyYXRpb24gdHlwZT0ibG9naW4iIHZhbHVlPSJncmFudGVkIj4KICAgICAgICA8bG9naW4gZW50aXR5PSIzMzY5MzQ1MDIzOSIgc2VydmljZT0id3Nfc3JfY29uc3RhbmNpYV9pbnNjcmlwY2lvbiIgdWlkPSJTRVJJQUxOVU1CRVI9Q1VJVCAyMDI2NzU2NTM5MywgQ049cmVpbmdhcnQyMDIxIiBhdXRobWV0aG9kPSJjbXMiIHJlZ21ldGhvZD0iMjIiPgogICAgICAgICAgICA8cmVsYXRpb25zPgogICAgICAgICAgICAgICAgPHJlbGF0aW9uIGtleT0iMjAyNjc1NjUzOTMiIHJlbHR5cGU9IjQiLz4KICAgICAgICAgICAgPC9yZWxhdGlvbnM+CiAgICAgICAgPC9sb2dpbj4KICAgIDwvb3BlcmF0aW9uPgo8L3Nzbz4K</token><sign>ZTqcQVTFR6RrUVcOtheRC3uvVKui+nlWjUjfsoNw2OCrYhzmLCRR9wd4FTZ6s3GY3wtaK/e9Q1fa3VhwamOEFpIuh5FCuIshsl1LQXA38V/i1BRHNdFILkXeUwExAoySNwksQ6JUOBOIgEQqKo1aCBdCQUhi7wxUK+TfGbxnOF4=</sign><cuitRepresentada>20267565393</cuitRepresentada><idPersona>20000000516</idPersona></ser:getPersona>\n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '1313'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"None"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA5
response:
body:
string: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getPersonaResponse
xmlns:ns2="http://a5.soap.ws.server.puc.sr/"><personaReturn><datosGenerales><apellido>ERNESTO
DANIEL</apellido><domicilioFiscal><codPostal>8371</codPostal><datoAdicional>N/A
PATRICIA ANDREA</datoAdicional><descripcionProvincia>NEUQUEN</descripcionProvincia><direccion>LAGUNA
LOS SAUCES 2</direccion><idProvincia>20</idProvincia><localidad>JUNIN DE LOS
ANDES</localidad><tipoDatoAdicional>NO DETERMINADO</tipoDatoAdicional><tipoDomicilio>FISCAL</tipoDomicilio></domicilioFiscal><estadoClave>ACTIVO</estadoClave><idPersona>20000000516</idPersona><mesCierre>12</mesCierre><nombre>MARCELO
NICOLAS</nombre><tipoClave>CUIT</tipoClave><tipoPersona>FISICA</tipoPersona></datosGenerales><errorRegimenGeneral><error>El
contribuyente cuenta con impuestos con baja de oficio por Decreto 1299/98</error><mensaje>No
cumple con las condiciones para enviar datos del regimen general</mensaje></errorRegimenGeneral><metadata><fechaHora>2021-08-11T12:27:05.282-03:00</fechaHora><servidor>setiwsh2</servidor></metadata></personaReturn></ns2:getPersonaResponse></soap:Body></soap:Envelope>
headers:
Content-Length:
- '1174'
Content-Type:
- text/xml;charset=UTF-8
Date:
- Wed, 11 Aug 2021 15:27:05 GMT
Set-Cookie:
- HttpOnly;Secure
- TS01a1c3b4=01439f1ddfbcd43a6a5852fee3d3697b05d40994b2778ad4a9839d4d002421a10acfdf2993c206a34d4dac4aa26b98ed853ea90381;
Path=/
Strict-Transport-Security:
- max-age=300; includeSubDomains; preload
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- sameorigin
X-XSS-Protection:
- 1; mode=block
status:
code: 200
message: OK
version: 1
Loading

0 comments on commit 3af38a8

Please sign in to comment.