Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage wsltv #79

Merged
merged 7 commits into from
Aug 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
- name: Copy rece.ini file
run: |
sudo cp conf/rece.ini rece.ini
- 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
Expand Down
12 changes: 12 additions & 0 deletions conf/wsltv.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

[WSLTV]
CUIT = 20267565393
INPUT = invoices.csv
OUTPUT = OUTPUT.txt
ENTRADA=entrada.txt
SALIDA=salida.txt
## URL = https: //serviciosjava.afip.gob.ar/wsltv/LtvService? Wsdl
40 changes: 40 additions & 0 deletions tests/cassettes/test_wsltv/test_main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
interactions:
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:ser=\"http://serviciosjava.afip.gob.ar/wsltv/\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ \n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '240'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"http://serviciosjava.afip.gob.ar/wsltv/dummy"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://fwshomo.afip.gov.ar/wsltv/LtvService
response:
body:
string: <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns2:DummyResp
xmlns:ns2="http://serviciosjava.afip.gob.ar/wsltv/"><respuesta><appserver>OK</appserver><authserver>OK</authserver><dbserver>OK</dbserver></respuesta></ns2:DummyResp></S:Body></S:Envelope>
headers:
Connection:
- close
Content-Type:
- text/xml;charset=utf-8
Date:
- Thu, 22 Jul 2021 12:50:44 GMT
Set-Cookie:
- TS01761d9e=01439f1ddf8bec6312e5ba91f12b538f048ee6914cbb9eda39637cfaf4a110f37c3656dbd8;
Path=/
Transfer-Encoding:
- chunked
X-Powered-By:
- Servlet/3.0; JBossAS-6
status:
code: 200
message: OK
version: 1
45 changes: 45 additions & 0 deletions tests/cassettes/test_wsltv/test_main_ajustar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
interactions:
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:ser=\"http://serviciosjava.afip.gob.ar/wsltv/\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ <ser:AjustarLiquidacionReq>\n <auth><token>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgdW5pcXVlX2lkPSIyMzU0Mjc0OTY1IiBnZW5fdGltZT0iMTYyNjk2MDQzNyIgZXhwX3RpbWU9IjE2MjcwMDM2OTciLz4KICAgIDxvcGVyYXRpb24gdHlwZT0ibG9naW4iIHZhbHVlPSJncmFudGVkIj4KICAgICAgICA8bG9naW4gZW50aXR5PSIzMzY5MzQ1MDIzOSIgc2VydmljZT0id3NsdHYiIHVpZD0iU0VSSUFMTlVNQkVSPUNVSVQgMjAyNjc1NjUzOTMsIENOPXJlaW5nYXJ0MjAyMSIgYXV0aG1ldGhvZD0iY21zIiByZWdtZXRob2Q9IjIyIj4KICAgICAgICAgICAgPHJlbGF0aW9ucz4KICAgICAgICAgICAgICAgIDxyZWxhdGlvbiBrZXk9IjIwMjY3NTY1MzkzIiByZWx0eXBlPSI0Ii8+CiAgICAgICAgICAgIDwvcmVsYXRpb25zPgogICAgICAgIDwvbG9naW4+CiAgICA8L29wZXJhdGlvbj4KPC9zc28+Cg==</token><sign>KpUWW7iOXBZbtGu0L7lZiRWRpl1hNwROQWe//vumhc57snJXSPPMTUPc01rwu3HDF/3nB5/H6Dnh/RLcvmrvxmpxgdPdasxiKMNwlPpBtU2QwnDIU5EfOaXUClqZwSZMWNyaY7XmaXrYW9JfBQrvsOQHphxgxEL1BfpeK9Fx3Tc=</sign><cuit>20267565393</cuit></auth><solicitud><liquidacionAjuste><tipoComprobante>151</tipoComprobante><nroComprobante>13</nroComprobante><fechaAjusteLiquidacion>2015-12-31</fechaAjusteLiquidacion><puntoVenta>2958</puntoVenta><codDepositoAcopio>201</codDepositoAcopio><tipoAjuste>C</tipoAjuste><comprobanteAAjustar><tipoComprobante>151</tipoComprobante><puntoVenta>4521</puntoVenta><nroComprobante>12345678</nroComprobante></comprobanteAAjustar><cuitReceptor>222222222</cuitReceptor><iibbReceptor>2</iibbReceptor><fechaInicioActividad>2010-01-01</fechaInicioActividad></liquidacionAjuste><precioClase><claseTabaco>111</claseTabaco><totalKilos>41</totalKilos><totalFardos>1</totalFardos><precio>25</precio></precioClase><retencion><codRetencion>11</codRetencion><importe>20</importe></retencion><tributo><codigoTributo>99</codigoTributo><descripcion>Descripcion
otros tributos</descripcion><baseImponible>2</baseImponible><alicuota>2</alicuota><importe>10</importe></tributo></solicitud></ser:AjustarLiquidacionReq>\n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '2220'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"http://serviciosjava.afip.gob.ar/wsltv/ajustarLiquidacion"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://fwshomo.afip.gov.ar/wsltv/LtvService
response:
body:
string: "<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"><S:Body><ns2:AjustarLiquidacionResp
xmlns:ns2=\"http://serviciosjava.afip.gob.ar/wsltv/\"><respuesta><errores><error><codigo>cvc-minInclusive-valid</codigo><descripcion>
El valor '222222222' no cumple con la restricci\xF3n minInclusive '10000000000'
para el tipo 'Cuit'.</descripcion></error><error><codigo>cvc-type.3.1.3</codigo><descripcion>
El valor '222222222' del elemento 'cuitReceptor' no es v\xE1lido.</descripcion></error><error><codigo>1004</codigo><descripcion>La
CUIT no registra alta en IVA.</descripcion></error></errores></respuesta></ns2:AjustarLiquidacionResp></S:Body></S:Envelope>"
headers:
Connection:
- close
Content-Type:
- text/xml;charset=utf-8
Date:
- Thu, 22 Jul 2021 13:33:52 GMT
Set-Cookie:
- TS01761d9e=01439f1ddfbfaa6694e1387190af051d8dcf6542ddcbf87602033d0a2ba2210739b6c1503a;
Path=/
Transfer-Encoding:
- chunked
X-Powered-By:
- Servlet/3.0; JBossAS-6
status:
code: 200
message: OK
version: 1
41 changes: 41 additions & 0 deletions tests/cassettes/test_wsltv/test_main_condiciones_venta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
interactions:
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:ser=\"http://serviciosjava.afip.gob.ar/wsltv/\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ <ser:ConsultarCondicionesVentaReq>\n <auth><token>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgdW5pcXVlX2lkPSIyNjEwNzY2MDc3IiBnZW5fdGltZT0iMTYyNjk2NjA0MSIgZXhwX3RpbWU9IjE2MjcwMDkzMDEiLz4KICAgIDxvcGVyYXRpb24gdHlwZT0ibG9naW4iIHZhbHVlPSJncmFudGVkIj4KICAgICAgICA8bG9naW4gZW50aXR5PSIzMzY5MzQ1MDIzOSIgc2VydmljZT0id3NsdHYiIHVpZD0iU0VSSUFMTlVNQkVSPUNVSVQgMjAyNjc1NjUzOTMsIENOPXJlaW5nYXJ0MjAyMSIgYXV0aG1ldGhvZD0iY21zIiByZWdtZXRob2Q9IjIyIj4KICAgICAgICAgICAgPHJlbGF0aW9ucz4KICAgICAgICAgICAgICAgIDxyZWxhdGlvbiBrZXk9IjIwMjY3NTY1MzkzIiByZWx0eXBlPSI0Ii8+CiAgICAgICAgICAgIDwvcmVsYXRpb25zPgogICAgICAgIDwvbG9naW4+CiAgICA8L29wZXJhdGlvbj4KPC9zc28+Cg==</token><sign>fUnQ4DhRMEKaa5ap8A+aqB2M6G7W9bhRI8Hqb86VHZgE6xbcv37LxpRS3uQsOUsNM6vBhyojkwT2nU0tUaa/hpuvPbAugj+cO7Jd/z24ay2YqVMTVGne9JARBw3ZIGwDloNXicNqpqo1LBGUoAgsJ/tTT+vL6mXKo1l2xlVu5oY=</sign><cuit>20267565393</cuit></auth></ser:ConsultarCondicionesVentaReq>\n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '1283'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"http://serviciosjava.afip.gob.ar/wsltv/consultarCondicionesVenta"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://fwshomo.afip.gov.ar/wsltv/LtvService
response:
body:
string: <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns2:ConsultarCondicionesVentaResp
xmlns:ns2="http://serviciosjava.afip.gob.ar/wsltv/"><respuesta><condicionVenta><codigo>1</codigo><descripcion>Contado</descripcion></condicionVenta><condicionVenta><codigo>96</codigo><descripcion>Cuenta
Corriente</descripcion></condicionVenta><condicionVenta><codigo>97</codigo><descripcion>Cheque</descripcion></condicionVenta><condicionVenta><codigo>99</codigo><descripcion>Otra</descripcion></condicionVenta></respuesta></ns2:ConsultarCondicionesVentaResp></S:Body></S:Envelope>
headers:
Connection:
- close
Content-Type:
- text/xml;charset=utf-8
Date:
- Thu, 22 Jul 2021 15:06:59 GMT
Set-Cookie:
- TS01761d9e=01439f1ddf98b45896621d5513cc0fd5a07856e7e7a18691bead9f2bd390d8de86efc41153;
Path=/
Transfer-Encoding:
- chunked
X-Powered-By:
- Servlet/3.0; JBossAS-6
status:
code: 200
message: OK
version: 1
47 changes: 47 additions & 0 deletions tests/cassettes/test_wsltv/test_main_consultar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
interactions:
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:ser=\"http://serviciosjava.afip.gob.ar/wsltv/\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ <ser:ConsultarLiquidacionXNroComprobanteReq>\n <auth><token>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgdW5pcXVlX2lkPSIzMzAxMjcwNjA2IiBnZW5fdGltZT0iMTYyNjk2MTA0NiIgZXhwX3RpbWU9IjE2MjcwMDQzMDYiLz4KICAgIDxvcGVyYXRpb24gdHlwZT0ibG9naW4iIHZhbHVlPSJncmFudGVkIj4KICAgICAgICA8bG9naW4gZW50aXR5PSIzMzY5MzQ1MDIzOSIgc2VydmljZT0id3NsdHYiIHVpZD0iU0VSSUFMTlVNQkVSPUNVSVQgMjAyNjc1NjUzOTMsIENOPXJlaW5nYXJ0MjAyMSIgYXV0aG1ldGhvZD0iY21zIiByZWdtZXRob2Q9IjIyIj4KICAgICAgICAgICAgPHJlbGF0aW9ucz4KICAgICAgICAgICAgICAgIDxyZWxhdGlvbiBrZXk9IjIwMjY3NTY1MzkzIiByZWx0eXBlPSI0Ii8+CiAgICAgICAgICAgIDwvcmVsYXRpb25zPgogICAgICAgIDwvbG9naW4+CiAgICA8L29wZXJhdGlvbj4KPC9zc28+Cg==</token><sign>rx8jRRByWFKSuGEfeirB96QygNRVZb17y0MZhARRe/Uo/k5YodKTVyHvfF0TXOXpxebLOCoWDUQlNByknSzs7rt5D9geiiuQS51jDXfUpe598Gd1W2C1EBfkS5XH8HQ6OGiBzeZsfafZ9x7BcCYLQLtVV0A5boTS1Lt+N7uXngE=</sign><cuit>20267565393</cuit></auth><solicitud><puntoVenta>1</puntoVenta><tipoComprobante>--debug</tipoComprobante><nroComprobante>0</nroComprobante><pdf>true</pdf></solicitud></ser:ConsultarLiquidacionXNroComprobanteReq>\n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '1443'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"http://serviciosjava.afip.gob.ar/wsltv/consultarLiquidacionXNroComprobante"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://fwshomo.afip.gov.ar/wsltv/LtvService
response:
body:
string: "<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"><S:Body><ns2:ConsultarLiquidacionXNroComprobanteResp
xmlns:ns2=\"http://serviciosjava.afip.gob.ar/wsltv/\"><respuesta><errores><error><codigo>cvc-enumeration-valid</codigo><descripcion>
El valor '--debug' no est\xE1 inclu\xEDdo en la lista '[150, 151]'. Debe tener
un valor de la lista.</descripcion></error><error><codigo>cvc-type.3.1.3</codigo><descripcion>
El valor '--debug' del elemento 'tipoComprobante' no es v\xE1lido.</descripcion></error><error><codigo>cvc-minInclusive-valid</codigo><descripcion>
El valor '0' no cumple con la restricci\xF3n minInclusive '1' para el tipo
'NroComprobante'.</descripcion></error><error><codigo>cvc-type.3.1.3</codigo><descripcion>
El valor '0' del elemento 'nroComprobante' no es v\xE1lido.</descripcion></error><error><codigo>500</codigo><descripcion>Error
general de aplicaci\xF3n.</descripcion></error></errores></respuesta></ns2:ConsultarLiquidacionXNroComprobanteResp></S:Body></S:Envelope>"
headers:
Connection:
- close
Content-Type:
- text/xml;charset=utf-8
Date:
- Thu, 22 Jul 2021 13:40:01 GMT
Set-Cookie:
- TS01761d9e=01439f1ddf06c59185014399abe98d2ac04b4c015b7fd2765bb9ac66d9011104d5ed69eac2;
Path=/
Transfer-Encoding:
- chunked
X-Powered-By:
- Servlet/3.0; JBossAS-6
status:
code: 200
message: OK
version: 1
87 changes: 87 additions & 0 deletions tests/cassettes/test_wsltv/test_main_consultar_mostrar.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
interactions:
- request:
body: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"
xmlns:ser=\"http://serviciosjava.afip.gob.ar/wsltv/\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ <ser:GenerarLiquidacionReq>\n <auth><token>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgdW5pcXVlX2lkPSIzMzAxMjcwNjA2IiBnZW5fdGltZT0iMTYyNjk2MTA0NiIgZXhwX3RpbWU9IjE2MjcwMDQzMDYiLz4KICAgIDxvcGVyYXRpb24gdHlwZT0ibG9naW4iIHZhbHVlPSJncmFudGVkIj4KICAgICAgICA8bG9naW4gZW50aXR5PSIzMzY5MzQ1MDIzOSIgc2VydmljZT0id3NsdHYiIHVpZD0iU0VSSUFMTlVNQkVSPUNVSVQgMjAyNjc1NjUzOTMsIENOPXJlaW5nYXJ0MjAyMSIgYXV0aG1ldGhvZD0iY21zIiByZWdtZXRob2Q9IjIyIj4KICAgICAgICAgICAgPHJlbGF0aW9ucz4KICAgICAgICAgICAgICAgIDxyZWxhdGlvbiBrZXk9IjIwMjY3NTY1MzkzIiByZWx0eXBlPSI0Ii8+CiAgICAgICAgICAgIDwvcmVsYXRpb25zPgogICAgICAgIDwvbG9naW4+CiAgICA8L29wZXJhdGlvbj4KPC9zc28+Cg==</token><sign>rx8jRRByWFKSuGEfeirB96QygNRVZb17y0MZhARRe/Uo/k5YodKTVyHvfF0TXOXpxebLOCoWDUQlNByknSzs7rt5D9geiiuQS51jDXfUpe598Gd1W2C1EBfkS5XH8HQ6OGiBzeZsfafZ9x7BcCYLQLtVV0A5boTS1Lt+N7uXngE=</sign><cuit>20267565393</cuit></auth><solicitud><liquidacion><tipoComprobante>150</tipoComprobante><nroComprobante>1</nroComprobante><puntoVenta>6</puntoVenta><codDepositoAcopio>1000</codDepositoAcopio><fechaLiquidacion>2016-04-18</fechaLiquidacion><tipoCompra>CPS</tipoCompra><condicionVenta><codigo>99</codigo><descripcion>otra</descripcion></condicionVenta><variedadTabaco>BR</variedadTabaco><codProvinciaOrigenTabaco>1</codProvinciaOrigenTabaco><puerta>22</puerta><nroTarjeta>6569866</nroTarjeta><horas>12</horas><control>FFAA</control><nroInterno>77888</nroInterno><fechaInicioActividad>2016-04-01</fechaInicioActividad></liquidacion><receptor><cuit>20111111112</cuit><iibb>123456</iibb><nroSocio>11223</nroSocio><nroFET>22</nroFET></receptor><romaneo><nroRomaneo>321</nroRomaneo><fechaRomaneo>2015-12-10</fechaRomaneo><fardo><codTrazabilidad>356</codTrazabilidad><claseTabaco>4</claseTabaco><peso>900</peso></fardo></romaneo><precioClase><claseTabaco>4</claseTabaco><precio>190</precio></precioClase><retencion><codRetencion>15</codRetencion><descripcion>otra
retencion</descripcion><importe>12</importe></retencion><tributo><codigoTributo>99</codigoTributo><descripcion>Ganancias</descripcion><baseImponible>15000</baseImponible><alicuota>8</alicuota><importe>1200</importe></tributo><flete><descripcion>transporte</descripcion><importe>1000.0</importe></flete><bonificacion><porcentaje>10.0</porcentaje><importe>100.0</importe></bonificacion></solicitud></ser:GenerarLiquidacionReq>\n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '2694'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"http://serviciosjava.afip.gob.ar/wsltv/generarLiquidacion"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://fwshomo.afip.gov.ar/wsltv/LtvService
response:
body:
string: <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns2:GenerarLiquidacionResp
xmlns:ns2="http://serviciosjava.afip.gob.ar/wsltv/"><respuesta><errores><error><codigo>1004</codigo><descripcion>La
CUIT no registra alta en IVA.</descripcion></error></errores></respuesta></ns2:GenerarLiquidacionResp></S:Body></S:Envelope>
headers:
Connection:
- close
Content-Type:
- text/xml;charset=utf-8
Date:
- Thu, 22 Jul 2021 13:41:49 GMT
Set-Cookie:
- TS01761d9e=01439f1ddf0f0bf829da65e0cf33eee267d82d31adcdc59d7bc54b16b1c7cc6a692f6277e8;
Path=/
Transfer-Encoding:
- chunked
X-Powered-By:
- Servlet/3.0; JBossAS-6
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://serviciosjava.afip.gob.ar/wsltv/\">\n<soapenv:Header/>\n<soapenv:Body>\n
\ <ser:ConsultarLiquidacionXNroComprobanteReq>\n <auth><token>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9InllcyI/Pgo8c3NvIHZlcnNpb249IjIuMCI+CiAgICA8aWQgc3JjPSJDTj13c2FhaG9tbywgTz1BRklQLCBDPUFSLCBTRVJJQUxOVU1CRVI9Q1VJVCAzMzY5MzQ1MDIzOSIgdW5pcXVlX2lkPSIzMzAxMjcwNjA2IiBnZW5fdGltZT0iMTYyNjk2MTA0NiIgZXhwX3RpbWU9IjE2MjcwMDQzMDYiLz4KICAgIDxvcGVyYXRpb24gdHlwZT0ibG9naW4iIHZhbHVlPSJncmFudGVkIj4KICAgICAgICA8bG9naW4gZW50aXR5PSIzMzY5MzQ1MDIzOSIgc2VydmljZT0id3NsdHYiIHVpZD0iU0VSSUFMTlVNQkVSPUNVSVQgMjAyNjc1NjUzOTMsIENOPXJlaW5nYXJ0MjAyMSIgYXV0aG1ldGhvZD0iY21zIiByZWdtZXRob2Q9IjIyIj4KICAgICAgICAgICAgPHJlbGF0aW9ucz4KICAgICAgICAgICAgICAgIDxyZWxhdGlvbiBrZXk9IjIwMjY3NTY1MzkzIiByZWx0eXBlPSI0Ii8+CiAgICAgICAgICAgIDwvcmVsYXRpb25zPgogICAgICAgIDwvbG9naW4+CiAgICA8L29wZXJhdGlvbj4KPC9zc28+Cg==</token><sign>rx8jRRByWFKSuGEfeirB96QygNRVZb17y0MZhARRe/Uo/k5YodKTVyHvfF0TXOXpxebLOCoWDUQlNByknSzs7rt5D9geiiuQS51jDXfUpe598Gd1W2C1EBfkS5XH8HQ6OGiBzeZsfafZ9x7BcCYLQLtVV0A5boTS1Lt+N7uXngE=</sign><cuit>20267565393</cuit></auth><solicitud><puntoVenta>1</puntoVenta><tipoComprobante>--mostrar</tipoComprobante><nroComprobante>0</nroComprobante><pdf>true</pdf></solicitud></ser:ConsultarLiquidacionXNroComprobanteReq>\n</soapenv:Body>\n</soapenv:Envelope>"
headers:
accept-encoding:
- gzip, deflate
content-length:
- '1445'
content-type:
- text/xml; charset="UTF-8"
soapaction:
- '"http://serviciosjava.afip.gob.ar/wsltv/consultarLiquidacionXNroComprobante"'
user-agent:
- Mozilla/5.0 (Windows NT 6.1; Win64; x64)
method: POST
uri: https://fwshomo.afip.gov.ar/wsltv/LtvService
response:
body:
string: "<?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"><S:Body><ns2:ConsultarLiquidacionXNroComprobanteResp
xmlns:ns2=\"http://serviciosjava.afip.gob.ar/wsltv/\"><respuesta><errores><error><codigo>cvc-enumeration-valid</codigo><descripcion>
El valor '--mostrar' no est\xE1 inclu\xEDdo en la lista '[150, 151]'. Debe
tener un valor de la lista.</descripcion></error><error><codigo>cvc-type.3.1.3</codigo><descripcion>
El valor '--mostrar' del elemento 'tipoComprobante' no es v\xE1lido.</descripcion></error><error><codigo>cvc-minInclusive-valid</codigo><descripcion>
El valor '0' no cumple con la restricci\xF3n minInclusive '1' para el tipo
'NroComprobante'.</descripcion></error><error><codigo>cvc-type.3.1.3</codigo><descripcion>
El valor '0' del elemento 'nroComprobante' no es v\xE1lido.</descripcion></error><error><codigo>500</codigo><descripcion>Error
general de aplicaci\xF3n.</descripcion></error></errores></respuesta></ns2:ConsultarLiquidacionXNroComprobanteResp></S:Body></S:Envelope>"
headers:
Connection:
- close
Content-Type:
- text/xml;charset=utf-8
Date:
- Thu, 22 Jul 2021 13:41:51 GMT
Set-Cookie:
- TS01761d9e=01439f1ddf5667325da30f1c836ad50a1263a4569d1e9823ac1af93defec53da0ffae3a230;
Path=/
Transfer-Encoding:
- chunked
X-Powered-By:
- Servlet/3.0; JBossAS-6
status:
code: 200
message: OK
version: 1
Loading