---
title: "What does the \"Include matching document as attachment\" toggle do?"
description: This toggle is available when creating an export rule. Once two documents are matched, enabling this toggle will automatically export both documents together. However, before using this feature, ensur
---

[Skip to content](https://help.file.ai/include-matching-document-as-attachment-toggle#main-content)

English

Show submenu for translations

[Customer portal](https://customerportal.file.ai/customerportal?hsLang=en)

![fileAI Logo—White.png\]](https://help.file.ai/hs-fs/hubfs/fileAI%20Logo%E2%80%94White.png?height=40&name=fileAI%20Logo%E2%80%94White.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Customer portal](https://customerportal.file.ai/customerportal)
- Go to bluesheets.io

 Go to bluesheets.io

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Centre](https://help.file.ai/?hsLang=en)
2. [Exporting Files](https://help.file.ai/exporting-files?hsLang=en)

# What does the "Include matching document as attachment" toggle do?

![](https://help.file.ai/hs-fs/hubfs/Screenshot%202025-02-13%20at%201-04-42%E2%80%AFPM-png.png?width=451&height=65&name=Screenshot%202025-02-13%20at%201-04-42%E2%80%AFPM-png.png)

This toggle is available when creating an export rule. Once two documents are matched, enabling this toggle will automatically export both documents together. However, before using this feature, ensure that a **matching rule** is set up to correctly identify and match the documents.

Check out [this](https://help.file.ai/how-do-i-set-up-a-matching-rule?hsLang=en) article on how to set up matching rules.

Here's an example on how this toggle can be useful: 

<iframe data-hsv-src="https://play-na2.hubspotvideo.com/v/7752746/id/186101125001" referrerpolicy="origin" sandbox="allow-forms allow-scripts allow-same-origin allow-popups" allow="autoplay; fullscreen;" style="position: absolute !important; width: 100% !important; height: 100% !important; left: 0; top: 0; border: 0 none; pointer-events: initial" title="HubSpot Video" loading="lazy" data-hsv-id="186101125001" data-hsv-style="" data-hsv-width="688" data-hsv-height="343" data-hsv-autoplay="false" data-hsv-loop="false" data-hsv-muted="false" data-hsv-hidden-controls="false" data-hsv-full-width="false"></iframe>

 

- [Product Release Notes](https://help.file.ai/product-release-notes?hsLang=en#main-content)

    - [Q3 2024](https://help.file.ai/product-release-notes?hsLang=en#q3-2024)
- [FAQs](https://help.file.ai/faqs?hsLang=en)
- [Get Started](https://help.file.ai/get-started?hsLang=en#main-content)

    - [About fileAI](https://help.file.ai/get-started?hsLang=en#about-fileai)
- [Login & Account](https://help.file.ai/login-account?hsLang=en#main-content)

    - [Workspaces](https://help.file.ai/login-account?hsLang=en#workspaces)
    - [Organizations](https://help.file.ai/login-account?hsLang=en#organizations)
    - [Billing, subscriptions, payments](https://help.file.ai/login-account?hsLang=en#billing-subscriptions-payments)
    - [Account errors](https://help.file.ai/login-account?hsLang=en#account-errors)
    - [Account Deletion](https://help.file.ai/login-account?hsLang=en#account-deletion)
- [Uploading Files](https://help.file.ai/uploading-files?hsLang=en#main-content)

    - [Upload Methods](https://help.file.ai/uploading-files?hsLang=en#upload-methods)
    - [Common Questions](https://help.file.ai/uploading-files?hsLang=en#common-questions)
    - [Integration Guides](https://help.file.ai/uploading-files?hsLang=en#integration-guides)
    - [Mobile App](https://help.file.ai/uploading-files?hsLang=en#mobile-app)
- [Processing Files](https://help.file.ai/processing-files?hsLang=en#main-content)

    - [How documents are processed](https://help.file.ai/processing-files?hsLang=en#how-documents-are-processed)
    - [Common Questions](https://help.file.ai/processing-files?hsLang=en#common-questions)
    - [Common Errors](https://help.file.ai/processing-files?hsLang=en#common-errors)
- [File Inbox](https://help.file.ai/file-inbox?hsLang=en#main-content)

    - [Workspace Menu](https://help.file.ai/file-inbox?hsLang=en#workspace-menu)
    - [Organization Menu](https://help.file.ai/file-inbox?hsLang=en#organization-menu)
- [Working with Processed Files](https://help.file.ai/working-with-processed-files?hsLang=en#main-content)

    - [Creating Workflows](https://help.file.ai/working-with-processed-files?hsLang=en#creating-workflows)
    - [Creating Rules](https://help.file.ai/working-with-processed-files?hsLang=en#creating-rules)
    - [Error in Processed Files](https://help.file.ai/working-with-processed-files?hsLang=en#error-in-processed-files)
- [Exporting Files](https://help.file.ai/exporting-files?hsLang=en#main-content)

    - [Common Questions](https://help.file.ai/exporting-files?hsLang=en#common-questions)
    - [Exporting to Xero](https://help.file.ai/exporting-files?hsLang=en#exporting-to-xero)
    - [Xero Export Errors](https://help.file.ai/exporting-files?hsLang=en#xero-export-errors)
    - [Exporting to QuickBooks](https://help.file.ai/exporting-files?hsLang=en#exporting-to-quickbooks)
    - [Exporting to Netsuite](https://help.file.ai/exporting-files?hsLang=en#exporting-to-netsuite)
    - [Exporting to Bukku](https://help.file.ai/exporting-files?hsLang=en#exporting-to-bukku)
    - [Exporting to Google Sheets](https://help.file.ai/exporting-files?hsLang=en#exporting-to-google-sheets)
    - [Exporting to third-party tools (via API)](https://help.file.ai/exporting-files?hsLang=en#exporting-to-third-party-tools-via-api)
    - [Exporting to Zoho Books](https://help.file.ai/exporting-files?hsLang=en#exporting-to-zoho-books)
- [For Accountants](https://help.file.ai/for-accountants?hsLang=en#main-content)

    - [Setting up your firm in fileAI](https://help.file.ai/for-accountants?hsLang=en#setting-up-your-firm-in-fileai)
- [Expense Claims](https://help.file.ai/expense-claims?hsLang=en)
- [Mobile App](https://help.file.ai/mobile-app?hsLang=en)
- [fileForge](https://help.file.ai/fileforge?hsLang=en)

# fileAI

Last Updated: June 2025 / support@file.ai

<https://www.linkedin.com/company/file-ai/>

Copyright © 2026, fileAI

```json
{
  "@context" : "https://schema.org",
  "@type" : "VideoObject",
  "contentUrl" : "https://stream.mux.com/FqlEo6rxigbM39BeOQgAAL3VOwpND941LriqDY1cG02o/capped-1080p.mp4",
  "dateModified" : "2025-02-13T06:12:01.965Z",
  "duration" : "PT1M44S",
  "height" : 946,
  "name" : "Export Matched Document Video",
  "thumbnailUrl" : "https://7752746.fs1.hubspotusercontent-na2.net/hubfs/7752746/Export%20Matched%20Document%20Video.mov/medium.jpg",
  "uploadDate" : "2025-02-13T06:12:01.960Z",
  "width" : 1898
}
```