For QuickBooks, Sales Receipts are mapped to your items (aka products and services) as defined in QuickBooks.
Sales Receipts do not map directly to your Chart of Accounts (GL Codes).
Products and Services are mapped to your chart of accounts within QuickBooks itself.
If you are not familiar with Sales Receipts and defining products and services in QuickBooks, using the journal entry method is the recommended posting option.
For more on QuickBooks Online Products and Services, check this link from Intuit.