Price your coffee, services or contracts in dollars and get paid into USD account details held in your Ugandan company's name. The money arrives by domestic US transfer, sits in USD for as long as you want, and becomes shillings at a rate you see before converting. Receiving is 0.49% plus a fixed fee.
A $10,000 invoice paid by wire through correspondent banks routinely lands short. Paid domestically into your USD account, it lands whole, with the only fee shown before the transfer moves.