When was the perforating typewriter invented?
It depends on what you mean by typewriter. The first primitive typewriter was invented in 1575, so its inventor, Francesco Rampazzetto, was the first to use that one. There were many, many other prototypes after that. The first commercially successful typewriter was invented in 1865 by Reverend Rasmus Malling-Hansen of Denmark.
Perhaps Henry Mill, who patented the first typewriter in 1714. There are other people that people claim as the inventor, but this is the earliest claim that I can find. The first QUERTY typewriter keyboard was invented in 1873 by Christopher Sholes, one of the many people who were part of inventing the typewriter in its current form.