Skip to content

Import the file

The file you exported from Krani is shaped to SQL Accounting’s import templates, so it reads directly.

  1. In SQL Accounting, open the import for the matching document type:
    • Supplier Invoice for an AP Invoice export,
    • Cash Book – Payment Voucher for a Cash Purchase export,
    • Journal Entry for a Claim export.
  2. Select the .xlsx file from Krani.
  3. Review the preview and confirm the import.

Krani converts each amount to the company’s default currency at export. Each line is converted at the rate Krani recorded, and a Claim’s balancing entry is the sum of the converted lines, so the journal always balances.

The Supplier Invoice and Cash Book templates carry a rate column but no currency column, so the rate is written as 1 — a converted amount must not sit beside a rate the software would apply a second time.

SQL Accounting groups rows into one document by the DocNo cell — the transaction-number column — and that cell says which document each row belongs to. Krani numbers the documents in a file <<New>>1, <<New>>2, and so on, repeating a document’s own marker on every one of its rows — so a multi-line document’s rows stay together, and a file holding several documents keeps them apart. A Claim’s Journal Entry works the same way: each of its legs carries the journal’s marker.

If you are hand-editing the file, keep every row of a document on the same marker and give the next document the next number.

Every date is written as DD/MM/YYYY — the format SQL Accounting’s templates ask for — rather than the format Krani displays dates in.

A Supplier Invoice’s credit-terms cell carries the company’s Default Payment Terms, or C.O.D. when none is set, because SQL Accounting matches that cell against its own Credit Terms list.

An Explicit document names the tax code its rate posts under. On a Supplier Invoice or Cash Book each line carries its code, its net amount and its tax, so the tax shows as tax. On a Claim each debit leg carries its code and the gross you reviewed, reading tax-inclusive, so the journal still balances against the claimant’s credit — the software derives the tax from the rate, so a tax item’s edited amount is reflected in the gross rather than posted as its own figure. No separate tax item row is imported.

An Implicit document names no code and leaves the tax cells blank, so its amount includes the tax, exactly as before.

A Cash Purchase exports as a Payment Voucher, with the cash/control account carried in the template’s payment-method column.

Why are amounts already converted? The conversion has to happen before import: the Supplier Invoice and Cash Book templates name a rate but no currency, so there is nothing beside the rate to say what the amount is in. Krani writes the rate as 1 and the amounts in the company’s default currency.

Why is only one sheet in the workbook? Krani writes only the main data sheet — the template’s helper sheet (Opening Balance, or Serial Number in older templates) is not produced, and neither is the e-invoice block, because Krani captures none of that data.

Why are some columns empty? Only fields Krani captures are filled; the rest — including the e-invoice block — are left blank rather than invented.

Can I import .xls? Krani exports .xlsx. If your build requires legacy .xls, re-save the file as .xls before importing; the columns are unchanged.

Does the supplier’s invoice number carry over? Yes. It fills the Supplier Invoice template’s external document number (DOCNOEX) column, on every row, while SQL Accounting still numbers the document itself. The column holds 20 characters: a longer number is trimmed, and Krani records the trim in the activity log rather than failing the export.

Does a claim carry its number? Yes. Each Journal Entry line carries the claim’s Document No in its Reference (_REF) column, so a posted journal can be traced back to the claim. The column holds 25 characters, trimmed with a note in the activity log.

Does a cash purchase carry the receipt’s number? No — the Cash Book template has no column for it, so SQL Accounting numbers the payment voucher itself.