Thank you for your question.
With all due respect, it is very confusing for the following reasons:
1) Cash receipts are deposits so one would think they ought to increase a cash account
2) Cash receipts generally come from customers in Quickbooks, not vendors (you pay money to vendors)
3) Cash receipts generally get posted to revenue accounts, not expense accounts
4) Increasing petty cash by decreasing revenue is a very odd entry and would generally only be used to correct an entry that was made in error
If you are certain that you simply need to decrease revenue and increase petty cash, you can make a journal entry (debit petty cash, credit revenue) following these instructions:
If I assume you recorded expenses against petty cash, thereby reducing petty cash, and are now trying to restore a $0 balance in petty cash, this maybe makes a little more sense. If that is the case, then the entry to restore petty cash depends on where the funds came from. If it came from the owner(s) of a business as a capital contribution, you would debit petty cash and credit owners' capital. If it came from a bank account, you would debit petty cash and credit the bank account. Again, debiting petty cash and crediting revenue is a very odd entry.
We here would love to help you. I'm guessing this hasn't yet answered your question, but perhaps we may make some progress. I will opt out so that if you respond with clarification other answers will help too (I might not be online personally). Good luck!