ACB EFT — two payments and the contra that balances them
Three of the 180-character lines a South African batch file is made of: two supplier payments and the contra record that balances them. Nothing in these characters names a field, so the first thing a reader does is slice the two digits at the front. The at 1–2 reads 12 on the third line, which is what marks it as a contra. A contra is the balancing entry that makes a batch add up, and it is written against the paying company itself. Its homing branch at 30–35 and its homing account number at 36–46 are the company's own rather than a supplier's. Its amount at 48–58 reads 00000800050 and means R8,000.50, which is the two payments above it added together to the cent.
The record says so twice, because the reference at 71–100 carries ten characters of shortened company name and then the word CONTRA, which is what makes a contra findable by eye in a file of thousands of lines. Money is written in cents with no decimal point anywhere, and the twenty digits at 131–150 are all zeros on both payments because each destination account fits the eleven characters at 36–46.
SYNTHETIC / TRAINING ONLY. Illustrative, non-production example. Values are fictional and the message is not validated for any specific network, scheme, or implementation guide.
Sources for this sample — 4 sources
- Market practice
absa-h2h — a Ruby interface to a South African bank's Host-to-Host platform, carrying the ACB EFT record layouts ↗ — Jeffrey van Aswegen and Douglas Anderson (open source) · lib/config/eft.yml — the declared offset and length of every field on the standard transaction record and the contra record, and the fixed contra values at the type of account and the entry class
Read in full from a git clone on the access date, not through search. The layouts are declared in this library's own Host-to-Host framing, where each line carries a four-character transmission prefix and the ACB record begins at offset 5; every position this site publishes is that offset minus four.
Two independent facts justify the subtraction: the ACB record identifier then lands at characters 1 and 2, where the bank documentation independently places it. And the trailer's hash total lands at 73 to 84, where the bank documentation independently places it.
The library's own record length is 198 characters because it pads to its transmission width, which is why this site takes the record length from the second implementation and from the file's own installation header instead.
Its published sample files were sliced at these offsets and every field resolved to a sensible value. The contra amounts were checked against the sums of the records they balance and matched to the cent three times.
- Market practice
SKS_EFT_Format_ZA_BANKSERVAFRICA_180 — a Microsoft Dynamics electronic funds transfer format class for the South African BankservAfrica file ↗ — SKS (vendor code published in public Dynamics 365 metadata repositories) · SKS_EFT_Format_ZA_BANKSERVAFRICA_180 — the 180-character record, the field list of the transaction and contra records in order, and the ten-plus-twenty split of the user reference with the literal CONTRA
Fetched in full from raw.githubusercontent.com on the access date; the same file appears in a second unrelated public repository, which is how it was cross-checked. It carries its own format version constant of 20230314.
It is an implementation and not the standard: its field lengths are what one working writer sends out. Its value is that it was written in a different language, in a different decade and by a different vendor from the other implementation. And the two agree field for field on all nineteen positions of the transaction record and on fourteen of the fifteen on the contra.
Every one of its six record types was walked and each tiles exactly 180 characters with no gap and no overlap.
- Market practicePayments South Africa, February 2023; Collections, January 2023; Transfers, December 2022
Payments, Collections, Transfers and Verify Account Owner — Bankserv (ACB) File Format, Online Banking Enterprise ↗ — First National Bank (FNB) · the contra as record 12, required for each nominated account, action date and record type, and the amount as a fixed eleven-digit cents-only field
Search excerpts only, page not opened. Every claim above comes from web-search summarisation over those documents across eight separate searches on the access date, and is cited at that strength — weaker than a page-image read.
Two of the recovered claims are load-bearing precisely because they are independent. The hash total at 73 to 84 and the filler at 85 to 180 in record 92 land exactly where both open implementations put them. That is what makes it reasonable to treat all three sources as describing one format.
One recovered claim is not adopted. This document states in words that the record length is 181 characters including the carriage return and the line feed, which makes the record 179. Its own record-92 filler runs to 180, and both implementations tile every record type to 180. The record publishes that disagreement rather than resolving it.
This is also a bank's document rather than the scheme owner's, so where it narrows the format that is a bank rule; say as FNB publishes it.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Fictional company, suppliers, branch codes, account numbers, references and amounts, and three lines rather than a file. A real submission wraps these in an installation header marked 02, a user set header marked 04, a user set trailer marked 92, and an installation trailer marked 94. The user set trailer carries the counts, the totals and the hash of the destination account numbers. This page does not tabulate those four. Every identifier here is constructed. The branch codes 990001, 990002 and 990003 sit in the 99 range, which carries no bank on any published South African universal-branch-code list checked for this page. None of them names a real bank or branch and none would clear. The account numbers, the four-character user code ASHA and the ten-character shortened name ASHATRADER are invented, and Asha Traders is this site's own fictional importer. Two values are reproduced rather than chosen, and both are disclosed for that reason. The homing institution at 167 to 168 is written as 21, the constant both open implementations write there, and no source read for this page says what the value means. The entry class at 65 to 66 is written as 88 on the payments, the value one implementation's own published credit sample carries, because no source read for this page states the entry-class domain at all. The contra's entry class of 10 and type of account of 1 are the two contra values both sources do fix. Each line is 180 characters, which is what both implementations produce and what the file's own installation header declares as its record length. One bank's document states 181 including the carriage return and the line feed, and the record page publishes that disagreement rather than resolving it. Not validated against BankservAfrica or PayInc, and not validated against any bank.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.