The short answer

The Barclaycard file has 7 columns, dates written as DD Mon YY 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 Barclaycard 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.

Open the converter

The converter runs in your browser. Your file is not uploaded.

What the Barclaycard CSV looks like

Note kept with this layout in the profile data: No header row. Dates look like 05 Mar 24. The credit column comes before the debit column. bank2ynab agrees on the date format and on no header but lists eight columns (Date,Payee,skip,skip,skip,Category,Inflow,Outflow), so the export may have one more ignored column in some versions; the converter should count columns from the right for the two amount columns.

What Xero accepts

The file the converter writes for Xero: Date,Amount,Payee,Description,Reference
Xero columnRequired by XeroFilled from the Barclaycard file
Daterequiredcolumn 1
Amountrequiredcolumn 6 (positive) minus column 7 (negative)
Payeeoptionalleft empty: the bank file has no payee column
Descriptionoptionalcolumn 2
Referenceoptionalleft 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 Barclaycard file, left to right, and where it ends up in the Xero file.

ColumnHeader textWhat it holdsWhere it goes in the Xero file
1not given by the sourceTransaction dateDate, rewritten as DD/MM/YYYY
2not given by the sourceDescriptionDescription
3not given by the sourceNot usedNot copied
4not given by the sourceNot usedNot copied
5not given by the sourceCategoryNot copied
6not given by the sourceMoney in (credit)Amount, as a positive number
7not given by the sourceMoney out (debit)Amount, as a negative number

Pitfalls for Barclaycard to Xero

Dates

Amounts and their direction

Shape of the file

Other Xero import rules

Before and after: an invented example

Invented sample data. These four rows were made up for this page. They are not from a real Barclaycard 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 2 unused columns of the file are left out of the table.

Before: rows laid out like the Barclaycard file
1: transaction date2: description5: category6: money in (credit)7: money out (debit)
04 Mar 24COFFEE CORNER MAIN STEating out4.50
05 Mar 24PAYROLL EXAMPLE COIncome2500.00
07 Mar 24RENT MARCHHousing1234.56
11 Mar 24REFUND EXAMPLE SHOPShopping15.25
After: the same rows as a Xero file (Date,Amount,Payee,Description,Reference)
DateAmountPayeeDescriptionReference
04/03/2024-4.50COFFEE CORNER MAIN ST
05/03/20242500.00PAYROLL EXAMPLE CO
07/03/2024-1234.56RENT MARCH
11/03/202415.25REFUND 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.

  1. Open the Barclaycard 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.
  2. The file has no header row: row 1 is already a transaction. Do not delete it.
  3. Date: rewrite column A from DD Mon YY to DD/MM/YYYY (04 Mar 24 becomes 04/03/2024). This bank's dates do not have a fixed width, so a position formula is not reliable: split the column into its parts (Text to Columns, or the split function of your spreadsheet) and join them again in the new order.
  4. Amounts: merge the two columns into one signed Amount, credit minus debit: =ABS(F1)-ABS(G1) An empty cell counts as zero. Money out comes out negative.
  5. Text columns: fill Payee (left empty: the bank file has no payee column); Description (from column 2); Reference (left empty: the bank file has no reference column). Where several bank columns feed one column, join them with a separator such as " - ".
  6. 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.
  7. 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 Barclaycard 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 Barclaycard 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.

Open the converter Licence terms

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: firefly-iii/import-configurations, file gb/barclaycard/default.json

Also read: bank2ynab/bank2ynab, file bank2ynab/data/bank2ynab.conf

The lines used from the source: "headers": false, "date": "d M y", roles: date_transaction, description, _ignore, _ignore, category-name, amount_credit, amount_debit

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

Barclaycard to other apps

The Barclaycard guides for YNAB, QuickBooks Online and Wave, in the bank list

Other United Kingdom exports to Xero

All banks and apps