all small restaurants tear tickets by hand, while some big restaurants use the machine to punch tickets and some use the hand to tear them.
all tickets are torn by hand.
If you buy an invoice, you can buy it in a big hotel restaurant (of course, when the manager in charge is not available)
There are also many people coming to the gate of the Agricultural Bank of Panda Square and asking if you want an invoice. I don't know whether it is true or not.
but if you really want to buy it, you can definitely get it in the hotel. I bought it all in the hotel.