Set a QuickBooks Online Class to Discount by Store Connection

Overview

When mapping Shopify discounts as line items in QuickBooks Online, weintegrate allows you to optionally assign a QuickBooks Online class to these discount line items. This enables advanced reporting and tracking by department, location, product line, or any other classification system you use in your business.

This class assignment is supported for these QuickBooks Online transaction types:

What is Class Tracking?

QuickBooks Online class tracking is a powerful feature that allows you to categorize transactions across different segments of your business. By assigning classes to discount line items, you can:

  • Track discount performance by department, location, or division across all transaction types
  • Generate class-based profit and loss reports to see discount impact by segment
  • Analyze discount effectiveness across different business units
  • Maintain separate financial reporting for multi-location or multi-division operations
  • Compare discount strategies between different stores or channels

Prerequisites

Before assigning classes to discount line items, ensure:

  1. Class Tracking Enabled in QuickBooks Online: You must enable class tracking in your QBO company settings
  2. Classes Created: At least one class or sub-class must exist in your QuickBooks Online company
  3. Discount Line Item Configured: The “Create Discount as Line Item” feature must be enabled in Sales & Deposits settings
  4. Discount Service Item Created: A Service-type item for discounts must exist in QuickBooks Online

How to Assign a Class to Discount Line Items

Step 1: Access Sales & Deposits Settings

  1. Navigate to your Shopify connection settings in weintegrate
  2. Click on the Sales & Deposits tab
  3. Scroll to the Sales section

Step 2: Enable Discount Line Item Mapping

  1. Ensure the “Create Discount as Line Item in QuickBooks Online” checkbox is checked
  2. Verify you’ve selected a discount Service item from the Discount Line Item dropdown
  3. The class assignment option will appear below these settings

Step 3: Enable Class Assignment

  1. Locate the “Assign Class to Discount Line Item” checkbox
  2. Check this box to enable class assignment
    • If the checkbox appears greyed out, class tracking is not enabled in QuickBooks Online
    • You must enable class tracking in QBO before this option becomes available

Step 4: Select Your Class

  1. Once the checkbox is enabled, the Class dropdown field will appear
  2. Click the dropdown to view all available classes and sub-classes from your QuickBooks Online company
  3. Select the appropriate class for your discount line items
    • You can search by typing the class name
    • Sub-classes are displayed with indentation for easy identification

Step 5: Save Configuration

  1. Review your selections
  2. Click Save or Next (depending on whether you’re in the setup wizard or editing an existing connection)
  3. Your class assignment will be applied to all future discount line items on all transaction types

What Happens After Configuration

Once enabled (this setting is not retroactive), weintegrate on new orders created after saving this setting will:

  1. Create a separate line item for discounts on your configured QuickBooks Online transaction type
  2. Automatically assign your selected QuickBooks Online class to each discount line item
  3. Enable class-based reporting for discount tracking and analysis across all transaction types
  4. Maintain consistency across all transactions from this Shopify store connection

Troubleshooting

The “Assign Class to Discount Line Item” checkbox is greyed out

No classes appear in the Class dropdown

  • Cause: No classes have been created in QuickBooks Online
  • Solution: Create at least one class in QBO
    • Go to Settings → All Lists → Classes
    • Click “New” to create a class
    • Return to weintegrate and refresh the connection settings

The class isn’t appearing on transactions in QuickBooks Online

  • Verify the checkbox is enabled in weintegrate settings
  • Ensure you’ve selected a valid class from the dropdown
  • Check that you’ve saved the configuration
  • Wait for the next new order to sync

Related Topics