# AI data extraction (https://docs.getbeel.com/en/guide/invoice-management/ai-extraction)

What Getbeel's AI reads from each invoice, and how to upload files by hand.

Getbeel's AI reads every invoice that arrives by email, forwarding or upload and extracts its data. Invoices from SDI don't go through the AI: Getbeel reads them from the XML.

## What it extracts [#what-it-extracts]

- **Supplier**: name, email, address, VAT number, country and city.
- **Document**: number, date, due date, currency and type.
- **Amounts**: taxable amount, VAT and total, in the original currency.
- **Lines**: description, quantity, unit price and amount.
- **Other**: category, payment status, whether it recurs and whether it is a credit note.

The type is one of these: **Invoice**, **Receipt**, **Subscription**, **Refund** or **Bill**.

If the AI is not sure the invoice is addressed to your company, the detail page shows **Company match uncertain**. Check the recipient details.

## Upload invoices by hand [#upload-invoices-by-hand]

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

- **Formats**: PDF, JPG, PNG or WebP, up to 10 MB each, up to 20 files at a time.
- **A plan with invoice credits**: without one, the **Upload** button is disabled.
- **Cost**: each file read uses one invoice credit ([Pricing](/en/api/pricing)).

### Steps [#steps]

<Steps>
<Step>

### Open the upload [#open-the-upload]

In **Received invoices** press **Upload**. **Upload invoices** opens.

</Step>
<Step>

### Choose the files [#choose-the-files]

Drag the files into the box or click to browse.

</Step>
<Step>

### Start reading [#start-reading]

Press **Upload & process**.

</Step>
</Steps>

### What just happened [#what-just-happened]

- **The files are uploaded.** Getbeel shows, for example, "3 file(s) uploaded. Processing will begin shortly."
- **The AI reads them.** While it reads, the list shows **Processing invoices...** and updates on its own.
- **The invoices appear in Received invoices** with the extracted data and the category.

## When the PDF is missing [#when-the-pdf-is-missing]

Sometimes an email confirms a payment but doesn't attach the invoice. Getbeel puts it in the **Missing PDF** tab with the **Missing PDF** badge.

1. Open the invoice. The **Payment confirmation** panel shows the supplier's link, if there is one.
2. Press **Download invoice**. The link can expire: download it right away.
3. Drag the file into the box. Getbeel reads it and completes the invoice.

## Get better results [#get-better-results]

- **AI rules**: plain-language instructions the AI follows for new invoices ([Categories and AI rules](/en/guide/invoice-management/categories-rules)).
- **Company profile**: your legal name and VAT number in **Settings → Company** help the AI recognize invoices addressed to you.
- **Categories**: precise categories give better classification.

## If it fails [#if-it-fails]

| Message                                                            | Cause                                    | Fix                                                |
| ------------------------------------------------------------------ | ---------------------------------------- | -------------------------------------------------- |
| "invoice.docx: Unsupported file type. Use PDF, JPG, PNG, or WebP." | The format is not allowed                | Convert the file to PDF or an image                |
| "invoice.pdf: File too large. Maximum 10MB."                       | The file is over 10 MB                   | Compress the PDF or split it                       |
| "Maximum 20 files allowed"                                         | More than 20 files                       | Upload in several rounds                           |
| "Processing Failed"                                                | The AI could not read the document       | Upload the file again, or a sharper image          |
| **Company match uncertain**                                        | The recipient doesn't match your details | Check the invoice; complete **Settings → Company** |

## Next steps [#next-steps]

<Cards>
  <Card
    title="Invoice workflow"
    href="/en/guide/invoice-management/invoice-workflow"
  >
    Check, approve and export the invoices the AI read.
  </Card>
  <Card
    title="Categories and AI rules"
    href="/en/guide/invoice-management/categories-rules"
  >
    Give the AI your own instructions.
  </Card>
</Cards>
