Skip to content

Export from Krani

Once records are approved, export them to produce an import file the client’s accounting software can read.

Export is for an import-template destination — Autocount or SQL Accounting. An API software (Bukku, Xero, or QuickBooks Online) has no import template, so once it is connected its tabs offer Push instead and never an export. Krani refuses an export for an API destination as well, so no import file can be produced for software that cannot read one.

Which one a tab offers follows the client’s resolved Export Format, not only its Accounting Software. The format normally follows the software, and you can override it in Company settings: a client whose format is an import template keeps Export even if their books are in an API software. See Choose your software.

Export works on Ready records. Anything still needing review is not exported — approve it first. This is enforced, so an unfinished record cannot leave by accident.

Every typed tab has a Needs export switch with a count beside it. It lists the Ready records the client has never received as a file, and the ones whose figures changed since the last file that carried them. The count and the list agree, and both follow the tab’s other filters; the Needs review toggle does not change them.

Export those records the same way as any others. Their Changed since export badge clears, and they leave the list. A record that is back in review still shows the badge on its row, so you can see why it returned. A record being re-extracted is left out until its new reading lands.

  • Export all ready (N) — on a typed tab, exports every ready record matching the current filters, in one file. The count is what the file will hold; the Needs review toggle does not change it.
  • Export selected — tick specific records and export just those.

A third action, Combine into one voucher, folds a selection of cash purchases or claims into one file. See Combine into one voucher.

A selection that holds a record which is not ready sends nothing. Krani names each unfinished record with the field it is missing or the issue it carries, and offers Review N documents to open the first one in the Review Walk, Approve N & Export when those records can be approved, or Cancel. Records still not ready after the approval stay out of the file: the result names them and confirms the file was produced.

Each export covers a single Document Type, producing one workbook shaped to that type’s import template:

Document Type Autocount template SQL Accounting template
AP Invoice AP Invoice Import Supplier Invoice
Cash Purchase CashBook (Payment Voucher) Cash Book – Payment Voucher
Claim Journal Entry Journal Entry

A Claim exports as a balanced journal: its line items are aggregated by account into debit rows, balanced by credit to the claimant’s account. An Explicit claim with more than one tax rate gets one credit row per rate; a single-rate claim keeps one.

  • Document number — the software’s own document number exports as its “new document” marker, so the software numbers it on import. The record’s own Document No goes into the template’s reference cell where one exists: Autocount’s Supplier Invoice No. on an AP Invoice and Doc No 2 on a Claim’s Journal Entry, and SQL Accounting’s DOCNOEX on a Supplier Invoice and Reference (_REF) on each Journal Entry line. Autocount’s and SQL Accounting’s Cash Book templates have no such cell, so a cash purchase’s number stays on the record and its source file. A number too long for its cell is trimmed, and the Activity log entry says so — the export is never blocked.
  • Amounts — the posted line amounts. An Implicit document leaves the template’s tax cells blank, because its amount already includes the tax. An Explicit document names its tax instead: SQL Accounting writes each line’s code, its net amount and its tax, and carries the code on each claim journal leg at the gross you reviewed; Autocount names the code in TaxCode on each line, keeps the reviewed gross, and reads tax-inclusive, and its claim Journal Entry also writes the tax amount beside the gross. No separate tax item row is posted.
  • Currency — Autocount’s template has a rate column, so it converts on import. SQL Accounting’s Supplier Invoice and Cash Book templates name a rate but no currency, so Krani converts those amounts at export and writes the rate as 1; a Claim’s Journal Entry has no rate column, so its amounts are converted the same way.
  • Everything Krani does not capture — fields such as purchase agent, cheque numbers, or project codes are left blank rather than invented.

An Explicit document names its tax, so each line carries the tax code the client’s software uses for its rate. The codes are the client’s own:

  • SQL Accounting and Autocount — from the Tax Listing imported in Setup (SQL Accounting, Autocount).
  • Bukku and Xero — synced from the client’s account.

Each rate where exactly one live code sits is mapped for you. A rate more than one live code sits at, with nothing mapped to it yet, is named by the Tax Listing import when it runs, and Company Settings → Posting lists each of those rates with its own picker so you can choose the code there. Choose or change any other rate in the same place. A line that carries no tax on purpose names no code, so no tax is invented on it.

If any Explicit document in the export has a rate with no mapped code, Krani refuses the whole file and names every unmapped rate in it at once, for example:

An Explicit document names its tax by code, but no live SQL Accounting tax code is mapped to Tax Rates 6% and 10%. Map each rate in Settings → Posting before exporting.

Import the client’s Tax Listing (or sync their account) and map the rate in Company Settings → Posting, then export again. An Implicit document never waits on a code and never fails for a missing one.

On a SQL Accounting claim, the journal has no per-leg tax figure: each debit leg carries the gross you reviewed and the rate’s code, and the software derives the tax from the rate. An edit to a tax item’s amount is therefore reflected in the gross, not posted as a literal tax figure on a SQL Accounting claim; on an AP Invoice or Cash Purchase the edit is honoured in full.

On an Autocount claim, the Journal Entry writes the tax amount beside the gross, so an edit to a tax item’s amount posts literally there. The claimant credit splits by tax rate, so a claim with more than one rate gets one credit row per rate; a single-rate claim keeps one credit row. Autocount’s AP Invoice and Cash Purchase still write no tax amount, so an edit there stays in the gross.

Autocount. A purchase code flagged Add To Cost tells Autocount to add the code’s tax to the expense cost rather than post it to a tax account, and every purchase code in a typical listing carries the flag. The export still names the code, but expect the tax to sit in the expense rather than appear as tax. This has not yet been confirmed against a live Autocount import.

A month of small cash receipts, or a batch of staff claims, can reach the client’s books as one voucher instead of one per record. Tick two or more records on the Cash Purchase or Claim tab and choose Combine into one Payment Voucher or Combine into one Journal Entry. Krani shows the vouchers it will produce; set each one’s date and description, then download the single workbook.

The action appears only on those two tabs, only when the client’s Export format is an import template (Autocount or SQL Accounting), and only with two or more records ticked. An AP Invoice is never combined: it is the supplier’s own document, with its own creditor and invoice number, so it always exports alone. A push destination has no file, so there is nothing to combine.

A cash selection becomes one Payment Voucher per paying account — the payment method on Autocount, the cash account on SQL Accounting. Receipts paid from two accounts produce two vouchers in the one file; a voucher never pays from two accounts. The split is automatic and cannot be edited. A record with no paying account cannot join, and the dialog names it.

Every claim in the selection posts in one Journal Entry, however many claimants it covers. Each claim keeps its own debit rows, and the credits are grouped per claimant and tax rate, so the entry balances and each claimant is reimbursed once.

For each voucher Krani proposes:

  • a date, defaulting to the latest transaction date among its records;
  • a description, defaulting to a phrase saying how many records were combined;
  • a payee for a cash voucher, optional, defaulting to the supplier’s name when every record names the same one; and
  • a reference for an Autocount Journal Entry, optional.

The dialog lists each voucher’s records with their Document No, supplier or claimant, transaction date and total, plus the row count and voucher total. Any blocker — a record that is not Ready, is being re-extracted, has no line items, has no paying account, or has no exchange rate — refuses the whole action and names every offending record. Nothing is skipped silently.

One voucher holds one currency and one exchange rate. When every record in a voucher shares them, the voucher keeps that currency, exactly as a normal export does.

When they disagree, the voucher is written in the client’s default currency at rate 1, and each record’s amounts are converted at its own stored rate, keeping its FX adjustment line, so the voucher total is the exact sum of the converted records. On Autocount Krani asks once and names every voucher affected; on SQL Accounting no question is asked, because every SQL Accounting export already converts, and the result says which records were converted. A foreign record with no exchange rate recorded blocks the action — Krani never assumes a rate of 1.

Tax-inclusive and Explicit records together

Section titled “Tax-inclusive and Explicit records together”

You do not have to normalise tax modes first. A tax-inclusive (Implicit) record posts the gross you reviewed with blank tax cells; a record that posts tax as its own item (Explicit) names its rate’s code and posts its net and tax (or, on Autocount, the reviewed gross with the code Autocount splits). No tax item becomes a row of its own. The voucher reads tax-inclusive when any record in it is Explicit, so a code splits tax rather than adding it on top. If an Explicit record’s rate has no code mapped, the whole action is refused and every unmapped rate is named — the same rule a normal export applies.

Every row carries the source record’s Document No in the layout’s own reference cell:

Layout Cell
Autocount Cash Book Further Description
SQL Accounting Cash Book Description 2
Autocount Journal Entry Ref No 2
SQL Accounting Journal Entry Reference

On an Autocount Journal Entry an ordinary single claim still puts its number in Doc No 2; a combined entry uses Ref No 2 on each row instead. A record with no number falls back to the supplier or claimant name and the transaction date, so every row is still attributable. A value too long for its cell is trimmed, and the Activity log entry says so; the export is never blocked.

The dialog counts and names the records the client has already received. It does not stop you: an export stays replayable, and combining is your deliberate choice. But downloading again sends a second copy, so check the warning before you do.

If a record in a combined voucher is corrected after the file went out, do not export that record alone — the client would receive a second copy of the other records in the voucher. Re-export the whole batch instead.

Open Exports (see Export and push history), find the file, expand it and choose Re-export this batch. Krani rebuilds the vouchers the earlier file confirmed and shows them for confirmation — the date, description and reference are brought back, not retyped. A record that can no longer be posted is named and left out, and the dialog says so; if nothing can be re-exported at all, Krani refuses and explains why.

Confirming downloads a new file and adds a new entry at the top of Exports. The earlier entry and its file are never rewritten, so you can still download exactly what the client received the first time.

Every export writes an entry to the Activity log — who exported what, and the filename. Exporting costs no credits.

It is also kept in the client’s export and push history: the file itself, its layout, who produced it, and every document with the Document No and Document Total it carried when the file was made. Open Exports in the sidebar to see it, to open a past file’s documents, or to download the file again exactly as it was — even after the records in it have changed. A record’s Delivery section links to the export it belonged to.

If you edit an exported record, it is marked Changed since export until you export it again. The client holds the earlier figure in the meantime, and re-approving the correction does not clear the badge.

An export records that Krani produced the file, not that the client imported it. Krani cannot see into Autocount or SQL Accounting, so the history says what was handed over, never what is in the client’s books.

Pushing to an API software instead? There is no file to import — see that software’s Push documents guide for Bukku, Xero, or QuickBooks Online.