I got you covered, @marireveles.
You'll want to create a Bill for the material you purchase from your customer. Then, create a journal entry for the amount paid for the purchase. Let me guide you how to do it in your QuickBooks Online (QBO) account.
To create a Bill:
- Go to the + New button.
- Select Bill.
- Choose a vendor from the Vendor drop-down menu.
- Fill in the needed information.
- Click Save and close.
Here's an article you can read for more details: Enter and pay bills
Once done, create a journal entry for the Accounts Receivable and Accounts Payable to offset the amount. I'd recommend getting in touch with your accountant for guidance on what account to credit and debit. This way, we ensure the accuracy of your books after recording this.
Then link the journal entry when recording the invoice payment. Additionally, do check our Income and expenses page and learn some best practices in managing your income in QBO.
You can always get back to me whenever you have other questions. I'm always here to help.