Your payment format and BACS source account are set once per organisation. Until they are set, no payment file is generated for your pay runs. See setting up your payment details.
What the file contains
Each completed pay run has one payment file, identified by its pay schedule, tax year, pay frequency, and period. It holds:- One credit record per employee being paid, carrying their sort code, account number, account name, net pay, and payment reference.
- The totals your bank reconciles against — the number of records, the number of employees, and the total amount.
- A contra record debiting your own account, in the formats that require one.
Acme_2026-W25-260515-215906.txt. The whole name stays within 50 characters, because some banks reject longer ones.
Download links expire. If a link has gone stale, open the pay run again to generate a fresh one.
Setting up your payment details
Your payment configuration drives every file Flow Payroll generates for the organisation.
A payment reference can mix static text with tokens —
{payDate}, {payPeriodStart}, {payPeriodEnd}, {year}, {period}, and {frequency} — plus separator tokens for spaces, dashes, underscores, and slashes. References are truncated to 18 characters in the file, so keep them short.
Payment file statuses
When an employee is missing from the file
Every employee’s bank details are checked before they go into the file. Anyone who fails is listed against the pay run with the field that caused it.
Account names are cleaned rather than rejected. Accents are stripped, the name is uppercased, anything outside A–Z, 0–9, space, hyphen, slash, ampersand, and full stop is removed, and the result is truncated to 18 characters. A long or accented name never blocks a file.
Correct the details on the employee’s profile, then retry the payment file. A retry rebuilds the file with refreshed employee data, so anyone you have fixed is included.
Changed your bank or file type after locking
A pay run’s payment file is built when the pay run locks, with the payment settings you had then. If you change the bank or switch between.txt and .csv afterwards, the file you already have stays as it was.
To get the file in the new format, open the payment file on the pay run’s Reports step and choose Rebuild file. The option only appears when the file no longer matches your payment settings: a different bank, file type, payment reference or bank account. Once rebuilt, the file matches them and the option goes away. If some employees were left out of the file, fix their details and retry the file instead. When you save a change like this in Pay run settings, Flow Payroll also offers to rebuild the file for your latest pay run, as long as it’s locked and its payment date hasn’t passed.
A rebuild uses the same payments, so totals and amounts don’t change, only the file. The earlier file is listed under Earlier files on the same card, with its own download. If the pay run is reopened for a correction, there’s nothing to rebuild: locking it again builds the file with your current settings.
Locked a pay run before setting up payments
If a pay run was locked before its pay schedule had payment settings, it has no payment file. Set up your payment settings, then open the pay run’s Reports step and choose Create payment file. Flow Payroll also offers this when you first save your payment settings, for your latest pay run if its payment date hasn’t passed. The file is built from the payments the pay run locked with, so nothing about the pay run changes and it stays locked. If the pay run was corrected after it was first locked, unlock it and lock it again instead: the new lock builds its file.Payment file formats
The Standard 18 record
Each payment record in a Standard 18 file is 106 characters, with fixed positions:
The contra record at the end of the payment lines carries your own account on both sides, the total of the file as its amount, and
CONTRA in place of both account names.
Templates
These are sample files in each layout, with dummy sort codes, account numbers, and employee names. Flow Payroll generates your real file for you — use these to check a layout against what your bank expects, or to give your bank a sample before your first upload.Standard 18 template (BACS_Standard18.txt)
Standard 18 template (BACS_Standard18.txt)
Column positions matter in this format. Open it in a plain text editor, never a spreadsheet.Download BACS_Standard18.txt
Barclays template (BACS_Barclays.csv)
Barclays template (BACS_Barclays.csv)
One row per payment: sort code, account name, account number, amount, reference, then the transaction code. There is no header row.Download BACS_Barclays.csv
NatWest template (BACS_Natwest.txt)
NatWest template (BACS_Natwest.txt)
Every row has 85 comma-separated fields, most of them empty. The Download BACS_Natwest.txt
08 row names the account being debited; each 09 row is one employee’s payment.Allica Bank template (BACS_Allica Bank.csv)
Allica Bank template (BACS_Allica Bank.csv)
The only format with a header row. Sort codes are written with dashes, and names are not uppercased.Download BACS_Allica Bank.csv
Your bank’s own layout
If your bank’s bulk payment import isn’t one of the formats above, describe it yourself. Most banks take a CSV or text file with one row per payment; what differs is the order of the columns, how the sort code is written (with or without dashes), and whether there’s a header row. A custom layout covers all of that, and Flow Payroll writes every payment file for the pay schedule in it.1
Choose Custom layout
Open Settings, then Pay run settings, choose the pay schedule, and in Payment configuration set Payment method to BACS - Custom layout.
2
Start from a bank format
Under File layout, Start from copies one of the formats Flow Payroll already writes, such as Barclays CSV or Allica Bank, as a starting point. A plain layout starts with sort code, account number, name, amount and reference.
3
Describe the file
Set the File type (
.csv or .txt), what the values are separated by (comma, tab, semicolon, pipe, or Fixed width), and whether the file has a Heading row. Rows end with Windows line endings, which bank imports expect.4
Set the columns
Add the columns in the order your bank expects, and set each one: the sort code as
30-91-54, 309154 or 30 91 54; the account number padded to eight digits or as entered; the amount as 100.50, 100.5 or in pence; a date format for the payment date. Text columns can be cut to a maximum length, and with a heading row each column takes its heading. Fixed text writes the same value on every row, and Empty column leaves one blank.5
Check the preview and save
The preview shows the file as your bank will receive it, with sample payments. Compare it with a file your bank accepts, then choose Save changes.
.csv with no heading row and these columns:
Names marked Name keep the capitalisation they were entered with. Choose Name in capitals for a bank that wants the upper-case Bacs name every other format uses.
Changing the layout makes the latest locked pay run’s file out of date, as changing the bank does: choose Rebuild file to get it in the new layout. Renaming the layout changes nothing in the file, so it never asks for a rebuild.
Uploading the file to your bank
Download the file and upload it through your bank’s bulk payment channel — Bankline for NatWest, Barclays.Net or iPortal for Barclays, or your BACS bureau’s own submission service. Your bank validates the file again on its side and reports the total it is about to pay, so check that total against the pay run summary before you approve it.Where to go next
Running a pay run
Take a period from open to locked and reported.
Payslips
Preview, download, and send payslips to your employees.
Payroll journals
Post payroll costs to your accounting system.
Payment API
Generate and fetch payment files programmatically.