# Document Classifiers

Source: https://www.digiparser.com/docs/guides/document-classifiers

Document Classifiers

# Document Classifiers

Sort mixed document batches and send each file to the right parser

Copy MarkdownOpen

# [Document Classifiers](#document-classifiers)

Feedback

**Document Classifiers** help when one upload contains different kinds of files, such as invoices, receipts, bank statements, and purchase orders. A classifier reads each document, decides what type it is, and sends it to the parser that should extract the data.

Feedback

Use a classifier when your team receives mixed document batches and does not want to sort the files manually before uploading.

app.digiparser.com![Document Classifiers page showing the classifier list and selected classifier document list](https://documents.digiparser.com/docs/screenshots/2026-07-23/live-classifier-routed-documents.png?sig=a3087771da792ab1cab93b4a6c2df63357522265ebdf0ea070a4e7e9cfeb89f0)

## [Before you start](#before-you-start)

Document Classifiers are available on **Pro and higher plans**. Teams using an active full-feature trial can also create and use classifiers during the trial.

Feedback

Create the parsers you want to route documents to first. For example:

Feedback

*   **Invoice parser** for invoices and receipts
*   **Bank statement parser** for bank statements
*   **Purchase order parser** for purchase orders

Feedback

The classifier does the sorting. The target parser still does the data extraction, exports, reviews, and webhooks.

## [Credit usage](#credit-usage)

Feedback

Classification costs **0.1 credit per document classified**.

Feedback

*   A document that is not routed still uses 0.1 credit for classification.
*   A routed document uses 0.1 credit for classification, then the target parser uses its normal page-processing credits.
*   If **Split Before Routing** creates several documents, each split document is classified separately.
*   If Split with AI is enabled, its additional per-page charge also applies.

See [Credits and Billing](/docs/guides/troubleshooting/credits-and-billing) for examples and combined costs.

## [Create a classifier](#create-a-classifier)

Feedback

1.  In the sidebar, click **Document Classifiers**.
2.  Click **Create classifier**.
3.  Enter a clear **Name**, such as "Claims intake" or "Mixed finance documents".
4.  Under **Routing rules**, add at least one rule:
    *   **If document is**: enter the document type, such as "Invoice".
    *   **Send to**: choose the parser that should process that document type.
5.  Click **Add rule** for each additional document type.
6.  Under **Unmatched documents**, choose what should happen when no rule matches:
    *   **Do not process** keeps the document in the classifier list as not routed.
    *   **Send to parser** sends unmatched documents to one default parser.
7.  Click **Create classifier**.

app.digiparser.com![Create document classifier modal with name, routing rules, and unmatched documents options](https://documents.digiparser.com/docs/screenshots/2026-07-23/live-create-classifier.png?sig=4a24a9ae664805875eb13c5f0b13992cbacc76832f1754e4be55c839cdf38757)

## [Example setup](#example-setup)

Feedback

For a folder with invoices, bank statements, and purchase orders, create rules like this:

If document is

Send to

Invoice

Invoice parser

Bank statement

Bank statement parser

Purchase order

Purchase order parser

Feedback

For **Unmatched documents**, choose **Do not process** if you want to review anything that does not match your rules.

## [Upload documents to a classifier](#upload-documents-to-a-classifier)

Feedback

1.  Open **Document Classifiers**.
2.  Select the classifier from the left column.
3.  Click **Upload Documents**.
4.  Upload the mixed documents together.

Feedback

The classifier sorts the files automatically. Routed documents appear in the classifier list with the parser they were sent to. Documents that do not match any route stay in the classifier list as not routed.

app.digiparser.com![Classifier document list showing routed documents with target parser labels](https://documents.digiparser.com/docs/screenshots/2026-07-23/live-classifier-routed-documents.png?sig=a3087771da792ab1cab93b4a6c2df63357522265ebdf0ea070a4e7e9cfeb89f0)

## [Send documents by email](#send-documents-by-email)

Feedback

Each classifier has its own email address, just like a parser. Copy the email address from the classifier header and send attachments to it.

Feedback

Classifier emails process attachments as separate documents. If **Split Before Routing** is enabled, PDF attachments are split before routing.

## [Split before routing](#split-before-routing)

Feedback

Use **Split Before Routing** when one PDF may contain several documents. For example, one PDF might contain an invoice, a bank statement, and a purchase order.

Feedback

In classifier settings:

Feedback

1.  Open the classifier.
2.  Click **Settings**.
3.  Find **Split Before Routing**.
4.  Choose how PDFs should be split.
5.  Click **Save changes**.

Feedback

After splitting, each split document is routed through the classifier rules separately.

## [Edit routing rules](#edit-routing-rules)

Feedback

1.  Open **Document Classifiers**.
2.  Select the classifier.
3.  Click **Settings**.
4.  Update **Routing rules** or **Unmatched documents**.
5.  Click **Save changes**.

Feedback

You can add, remove, and reorder rules. Rule labels should match the document types you expect users to upload.

## [What happens after routing](#what-happens-after-routing)

Feedback

*   **Routed documents** are sent to the selected parser for extraction.
*   **Not routed documents** stay in the classifier list so you can review them.
*   **Failed routing** stays visible in the classifier list with the failure reason.
*   Exports, reviews, webhooks, and extracted data are handled by the target parser after routing.

## [Tips](#tips)

Feedback

*   Use simple rule names, such as "Invoice", "Receipt", or "Bank statement".
*   Create one parser for each document type before creating the classifier.
*   Use **Do not process** for unmatched documents when you want a human to review unexpected files.
*   Use **Split Before Routing** for large PDFs that contain multiple document types.

## [Next steps](#next-steps)

Feedback

*   [Creating Parsers](/docs/guides/parsers/creating-parsers) - Create the parsers used in routing rules
*   [Uploading Documents](/docs/guides/document-processing/uploading-documents) - Upload files from the app
*   [Send Documents by Email](/docs/guides/document-processing/processing-via-email) - Send documents by email
*   [API Access](/docs/guides/integrations/api-access) - Upload to classifiers through the API

How is this guide?

GoodBad

[

Parser Templates

Understand the ready-made document types available when creating a parser

](/docs/guides/parsers/parser-templates)[

Add/Edit Fields

Add and edit fields in your parser

](/docs/guides/fields-and-tables/field-setup/add-edit-fields)