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

# AI Document Import

> Extract structured tables from PDFs, images, and documents with simple, transparent pricing.

CSVbox lets you import tabular data from PDFs, images, and documents using AI-powered extraction. The feature makes unstructured data import-ready in just a few steps, while keeping pricing predictable and usage fully transparent.

## How to enable AI Document Import

Enable this feature in your sheet configuration under **Sheet Settings** → **Import Steps** → **File Upload** → **Enable AI Document Import**.

Once enabled, users can upload documents (PDFs, images, DOCX) during the import flow.

## Data privacy and security

Your documents are processed using secure external AI services for table extraction.

* Your uploaded documents are **not used to train or improve any public AI models**.
* The service guarantees your data is **not used for any purpose other than processing your request**.
* Files are handled securely and processed only for extraction.

## What is a "document page"?

A **page** is the unit used for billing document processing.

* **PDF**: each page = 1 page.
* **Images (JPG, PNG, WEBP, etc.)**: each image = 1 page.
* **DOCX**: processed as pages based on document layout.

<Note>
  DOCX page counts are estimated based on document structure.
</Note>

## Monthly included pages

Each plan includes a fixed number of document pages per billing cycle:

| Plan | Included pages / month |
| - | - |
| Sandbox | 5 pages |
| Startup | 50 pages |
| Pro | 500 pages |
| Growth | 1,000 pages |
| Plus | 3,000 pages |

* Limits reset every billing cycle.
* Unused pages don't roll over.

## Extra pages (credits)

If you exceed your monthly included pages:

* Additional pages cost **\$0.03 per page**.
* Charges are deducted from your prepaid credit balance.

## What are credits?

Credits are a prepaid balance used for document processing.

* You can top up anytime from the **Plans** page.
* Credits are used only after your included pages are exhausted.
* Credits are stored as a monetary balance (USD).

For example:

* \$10 ≈ 333 pages
* \$25 ≈ 833 pages

## How usage is calculated

When you process documents, pages are consumed in this order:

1. Included monthly pages
2. Credit balance
3. If both are exhausted, processing is blocked.

## Selecting the correct table

Many documents contain multiple tables. CSVbox gives you full control:

* All detected tables are shown in a preview.
* You can review each table visually.
* You select the exact table you want to import.

This ensures accurate imports even from complex or multi-section documents.

## Example usage

You're on the Pro plan (500 pages/month) and process 600 pages in a month:

* 500 pages are included.
* 100 pages are paid with credits.

Cost: 100 × \$0.03 = **\$3.00**

## When will I be charged?

A page is charged when it's successfully sent for AI processing.

You're not charged when:

* The file upload fails.
* The file is unsupported.
* The document can't be read before processing starts.

## Failed or low-quality results

In some cases:

* No tables are detected.
* Extraction quality isn't usable.

These pages are still charged, because AI processing has already been performed.

## Partial processing

If processing stops midway, only successfully processed pages are charged.

For example, if 12 pages of a 20-page document are processed before a failure, you're charged for 12 pages only.

## Retries

* **Manual retry**: charged again.
* **System retry (internal failure)**: not double-charged.

## What happens when I run out of pages?

* You receive an **email alert when you reach 90% of your usage**.
* Once your included pages and credits are exhausted:
  * Document processing is blocked.
  * You're prompted to add credits.

## Adding credits

You can add credits anytime from the **Plans** page:

<Steps>
  <Step title="Open the Plans page">
    Go to the **Plans** page.
  </Step>

  <Step title="Choose a credit amount">
    Select the amount of credit to add.
  </Step>

  <Step title="Complete payment">
    Complete the payment. Credits are applied instantly after successful payment.
  </Step>
</Steps>

## Viewing your usage

You can monitor usage from your dashboard:

* Included pages used and remaining
* Credit balance
* Pages processed this cycle
* Recent document processing activity

## Billing cycle

* Included pages reset every billing cycle.
* Your billing cycle depends on your subscription start date.
* Credit balance doesn't reset and carries forward.

## Important notes

* Charges are based on pages processed, not successful extraction.
* Each image counts as one page.
* Credits are used only after included pages are exhausted.
* CSV and Excel imports are not affected by this pricing.

## FAQ

<AccordionGroup>
  <Accordion title="Do unused pages roll over?">
    No, included pages reset every billing cycle.
  </Accordion>

  <Accordion title="Do credits expire?">
    No, credits remain in your account until used.
  </Accordion>

  <Accordion title="Can I get a refund for failed extraction?">
    If a failure is caused by a system issue, contact support and we'll review it.
  </Accordion>

  <Accordion title="Are CSV/Excel imports charged?">
    No, only document-based imports (PDF, images, DOCX) are counted.
  </Accordion>

  <Accordion title="Can I increase my included pages?">
    Yes, upgrade your plan to get a higher monthly allowance.
  </Accordion>
</AccordionGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.