According to Nicaraguan law, the president must announce his visits to a foreign country, which is something that he didn't do.
Segun la ley, el presidente debio haber notificado a la Asamblea Nacional sobre este viaje al exterior, cosa que no hizo.