> ## Documentation Index
> Fetch the complete documentation index at: https://support.pexcard.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create PEX tags for QuickBooks Desktop

> Import expense accounts, items, classes, and customer jobs from QuickBooks Desktop into PEX Tag Manager so transactions sync back with the correct coding.

PEX Tag manager is your one stop shop to import QuickBooks Desktop fields to PEX tags. Each PEX tag corresponds to a QuickBooks Desktop field. Import your expense accounts, items, classes, customer jobs from QuickBooks, so you don't have to add them manually in PEX.
Once they're in PEX, you can easily code/tag transactions before they sync to QuickBooks. They will then sync to QuickBooks with the correct expense account, item, class, customer job.

Follow these steps:

<Steps>
  <Step>
    Open your QuickBooks Desktop account.
  </Step>

  <Step>
    Go to **Lists** > **Chart of Accounts**.

    <Frame>
      <img src="https://mintcdn.com/pextest/9XINAnc7afkjSphA/images/api-&-integration/image-118.png?fit=max&auto=format&n=9XINAnc7afkjSphA&q=85&s=d72f1e7388a74d32638bea18e02849fc" alt="" width="306" height="229" data-path="images/api-&-integration/image-118.png" />
    </Frame>
  </Step>

  <Step>
    Click **Reports** > **Account Listing**.

    <Frame>
      <img src="https://mintcdn.com/pextest/9XINAnc7afkjSphA/images/api-&-integration/image-119.png?fit=max&auto=format&n=9XINAnc7afkjSphA&q=85&s=c12b8da27da0348bb342eaec56d09981" alt="" width="662" height="602" data-path="images/api-&-integration/image-119.png" />
    </Frame>
  </Step>

  <Step>
    Click **Excel** > **Create New Worksheet** > **Export**.

    <Frame>
      <img src="https://mintcdn.com/pextest/9XINAnc7afkjSphA/images/api-&-integration/image-120.png?fit=max&auto=format&n=9XINAnc7afkjSphA&q=85&s=d8338a68768f9937a1af633309de5441" alt="" width="830" height="71" data-path="images/api-&-integration/image-120.png" />
    </Frame>
  </Step>

  <Step>
    Log in to [http://dashboard.pexcard.com/](http://dashboard.pexcard.com/?utm_source=support)
  </Step>

  <Step>
    Go to [Business Settings > Tag manager](https://dashboard.pexcard.com/business-settings/tag-manager?utm_source=support)
  </Step>

  <Step>
    Click **Add Tag**.
  </Step>

  <Step>
    Select **Dropdown** as the type.
  </Step>

  <Step>
    Enter a name: **Expense Account**.
  </Step>

  <Step>
    Optionally, add a description like "Expense Accounts".
  </Step>

  <Step>
    Check **Enabled** to make this tag visible on transactions.
  </Step>

  <Step>
    Choose whether or not this tag is required.

    * If the "Required" checkbox is checked, cardholders must tag a transaction with it.
  </Step>

  <Step>
    Click **Save tag**.
  </Step>

  <Step>
    Click **Import CSV**.
  </Step>

  <Step>
    Click **Download sample CSV file**, then open it.

    <Frame>
      <img src="https://mintcdn.com/pextest/9XINAnc7afkjSphA/images/api-&-integration/image-121.png?fit=max&auto=format&n=9XINAnc7afkjSphA&q=85&s=f81fdfc1e52e4badac120db9b7a92442" alt="" width="1068" height="380" data-path="images/api-&-integration/image-121.png" />
    </Frame>
  </Step>

  <Step>
    Copy the following information from the worksheet you exported from QuickBooks into the sample CSV file from PEX:

    * **NAME** column: copy *account names* to this column. You can rename the accounts to display them as you want to your cardholders.
      * Include only active accounts.
      * We recommend including only the accounts that you and your cardholders will use when tagging purchases.
    * **VALUE** column: copy *account names* from the *Account* column in QuickBooks to the VALUE column.

    <Frame>
      <img src="https://mintcdn.com/pextest/9XINAnc7afkjSphA/images/api-&-integration/image-122.png?fit=max&auto=format&n=9XINAnc7afkjSphA&q=85&s=50bca81fa3b9f3c71fa828ad29d2b7b1" alt="" width="1096" height="100" data-path="images/api-&-integration/image-122.png" />
    </Frame>

    * The VALUE column **must not include numbers** unless they are part of the name; otherwise, **transactions will fail to sync**. For example, in QuickBooks, the Equipment account name is displayed as *201 · Equipment.* You must exclude *201 ·* and enter only Equipment (see above).
    * If the account is a child account, add the parent account name at the beginning, recursively. For example, if the *Video* account is a child of *Technology*, the VALUE should be *Technology:Video* (see above). Do not add spaces.
    * For example, if the *Hotel* account is a child of *Travel*, which is a child of *Expenses*, the VALUE should be *Expenses:Travel:Hotel*. Do not add spaces.
    * **ENABLED** column:
      * Enter TRUE for accounts you want visible on transactions when you or your cardholders tag purchases.
      * Enter FALSE for accounts you do not want visible when tagging purchases.
    * **`AVAILABLE_TO`** column:
      * Leave a cell empty to make the account available to all cardholders, **or** add a relevant group name to limit visibility to cardholders in that group.
      * Ensure the group name in the CSV file matches exactly the name in your PEX account. If it does not match exactly, the account will not be available to that group.
      * Adding multiple groups is not supported at this time.
  </Step>

  <Step>
    Save your updates.
  </Step>

  <Step>
    Return to the PEX screen with the import CSV window open.
  </Step>

  <Step>
    Click **Select file**, choose the updated file, then click **Open**.
  </Step>

  <Step>
    Click **Import**.

    You should see a success message:

    <Frame>
      <img src="https://mintcdn.com/pextest/9XINAnc7afkjSphA/images/api-&-integration/image-123.png?fit=max&auto=format&n=9XINAnc7afkjSphA&q=85&s=7132c6f85bdbf6f3d77cf5de27d60b9f" alt="" width="1523" height="179" data-path="images/api-&-integration/image-123.png" />
    </Frame>
  </Step>

  <Step>
    The new tag appears on the Tag Manager page.

    <Frame>
      <img src="https://mintcdn.com/pextest/9XINAnc7afkjSphA/images/api-&-integration/image-124.png?fit=max&auto=format&n=9XINAnc7afkjSphA&q=85&s=45451bca9391ad139080dbebc3d1d744" alt="" width="1594" height="430" data-path="images/api-&-integration/image-124.png" />
    </Frame>
  </Step>

  <Step>
    Create one tag for each QuickBooks Desktop field mapped to a PEX tag (such as Item, Class, Customer:Job) by repeating the steps above.

    * To export an Items list: **Lists** > **Item List** > **Excel** > **Create New Worksheet** > **Export**.
    * To export a Classes list: **Lists** > **Class List** > **Excel** > **Create New Worksheet** > **Export**.
  </Step>
</Steps>

## Where tags appear in PEX

Once the tags are set up, you will also see them:

<Steps>
  <Step>
    In the PEX Tag dropdown lists in connector setup steps.

    <Frame>
      <img src="https://mintcdn.com/pextest/9XINAnc7afkjSphA/images/api-&-integration/image-125.png?fit=max&auto=format&n=9XINAnc7afkjSphA&q=85&s=8b2b56cd72d148f949af0c12f90dde6f" alt="" width="1452" height="516" data-path="images/api-&-integration/image-125.png" />
    </Frame>
  </Step>

  <Step>
    On the PEX transaction details screen, so you and your cardholders can tag transactions.

    <Frame>
      <img src="https://mintcdn.com/pextest/9XINAnc7afkjSphA/images/api-&-integration/image-126.png?fit=max&auto=format&n=9XINAnc7afkjSphA&q=85&s=7cc1a4db49c24d25ce380193deb04acd" alt="" width="874" height="600" data-path="images/api-&-integration/image-126.png" />
    </Frame>
  </Step>
</Steps>
