The Root Cause of FNB CSV Import Crashes in Pastel Cashbook
First National Bank (FNB) allows users to download transactions as a Comma Separated Value (.csv) file directly from Online Banking Enterprise or Personal Online Banking. However, attempting to import this file directly into Sage Pastel Partner Cashbook results in immediate failure:
Error: "Invalid Date at line 4" or "Column count mismatch at line 1"
This happens because FNB's default CSV structure violates three core requirements of Sage Pastel Partner:
- 3 Top Metadata Lines: FNB prepends the file with account details (Account Name, Number, Balance). Pastel expects line 1 to be the first transaction.
- Date Format Mismatch: FNB outputs dates as
YYYY/MM/DD. Sage Pastel expectsDD/MM/YYYY. - Unquoted Description Commas: FNB store names often include commas (e.g.
ENGEN, QUICKSHOP 102). When unquoted, CSV parsers split this into two columns, shifting the amount into the balance column.
The Fix: Transforming FNB CSV to Pastel Specification
- Open the downloaded FNB CSV in Notepad or Excel.
- Delete Rows 1, 2, and 3 completely so that your first actual transaction is on Row 1.
- Select the Date column and format to
dd/mm/yyyy. - Ensure amounts are single-column (negative for payments, positive for receipts).
- Save the file as CSV (Comma Delimited) (*.csv).