The short answer
The Charles Schwab file has 7 columns, dates written as MM/DD/YYYY and separate debit and credit columns. The CSV written for Xero has the columns Date,Amount,Payee,Description,Reference. So the date is rewritten as DD/MM/YYYY, the amount is written as one signed number, and the text columns are moved as in the table below.
Paid profile. The free manual column mapper works for any bank, this one included, but the free version writes only the first 25 converted rows of a file. The 9 USD one-time licence adds the ready-made Charles Schwab profile (one of the 35 paid profiles) and removes the 25-row limit. The column table on this page is free to read and can be used to fill in the manual mapper.
The converter runs in your browser. Your file is not uploaded.
What the Charles Schwab CSV looks like
- Country: United States.
- Account type: checking.
- Rows before the first transaction: 3 (a preamble plus the header).
- Columns: 7, separated by commas.
- Date format: MM/DD/YYYY, for example 03/04/2024 (the source writes it as %m/%d/%Y).
- Amounts: separate debit and credit columns. Evidence for the direction: it is inferred from the role the open-source importer gives the column; no sample row confirms it.
- Header text: the source gives column positions and meanings only, not the header names.
Note kept with this layout in the profile data: Three rows come before the first transaction. The csv2ofx mapping reads these header names from a Schwab checking export: Date, Status, CheckNumber, Description, Withdrawal, Deposit, RunningBalance; it does not state their order, and the two sources may describe exports of different years.
What Xero accepts
- File type: CSV.
- Header row: optional; the vendor says a file can be imported without headings but named columns are easier to map.
- Required columns: Date, Amount.
- Optional columns: Payee, Description, Reference, Check Number.
- Amounts: One signed Amount column for both income and expenses. Income is positive; expenses are negative, written with a leading minus sign or in brackets, for example -30.00 or (30.00). Commas must not be used as the decimal mark.
- Dates: one of the date formats Xero lists on the page; the list could not be read on the checked date.
| Xero column | Required by Xero | Filled from the Charles Schwab file |
|---|---|---|
| Date | required | column 1 |
| Amount | required | column 6 (positive) minus column 5 (negative) |
| Payee | optional | left empty: the bank file has no payee column |
| Description | optional | column 4 |
| Reference | optional | left empty: the bank file has no reference column |
From a web search excerpt of the vendor's help page (the page itself refuses automated reading; re-check it in a browser): "Show income as positive amounts and expenses as negative amounts using a negative sign in front of the amount or with brackets, for example -30.00 or (30.00)."
Column-by-column mapping
Every column of the Charles Schwab file, left to right, and where it ends up in the Xero file.
| Column | Header text | What it holds | Where it goes in the Xero file |
|---|---|---|---|
| 1 | not given by the source | Transaction date | Date, rewritten as DD/MM/YYYY |
| 2 | not given by the source | Not used | Not copied |
| 3 | not given by the source | Not used | Not copied |
| 4 | not given by the source | Description | Description |
| 5 | not given by the source | Money out (debit) | Amount, as a negative number |
| 6 | not given by the source | Money in (credit) | Amount, as a positive number |
| 7 | not given by the source | Not used | Not copied |
Pitfalls for Charles Schwab to Xero
Dates
- The date must be reordered. The bank file is written month first, then day, then year (MM/DD/YYYY, for example 03/04/2024). The Xero file is written day first, then month, then year (DD/MM/YYYY, for example 04/03/2024). This is the mistake that does not show: 03/04/2024 is 4 Mar in the bank file, and read the other way round it is 3 Apr. Days from 13 to 31 fail loudly, days from 1 to 12 swap silently.
- Xero on dates: one of the date formats Xero lists on the page; the list could not be read on the checked date. The converter offers dd/mm/yyyy and mm/dd/yyyy and the user picks the one that matches the Xero organisation's region, then confirms the dates on Xero's column-mapping screen.
Amounts and their direction
- Debit and credit columns must be merged into one signed Amount: credit minus debit. A debit of 4.50 becomes -4.50 and a credit of 2500.00 stays 2500.00.
- Xero's own rule: One signed Amount column for both income and expenses. Income is positive; expenses are negative, written with a leading minus sign or in brackets, for example -30.00 or (30.00). Commas must not be used as the decimal mark.
- How sure the direction is: it is inferred from the role the open-source importer gives the column; no sample row confirms it. Compare two rows you recognise with the preview before importing; the converter has a switch that flips the sign of every amount.
Shape of the file
- 3 rows come before the first transaction (a preamble plus the header). They are skipped.
Other Xero import rules
- Only the Date and Amount fields are needed to create bank statement lines.
- Payee is recommended; if the payee is an existing contact, the name must match the contact name exactly to avoid duplicates.
Before and after: an invented example
Invented sample data. These four rows were made up for this page. They are not from a real Charles Schwab export and hold no real account, name or balance.
The source gives column positions only, so the headings below are the column number and what the column holds, not the bank's header text. The 3 unused columns of the file are left out of the table.
| 1: transaction date | 4: description | 5: money out (debit) | 6: money in (credit) |
|---|---|---|---|
| 03/04/2024 | COFFEE CORNER MAIN ST | 4.50 | |
| 03/05/2024 | PAYROLL EXAMPLE CO | 2500.00 | |
| 03/07/2024 | RENT MARCH | 1234.56 | |
| 03/11/2024 | REFUND EXAMPLE SHOP | 15.25 |
| Date | Amount | Payee | Description | Reference |
|---|---|---|---|---|
| 04/03/2024 | -4.50 | COFFEE CORNER MAIN ST | ||
| 05/03/2024 | 2500.00 | PAYROLL EXAMPLE CO | ||
| 07/03/2024 | -1234.56 | RENT MARCH | ||
| 11/03/2024 | 15.25 | REFUND EXAMPLE SHOP |
Do it by hand in a spreadsheet, free
These steps need no tool from this site. The cell references follow the column positions of the profile above; if your spreadsheet uses semicolons between formula arguments, replace the commas.
- Open the Charles Schwab CSV in a spreadsheet program through its import dialog. Set the date column (column 1) to Text so the program does not reinterpret it, and leave the amount columns as numbers.
- Rows 1 to 3 are a preamble and the header; the transactions start in row 4.
- Date: rewrite column A from MM/DD/YYYY to DD/MM/YYYY (03/04/2024 becomes 04/03/2024). In a new column, for the first transaction:
=MID(A4,4,2)&"/"&MID(A4,1,2)&"/"&MID(A4,7,4)This formula reads the date by character position, so it only works while the dates are text and every date has a two-digit day and month. Fill it down. - Amounts: merge the two columns into one signed Amount, credit minus debit:
=ABS(F4)-ABS(E4)An empty cell counts as zero. Money out comes out negative. - Text columns: fill Payee (left empty: the bank file has no payee column); Description (from column 4); Reference (left empty: the bank file has no reference column). Where several bank columns feed one column, join them with a separator such as " - ".
- Apply Xero's own rules from its help page: Only the Date and Amount fields are needed to create bank statement lines. Payee is recommended; if the payee is an existing contact, the name must match the contact name exactly to avoid duplicates.
- Keep only the new columns, put the header row Date,Amount,Payee,Description,Reference on top, save the sheet as a comma-separated CSV, and compare the dates, the direction of the amounts and the number of rows with your statement in Xero's import preview.
Or use the converter
Load the file, choose the Charles Schwab profile in the bank list and the target Xero, read the preview, then download. The conversion runs locally in your browser: the file is not uploaded, and only the licence key is sent for unlocking.
Paid profile. The free manual column mapper works for any bank, this one included, but the free version writes only the first 25 converted rows of a file. The 9 USD one-time licence adds the ready-made Charles Schwab profile (one of the 35 paid profiles) and removes the 25-row limit. The column table on this page is free to read and can be used to fill in the manual mapper.
Where this layout comes from
No bank supplied or approved this layout. It was copied on 5 October 2026 from a public open-source importer file kept by volunteers: bank2ynab/bank2ynab, file bank2ynab/data/bank2ynab.conf
Also read: reubano/csv2ofx, file csv2ofx/mappings/schwabchecking.py
The lines used from the source: [US Schwab Checking] Header Rows = 3 ; Input Columns = Date,skip,skip,Payee,Outflow,Inflow,skip ; Date Format = %m/%d/%Y
The Xero rules come from the vendor's own help pages: central.xero.com/s/article/Import-a-CSV-bank-statement (named as text, not linked). The official page refuses automated fetches (HTTP 403 or a script-only page), so the rules were read from web search excerpts of that same official URL on the checked date. Re-check in a browser before relying on a detail.
Bank formats change. Banks alter their CSV exports without notice and vendors change their import rules, so this mapping can be out of date. If the preview looks wrong, use the manual column mapper.
Related pages
Charles Schwab to other apps
The Charles Schwab guides for YNAB, QuickBooks Online and Wave, in the bank list