money of a king has the same rules applied as one who oversees the tax, and even though they are making sound to be heard on Shabbat through the coins [Haggahot Maimuniyyot, Chapter 7]. And see below, Simon 252. And the Jew should be careful to not sit next the heathen on Shabbat when he's involved with his work with the money or with receiving the tax [Mordecai, first chapter of Shabbat].
245: A Jew and a Heathen are Partners, How Should They Act on Shabbat.
1 A Jew and a heathen that have a field or oven or bathhouse or millstone of water in a partnership, or that they are partners in a store in a business: if they stipulated in the beginning at the time they came into the partnership that the profit of the Shabbat would go to the heathen alone, whether a little or a lot, and the profit of another day, corresponding to the the day of the Shabbat, to the Jew alone, it is permissible. And if they didn't stipulate from the beginning, when they will come to distribute, the heathen takes the profit of all the Shabbats and they split the rest. And if the profit of Shabbat was not known, the heathen should take a seventh of the profit and they split the rest. Gloss: And there are those that permit the profit after-the-fact, even if he did not stipulate and they just split [Rabbi Asher, First Chapter of Avodat Elilim; and Rabbi Yerucham, Section 12]. And it appears to me that in a situation of great loss there is what to rely on them. And some say