PerfectParser Docs
User GuidesParser Setup Guides

Receipt Parser Setup Guide

Step-by-step dashboard guide to configure a receipt parser, define fields, run bulk extraction, and export results.

Before You Start

Before setting up your parser, ensure you have:

  1. A PerfectParser account (sign up at perfectparser.com).
  2. A healthy credit balance (each receipt page processed consumes 1 credit).
  3. A sample receipt document (PDF, PNG, or JPEG) to use during the parser setup.

When creating a new Receipt Parser, choose the document organization structure that matches your files:

  • Single Document Per File: Select this option if each uploaded image or PDF contains exactly one receipt.
  • One Document Per Page: Select this option if you scan multiple paper receipts taped to blank pages into a single, merged PDF file.

We suggest configuring the following schema fields for your Receipt Parser to capture all essential transaction data.

Field NameTypeDescription
merchant_nameTextThe name of the store, restaurant, or vendor (e.g., Starbucks, Uber).
transaction_dateTextThe date the receipt was issued.
transaction_timeTextThe time of the transaction (if available).
merchant_addressTextThe physical address or location of the merchant.
subtotalNumberThe transaction subtotal before taxes and gratuities.
tax_amountNumberThe sales tax or VAT amount charged.
tip_amountNumberGratuities or tips added to the bill (e.g. for restaurant or taxi receipts).
total_amountNumberThe final payment amount charged.
payment_methodTextThe payment type (e.g., Visa 1234, Cash).
itemsTableTable containing description, quantity, and amount for each purchased item.

AI Instructions (Optional)

To help the AI parser extract field values with maximum accuracy, copy and paste the following prompt instructions into the AI Instructions (Optional) field during setup:

Extract the merchant name, address, transaction date, transaction time, subtotal, tax amount, tip amount, total amount, and payment method details. Also extract the table of items containing description, quantity, and item amount.

Step-by-Step UI Setup

Follow these steps to set up your Receipt Parser using the single-page setup in the PerfectParser dashboard.

Step 1: Create the Parser

Log in to your dashboard, click Parsers in the left-hand navigation menu, and click the New Parser button.

Step 2: Configure Name and File Organization

In the Parser Details & Setup section:

  1. Enter a clear, recognizable name in the Parser Name field (e.g., "Expense Receipts").
  2. Choose your document structure under How are your files organized? (e.g., select Single Document Per File).

Step 3: Upload your Sample Receipt

Upload your sample document by dragging and dropping it into the upload box on the left-hand Sample Document Preview panel, or clicking the box to choose a file from your computer.

Uploading a sample receipt in the New Parser screen

Step 4: Run Auto-Detection

Once the document finishes uploading:

  1. Copy the prompt from the AI Instructions (Optional) section above and paste it into the AI Instructions (Optional) box.
  2. Click the Auto-Detect Fields button. The AI will analyze the sample document's layout and suggest extraction fields within 10 to 15 seconds.

Step 5: Verify and Refine Fields

Review the generated schema on the right. You can rename fields, change data types, or edit the helper descriptions to guide extraction. When you are satisfied with the schema, click Create Parser at the bottom right.

Reviewing and configuring detected fields in the parser schema editor

Step 6: Run a Batch Extraction

To process your receipts:

  1. Click Bulk Extraction in the left sidebar or the top header.
  2. Select your newly created Expense Receipts parser.
  3. Upload one or more receipts. PerfectParser will start extracting data immediately.

Starting a new bulk extraction batch

Step 7: Export Extracted Data

Navigate to Batch History in the left sidebar or click the Batch History tab on the parser details page. Click Show Files to inspect individual receipt extractions, view confidence scores, and verify the structured output.

Viewing files and inspecting confidence in Batch History

To download your structured data:

  1. Click the Export button on the completed batch card.
  2. Select Export as Excel or Export as CSV from the dropdown menu to download the structured table directly to your computer.

Exporting the structured extraction results to Excel or CSV


Developer Integration

If you want to automate receipt processing programmatically inside your applications:

Looking for product features and use cases?

See the Receipt Data Extraction solution page.