KSmartKawaniDocs
Getting started

Import file columns

What goes in each of the five import files: which columns are required, and what each one means.

This page lists the columns of each import file. For how importing works, see Importing your existing data.

The easiest start is Download template on each file under Settings → Import: it has every column already in place.

Checking an employee file before importing it

Employees

Matched on employee_code, the ID number from your old system. Required: employee_code, last_name, first_name.

Everything else is optional: contact details, position, department, date hired, government numbers, bank details, salary and allowances.

Good to know:

  • date_hired is used for the 13th month and for the end of probation.
  • status is active, inactive or resigned. Blank means active.
  • basic_salary is the monthly salary.
  • email lets the person get a login later.
  • shift, branch and team can be the name or the code. They must already exist in SmartKawani. team_role is member, lead or manager.
  • device_pin is the person's number on your biometric device, if you have the Biometric Devices add-on.

Pay before SmartKawani

For companies that switch in the middle of the year. Without it, the 13th month would only count the months you ran payroll here.

Matched on employee_code + year.

  • basic_earned: basic pay earned this year before the switch.
  • thirteenth_paid: any 13th month already paid this year, like a mid-year half. It is taken off what is still due.
  • through: the last day those figures cover.

The 13th month page and final pay both add these figures in.

Leave balances

Matched on employee_code + leave_type_code + year. Required: employee_code, leave_type_code, year, entitled.

leave_type_code must already exist under Leave, for example VL or SL. used is the days already taken. Half days are fine.

Loans

Matched on employee_code + kind + reference. Required: employee_code, kind, balance, amortization.

  • kind: sss, pagibig, company or other.
  • reference: the loan number. Needed when someone has two loans of the same kind.
  • balance: what is still owed today.
  • amortization: the amount taken off each payroll. On a twice-a-month payroll, that is half the monthly amount.

Set the balance to 0 to close a loan. See Loans.

Attendance history

Matched on employee_code + work_date. Uploading a day again replaces it.

  • status: present, absent, leave, leave_unpaid, holiday or rest_day. Blank means present.
  • time_in and time_out: if you give these, SmartKawani works out late and undertime from each person's shift.
  • late_minutes and undertime_minutes: leave them blank if you never tracked them. Blank means "not measured". Zero means "measured, and none".