export interface FacturaDetalleDto { descripcion: string; importeNeto: number; } export interface FacturaDto { idFactura: number; idSuscriptor: number; periodo: string; fechaEmision: string; fechaVencimiento: string; importeFinal: number; totalPagado: number; saldoPendiente: number; estadoPago: string; estadoFacturacion: string; numeroFactura?: string | null; nombreSuscriptor: string; detalles: FacturaDetalleDto[]; // <-- AÑADIR ESTA LÍNEA }