SQL Account import, with the Excel template filled in for you.
SQL Account will take purchase invoices from Excel. Someone still has to turn supplier PDFs into that Excel. The workflow does it, checks every row, and leaves anything doubtful for a person.
How SQL Account takes data in
eStream’s wiki lists several ways to get data into SQL Accounting:
- SQL Acc XLS n MDB Import, a separate Windows program that imports XLS, XLSX, CSV/TXT, JSON and MDB files. Transactions can come as a header file and a detail file linked by a key field, such as the document number.
- SQL XML Import and SQL Text Import for files in fixed formats.
- SDK Live and a REST API for software that talks to SQL Accounting directly.
For purchases, the document types are PH_PI (purchase invoice) and AP_PI (supplier invoice). The XLS import can also run on a schedule, picking up files from a folder, once the first import has been done by hand to save the field mapping.
The rules that cause most rejected imports are written in the same documentation: the supplier code, tax code, terms and account codes must already exist in SQL Accounting, dates should be dd/mm/yyyy, and source files must not contain merged cells, formulas or hidden columns.
What the workflow does
- Collects supplier invoices from an inbox, a shared folder or WhatsApp.
- Reads each one: supplier, registration or tax number, invoice number, date, lines, tax and total.
- Checks that lines add up to the total and that the invoice number is new for that supplier.
- Maps the supplier to your SQL Account supplier code and each line to an item code or account, from a mapping table you approve.
- Writes two sheets, header and detail, in the columns of your import mapping, with dates as dd/mm/yyyy and no formulas.
- Leaves out and reports anything that fails a check, so the file you import only holds rows that passed.
A worked example
Sample data, not a client. A food distributor that keeps stock in SQL Account and imports purchase invoices (PH_PI) each Friday.
Input: three supplier invoices.
- Ladang Segar, INV 88120: 200 kg cabbage at RM 2.10, 150 kg carrot at RM 3.40. Total RM 930.00.
- Kilang Mee Ah Seng, 10433: 80 packs yellow noodles at RM 4.50. Total RM 360.00.
- Prima Oils, PO-REF 5521: 10 tins cooking oil 17 kg. Price missing on the scan.
Output, header sheet:
| DocNo | DocDate | Code | Description | DocAmt |
|---|---|---|---|---|
| <<New>> | 27/11/2026 | 400-L0002 | Ladang Segar INV 88120 | 930.00 |
| <<New>> | 27/11/2026 | 400-K0005 | Kilang Mee Ah Seng 10433 | 360.00 |
Output, detail sheet (linked to the header by supplier invoice number):
| Key | ItemCode | Qty | UOM | UnitPrice | Amount |
|---|---|---|---|---|---|
| 88120 | VEG-CAB | 200 | KG | 2.10 | 420.00 |
| 88120 | VEG-CAR | 150 | KG | 3.40 | 510.00 |
| 10433 | NOO-YEL | 80 | PKT | 4.50 | 360.00 |
Flagged to a person: “Prima Oils 5521: unit price not readable on the scan and no price list on file. Not included. Please key it in or send a clearer copy.”
Notice what the workflow did not do. It did not guess the oil price from an old invoice, and it did not create a new item code for anything it failed to recognise. Both would have imported without an error and been wrong. Leaving a row out and saying why is slower on the day, and far cheaper at month end.
Column names follow the style of eStream’s templates but your mapping decides the exact layout. Codes and prices are invented, and tax treatment is for your accountant.
What to decide before we build
| Question | Why it matters |
|---|---|
| PH_PI or AP_PI for each kind of bill? | Stock purchases and expenses need different layouts. |
| Who presses Import? | A person importing a checked file is the safe default. Scheduled auto import is possible later. |
| Which suppliers send MyInvois e-invoices? | Those can come in through SQL Account’s own e-invoice import and should be skipped here, to avoid doubles. |
| How many rows a week? | It decides whether an import licence is needed. |
What you get and the price
A workflow that turns supplier invoices into SQL Account import files, with an editable mapping table, a backup-first test on a copy of your company and a weekly exceptions list, is one workflow: from US$2,500. Several companies, purchase orders or posting through the API makes it a multi-step build from US$5,000. See pricing and how it works. On AutoCount instead? See AutoCount import. Reconciling the payments afterwards is covered on bank reconciliation.
Questions
Do I need to buy SQL Acc XLS n MDB Import?
eStream’s documentation says master file imports are free and transaction imports carry a cost unless each file is under 100 rows. Your SQL dealer can quote the licence. Small weekly batches may stay under the limit; we tell you which applies after seeing your volume.
Purchase invoice or supplier invoice?
Purchase invoices (PH_PI) carry stock items; supplier invoices (AP_PI) post straight to accounts. Your accountant decides which suits each kind of bill, and the workflow writes the matching layout.
My suppliers already send MyInvois e-invoices. Do I still need this?
Maybe not for those suppliers. SQL Account can pull validated supplier e-invoices from MyInvois into purchase invoices itself. This workflow is for the bills that still arrive as PDFs, photos or spreadsheets.
Will it post into my live company?
Only after the layout has been tested on a backup copy. eStream’s own guidance is to back up the database before every import, and the workflow’s file is imported by a person unless you choose otherwise.
Is Ottomate an SQL Account dealer?
No. We have no partnership with eStream Software. Your dealer handles licences and SQL Account support; we build the workflow that prepares the data.
Tell us the job. We’ll reply within one working day and say plainly if it’s a fit.
Run by Mohamed Arshath from Kuala Lumpur, for clients anywhere. Seven years in private hospital administration, now building AI and workflow automation.
Prefer email? Write to hello@meetottomate.com.