2025-05-17 11:36:26 -04:00

105 lines
2.6 KiB
YAML

# Configuración del demonio SOAP
database:
host: localhost
port: 5555
user: facturacion_user
password: facturacion_pass
dbname: facturacion_bd
sslmode: disable
soap:
factura_sincronizacion:
endpoint: https://pilotosiatservicios.impuestos.gob.bo/v2/FacturacionSincronizacion
# endpoint: http://localhost:8088/mockServicioFacturacionSincronizacionSoapBinding
timeout: 30 # segundos
retries: 3
factura_codigo:
endpoint: https://pilotosiatservicios.impuestos.gob.bo/v2/FacturacionCodigos
# endpoint: http://localhost:8088/mockServicioFacturacionCodigosSoapBinding
timeout: 30 # segundos
retries: 3
schedule:
factura_sincronizacion:
# cron: "0 0 */6 * * *" # Cada 6 horas
cron: "0 */1 * * * *" # Cada 1 minutos
factura_codigo:
# cron: "0 0 */7 * * *" # Cada 7 horas
cron: "0 */1 * * * *" # Cada 1 minutos
# Configuración de la API HTTP
api:
port: 9999 # Puerto para el servidor HTTP
# Configuración de notificaciones
notifications:
enabled: true
method: "email" # Opciones: "webhook", "email", "slack"
config:
# email - correo
smtp_server: "mail.myapps.bo"
smtp_port: "465"
username: "keycloaktest@myapps.bo"
password: "%l12k*89f1w:"
from_email: "keycloaktest@myapps.bo"
to_email: "ariel.anivarro@myapps.com.bo"
services:
- name: registrar-empresa
enabled: true
concurrency: 1
- name: actividades
enabled: true
concurrency: 1
- name: sincronizar_fecha_hora
enabled: true
concurrency: 1
- name: sincronizar_mensaje_servicio
enabled: true
concurrency: 1
- name: leyendas_factura
enabled: true
concurrency: 1
- name: producto-servicio
enabled: true
concurrency: 1
- name: tipo_motivo_anulacion
enabled: true
concurrency: 1
- name: tipo_actividades_documento_sector
enabled: true
concurrency: 1
- name: tipo_documento_identidad
enabled: true
concurrency: 1
- name: tipo_documento_sector
enabled: true
concurrency: 1
- name: tipo_emision
enabled: true
concurrency: 1
- name: tipo_metodo_pago
enabled: true
concurrency: 1
- name: tipo_moneda
enabled: true
concurrency: 1
- name: tipo_punto_venta
enabled: true
concurrency: 1
- name: tipo_factura
enabled: true
concurrency: 1
- name: tipo_unidad_medida
enabled: true
concurrency: 1
- name: tipo_evento_significativos
enabled: true
concurrency: 1
- name: sincronizar_tipo_habitacion
enabled: true
concurrency: 1
- name: sincronizar_pais_origen
enabled: true
concurrency: 1