1. You can directly give it to the payee (company) and re-write a receipt signed by yourself. If the amount is not large, both parties of the payee know that private receipt will not cause disputes and can also be signed by the payee.
2. If it is a business activity between companies, the payee on the receipt must be signed by the payee himself. If you don't sign in person, you can entrust the payee to sign in writing and give the power of attorney and receipt to the other party for future reference.