arca.rb 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. checksums.yaml +7 -0
  2. data/.devcontainer/Dockerfile +8 -0
  3. data/.devcontainer/devcontainer.json +12 -0
  4. data/.github/dependabot.yml +12 -0
  5. data/.github/workflows/ci.yml +16 -0
  6. data/.github/workflows/release.yml +37 -0
  7. data/.gitignore +8 -0
  8. data/.mise.toml +2 -0
  9. data/.rubocop.yml +8 -0
  10. data/.ruby-version +1 -0
  11. data/CHANGELOG.md +19 -0
  12. data/CONTRIBUTING.md +48 -0
  13. data/Gemfile +4 -0
  14. data/LICENSE +22 -0
  15. data/README.md +209 -0
  16. data/Rakefile +10 -0
  17. data/SECURITY.md +14 -0
  18. data/arca.gemspec +40 -0
  19. data/bin/console +7 -0
  20. data/lib/arca/client.rb +29 -0
  21. data/lib/arca/core_ext/hash.rb +13 -0
  22. data/lib/arca/errors/error.rb +13 -0
  23. data/lib/arca/errors/network_error.rb +15 -0
  24. data/lib/arca/errors/response_error.rb +18 -0
  25. data/lib/arca/errors/server_error.rb +6 -0
  26. data/lib/arca/persona_service_a100.rb +51 -0
  27. data/lib/arca/persona_service_a4.rb +34 -0
  28. data/lib/arca/persona_service_a5.rb +46 -0
  29. data/lib/arca/type_conversions.rb +44 -0
  30. data/lib/arca/version.rb +5 -0
  31. data/lib/arca/w_cons_declaracion.rb +66 -0
  32. data/lib/arca/ws_constancia_inscripcion.rb +34 -0
  33. data/lib/arca/wsaa.rb +140 -0
  34. data/lib/arca/wscdc.rb +149 -0
  35. data/lib/arca/wsfe.rb +205 -0
  36. data/lib/arca/wsfecred.rb +438 -0
  37. data/lib/arca/wsrgiva.rb +72 -0
  38. data/lib/arca.rb +31 -0
  39. data/test/arca/client_test.rb +43 -0
  40. data/test/arca/core_ext/hash_test.rb +15 -0
  41. data/test/arca/persona_service_a100_test.rb +45 -0
  42. data/test/arca/persona_service_a4_test.rb +31 -0
  43. data/test/arca/persona_service_a5_test.rb +31 -0
  44. data/test/arca/test.crt +19 -0
  45. data/test/arca/test.key +28 -0
  46. data/test/arca/type_conversions_test.rb +43 -0
  47. data/test/arca/w_cons_declaracion_test.rb +86 -0
  48. data/test/arca/ws_constancia_inscripcion_test.rb +87 -0
  49. data/test/arca/wsaa_test.rb +80 -0
  50. data/test/arca/wscdc_test.rb +103 -0
  51. data/test/arca/wsfe_test.rb +319 -0
  52. data/test/arca/wsfecred_test.rb +162 -0
  53. data/test/arca/wsrgiva_test.rb +91 -0
  54. data/test/fixtures/wconsdeclaracion/detallada_estado/success.xml +24 -0
  55. data/test/fixtures/wconsdeclaracion/detallada_lista_declaraciones/por_fecha_success.xml +39 -0
  56. data/test/fixtures/wconsdeclaracion/detallada_lista_declaraciones/por_id_inexistente.xml +16 -0
  57. data/test/fixtures/wconsdeclaracion/detallada_lista_declaraciones/por_id_success.xml +29 -0
  58. data/test/fixtures/wconsdeclaracion/dummy/success.xml +12 -0
  59. data/test/fixtures/wconsdeclaracion/wconsdeclaracion.wsdl +2976 -0
  60. data/test/fixtures/ws_sr_constancia_inscripcion/dummy/success.xml +11 -0
  61. data/test/fixtures/ws_sr_constancia_inscripcion/get_persona/failure.xml +35 -0
  62. data/test/fixtures/ws_sr_constancia_inscripcion/get_persona/fault.xml +8 -0
  63. data/test/fixtures/ws_sr_constancia_inscripcion/get_persona/success.xml +53 -0
  64. data/test/fixtures/ws_sr_constancia_inscripcion/ws_constancia_inscripcion.wsdl +230 -0
  65. data/test/fixtures/ws_sr_padron_a100/company_types/success.xml +23 -0
  66. data/test/fixtures/ws_sr_padron_a100/dummy/success.xml +11 -0
  67. data/test/fixtures/ws_sr_padron_a100/jurisdictions/success.xml +31 -0
  68. data/test/fixtures/ws_sr_padron_a100/public_organisms/success.xml +23 -0
  69. data/test/fixtures/ws_sr_padron_a100.wsdl +125 -0
  70. data/test/fixtures/ws_sr_padron_a4/dummy/success.xml +11 -0
  71. data/test/fixtures/ws_sr_padron_a4/get_persona/success.xml +133 -0
  72. data/test/fixtures/ws_sr_padron_a4.wsdl +229 -0
  73. data/test/fixtures/ws_sr_padron_a5/dummy/success.xml +11 -0
  74. data/test/fixtures/ws_sr_padron_a5/get_persona/success.xml +62 -0
  75. data/test/fixtures/ws_sr_padron_a5.wsdl +283 -0
  76. data/test/fixtures/wsaa/login_cms/fault.xml +12 -0
  77. data/test/fixtures/wsaa/login_cms/success.xml +16 -0
  78. data/test/fixtures/wsaa/login_cms/token_expirado.xml +14 -0
  79. data/test/fixtures/wsaa/wsaa.wsdl +103 -0
  80. data/test/fixtures/wscdc/comprobante_constatar/success.xml +22 -0
  81. data/test/fixtures/wscdc/comprobante_constatar/with_errors.xml +28 -0
  82. data/test/fixtures/wscdc/comprobante_dummy/success.xml +11 -0
  83. data/test/fixtures/wscdc/comprobantes_modalidad_consultar/success.xml +22 -0
  84. data/test/fixtures/wscdc/comprobantes_tipo_consultar/success.xml +22 -0
  85. data/test/fixtures/wscdc/documentos_tipo_consultar/success.xml +16 -0
  86. data/test/fixtures/wscdc/opcionales_tipo_consultar/success.xml +14 -0
  87. data/test/fixtures/wscdc/wscdc.wsdl +305 -0
  88. data/test/fixtures/wsfe/fe_comp_consultar/success.xml +41 -0
  89. data/test/fixtures/wsfe/fe_comp_tot_x_request/success.xml +9 -0
  90. data/test/fixtures/wsfe/fe_comp_ultimo_autorizado/success.xml +11 -0
  91. data/test/fixtures/wsfe/fe_dummy/success.xml +11 -0
  92. data/test/fixtures/wsfe/fe_param_get_cotizacion/dolar.xml +13 -0
  93. data/test/fixtures/wsfe/fe_param_get_cotizacion/inexistente.xml +14 -0
  94. data/test/fixtures/wsfe/fe_param_get_ptos_venta/success.xml +22 -0
  95. data/test/fixtures/wsfe/fe_param_get_tipos_cbte/failure_1_error.xml +14 -0
  96. data/test/fixtures/wsfe/fe_param_get_tipos_cbte/failure_2_errors.xml +18 -0
  97. data/test/fixtures/wsfe/fe_param_get_tipos_cbte/success.xml +22 -0
  98. data/test/fixtures/wsfe/fe_param_get_tipos_concepto/success.xml +17 -0
  99. data/test/fixtures/wsfe/fe_param_get_tipos_doc/success.xml +16 -0
  100. data/test/fixtures/wsfe/fe_param_get_tipos_iva/success.xml +16 -0
  101. data/test/fixtures/wsfe/fe_param_get_tipos_monedas/success.xml +22 -0
  102. data/test/fixtures/wsfe/fe_param_get_tipos_opcional/success.xml +16 -0
  103. data/test/fixtures/wsfe/fe_param_get_tipos_tributos/success.xml +16 -0
  104. data/test/fixtures/wsfe/fecae_solicitar/autorizacion_1_cbte.xml +30 -0
  105. data/test/fixtures/wsfe/fecae_solicitar/autorizacion_2_cbtes.xml +41 -0
  106. data/test/fixtures/wsfe/fecae_solicitar/dos_observaciones.xml +40 -0
  107. data/test/fixtures/wsfe/fecae_solicitar/una_observacion.xml +36 -0
  108. data/test/fixtures/wsfe/fecaea_consultar/success.xml +17 -0
  109. data/test/fixtures/wsfe/fecaea_reg_informativo/informe_rtdo_parcial.xml +45 -0
  110. data/test/fixtures/wsfe/fecaea_sin_movimiento_informar/success.xml +12 -0
  111. data/test/fixtures/wsfe/fecaea_solicitar/caea_ya_otorgado.xml +18 -0
  112. data/test/fixtures/wsfe/fecaea_solicitar/error_distinto.xml +18 -0
  113. data/test/fixtures/wsfe/fecaea_solicitar/success.xml +17 -0
  114. data/test/fixtures/wsfe/wsfe.wsdl +1372 -0
  115. data/test/fixtures/wsfecred/aceptar_f_e_cred/success.xml +14 -0
  116. data/test/fixtures/wsfecred/consultar_comprobantes/success.xml +17 -0
  117. data/test/fixtures/wsfecred/consultar_cta_cte/success.xml +13 -0
  118. data/test/fixtures/wsfecred/consultar_ctas_ctes/success.xml +16 -0
  119. data/test/fixtures/wsfecred/consultar_tipos_formas_cancelacion/success.xml +14 -0
  120. data/test/fixtures/wsfecred/consultar_tipos_motivos_rechazo/success.xml +14 -0
  121. data/test/fixtures/wsfecred/consultar_tipos_retenciones/failure.xml +14 -0
  122. data/test/fixtures/wsfecred/consultar_tipos_retenciones/success.xml +14 -0
  123. data/test/fixtures/wsfecred/dummy/success.xml +11 -0
  124. data/test/fixtures/wsfecred/wsfecred.wsdl +147 -0
  125. data/test/fixtures/wsrgiva/consultar_constancia_por_lote/one_error.xml +14 -0
  126. data/test/fixtures/wsrgiva/consultar_constancia_por_lote/success.xml +26 -0
  127. data/test/fixtures/wsrgiva/dummy/success.xml +11 -0
  128. data/test/fixtures/wsrgiva/wsrgiva.wsdl +118 -0
  129. data/test/support/savon_extensions.rb +43 -0
  130. data/test/test_helper.rb +44 -0
  131. metadata +319 -0
@@ -0,0 +1,133 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
2
+ <soap:Body>
3
+ <ns2:getPersonaResponse xmlns:ns2="http://a4.soap.ws.server.puc.sr/">
4
+ <personaReturn>
5
+ <metadata>
6
+ <fechaHora>2016-12-02T11:12:37.087-03:00</fechaHora>
7
+ <servidor>setiwebhomoext.afip.gob.ar</servidor>
8
+ </metadata>
9
+ <persona>
10
+ <actividad>
11
+ <descripcionActividad>CONSTRUCCIÓN, REFORMA Y REPARACIÓN DE EDIFICIOS RESIDENCIALES</descripcionActividad>
12
+ <idActividad>410011</idActividad>
13
+ <nomenclador>883</nomenclador>
14
+ <orden>1</orden>
15
+ <periodo>201311</periodo>
16
+ </actividad>
17
+ <apellido>ERNESTO DANIEL</apellido>
18
+ <dependencia>
19
+ <descripcionDependencia>DISTRITO ZAPALA</descripcionDependencia>
20
+ <idDependencia>702</idDependencia>
21
+ </dependencia>
22
+ <domicilio>
23
+ <codPostal>8371</codPostal>
24
+ <datoAdicional>N/A PATRICIA ANDREA</datoAdicional>
25
+ <descripcionProvincia>NEUQUEN</descripcionProvincia>
26
+ <direccion>LAGUNA LOS SAUCES 2</direccion>
27
+ <idProvincia>20</idProvincia>
28
+ <localidad>JUNIN DE LOS ANDES</localidad>
29
+ <tipoDatoAdicional>NO DETERMINADO</tipoDatoAdicional>
30
+ <tipoDomicilio>FISCAL</tipoDomicilio>
31
+ </domicilio>
32
+ <domicilio>
33
+ <codPostal>1425</codPostal>
34
+ <descripcionProvincia>CIUDAD AUTONOMA BUENOS AIRES</descripcionProvincia>
35
+ <direccion>ARAOZ 1901</direccion>
36
+ <idProvincia>0</idProvincia>
37
+ <tipoDomicilio>LEGAL/REAL</tipoDomicilio>
38
+ </domicilio>
39
+ <estadoClave>ACTIVO</estadoClave>
40
+ <fechaInscripcion>2010-10-30T12:00:00-03:00</fechaInscripcion>
41
+ <fechaNacimiento>1891-01-01T12:00:00-03:00</fechaNacimiento>
42
+ <idPersona>20000000516</idPersona>
43
+ <impuesto>
44
+ <descripcionImpuesto>GANANCIAS PERSONAS FISICAS</descripcionImpuesto>
45
+ <diaPeriodo>30</diaPeriodo>
46
+ <estado>BAJA DEFINITIVA</estado>
47
+ <ffInscripcion>2002-04-05T12:00:00-03:00</ffInscripcion>
48
+ <idImpuesto>11</idImpuesto>
49
+ <periodo>200611</periodo>
50
+ </impuesto>
51
+ <impuesto>
52
+ <descripcionImpuesto>MONOTRIBUTO</descripcionImpuesto>
53
+ <diaPeriodo>30</diaPeriodo>
54
+ <estado>BAJA DEFINITIVA</estado>
55
+ <ffInscripcion>2000-03-11T12:00:00-03:00</ffInscripcion>
56
+ <idImpuesto>20</idImpuesto>
57
+ <periodo>200406</periodo>
58
+ </impuesto>
59
+ <impuesto>
60
+ <descripcionImpuesto>MONOTRIBUTO AUTONOMO</descripcionImpuesto>
61
+ <diaPeriodo>30</diaPeriodo>
62
+ <estado>BAJA DEFINITIVA</estado>
63
+ <ffInscripcion>2000-03-11T12:00:00-03:00</ffInscripcion>
64
+ <idImpuesto>21</idImpuesto>
65
+ <periodo>200406</periodo>
66
+ </impuesto>
67
+ <impuesto>
68
+ <descripcionImpuesto>GANANCIA MINIMA PRESUNTA</descripcionImpuesto>
69
+ <diaPeriodo>30</diaPeriodo>
70
+ <estado>BAJA DEFINITIVA</estado>
71
+ <ffInscripcion>2005-03-15T12:00:00-03:00</ffInscripcion>
72
+ <idImpuesto>25</idImpuesto>
73
+ <periodo>200611</periodo>
74
+ </impuesto>
75
+ <impuesto>
76
+ <descripcionImpuesto>SICORE-IMPTO.EMERG.AUTOMOTORES</descripcionImpuesto>
77
+ <diaPeriodo>31</diaPeriodo>
78
+ <estado>BAJA DEFINITIVA</estado>
79
+ <ffInscripcion>2008-01-29T12:00:00-02:00</ffInscripcion>
80
+ <idImpuesto>64</idImpuesto>
81
+ <periodo>200708</periodo>
82
+ </impuesto>
83
+ <impuesto>
84
+ <descripcionImpuesto>EMPLEADOR-APORTES SEG.SOCIAL</descripcionImpuesto>
85
+ <diaPeriodo>15</diaPeriodo>
86
+ <estado>ACTIVO</estado>
87
+ <ffInscripcion>2005-03-15T12:00:00-03:00</ffInscripcion>
88
+ <idImpuesto>301</idImpuesto>
89
+ <periodo>200503</periodo>
90
+ </impuesto>
91
+ <impuesto>
92
+ <descripcionImpuesto>APORTES SEG.SOCIAL AUTONOMOS</descripcionImpuesto>
93
+ <diaPeriodo>10</diaPeriodo>
94
+ <estado>BAJA DEFINITIVA</estado>
95
+ <ffInscripcion>2008-01-25T12:00:00-02:00</ffInscripcion>
96
+ <idImpuesto>308</idImpuesto>
97
+ <periodo>200804</periodo>
98
+ </impuesto>
99
+ <impuesto>
100
+ <descripcionImpuesto>INTERNOS-SEGUROS</descripcionImpuesto>
101
+ <diaPeriodo>30</diaPeriodo>
102
+ <estado>BAJA DEFINITIVA</estado>
103
+ <ffInscripcion>2005-09-12T12:00:00-03:00</ffInscripcion>
104
+ <idImpuesto>365</idImpuesto>
105
+ <periodo>200611</periodo>
106
+ </impuesto>
107
+ <impuesto>
108
+ <descripcionImpuesto>ADICIONAL EMERG.CIGARRILLOS</descripcionImpuesto>
109
+ <diaPeriodo>1</diaPeriodo>
110
+ <estado>ACTIVO</estado>
111
+ <ffInscripcion>2008-01-28T12:00:00-02:00</ffInscripcion>
112
+ <idImpuesto>366</idImpuesto>
113
+ <periodo>200708</periodo>
114
+ </impuesto>
115
+ <mesCierre>12</mesCierre>
116
+ <nombre>MARCELO NICOLAS</nombre>
117
+ <numeroDocumento>51</numeroDocumento>
118
+ <regimen>
119
+ <descripcionRegimen>REG.PER. IMPUESTO DE EMERGENCIA A LOS AUTOMOTORES Y OTROS - FONDO NACIONAL DE INCENTIVO DOCENTE.</descripcionRegimen>
120
+ <estado>BAJA DEFINITIVA</estado>
121
+ <idImpuesto>64</idImpuesto>
122
+ <idRegimen>715</idRegimen>
123
+ <periodo>200708</periodo>
124
+ <tipoRegimen>PERCEPCION</tipoRegimen>
125
+ </regimen>
126
+ <sexo>MASCULINO</sexo>
127
+ <tipoClave>CUIT</tipoClave>
128
+ <tipoPersona>FISICA</tipoPersona>
129
+ </persona>
130
+ </personaReturn>
131
+ </ns2:getPersonaResponse>
132
+ </soap:Body>
133
+ </soap:Envelope>
@@ -0,0 +1,229 @@
1
+ <wsdl:definitions name="PersonaServiceA4" targetNamespace="http://a4.soap.ws.server.puc.sr/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://a4.soap.ws.server.puc.sr/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
+ <wsdl:types>
3
+ <xs:schema elementFormDefault="unqualified" targetNamespace="http://a4.soap.ws.server.puc.sr/" version="1.0" xmlns:tns="http://a4.soap.ws.server.puc.sr/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
4
+ <xs:element name="dummy" type="tns:dummy"/>
5
+ <xs:element name="dummyResponse" type="tns:dummyResponse"/>
6
+ <xs:element name="getPersona" type="tns:getPersona"/>
7
+ <xs:element name="getPersonaResponse" type="tns:getPersonaResponse"/>
8
+ <xs:complexType name="dummy">
9
+ <xs:sequence/>
10
+ </xs:complexType>
11
+ <xs:complexType name="dummyResponse">
12
+ <xs:sequence>
13
+ <xs:element minOccurs="0" name="return" type="tns:dummyReturn"/>
14
+ </xs:sequence>
15
+ </xs:complexType>
16
+ <xs:complexType name="dummyReturn">
17
+ <xs:sequence>
18
+ <xs:element minOccurs="0" name="appserver" type="xs:string"/>
19
+ <xs:element minOccurs="0" name="authserver" type="xs:string"/>
20
+ <xs:element minOccurs="0" name="dbserver" type="xs:string"/>
21
+ </xs:sequence>
22
+ </xs:complexType>
23
+ <xs:complexType name="getPersona">
24
+ <xs:sequence>
25
+ <xs:element name="token" type="xs:string"/>
26
+ <xs:element name="sign" type="xs:string"/>
27
+ <xs:element name="cuitRepresentada" type="xs:long"/>
28
+ <xs:element name="idPersona" type="xs:long"/>
29
+ </xs:sequence>
30
+ </xs:complexType>
31
+ <xs:complexType name="getPersonaResponse">
32
+ <xs:sequence>
33
+ <xs:element minOccurs="0" name="personaReturn" type="tns:personaReturn"/>
34
+ </xs:sequence>
35
+ </xs:complexType>
36
+ <xs:complexType name="personaReturn">
37
+ <xs:sequence>
38
+ <xs:element minOccurs="0" name="metadata" type="tns:metadata"/>
39
+ <xs:element minOccurs="0" name="persona" type="tns:persona"/>
40
+ </xs:sequence>
41
+ </xs:complexType>
42
+ <xs:complexType name="metadata">
43
+ <xs:sequence>
44
+ <xs:element minOccurs="0" name="fechaHora" type="xs:dateTime"/>
45
+ <xs:element minOccurs="0" name="servidor" type="xs:string"/>
46
+ </xs:sequence>
47
+ </xs:complexType>
48
+ <xs:complexType name="persona">
49
+ <xs:sequence>
50
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="actividad" nillable="true" type="tns:actividad"/>
51
+ <xs:element minOccurs="0" name="apellido" type="xs:string"/>
52
+ <xs:element minOccurs="0" name="cantidadSociosEmpresaMono" type="xs:int"/>
53
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="categoria" nillable="true" type="tns:categoria"/>
54
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="claveInactivaAsociada" nillable="true" type="xs:long"/>
55
+ <xs:element minOccurs="0" name="dependencia" type="tns:dependencia"/>
56
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="domicilio" nillable="true" type="tns:domicilio"/>
57
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="email" nillable="true" type="tns:email"/>
58
+ <xs:element minOccurs="0" name="estadoClave" type="xs:string"/>
59
+ <xs:element minOccurs="0" name="fechaContratoSocial" type="xs:dateTime"/>
60
+ <xs:element minOccurs="0" name="fechaFallecimiento" type="xs:dateTime"/>
61
+ <xs:element minOccurs="0" name="fechaInscripcion" type="xs:dateTime"/>
62
+ <xs:element minOccurs="0" name="fechaJubilado" type="xs:dateTime"/>
63
+ <xs:element minOccurs="0" name="fechaNacimiento" type="xs:dateTime"/>
64
+ <xs:element minOccurs="0" name="fechaVencimientoMigracion" type="xs:dateTime"/>
65
+ <xs:element minOccurs="0" name="formaJuridica" type="xs:string"/>
66
+ <xs:element minOccurs="0" name="idPersona" type="xs:long"/>
67
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="impuesto" nillable="true" type="tns:impuesto"/>
68
+ <xs:element minOccurs="0" name="leyJubilacion" type="xs:int"/>
69
+ <xs:element minOccurs="0" name="localidadInscripcion" type="xs:string"/>
70
+ <xs:element minOccurs="0" name="mesCierre" type="xs:int"/>
71
+ <xs:element minOccurs="0" name="nombre" type="xs:string"/>
72
+ <xs:element minOccurs="0" name="numeroDocumento" type="xs:string"/>
73
+ <xs:element minOccurs="0" name="numeroInscripcion" type="xs:long"/>
74
+ <xs:element minOccurs="0" name="organismoInscripcion" type="xs:string"/>
75
+ <xs:element minOccurs="0" name="organismoOriginante" type="xs:string"/>
76
+ <xs:element minOccurs="0" name="porcentajeCapitalNacional" type="xs:double"/>
77
+ <xs:element minOccurs="0" name="provinciaInscripcion" type="xs:string"/>
78
+ <xs:element minOccurs="0" name="razonSocial" type="xs:string"/>
79
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="regimen" nillable="true" type="tns:regimen"/>
80
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="relacion" nillable="true" type="tns:relacion"/>
81
+ <xs:element minOccurs="0" name="sexo" type="xs:string"/>
82
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="telefono" nillable="true" type="tns:telefono"/>
83
+ <xs:element minOccurs="0" name="tipoClave" type="xs:string"/>
84
+ <xs:element minOccurs="0" name="tipoDocumento" type="xs:string"/>
85
+ <xs:element minOccurs="0" name="tipoOrganismoOriginante" type="xs:string"/>
86
+ <xs:element minOccurs="0" name="tipoPersona" type="xs:string"/>
87
+ <xs:element minOccurs="0" name="tipoResidencia" type="xs:string"/>
88
+ </xs:sequence>
89
+ </xs:complexType>
90
+ <xs:complexType name="actividad">
91
+ <xs:sequence>
92
+ <xs:element minOccurs="0" name="descripcionActividad" type="xs:string"/>
93
+ <xs:element minOccurs="0" name="idActividad" type="xs:long"/>
94
+ <xs:element minOccurs="0" name="nomenclador" type="xs:int"/>
95
+ <xs:element minOccurs="0" name="orden" type="xs:int"/>
96
+ <xs:element minOccurs="0" name="periodo" type="xs:int"/>
97
+ </xs:sequence>
98
+ </xs:complexType>
99
+ <xs:complexType name="categoria">
100
+ <xs:sequence>
101
+ <xs:element minOccurs="0" name="descripcionCategoria" type="xs:string"/>
102
+ <xs:element minOccurs="0" name="estado" type="xs:string"/>
103
+ <xs:element minOccurs="0" name="idCategoria" type="xs:int"/>
104
+ <xs:element minOccurs="0" name="idImpuesto" type="xs:int"/>
105
+ <xs:element minOccurs="0" name="periodo" type="xs:int"/>
106
+ </xs:sequence>
107
+ </xs:complexType>
108
+ <xs:complexType name="dependencia">
109
+ <xs:sequence>
110
+ <xs:element minOccurs="0" name="descripcionDependencia" type="xs:string"/>
111
+ <xs:element minOccurs="0" name="idDependencia" type="xs:int"/>
112
+ </xs:sequence>
113
+ </xs:complexType>
114
+ <xs:complexType name="domicilio">
115
+ <xs:sequence>
116
+ <xs:element minOccurs="0" name="codPostal" type="xs:string"/>
117
+ <xs:element minOccurs="0" name="datoAdicional" type="xs:string"/>
118
+ <xs:element minOccurs="0" name="descripcionProvincia" type="xs:string"/>
119
+ <xs:element minOccurs="0" name="direccion" type="xs:string"/>
120
+ <xs:element minOccurs="0" name="idProvincia" type="xs:int"/>
121
+ <xs:element minOccurs="0" name="localidad" type="xs:string"/>
122
+ <xs:element minOccurs="0" name="tipoDatoAdicional" type="xs:string"/>
123
+ <xs:element minOccurs="0" name="tipoDomicilio" type="xs:string"/>
124
+ </xs:sequence>
125
+ </xs:complexType>
126
+ <xs:complexType name="email">
127
+ <xs:sequence>
128
+ <xs:element minOccurs="0" name="direccion" type="xs:string"/>
129
+ <xs:element minOccurs="0" name="estado" type="xs:string"/>
130
+ <xs:element minOccurs="0" name="tipoEmail" type="xs:string"/>
131
+ </xs:sequence>
132
+ </xs:complexType>
133
+ <xs:complexType name="impuesto">
134
+ <xs:sequence>
135
+ <xs:element minOccurs="0" name="descripcionImpuesto" type="xs:string"/>
136
+ <xs:element minOccurs="0" name="diaPeriodo" type="xs:int"/>
137
+ <xs:element minOccurs="0" name="estado" type="xs:string"/>
138
+ <xs:element minOccurs="0" name="ffInscripcion" type="xs:dateTime"/>
139
+ <xs:element minOccurs="0" name="idImpuesto" type="xs:int"/>
140
+ <xs:element minOccurs="0" name="periodo" type="xs:int"/>
141
+ </xs:sequence>
142
+ </xs:complexType>
143
+ <xs:complexType name="regimen">
144
+ <xs:sequence>
145
+ <xs:element minOccurs="0" name="descripcionRegimen" type="xs:string"/>
146
+ <xs:element minOccurs="0" name="diaPeriodo" type="xs:int"/>
147
+ <xs:element minOccurs="0" name="estado" type="xs:string"/>
148
+ <xs:element minOccurs="0" name="idImpuesto" type="xs:int"/>
149
+ <xs:element minOccurs="0" name="idRegimen" type="xs:int"/>
150
+ <xs:element minOccurs="0" name="periodo" type="xs:int"/>
151
+ <xs:element minOccurs="0" name="tipoRegimen" type="xs:string"/>
152
+ </xs:sequence>
153
+ </xs:complexType>
154
+ <xs:complexType name="relacion">
155
+ <xs:sequence>
156
+ <xs:element minOccurs="0" name="ffRelacion" type="xs:dateTime"/>
157
+ <xs:element minOccurs="0" name="ffVencimiento" type="xs:dateTime"/>
158
+ <xs:element minOccurs="0" name="idPersona" type="xs:long"/>
159
+ <xs:element minOccurs="0" name="idPersonaAsociada" type="xs:long"/>
160
+ <xs:element minOccurs="0" name="subtipoRelacion" type="xs:string"/>
161
+ <xs:element minOccurs="0" name="tipoRelacion" type="xs:string"/>
162
+ </xs:sequence>
163
+ </xs:complexType>
164
+ <xs:complexType name="telefono">
165
+ <xs:sequence>
166
+ <xs:element minOccurs="0" name="numero" type="xs:long"/>
167
+ <xs:element minOccurs="0" name="tipoLinea" type="xs:string"/>
168
+ <xs:element minOccurs="0" name="tipoTelefono" type="xs:string"/>
169
+ </xs:sequence>
170
+ </xs:complexType>
171
+ </xs:schema>
172
+ </wsdl:types>
173
+ <wsdl:message name="getPersonaResponse">
174
+ <wsdl:part element="tns:getPersonaResponse" name="parameters">
175
+ </wsdl:part>
176
+ </wsdl:message>
177
+ <wsdl:message name="getPersona">
178
+ <wsdl:part element="tns:getPersona" name="parameters">
179
+ </wsdl:part>
180
+ </wsdl:message>
181
+ <wsdl:message name="dummyResponse">
182
+ <wsdl:part element="tns:dummyResponse" name="parameters">
183
+ </wsdl:part>
184
+ </wsdl:message>
185
+ <wsdl:message name="dummy">
186
+ <wsdl:part element="tns:dummy" name="parameters">
187
+ </wsdl:part>
188
+ </wsdl:message>
189
+ <wsdl:portType name="PersonaServiceA4">
190
+ <wsdl:operation name="dummy">
191
+ <wsdl:input message="tns:dummy" name="dummy">
192
+ </wsdl:input>
193
+ <wsdl:output message="tns:dummyResponse" name="dummyResponse">
194
+ </wsdl:output>
195
+ </wsdl:operation>
196
+ <wsdl:operation name="getPersona">
197
+ <wsdl:input message="tns:getPersona" name="getPersona">
198
+ </wsdl:input>
199
+ <wsdl:output message="tns:getPersonaResponse" name="getPersonaResponse">
200
+ </wsdl:output>
201
+ </wsdl:operation>
202
+ </wsdl:portType>
203
+ <wsdl:binding name="PersonaServiceA4SoapBinding" type="tns:PersonaServiceA4">
204
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
205
+ <wsdl:operation name="dummy">
206
+ <soap:operation soapAction="" style="document"/>
207
+ <wsdl:input name="dummy">
208
+ <soap:body use="literal"/>
209
+ </wsdl:input>
210
+ <wsdl:output name="dummyResponse">
211
+ <soap:body use="literal"/>
212
+ </wsdl:output>
213
+ </wsdl:operation>
214
+ <wsdl:operation name="getPersona">
215
+ <soap:operation soapAction="" style="document"/>
216
+ <wsdl:input name="getPersona">
217
+ <soap:body use="literal"/>
218
+ </wsdl:input>
219
+ <wsdl:output name="getPersonaResponse">
220
+ <soap:body use="literal"/>
221
+ </wsdl:output>
222
+ </wsdl:operation>
223
+ </wsdl:binding>
224
+ <wsdl:service name="PersonaServiceA4">
225
+ <wsdl:port binding="tns:PersonaServiceA4SoapBinding" name="PersonaServiceA4Port">
226
+ <soap:address location="https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA4"/>
227
+ </wsdl:port>
228
+ </wsdl:service>
229
+ </wsdl:definitions>
@@ -0,0 +1,11 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
2
+ <soap:Body>
3
+ <ns2:dummyResponse xmlns:ns2="http://a100.soap.ws.server.pucParam.sr/">
4
+ <return>
5
+ <appserver>OK</appserver>
6
+ <authserver>OK</authserver>
7
+ <dbserver>OK</dbserver>
8
+ </return>
9
+ </ns2:dummyResponse>
10
+ </soap:Body>
11
+ </soap:Envelope>
@@ -0,0 +1,62 @@
1
+ <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
2
+ <soap:Body>
3
+ <ns2:getPersonaResponse xmlns:ns2="http://a5.soap.ws.server.puc.sr/">
4
+ <personaReturn>
5
+ <datosGenerales>
6
+ <apellido>ALEXA</apellido>
7
+ <dependencia>
8
+ <codPostal>5000</codPostal>
9
+ <descripcionDependencia>AGENCIA-SEDE N.1 CORDOBA</descripcionDependencia>
10
+ <descripcionProvincia>CORDOBA</descripcionProvincia>
11
+ <direccion>BOULEVARD SAN JUAN 325 PB</direccion>
12
+ <idDependencia>272</idDependencia>
13
+ <idProvincia>3</idProvincia>
14
+ <localidad>CORDOBA</localidad>
15
+ </dependencia>
16
+ <domicilioFiscal>
17
+ <codPostal>5152</codPostal>
18
+ <descripcionProvincia>CORDOBA</descripcionProvincia>
19
+ <direccion>SAN MARTIN 256</direccion>
20
+ <idProvincia>3</idProvincia>
21
+ <localidad>VILLA CARLOS PAZ</localidad>
22
+ <tipoDomicilio>FISCAL</tipoDomicilio>
23
+ </domicilioFiscal>
24
+ <estadoClave>ACTIVO</estadoClave>
25
+ <idPersona>27255820422</idPersona>
26
+ <mesCierre>12</mesCierre>
27
+ <nombre>HILARY</nombre>
28
+ <tipoClave>CUIT</tipoClave>
29
+ <tipoPersona>FISICA</tipoPersona>
30
+ </datosGenerales>
31
+ <datosMonotributo>
32
+ <actividadMonotributista>
33
+ <descripcionActividad>VENTAS</descripcionActividad>
34
+ <idActividad>10</idActividad>
35
+ <nomenclador>1</nomenclador>
36
+ <orden>0</orden>
37
+ <periodo>201007</periodo>
38
+ </actividadMonotributista>
39
+ <categoriaMonotributo>
40
+ <descripcionCategoria>C VENTAS DE COSAS MUEBLES</descripcionCategoria>
41
+ <idCategoria>45</idCategoria>
42
+ <idImpuesto>20</idImpuesto>
43
+ <periodo>201007</periodo>
44
+ </categoriaMonotributo>
45
+ <componenteDeSociedad>
46
+ <ffRelacion>2008-11-25T06:41:21-03:00</ffRelacion>
47
+ <idPersonaAsociada>23168373384</idPersonaAsociada>
48
+ </componenteDeSociedad>
49
+ <impuesto>
50
+ <descripcionImpuesto>MONOTRIBUTO</descripcionImpuesto>
51
+ <idImpuesto>20</idImpuesto>
52
+ <periodo>201007</periodo>
53
+ </impuesto>
54
+ </datosMonotributo>
55
+ <metadata>
56
+ <fechaHora>2017-01-06T11:47:40.464-03:00</fechaHora>
57
+ <servidor>aws.afip.gob.ar</servidor>
58
+ </metadata>
59
+ </personaReturn>
60
+ </ns2:getPersonaResponse>
61
+ </soap:Body>
62
+ </soap:Envelope>