Introduction:

Error syncing invoice: Error adding item JL-8291349: Bad Request. Details: Invalid account type: For an inventory product, the inventory asset account must have Account Type: 'Current Asset' and Detail Type: 'Inventory.'

This error occurs due to a misconfiguration in the account settings for inventory products in QuickBooks Online. This guide will walk you through the steps to troubleshoot and resolve this issue.


## Understanding the Error:

The error message indicates that an inventory product in QBO is associated with an incorrect account type. Specifically, for an inventory product, the associated account must have:

- Account Type: Current Asset

- Detail Type: Inventory

## Steps to Troubleshoot and Resolve the Error:


Step 1: Identify the Problematic Item

1. Locate the Error Message: Note the line item/product name mentioned in the error message. In this case, the item ID is 'JL-8291349'.

2. Log into QuickBooks Online: Access your QuickBooks Online account.

Step 2: Verify and Correct the Account Settings

1. Navigate to the Products and Services List:

    - Go to the 'Sales' menu.

    - Click on 'Products and Services'.

    

2. Find the Line Item:

    - Use the search bar to locate the Line Item/Product with the ID 'JL-8291349' (or the relevant item name/product name from the error message).

    

3. Edit the Item:

    - Click on 'Edit' next to the item.


4. Check the Inventory Asset Account:

    - In the line item details, locate the 'Inventory asset account' field.

    - Ensure that the account selected here has the correct settings:

        - Account Type: Current Asset

        - Detail Type: Inventory


5. Update the Account if Necessary:

    - If the account does not meet the requirements, you will need to select or create a correct account.

    - To create a new account:

        1. Click on the dropdown menu next to the 'Inventory asset account' field.

        2. Select 'Add new'

        3. In the 'Account Type' dropdown, select 'Current Asset'.

        4. In the 'Detail Type' dropdown, select 'Inventory'.

        5. Name the account appropriately and save it.

        

6. Save the Item:

    - Once the correct account is selected, save the item details.


 Step 3: Retry the Invoice Sync

1. Return to ServiceBox:

    - Go back to the ServiceBox application.

    

2. Retry the Sync:

    - Attempt to sync the invoice again.

    

3. Verify Success:

    - Check to ensure that the invoice syncs without errors. If the error persists, review the steps above to ensure all settings are correct.

Conclusion:

The 'Invalid account type' error in QuickBooks Online can be resolved by ensuring that inventory products are associated with the correct account type and detail type. By following the steps outlined above, you can troubleshoot and fix this issue, ensuring smooth syncing of invoices from ServiceBox to QuickBooks Online.


For any further assistance, feel free to contact ServiceBox customer support.