While the story itself is a traditional folk tale with no single known author, it was popularized in its written form by the Brothers Grimm in their collection of fairy tales, *Grimm's Fairy Tales*.
Therefore, while the exact origin of the story is unclear, the Brothers Grimm are considered the most well-known source for the line "Not a penny more, not a penny less".