Etymology
Today it means: An occasion, such as a restaurant visit, in which everyone pays the bill for their own expenses. Full definition →
From Dutch (“inferior, a poor substitute”) + treat.
Etymology from Wiktionary, CC BY-SA 4.0.