Skip to content

WSFEX/WSFEcred services, docs, tests#113

Open
Matt-salis wants to merge 1 commit intoralcorta:mainfrom
Matt-salis:feat/wsfecred-wsfex
Open

WSFEX/WSFEcred services, docs, tests#113
Matt-salis wants to merge 1 commit intoralcorta:mainfrom
Matt-salis:feat/wsfecred-wsfex

Conversation

@Matt-salis
Copy link

Este PR agrega soporte completo para los servicios AFIP/ARCA WSFEX (Factura de Exportación) y WSFEcred (Factura de Crédito Electrónica).
Incluye WSDLs, enums, repositorios SOAP, puertos de aplicación, servicios, wiring en Arca, documentación y tests unitarios.

Detalle de cambios:

  1. WSFEX
  • Nuevos WSDLs: wsfex.wsdl (test) y wsfex-production.wsdl (prod)
  • Enums: endpoints, serviceName y wsdlPath
  • Repositorio SOAP: WsfexRepository
  • Servicio de aplicación: WsfexService
  • DTOs y ports en application
  • Wiring en Arca: arca.wsfexService
  • Tests unitarios: servicio y repositorio
  1. WSFEcred
  • Nuevos WSDLs: wsfecred.wsdl (test) y wsfecred-production.wsdl (prod)
  • Enums: endpoints, serviceName y wsdlPath
  • Repositorio SOAP: WsfecredRepository
  • Servicio de aplicación: WsfecredService
  • DTOs y ports en application
  • Wiring en Arca: arca.wsfecredService
  • Tests unitarios: servicio y repositorio
  1. Documentación
  • Nueva guía: docs/services/facturacion_credito_electronica.md
  • Sidebar actualizado: docs/.vitepress/config.mts
  • Home actualizado: docs/index.md
  • Página de exportación validada: docs/services/facturacion_exportacion.md
  1. Infraestructura SOAP
  • Nuevas interfaces SOAP: FECredService/ServiceSoap.ts
  • wsdl-strings.ts regenerado con nuevos WSDLs

Pruebas ejecutadas:

  • npm test
    • 28 suites passed, 2 skipped
    • 2 skipped por falta de certificados reales (integration tests)
  • Tests unitarios agregados:
    • wsfecred.service.test.ts
    • fecred-repository.test.ts
    • wsfex.service.test.ts
    • fex-repository.test.ts
    • arca.test.ts (ajuste path Windows)

Notas:

  • consultarObligadoRecepcion devuelve observación de método deprecado según WSFEcred (respuesta del servicio).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant