A company was incorporated in States and was funded by owners in US dollar
but it trades in Mexico has the staff there and revenue is made from businesses there , so the company recives income in Peso and pays its staff in peso as well
would the functional currency be peso or US dollar ?