- generar_factura_venta: fecha = FECHAFACT with fallback to FECHA_RECEPCION - _SQL_VENTAS_BY_FACTURA: add JOIN FACTURA_DIAN to fetch FECHAFACT for send-one Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- generar_factura_venta: fecha = FECHAFACT with fallback to FECHA_RECEPCION - _SQL_VENTAS_BY_FACTURA: add JOIN FACTURA_DIAN to fetch FECHAFACT for send-one Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>