Some countries call this "hawala", where it is illegal to give cash to someone in one country, and the receiver can collect it from a broker in another country.
Is it illegal to give cash to someone if there is no forex involved? Is it legal if invoices are made?