Xero Payroll Payment file to CSV format (2025)

19th Feb 2025

Any Answers comment Icon6

954

Is it possible to convert the Xero Payroll payment file to CSV format

Didn't find your answer?

Industry insights

Caseware

Caseware Accounts Production for Practice

PaperLess Europe Ltd.

PO Requisition Done Right - Sage, Xero, and SAP B1

PaperLess Europe Ltd.

AP Automation Benefits That Go Beyond Cost Savings

View more

Latest Any Answers

  • Seeking assistance from a junior accountant

  • Do ACSPs need to verify client identities?

  • Share particulars

Hi

We have just recently moved from Sage Payroll to Xero Payroll

When doing the pay run the payment file is downloaded as an Bacs 18 standard file (txt) however our bank Santander does not accept this and has to be manually amended to csv format which is not great but does work

Ideally we are looking to take the manual part or at least some of it out

Is there a way through a script, add-on or file conversion program for this

I have asked Xero for help they have not been helpful at all

I can see other users having a similar issue

Any help or recomendations would be appreciated

Thanks

Save content

Tags

  • Accounts
  • Payroll
  • Xero

Related resources

Guide

Sponsored

How to make payments a core offering in 2025

Guide

Sponsored

How to prepare for Basis Period Reform

Guide

Sponsored

Protect your client's payment reputation

Replies (6)

Please login or register to join the discussion.

Xero Payroll Payment file to CSV format (7)

By Viciuno

19th Feb 2025 14:20

If you open excel, then data tab, then get data (dropdown), from file, then transform data into excel and you can then save as a CSV.

Hopefully you don't need to do anything other than splitting the columns based on tabs in the txt file so should be quite a quick process.

Thanks (0)

Replying to Viciuno:

Xero Payroll Payment file to CSV format (8)

By lannera

19th Feb 2025 14:27

Yup, sounds like the way - just be wary of excel losing the leading '0' on sort codes and account numbers...

Should be able to automate the process to import .txt and output as .csv

Thanks (0)

Xero Payroll Payment file to CSV format (9)

By ireallyshouldknowthisbut

19th Feb 2025 14:42

Blimey you know how to pick bad payroll software.

Have you asked you accountant about chosing something decent?

They are probably the worst two out there.

If you look for some decent standalone from April you should consniderably cut your processing time and improve your compliance by using a fully featured modern system and not the scrapings out of the bottom of the software pile.

Thanks (1)

Xero Payroll Payment file to CSV format (10)

By FactChecker

19th Feb 2025 16:35

"the payment file is downloaded as an Bacs 18 standard file (txt) however our bank Santander does not accept this" ... WHY not?
As in are Santander refusing to accept an 'instruction to pay via BACS' using the Bacs 18 standard file?
OR are they saying there's something wrong in the file format generated by Xero?

I assume it's the former (which makes a mockery of having an 'industry agreed standard' but that's life) - based on tracking down this:
https://www.santander.co.uk/content/dam/sites/santander-uk-cb/resources/...

When it comes to performing the transformation, note the comment by lannera (about Excel truncating leading zeroes unless you know what you're doing - the most common failing in this type of process).
The next most common failing is if your input text file has any values that contain a comma (which obviously will need to be stripped out before conversion)!
To my mind this is a serious failing in Santander's spec ... CSV (which they refer to as comma separated values but actually stands for character separated values) should be able to use any specified 'special' character as a separator (such as # or ~), which would avoid the danger of data containing embedded commas.

In summary, if you're going to do these conversions regularly WITHOUT spending time hand-checking them then:
1. you need to 'data cleanse' your input file first;
2. it should then be easy to run an export to CSV routine;
3. but you should always then quickly check the output before submitting it.

[items 1 and 3 can have routines written for them - as in, for instance, automating the Find for commas and changing any value with a leading zero to be text not numeric; or performing simple post-conversion validation checks on totals per column - but this requires a little more knowledge if you're intending to rely on it.]

Thanks (3)

Replying to FactChecker:

Xero Payroll Payment file to CSV format (11)

By FactChecker

19th Feb 2025 16:45

I've just remembered the next most common failing in these conversions, which relates to the various formats in which DATE values may be held within the input file ... and the usually strict specification of what the target format requires.

In the case of the Santander spec this states that: "a valid value for a date is in the format of ddmmyyyy" ... so the transformation routine will need to recognise Date values in whatever format they're held in the input, before outputting them in the specified format (note: not the default computer US style, and without separators).

Thanks (3)

Xero Payroll Payment file to CSV format (12)

By paulwakefield1

19th Feb 2025 18:50

You can stop Excel removing leading Zeroes by going into Options - Data - Automatic data conversion and switching off "Remove leading zeroes...."

Better still, set up Power Query (aka "Get and Transform data" on the Data tab) to cleanse and process your Xero exports into the desired format. Once done, it is the work of a moment to transform future exports. This will circumvent the various quite correctly identified issues of other approaches.

Thanks (0)

Xero Payroll Payment file to CSV format (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Carlyn Walter

Last Updated:

Views: 6655

Rating: 5 / 5 (50 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.