Swap is a contract in which the underlying assets are agreed to be exchanged between the parties to the transaction at a predetermined price on a specific date

For example, there is Samsung in Korea and 'Samsung U.S. branch that entered the U.S.' And there is Apple in the U.S., and there is Apple's Korean branch in Korea.
When Samsung tried to send money to Samsung in the U.S., the tariff was huge.
That's why Samsung and Apple make a commitment to avoid tariffs. Apple in the U.S. sends the money Samsung wants to send to 'Samsung in the U.S.' instead.
Then there won't be a tax because the money was not traded between countries, right?
Likewise, Samsung in Korea sends money to 'Apple in Korea' instead of Apple.