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

# Smart Scan

> Extract structured data from receipts, documents, and images using AI

## What is Smart Scan?

Smart Scan uses AI to extract structured data from photos of receipts, documents, business cards, and more. It goes beyond simple OCR to understand the content and populate your Helper fields automatically.

<Info>
  Smart Scan costs **5 credits** per scan.
</Info>

## How to Use

1. Open a Helper (e.g., Expense Tracker)
2. Tap the **camera icon** 📷
3. Choose **Smart Scan**
4. Take a photo or select from gallery
5. Review extracted data and confirm

## What Smart Scan Extracts

### Receipts

<CardGroup cols={2}>
  <Card title="Purchase Details" icon="receipt">
    * Store name
    * Date and time
    * Total amount
    * Payment method
  </Card>

  <Card title="Line Items" icon="list">
    * Individual products
    * Quantities
    * Prices
    * Discounts
  </Card>
</CardGroup>

### Business Cards

* Name and title
* Company
* Phone numbers
* Email addresses
* Physical addresses
* Websites

### Documents

* Key text content
* Dates and numbers
* Tables and structured data
* Signatures detected

## Smart Scan vs. Regular Photo

| Feature       | Smart Scan                                  | Regular Photo                  |
| ------------- | ------------------------------------------- | ------------------------------ |
| Credit cost   | 5                                           | 1 (via Log Anything)           |
| Accuracy      | High (structured extraction)                | Good (AI interpretation)       |
| Field mapping | Automatic                                   | AI-suggested                   |
| Best for      | Complex documents, receipts with line items | Simple captures, quick logging |

## Tips for Best Results

<AccordionGroup>
  <Accordion title="Lighting">
    Good, even lighting without shadows produces the best results. Avoid glare on glossy paper.
  </Accordion>

  <Accordion title="Angle">
    Hold the camera directly above the document, parallel to it. Avoid angles.
  </Accordion>

  <Accordion title="Focus">
    Ensure the text is sharp and readable. Wait for auto-focus before capturing.
  </Accordion>

  <Accordion title="Completeness">
    Include the entire document in frame. Cropped edges mean missing data.
  </Accordion>
</AccordionGroup>

## Supported Document Types

✅ **Works Great**

* Store receipts
* Restaurant bills
* Business cards
* Invoices
* Utility bills
* Shipping labels

⚠️ **Limited Support**

* Handwritten notes (legible only)
* Faded or damaged documents
* Complex multi-page documents

## Use Cases

### Expense Tracking

Scan receipts to automatically log:

* Amount spent
* Merchant name
* Category (auto-detected)
* Date of purchase
* Payment method

### Contact Management

Scan business cards to add:

* New contacts
* Lead information
* Vendor details

### Document Archive

Scan important documents to:

* Extract key information
* Make content searchable
* Store with metadata

## Troubleshooting

<AccordionGroup>
  <Accordion title="Data not extracted correctly">
    * Retake with better lighting
    * Ensure entire document is visible
    * Try flattening crumpled receipts
  </Accordion>

  <Accordion title="Fields not mapping correctly">
    * Review and edit extracted data before saving
    * Adjust Helper fields to match document structure
  </Accordion>

  <Accordion title="Scan taking too long">
    * Complex documents may take 10-20 seconds
    * Check internet connection
  </Accordion>
</AccordionGroup>

## Related Features

<CardGroup cols={2}>
  <Card title="Log Anything" icon="plus" href="/features/log-anything">
    Quick photo capture with 1 credit AI routing
  </Card>

  <Card title="Knowledge Base" icon="book" href="/features/knowledge">
    Upload and search full documents
  </Card>
</CardGroup>
