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

# Import an existing offer

> Turn an offer as a PDF or Word file into a draft with AI: flow, limits, what comes out of it and what it costs.

If you already have an offer as a PDF or Word document, you do not need to retype it. The **Import from file** card reads the file, and an AI model from Anthropic (Claude) turns it into a draft made of HocDoc sections. You then review and change the draft in the builder like any other offer.

> [!NOTE]
>
> Import is available on the Pro and Team plans and only with write access (Owner, Admin and Member). On the Starter plan and for viewers the card is missing. The import is an AI feature and counts against your monthly quota, see [What the import costs](#what-the-import-costs).

## Start the import

**1. Open the card**

In the offer list, choose **New offer**. On the "New offer" page, next to **New offer** and **Start with an interview**, you find the card **Import from file**. It says: "Upload an existing offer as a PDF or Word file. The AI turns it into a draft built from this app's sections. You review and edit it in the builder."

**2. Choose a file**

Under **Offer as a file**, choose the **Choose file** button. Allowed are a PDF with up to 30 pages or a Word file (.docx), each up to 4 MB. With **Choose another file** you swap the file.

**3. Read the details**

The card reads the file and tells you before you click what it is ("PDF with 8 pages." or "Word document with 12000 characters."), how many requests the import counts as, where the file goes and how much quota is still free. Reading the file sends nothing to the AI and takes nothing from your quota.

**4. Import**

Choose **Import**. Reading and converting can take up to two minutes ("Reading the offer and converting it. This can take up to two minutes."). Then the builder opens with the new draft.

The file is not stored. Only the draft is created. The import only runs when you click, never when the page loads and never in the background.

## What becomes of the file

The AI assigns the content to sections. It knows six kinds:

| Kind | Section |
| - | - |
| Intro | Intro |
| Text | Text, for example for situation, scope or terms, bullet lists with "•" at the start of the line |
| Pricing | Pricing |
| Timeline | Schedule |
| Frequently asked questions | FAQ |
| Next steps | Next steps |

At the end comes the acceptance, as in every offer. An import takes over at most 14 parts, at most one Pricing section with at most four packages and at most one intro.

* **Title:** It comes from the document. If there is none, the draft is called "New offer". If the document names a recipient company, HocDoc enters it as a prefill for the [interview](https://docs.hocdoc.com/en/guides/interview.md), never the sender's company.
* **Prices:** HocDoc only takes amounts if they are above 0. A "price on request" does not become a price of 0. The currency is the detected currency code, otherwise euro. For an item list with a total, the AI should transfer **one** package with the final amount, with the items as services inside it. Check this in the builder. Several packages in the document are a choice for the recipient (see [Recipient's choice](https://docs.hocdoc.com/en/guides/acceptance-and-certificate.md#recipients-choice)).
* **Language:** If HocDoc recognizes the document as German or English, the offer gets this [language](https://docs.hocdoc.com/en/guides/language-per-offer.md). Otherwise the workspace default applies. The texts stay in the document's language. The labels of the responsibilities in the schedule and the button in the intro are the sections' German defaults, even for an English document.
* **Not shortened:** If a text is longer than the section allows, that part is dropped. Exceptions are the title and the recipient's company (at most 120 characters each) and the eyebrow of the intro (at most 60 characters): HocDoc shortens them to that length. A text with the placeholder notation `{{…}}` is dropped too. Images in Word are not read. Tables are kept as lines, with the cells separated by " | ".

## The notice in the builder

In the builder, a dismissible notice shows **Imported from a file**: "2 sections imported. Check texts, prices and numbers against your document before you send the offer. The AI can make mistakes." Below it is **Not imported**, with the first parts HocDoc discarded: the kind of part (for example "Pricing"), its heading and the reason.

| Reason | Meaning |
| - | - |
| did not fit the structure of the section | The part could not be transferred into the section, for example because of a text that is too long. |
| contained nothing to import | The part was empty. |
| this kind does not exist here | The kind could not be assigned to a section. |
| above the limit | There were more parts than the section holds, for example more than four packages. |

With **Dismiss notice** you hide the notice. It does not come back. An invalid entry in a list only costs that entry, not the whole part. If no part is left at all, no draft is created.

## What the import costs

An import counts against your monthly quota for drafts, in the same pot as the [interview](https://docs.hocdoc.com/en/guides/interview.md), the transcript analysis and the [Deal coach](https://docs.hocdoc.com/en/guides/deal-coach.md): 100 requests per calendar month on the Pro plan, 250 on the Team plan, counted per account across all your workspaces. Long files count several times:

| Kind | 1 request | 2 requests | 3 requests |
| - | - | - | - |
| PDF by pages | up to 10 pages | 11 to 20 pages | 21 to 30 pages |
| Word by characters | up to 20000 characters | 20001 to 40000 characters | 40001 to 60000 characters |

For a PDF, the amount of content also counts: very dense pages can cost more requests than the page count suggests. If a PDF is too extensive for that, HocDoc rejects it before anything is sent or counted.

Before you click, the card shows what the import costs ("This import counts as 2 requests against your quota for this month."), the rule for it and what is still free ("98 of 100 requests left this month."). If the quota is not enough for the file, the card names up to which page count or character count it is enough, and the date from which it continues. If the quota is used up, it says: "Your quota for this month is used up. You can import offers again from" followed by the date.

A daily limit also applies: 10 units per account (across all your workspaces) and 30 per workspace. For files up to 10 pages that is 10 imports, fewer with longer files. If an import no longer fits, it is rejected entirely, without sending or counting anything.

The import calls the AI exactly once, without retrying. If the call fails at the provider (no answer, refused, unusable, answer cut off), it still counts, and no draft is created. Anyone who tries again is counted again.

## What goes to the AI

For a PDF, the file goes to Anthropic (Claude), for a Word file the text from it. A fixed instruction text is added. The file name, other offers, contacts and data from other workspaces are not sent. The card names the provider before you click: ""Import" sends the file to" followed by the name, "It is not stored, only the draft created from it."

A PDF can contain instructions or wrong figures that the AI takes over. Only you can spot that. So check texts, prices and deadlines before you [send](https://docs.hocdoc.com/en/guides/sending.md) the offer.

## Messages

| Message | What to do |
| - | - |
| The file is too large: … MB, the limit is 4 MB. | Choose a smaller file. Nothing was sent. |
| This is neither a PDF nor a Word file (.docx). | Convert older .doc files and other formats to PDF or .docx. |
| The file cannot be read. It is damaged or protected by a password. | Remove the password protection or save the file again. |
| The PDF is too long: … pages, the limit is 30. | Shorten the PDF. |
| The file is too long: … characters, the limit is 60000. | Import a shorter excerpt. |
| The file contains too little text for an import (at least 200 characters). | This applies to Word files. Choose a file with more content. |
| The provider did not answer in time. / The provider refused the request. / The provider's answer did not match the expected format. | The import counts, no draft was created. Try again. |
| The offer is too extensive for an import: the answer was cut off. | Import a shorter excerpt. |
| No section could be taken from the file. | The import counts. Choose a file with a clearer structure. |
| Import is one of the AI features and is not included in your plan. | Import is part of Pro and Team. |

## Transcript as a file

You can also load a call transcript as a file, in the interview. That is described under [Transcript as a file](https://docs.hocdoc.com/en/guides/interview.md#transcript-as-a-file).


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