Skip to main content

📥 Data Import

Import existing data into LKG for Billing using a guided 5-step wizard. Supports CSV, Excel, XML, and JSON source files. Map your source columns to system fields, preview the data, and commit.

Navigate to Integrations → Data Import.


Import List

The Data Import page lists all previous import jobs with their status and results.

ColumnDescription
Import #Auto-generated import job ID
Entity TypeType of data imported (Parties, Items, Invoices, etc.)
SourceFile format used
StatusQueued, Running, Completed, Partially Completed, Failed, Cancelled
RecordsTotal, successful, and failed record counts
DateWhen the import was started
ActionsView details, re-run

Starting a New Import

Click + New Import to open the 5-step wizard.


Step 1 — Source Selection

FieldDescription
Source FormatCSV, Excel (.xlsx), XML, or JSON
Entity TypeWhat data you're importing — see supported types below
Mapping TemplateOptionally reuse a saved field mapping from a previous import

Supported Entity Types

EntityDescription
PartiesCustomers and suppliers
ItemsProducts and services
InvoicesSales invoices
PurchasesPurchase bills
PaymentsPayment records
LedgersAccounting ledger entries
BundleMultiple entity types in one import

Step 2 — File Upload & Deduplication

Upload your source file and configure how duplicates are handled.

Deduplication Keys

Choose which field(s) identify duplicate records:

KeyUsed For
GSTINParties with GST numbers
PhoneParties with phone numbers
EmailParties with email addresses
Product CodeItems with product codes
NameMatch by name (case-insensitive)

Dry Run

Enable Dry Run to validate and preview the import without committing any data to the database. Recommended before the first real import.


Step 3 — Field Mapping

The system analyses your source file headers and automatically suggests mappings to system fields.

IndicatorMeaning
🟢 Green (≥90%)High-confidence auto-mapping
🟡 Amber (≥70%)Moderate confidence — review suggested mapping
🔴 Red (<70%)Low confidence — manual mapping required
  • Override any auto-detected mapping by selecting the correct target field from the dropdown
  • Columns that should not be imported can be set to Ignore
  • Required fields missing from the source are highlighted as errors

Saving a Mapping Template

Click Save as Template to store the current mapping for future imports of the same file format.


Step 4 — Data Preview

Review a row-by-row preview of how the data will be imported:

IndicatorMeaning
🟢 GreenRow will import successfully
🟡 YellowRow has warnings (will import with caveats)
🔴 RedRow has errors and will be skipped

Expand any row to see the detailed field values and the specific error or warning message.

If there are many errors, click Back to return to Field Mapping and correct the configuration before proceeding.


Step 5 — Run & Monitor

Click Commit to start the import. The wizard shows real-time progress:

  • Progress bar with percentage complete
  • Running count of processed, successful, and failed records

Import Statuses

StatusDescription
QueuedImport is scheduled, not yet started
RunningImport actively processing records
CompletedAll records processed successfully
Partially CompletedSome records succeeded, some failed
FailedImport failed — check error details
CancelledImport was cancelled mid-run

Click Cancel to stop a running import. Records already processed are kept.


Viewing Import Details

Click any import from the list to view:

  • Full record-by-record results
  • Error messages for failed rows
  • Summary statistics