Skip to main content

How to Use Direct Expenses and Sync Them with QuickBooks Online

This guide shows how to enable Direct Expenses in Tofu, upload already-paid expense documents, and keep them in sync with QuickBooks Online (QBO).

Written by Jess B
Updated over 2 weeks ago

1. Turn on Direct Expense as an Extraction Type

Enable Direct Expense for your entity

  • Go to Entity Settings → Features

  • Under Document Extraction Types

  • Toggle Direct Expense ON

Once enabled, Tofu will extract paid expenses such as petty cash, card receipts, and bank-paid expenses.


2. Configure Direct Expense Settings for QuickBooks Online

  • Go to Entity Settings → Integrations → QuickBooks Online

  • Open the configuration panel

  • Under Direct Expenses:

    • Enable Auto-publish

    • Auto-import is disabled by default

💡 You can still manually import Direct Expenses from QBO at any time.

Recommend Settings

  • Auto-Publish ON
    Automatically sends verified Direct Expenses from Tofu to QBO.

  • Self-Prompt (recommended for new entities)
    Tofie learns from your accounting data and applies your rules automatically.

📌 Note: For existing entities that already have a QBO integration, Self-Prompt won’t appear in the QuickBooks configuration settings. To update it, go to:
Settings → Entity Knowledge Base → Select Direct Expense → Click Self-Prompt.


3. Upload a Direct Expense Document

  • Go to the Source Documents column

  • Click Upload document

  • Select a receipt or expense file.

Tofu will detect and extract the document as a Direct Expense.

💡 Recommended: Connect Google Drive, SharePoint, or Email
For the easiest Direct Expense workflow, we recommend integrating Google Drive, SharePoint, or Email with Tofu. Once connected, any direct expense you upload to your chosen folder or send via email will automatically sync into Tofu, so you don’t have to upload documents manually every time.


4. Review the Extraction and Publish

  • Open the extracted Direct Expense from the Extractions column

  • Review the extracted details such as:

    • Supplier / Payee

    • Account

    • Transaction date

    • Payment type (Cash / Check / Credit Card)

    • Line items (category/account + amount)

    • Tax (if applicable)

💡 Tip:

To show Account Type automatically next to account names:

1. Go to Entity Settings → Features → Accounting

2. Enable Account Type

3. Return to review — Account Type will show automatically.

If this setting is disabled, click the “+” icon in the Account column to view Account Type.


Optional: Combined Line Items

If Aggregate Line Items is enabled for your organization, you’ll see a Combined Line Items button during Direct Expense review.

  • Use this to merge multiple line items into a single summarized line

  • Helpful when receipts contain many small line items

  • The combined line description uses the first line item’s description

Multiple Receipts in One File

If a file contains multiple receipts:

  • Use Multi-Receipt Cropping to split it into separate snippets before extraction

  • Each receipt will then be created as its own Direct Expense


Publishing to QuickBooks Online

🔔 Important:
You may see a Publish Error at first. This is expected.

QuickBooks Online requires a Payment Type (Cash, Check, or Credit Card) before an expense can be published.

  1. Select the correct Payment Type

  2. Make any necessary adjustments

  3. Click Save Draft, then Publish

If Auto-Publish is ON, saving your changes will automatically publish the expense to QBO.

If your supplier/contact is inactive in QuickBooks

If a supplier/contact was archived (made inactive) in QuickBooks, publishing a Direct Expense may fail because QuickBooks won’t accept an inactive contact.

What to do:

  1. Open QuickBooks Online and reactivate (unarchive) the supplier/contact.

  2. Return to Tofu and Publish again.

This helps avoid duplicate supplier records and ensures the expense publishes successfully.


💡 Tip: Train Tofie to Auto-Select Payment Type

You can teach Tofie to choose the correct payment type automatically.

  1. Click Tofie in the top-right corner

  2. Set Knowledge Type to Direct Expenses

  3. Enter an instruction, for example:

    “Always select Credit Card as the payment type for Direct Expenses.”

  4. Click Generate, then Save

When you re-extract similar receipts, Tofie will apply this rule automatically.


5. Make Changes in QuickBooks Online and Sync Back to Tofu

  1. Open QuickBooks Online

  2. Edit the expense if needed (tax, category, amount, etc.)

  3. Return to Tofu

  4. Click Import

Any changes made in QBO will be reflected back in Tofu.


Important notes

  • Direct Expenses are for already-paid receipts.
    If the vendor invoice is unpaid and requires an AP workflow, use AP Bills instead.

  • Payment type matters in QBO.
    QBO Purchases support Cash, Check, and Credit Card.
    The account used must match the payment type (e.g., credit card account for credit card payments).

  • No automatic back-sync for Direct Expenses.
    Changes made in QBO will not auto-sync back to Tofu. You must click Import.


✅ You’re All Set

Your Direct Expenses are now flowing from Tofu to QuickBooks Online and staying in sync.


This lets you work in either system without re-entering data, keeping your expense records accurate and up to date.

Did this answer your question?