TransportechAI Docs
HRAttendance

Import Attendance

How to bulk import attendance records from spreadsheets or external timekeeping systems.

The Import feature allows HR administrators to upload attendance records in bulk using a spreadsheet file. This is especially useful when migrating from an external timekeeping system, reconciling data from biometric devices, or entering historical records.

Navigation: HR > Attendance > Import

When to Use Bulk Import

ScenarioDescription
Initial migrationYou are moving from a legacy system to TransportechAI and need to load historical attendance data
Biometric device syncYour organization uses physical timekeeping devices (fingerprint scanners, card readers) and needs to import their output
Manual batch entryHR needs to enter attendance records for a large group of employees for a specific date range
Data correctionA batch of attendance records needs to be updated due to a system issue

Import Process

Follow these steps to import attendance data:

Step 1: Download the Template

  1. Open the Import page.
  2. Click Download Template to get the standard import spreadsheet.
  3. The template file (CSV or Excel) will download to your computer with the required column headers already in place.

Step 2: Fill In the Data

Open the downloaded template and populate it with your attendance data. The template includes the following columns:

ColumnRequiredFormatDescription
Employee IDYesTextThe unique employee identifier in TransportechAI
Employee NameNoTextEmployee name (for reference only -- not used for matching)
DateYesYYYY-MM-DDThe date of the attendance record
Clock InYesHH:MM (24-hour)The time the employee started work
Clock OutYesHH:MM (24-hour)The time the employee ended work
Overtime HoursNoDecimalManually specified overtime hours (if not auto-calculated)
NotesNoTextAny additional notes for the record

The Employee ID column must match exactly with the employee IDs in TransportechAI. If an ID does not match, that row will be flagged as an error during validation. Double-check your IDs before uploading.

Step 3: Upload the File

  1. Return to the Import page.
  2. Click the Upload File button or drag and drop your file into the upload area.
  3. Supported file formats: .csv, .xlsx, .xls
  4. Maximum file size: 5 MB
  5. Maximum rows per upload: 5,000 records

Step 4: Review Validation Results

After uploading, the system validates every row in your file. The validation screen shows:

StatusDescription
ValidThe row passed all validation checks and is ready to import
WarningThe row has minor issues (e.g., duplicate record for the same date) but can still be imported
ErrorThe row has critical issues (e.g., unrecognized Employee ID, invalid date format) and cannot be imported

A summary at the top of the validation screen shows:

MetricDescription
Total RowsTotal number of data rows in your file
ValidNumber of rows that passed validation
WarningsNumber of rows with non-critical issues
ErrorsNumber of rows that failed validation

You can download the error report to see exactly which rows failed and why. Fix the issues in your spreadsheet and re-upload only the corrected rows.

Step 5: Confirm and Import

  1. Review the validation summary.
  2. Optionally, uncheck any rows you do not want to import.
  3. Click Confirm Import to process all valid rows.
  4. A confirmation message will display the number of records successfully imported.

Handling Duplicates

If the system detects that an attendance record already exists for the same employee on the same date, it will flag the row as a warning. You have two options:

OptionDescription
SkipKeep the existing record and ignore the imported row
OverwriteReplace the existing record with the data from the import file

You can set the default behavior at the top of the validation screen before confirming the import.

Validation Rules

The import process enforces the following validation rules:

RuleDescription
Valid Employee IDThe Employee ID must exist in the system
Valid Date FormatDates must follow the YYYY-MM-DD format
Valid Time FormatTimes must follow the HH:MM 24-hour format
Clock Out After Clock InThe clock-out time must be later than the clock-in time
Date Not in FutureYou cannot import attendance records for future dates
No Empty Required FieldsEmployee ID, Date, Clock In, and Clock Out must all be filled

Best Practices

  • Always use the template -- The provided template ensures your file has the correct column headers and format. Modifying headers or adding extra columns may cause import failures.
  • Import in batches -- If you have more than 5,000 records, split them into multiple files and import them one at a time.
  • Verify a small batch first -- Before importing a large dataset, test with 10-20 records to ensure your data format is correct.
  • Back up existing data -- If you are overwriting existing records, consider exporting the current data from the Hour Account page first as a backup.
  • Schedule imports during off-peak hours -- Large imports may take a few minutes to process. Running them during off-peak hours minimizes any impact on system performance.