Payroll Import
Import payroll data from Excel or CSV into the General Journal.
📋 Supported File Formats
You can import data from two file types:
Excel Files
- Format: .xlsx or .xls
- Row 1: column headers (e.g. Posting Date, G/L Account No., Description, Debit Amount, Credit Amount, Dimensions...)
- Row 2 and below: data to import
- Recommended encoding: UTF-8
CSV Files
- Text format: .csv
- Field separator: semicolon (;)
- The header row is skipped if its first field is exactly
PostingDateorPosting_Date. - The remaining rows contain the data to import.
- Encoding: UTF-8
🗃️ Data Structure
Put the columns in the order below. The importer reads columns by position and does not map them by header name. For Excel, it always skips the first row.
| Column | Description | Type | Required |
|---|---|---|---|
| Posting Date | Transaction date | Date | Optional* |
| Line Type | Account type; leave empty for G/L in Excel | Text | Depends on format |
| Document No. | Document number | Code[20] | Optional* |
| G/L Account No. | General Ledger account number | Code[20] | Required |
| Description | Transaction description | Text[50] | Required |
| Debit Amount | Debit side amount | Number | Optional |
| Credit Amount | Credit side amount | Number | Optional |
| Dimension Value 1 | First dimension value code | Code[20] | Optional |
| Dimension Value 2 | Second dimension value code | Code[20] | Optional |
| Dimension Value 3 | Third dimension value code | Code[20] | Optional |
If not provided in the file, values will be taken from settings or entered during import.
⚙️ Dimension Setup
Before your first import, configure dimensions in N24 Core Extension Setup:

In the Payroll Import section, set:
- Payroll Dimension 1
- Payroll Dimension 2
- Payroll Dimension 3
Important: You only need to configure dimensions if your import file contains data in the corresponding dimension columns. The system will check the configuration during import and display an error only when:
- The file contains values in a dimension column (e.g., Dimension 1), but
- The corresponding dimension is not configured in the setup
This allows you to import data without having to configure all three dimensions if you don't use them.
📥 How to Import Data
Start the import from the General Journal:

Import Steps
- In the General Journal, select N24C | Import Payroll (Excel) or N24C | Import Payroll (CSV).
- Set the default posting date and document number if needed.
- Choose the file. For Excel, also select the worksheet.
- Business Central reads the columns in order and adds the lines to the journal.
📤 Export Sample File
You can generate a sample Excel file with the correct structure:
- Go to N24 Core Extension Setup
- In the Payroll Import section, click Export sample file
- You will receive a file with sample data and headers
📘 Examples and Scenarios
The examples cover payroll imports from an Excel worksheet and a semicolon-delimited CSV file.
Scenario: Monthly payroll import from an HR system
Need: A company uses an external HR/payroll system that generates an Excel file with payroll entries. The accountant must enter this data into the General Journal in BC every month — manually typing 200 lines takes several hours.
Steps:
- Export the payroll from the HR system to an Excel file (format: date, G/L account, description, debit, credit, cost center).
- Open the General Journal in Business Central.
- Click N24C | Import Payroll (Excel).
- Select the file and worksheet. The importer reads the columns in the order listed in Data Structure.
- After import, the 200 lines appear in the journal with dimensions based on the setup.
- Check the balance and post the journal.
Result: The payroll lines are added to the journal without manual reentry.
Scenario: Import from a CSV file with semicolon separator
Need: The HR system only exports data in CSV format with a semicolon separator. The accountant wants to import this file without converting to Excel.
Steps:
- In the General Journal, click N24C | Import Payroll (CSV).
- Arrange the columns in the order listed in Data Structure and use
;as the separator. If the file includes a header, putPostingDateorPosting_Datein its first field. - Select the CSV file to import.
Result: The payroll lines are added to the journal without converting the file to Excel.
Tip
Before the first import, configure dimensions in N24 Core Extension Setup. If your file doesn't contain dimensions — you don't need to configure them.