Uploading Documents with AI
Daftra lets you upload invoice, estimate, order and note files, whether they are PDFs, images or Excel sheets, and turn them into records in the system automatically using AI, which cuts manual data entry time considerably. This guide covers the supported record types, the accepted files, the upload, matching and review steps, and the cases that hide the button or stop processing.
Required permissions: the add permission of the record type (for example Add New Estimates to All Clients or Add New Estimates to His Own Clients) together with the permission to view clients (or suppliers for purchase types). There is no separate AI permission.
How to access: from the list of the record type, click AI Upload. For estimates: Sales › Manage Estimates › the arrow next to the Add button › AI Upload, or directly from the AI Sales Estimate Upload page.
🛈
Note: the feature is not available on the free plan and consumes AI Coins (AIC) for every processed file. No record is created automatically: the system extracts the data and opens the usual add form pre-filled, and the record is saved only when you click Save.
In this article
- Before you begin
- Supported record types and where the button is
- Supported files
- Steps
- Field reference
- Data extracted by the AI
- Settings that affect the process
- Validation rules and error messages
- Restrictions and blocking cases
- Permissions
- What happens after saving
- Troubleshooting
- FAQ
- Related articles
Before you begin
- Make sure your role has the permission to create the required record type, plus the permission to view clients (sales types) or suppliers (purchase types).
- Make sure your account has a sufficient AI Coins (AIC) balance and is not on the free plan.
- Each record type has its own independent pool of processing sessions (a maximum of 5 active sessions per type per branch).
- Prepare the files in one of the accepted formats: PDF, JPG, PNG, XLSX or CSV, no larger than 10 MB each. Excel files are accepted, so an estimate you prepared in Excel can be uploaded as it is and turned into an estimate in the system. See Supported files.
- You do not need to set up the Connect AI button in the top bar; it is for connecting external AI assistants to your account and has nothing to do with AI upload.
Supported record types and where the button is
Sales:
Sales invoices, sales orders, estimates, credit notes.
Purchases:
Purchase invoices, purchase quotations, purchase orders, purchase debit notes.
Finance:
Expenses, and bank statements (from the bank account page).
🛈
Note: purchase orders and purchase debit notes require the Purchase Cycle app to be enabled in the account.
The button is called AI Upload in every list, but its position differs from one list to another. The table below shows where it is in each list and the direct link to the upload page:
| Record type | Where the button is | Direct link |
|---|---|---|
| Estimates | Sales › Manage Estimates › the arrow next to the Add button › AI Upload (next to New Estimate). | AI Sales Estimate Upload |
| Sales invoices | Sales › Manage Invoices › the AI Upload button in the list header. | AI Sales Invoice Upload |
| Sales orders | Sales › Sales Orders › the AI Upload button next to the add button. | AI Sales Order Upload |
| Credit notes | Sales › Credit Notes › the arrow next to Create Credit Note › AI Upload. | AI Credit Note Upload |
| Purchase invoices | Purchases › Purchase Invoices › the AI Upload button next to the add button. | AI Invoice Upload |
| Purchase quotations | Purchases › Purchase Quotations › the AI Upload button next to the add button. | AI Purchase Quotation Upload |
| Purchase orders | Purchases › Purchase Orders › the AI Upload button next to the add button. | AI Purchase Order Upload |
| Purchase debit notes | Purchases › Purchase Debit Notes › the AI Upload button next to the add button. | AI Purchase Debit Note Upload |
| Expenses | Finance › Expenses › the AI Upload button next to Add Expense. | AI Expense Upload |
| Bank statement | Finance › Treasuries & Bank Accounts › the bank account page › the arrow next to Import Bank Statement › AI Upload. | Opened from the bank account page itself (the link is tied to the account). Bank statements have their own formats and limits; see Supported files. |
Supported files
The upload page shows Supported formats: PDF, JPG, PNG, XLSX, CSV, and these are the accepted formats for every record type (except bank statements). The file does not have to be a scan: an Excel or CSV file in which you prepared the estimate or invoice is accepted as it is, and the system converts each sheet into tabular text before extracting the data from it.
| Item | Value | Notes |
|---|---|---|
| Accepted formats | PDF, JPG/JPEG, PNG, XLSX, CSV | Legacy Excel files with the .xls extension are not accepted; open the file in Excel and save it as .xlsx or .csv, then upload it. |
| Maximum file size | 10 MB | A larger file is rejected with a clear message; reduce the image resolution or split the PDF. |
| Files per session | Up to 100 files | You can upload several files at once; each file is processed as a separate item in the session. |
| Records per file | Up to 3 records | If a file contains more than three estimates or invoices, for example, split it into several files. |
| Protected PDFs | Not accepted | Remove the password protection from the file, then upload it again. |
| Bank statement only | PDF, JPG, PNG, XLS, XLSX, CSV, OFX up to 50 MB | All uploaded files are combined and processed as a single bank statement. |
🛈
Note: for the best result from an Excel file, make the first row the column headers (item name, quantity, unit price, discount, tax) and put the client name, estimate date and number in clear cells above the table. The system matches items by name or code against the items in your account and shows you anything it could not recognise in the Items Matching step.
Steps
The steps below are shown for an estimate and apply in the same way to the other types, with the button position changing as in the table above.
First: open the upload page
- From the main menu click Sales, then Manage Estimates.
- Click the arrow next to the green Add button at the top of the list, then choose AI Upload (the other option, New Estimate, opens the manual form).
- If you have no open sessions, the upload page opens directly. If you have earlier unfinished sessions, the AI Estimates Sessions window appears; click Continue to resume a session, Remove to delete it, or Create New Session to start a new one.
Second: upload the files
- Drag and drop the files into the upload area (Drag and drop your file here, or) or click Browse Files and choose a PDF, an image, an Excel file in XLSX format or a CSV file. You can select up to 100 files per session.
- Set the options if needed: Quick Mode for faster extraction, and Attach uploaded estimate file to the created system estimate to keep the original file with the estimate after it is created. See the field reference.
- Click Start Processing. The message Session created successfully appears and the files start processing; each file shows its status: Queued, then AI Processing, then Ready to Review.
Third: matching
- Open a file that is ready to review. In the Client Matching step (or Supplier Matching for purchase types) the system shows the Uploaded Client extracted from the file and the match it found in your account; accept the match, choose another client via Search for Clients, or click Add New Client.
- In the Items Matching step, review each extracted line and the item suggested for it from your account; change the match if needed or click Add New Item for items that do not exist yet.
- In the Taxes Matching step, match the extracted taxes to the taxes in your account, or click Add New Tax.
Fourth: review and save
- Click Proceed to Fill the Estimate. In the Review step the usual estimate form opens inside the page, pre-filled with the extracted data, with a preview of the original file next to it.
- Review every field and adjust what is needed (date, prices, discount, taxes, notes), then click Save or Save as Draft. The estimate is not created before this click.
- Repeat the review for the remaining files in the session; each file becomes Completed once it is saved.
Field reference
The fields below are the upload page options and the matching steps. The fields of the estimate or invoice form itself are the usual form fields and are explained in the article on creating each record.
| Field | Required/Optional | Default | Values | Description |
|---|---|---|---|---|
| Files (Browse Files) | Required | — | PDF, JPG, PNG, XLSX, CSV; up to 10 MB each; up to 100 files | The files the data is extracted from. A duplicate, unsupported or oversized file is rejected immediately with a message. |
| Quick Mode | Optional | Off | On / Off | Extracts the data from the file only, without the extended lookup in your account data during extraction, so processing is faster and matching relies on the review steps. |
| Attach uploaded estimate file to the created system estimate | Optional | On | On / Off | Saves the original file as an attachment on the record after it is created. The wording of the option changes with the record type (invoice, sales order, note, and so on). |
| Processing session | Automatic | Created when you click Start Processing | Up to 5 open sessions per type per branch | Groups the files of one upload and tracks their progress. It stays open until you finish reviewing all its files or delete it from the AI Estimates Sessions window. |
| Client Matching / Supplier Matching | Required | The match suggested by the system | An existing client/supplier, or Add New Client / Add New Supplier | Shows the Uploaded Client (name, email, phone) and AI Suggestions. If the system does not recognise the party, No Matching appears and you must choose manually. |
| Items Matching | Required | The best matching item for each line | An existing item or Add New Item | For each line: name, description, quantity, unit price, unit, discount and taxes as they appear in the file, with the item suggested from your account. |
| Taxes Matching | Required when the file contains taxes | The matching tax in the account | An existing tax or Add New Tax | Links the tax rates found in the file to the taxes in your account so they are calculated correctly on the record. |
| Review | Required | The form pre-filled with the extracted data | The fields of the usual add form | The record’s own creation form with all its rules and limits; the record is saved with the usual Save buttons. |
Data extracted by the AI
The system tries to extract and fill the following fields automatically for each record type:
Sales invoices:
Invoice number, invoice date, issue date, client, payment method, sales person, order source, payment terms, cost center (header and lines), invoice items (item, description, unit price, quantity, discount, tax 1, tax 2, cost center per line), discount and adjustment, shipping, notes, and custom fields.
Sales orders and estimates:
Record number, date (and for an estimate the expiry date if present), client, sales person, order source, items, discount and adjustment, shipping, and notes.
Credit notes:
Note number, date, issue date, client, cost center (header and lines), items, discount and adjustment, shipping, and custom fields.
Purchase invoices, purchase quotations and purchase orders:
Record number, date, supplier, items, discount and adjustment, shipping, and notes. Purchase orders and purchase quotations add the Valid for (days) field and the site’s custom fields.
Purchase debit notes:
Note number, date, supplier, cost center (header and lines), items, discount and adjustment, shipping, and custom fields.
- Fields not filled automatically: loyalty points, advance payment and the amount already paid on sales invoices are left empty for manual entry. Custom fields the system did not recognise are also left empty.
- Custom fields added manually on the record (key-value fields added per transaction) are outside the scope of automatic filling because their labels differ from one file to another.
- Any extracted field can be reviewed and edited before saving; the AI speeds up data entry but does not replace the final review.
Settings that affect the process
| Setting / condition | Effect |
|---|---|
| Subscription plan | On the free plan the button appears disabled with the message AI features are unavailable on your current plan and an Upgrade now button. There are no other settings to enable or disable the feature. |
| AI Coins (AIC) balance | Deducted for every processed file. When the balance runs out, processing stops and the file is marked Limit Exceeded; it resumes automatically after you buy coins via Buy AIC. Consumption is shown in the AIC Consumption Report. |
| Branches | When the Branches app is enabled, the session is created in the current branch and the 5-session limit is counted per branch. A session created in another branch cannot be opened. |
| Purchase Cycle app | Must be enabled for the purchase orders and purchase debit notes lists, and their upload button, to appear. |
| Settings of the record form | The Review step opens the usual add form, so its own settings apply (default taxes, price lists, disabling item editing, custom fields, plan limits on the number of records). |
| Connect AI (top bar) | No effect. That page is for connecting an external AI assistant (such as Claude or ChatGPT) to your account through the MCP connector; you do not need to open it or enable anything there to use AI upload. |
Validation rules and error messages
| Case | Message as shown | Fix |
|---|---|---|
| Unaccepted file format (such as .xls or .docx) | {{file}} Unsupported file type. Only PDF, PNG, JPG, XLSX and CSV files are accepted | Save the file as XLSX, CSV or PDF and upload it again. |
| File larger than 10 MB | {{file}} exceeds 10MB limit. | Compress the image or split the PDF into smaller parts. |
| Duplicate file in the same session | {{file}} Duplicate file. | Remove the duplicate; a file is processed only once. |
| More than 100 files in a session | You have reached the maximum number of files allowed per session (100). | Start processing with the current files, then create a new session for the rest. |
| Password-protected PDF | Unable to process this file because it is protected. Please unlock the file and upload it again. | Remove the protection from the file and upload it again. |
| Account on the free plan | AI features are unavailable on your current plan Upgrade to unlock and use AI-powered features in Daftra. | Upgrade the plan via Upgrade now. |
| 5 open sessions of the same type in the branch | This branch has reached the maximum limit of 5 Sessions. | Finish reviewing an existing session or delete it with Remove in the sessions window. |
| Opening a session created in another branch | This session exists in another branch and cannot be accessed | Switch to the branch where the session was created, then open it. |
| Link to a deleted or missing session | Session not found | Start a new session from the upload button. |
| AIC balance runs out during processing | Insufficient AIC balance. Required: 1, Available: 0 (the file is marked Limit Exceeded) | Buy coins via Buy AIC; processing resumes automatically. |
| Opening the upload page from the mobile app in unsupported cases | Page not found (you are returned to the list) | Use the browser on a computer or phone. |
| Saving the record in the review step | The usual add form messages (required fields, credit limit, plan limits, and so on) | Handle them as in manual creation; the rules are the same. |
Restrictions and blocking cases
- Free plan: the button is visible but disabled, and the upload page sends you back to the list with the upgrade message.
- Permission: the button is not shown to users without the add permission of the record type, and the upload page is refused to users without the permission to view clients or suppliers.
- Files: PDF, JPG, PNG, XLSX and CSV only; 10 MB per file; 100 files per session; up to 3 records per file; .xls files and protected PDFs are rejected.
- Sessions: a maximum of 5 open sessions per type per branch, and a session from another branch cannot be opened.
- Creation only: the feature creates new records and does not edit existing ones.
- Credit and debit notes are standalone; the system does not link them to the original invoices automatically.
- Mobile app: the button is not shown inside some mobile app screens where purchase options are hidden.
- Limits of the record itself: all manual-creation limits apply on save, such as the plan limit on the number of estimates or the client’s credit limit.
Permissions
- Add permission of the record type (for estimates, Add New Estimates to All Clients or Add New Estimates to His Own Clients; for sales invoices, the permission to add invoices or add them as drafts): without it, the button does not appear in the list.
- Permission to view clients (View All Clients or his own clients) for sales types, or the permission to view suppliers for purchase types: needed for the matching step; without it the upload page is refused.
- There is no separate AI permission, and the user does not have to be the account owner.
- Viewing the AIC Consumption Report requires the permission to view that report.
What happens after saving
- The record (estimate, invoice, order or note) is created through the same creation path as usual, with its sequential number, journal entries and effect on stock and accounts, exactly like a record entered manually.
- The file in the session becomes Completed and is linked to the created record; the session closes automatically once all its files are completed, so it no longer counts towards the five sessions.
- If the attach option was on, the original file is saved as an attachment on the record.
- AIC coins are deducted when processing completes (not on save) and recorded in the AIC Consumption Report; a file that was processed but whose record was never saved remains deducted.
- Records created with AI carry an AI Generated badge in the lists to tell them apart from manually entered records.
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| I cannot find the AI Upload button in estimates | In this list the button is not standalone but inside the arrow next to the Add button; or you lack the permission to add estimates; or you are using a mobile app screen that does not show it. | Click the arrow next to the Add button, or open the upload page directly, and ask the account admin for the permission. |
| An Excel file was rejected | The file is in the legacy .xls format, or larger than 10 MB. | Save it as .xlsx or .csv, and remove unnecessary sheets and images to reduce its size. |
| The button is disabled and an upgrade message appears | The account is on the free plan. | Upgrade the plan via Upgrade now. |
| The file is stuck on Limit Exceeded | The AIC balance ran out. | Buy coins via Buy AIC; processing resumes automatically without re-uploading. |
| I cannot start a new session | The branch has reached 5 open sessions of this type. | Finish or delete a session from the AI Estimates Sessions window. |
| The system did not recognise the client or an item | The name in the file differs from the name or code in the account, or the client/item does not exist yet. | Choose the match manually in the matching step or add it via Add New Client / Add New Item. |
| Extracted numbers or taxes are inaccurate | A low-quality image, an Excel sheet without clear column headers, or a file containing more than 3 records. | Correct the values in the Review step before saving, and improve the file for next time. |
| Session not found appeared | The session was deleted or finished, or the link belongs to another branch. | Start a new session from the upload button in the correct branch. |
FAQ
Can I attach an Excel file and turn it into an estimate?
Yes. From Sales › Manage Estimates click the arrow next to the Add button, then AI Upload, and upload the Excel file in XLSX format (or CSV). The system extracts the client, items and taxes, and after the matching steps it opens the estimate form pre-filled for you to review and click Save. This can fail if the file is in the legacy .xls format (save it as .xlsx), larger than 10 MB, your account is on the free plan, the AIC balance has run out, or you lack the permission to add estimates. If you only want to move the lines into an estimate you are writing manually, use Paste from Sheet from the arrow next to the add-items button inside the form.
Which file types are accepted?
PDF, JPG, PNG, XLSX and CSV, up to 10 MB per file, up to 100 files per session, and up to 3 records per file. .xls files and password-protected PDFs are rejected. For bank statements only, XLS and OFX are also accepted, up to 50 MB. Details in Supported files.
Why does the AI Upload button not appear?
Check in order: (1) in estimates and credit notes the button is inside the arrow next to the add button, not a standalone button; (2) you lack the permission to add this record type; (3) your account is on the free plan, so the button appears disabled with an upgrade message; (4) the purchase orders or purchase debit notes list requires the Purchase Cycle app; (5) you are using a mobile app screen where the button is not shown. You can always open the upload page from its direct link in the types table.
Do I need to use Connect AI first?
No. The Connect AI button in the top bar opens the page for connecting external AI assistants (such as Claude or ChatGPT) to your account through the MCP connector, which is a completely separate feature. AI upload works directly from the AI Upload button in the lists without any prior connection; all you need is a paid plan, an AIC balance and the permission.
Is the record created automatically?
No. The system extracts the data and guides you through the Client Matching, Items Matching and Taxes Matching steps, then opens the usual add form pre-filled in the Review step. The estimate or invoice is saved only when you click Save or Save as Draft, and the usual form rules apply at that point. If you close the page before saving, the session stays open and you can return to it with Continue.
What happens when the AIC balance runs out?
Processing of the remaining files stops and the file is marked Limit Exceeded with the reason Insufficient AIC balance. Required: 1, Available: 0, and the page shows You’ve used all your AI coins with a Purchase AIC button. Files processed before that remain ready to review and save without extra coins. After you buy coins, processing resumes automatically without re-uploading. Coins are deducted for every processed file even if you never save its record.
Can one file contain more than one estimate or invoice?
Yes, up to 3 records per file; the system separates them and presents each one for review on its own. If the file contains more than that, the extra records may be lost, so split the file before uploading. You can upload up to 100 files per session.
What if the AI does not recognise the client, supplier or an item?
The process does not stop; No Matching appears in the matching step, and you pick the correct client or item from the search, or create it via Add New Client or Add New Item without leaving the page. This usually happens when the name in the file differs from the name or code in your account; keeping names and codes consistent in your files improves matching next time.
Can I edit an existing invoice or estimate by uploading a file?
No; AI upload only creates new records. To edit an existing record, open it from its list and click Edit.