Skip to main content

Direct Entry and Bulk Fast Payments File Specification

Version No. 9 30 September 2026 Public

The file specification below applies to the following payment types:

  • Direct Entry
  • Bulk Fast Payments

Payment files submitted to the Commonwealth Bank for processing require the following file structure:

  • A header record (one per user)
  • Detail records (variable number)
  • A File trailer record (one per user)

Payment files consist of a single header record, followed by at least 2 detail records, followed by a single trailer record. Each record should be 120 characters in length. Only the final fields in the header and trailer records can be dropped; the length in this case must be 80 characters.

Payment files must include a contra entry to the user’s nominated account(s) to ensure the files are self-balancing. The last field in each record must be followed by a carriage return line feed (CRLF) character (ASCII values 13 & 10).

The file specification also applies to file-based payment requests submitted through Fast Payments (NPP). Eligible customers may upload files that comply with the specification for processing via the Fast Payments rails. Any requirements that differ for Fast Payments are identified below.

1. Header Record Format

Character PositionField LengthDescriptionMandatory / OptionalComments
11Record Type 0MMust be "0"
2 - 1817BlankMUnused, space filled
19 - 202Reel Sequence NumberMFirst Payment Group Must be "01"
Fast Payments - Each additional Payment Group must use the next sequence number.
21-233Name of User Financial InstitutionMMust be "CBA"
24 - 307BlankMUnused, space filled
31- 5626Name of User Supplying FileMUsername (Preferred Name)
• Must not be left blank
• Left justified, space filled
57 - 626Number of User Supplying FileMUser Identification Number (APCA ID)
• Must be 6 digits
• Right justified, zero filled
• Fast Payments - APCA/UserlD remains a mandatory field, but details included will be ignored for payments subject to re-routing via Direct Credit. Any payments rerouted via Direct Credit will use a default CBA APCA ID.
63 - 7412Description of Entries on File (e.g. salaries)M• Must not be left blank
• Left justified, space filled
75 - 806Date to be ProcessedMDate for processing in DDMMYY format. Must be valid date less than 5 days in the past and less than 420 days in the future.

Fast Payments - Must be the current date or less than 31 calendar days in the future
81- 12040BlankMUnused, space filled

2. Detail Record Format

Character PositionField LengthDescriptionMandatory / OptionalComments
11Record Type 1MMust be "1"
2-87BSB NumberMMust be in format nnn-nnn where n is numeric
9-179Account Number to be Credited/DebitedM• Alpha-numeric, hyphens and spaces allowed only
• Must not contain all blanks or all zeros
• Leading zeros, which are part of an account number must be shown
• Right justified, space filled
181Indicator0See Indicator section below
19-202Transaction CodeMSee Transaction Code section below
21-3010AmountM• Must be 10 numeric characters
• In cents, without decimal point
• Right justified, zero filled
31-6232Title of Account to be Credited/DebitedM• Must not be left blank
• Left justified, space filled
63-8018Lodgement Reference (e.g. Payroll Number)M• Left justified, space filled
Note: Fast Payments - This field may be used as a unique payment transaction identifier. Will be included in the Final Payment Status Report to support customer reconciliation.
81-877Trace BSB Number (BSB Number and account number of User, to enable retracing of the entry to its source if necessary).M• Must be in format nnn-nnn where n is numeric
88-969Trace Account Number (BSB Number and account number of User, to enable retracing of the entry to its source if necessary).M• Alpha-numeric, hyphens and spaces allowed only
• Must not contain all blanks or all zeros
• Leading zeros, which are part of an account number must be shown
• Right justified, space filled
97-11216Name of RemitterMName of originator of the entry. This may vary from Name of User
• Left justified, space filled
113-1208Amount of withholding taxM• In cents, without decimal point
• Right justified, zero filled

2.1 Notes for Detail Record

(1) INDICATOR

Must be one of "N", "W", "X", "Y" or blank. Care should be exercised to ensure inclusion of "N" symbol. Failure to do so may render the user liable in the event that incorrect processing occurs as a result.

However, for Withholding Tax, valid indicators are:

Care should be exercised to ensure inclusion of:

CodeDescription
"W"Dividend paid to a resident of a country where a double tax agreement is in force
"X"Dividend paid to a resident of any other country
"Y"Interest paid to all non-residents

(2) TRANSACTIONS CODES

CodeDescription
"13"Externally initiated debit item (Fast Payments - files can only contain 1 debit line item per transaction group or block)
"50"Externally initiated credit items with the exception of those items bearing transaction

Codes "51" - "57" inclusive

CodeDescription
"51"Australian Government Security Interest
"52"Family Allowance
"53"Pay
"54"Pension
"55"Allotment
"56"Dividend
"57"Debenture/Note Interest

3. Trailer Record

Character PositionField LengthDescriptionMandatory / OptionalComments
11Record Type 7MMust be "7"
2-87BSB NumberMPlaceholder value and must be 999-999
9-2012BlankMUnused, space filled
21-3010File (User) Net Total AmountMMust be the difference between the File Credit and File Debit total amounts
• In cents, without decimal point
• Right justified, zero filled
31-4010File (User) Credit Total AmountMMust equal the accumulated total of CREDIT Detail Record amounts
• In cents, without decimal point
• Right justified, zero filled
• Unsigned
41-5010File (User) Debit Total AmountMMust equal the accumulated total of DEBIT Detail Record amounts
• In cents, without decimal point
• Right justified, zero filled
• Unsigned
51-7424BlankMUnused, space filled
75-806File (User) Count of Record Type 1MMust equal accumulated number of Record Type 1 (Detail records) on the File
• Numeric only
• Right justified, zero filled
81-12040BlankMUnused, space filled

4. Allowable Character Set

The below characters are permissible. Characters outside of this range will be replaced with a space character.

CharacterSymbolASCII CodeHex Code
Space320x20
Exclamation!330x21
Hash#350x23
Dollar$360x24
Percent%370x25
Ampersand&380x26
Apostrophe'390x27
Dash-450x2D
Dot.460x2E
Fwd Slash/470x2F
Digits0-948-570x30-0x39
Colon:580x3A
Semicolon;590x3B
Equal=610x3D
Question?630x3F
At@640x40
Uppercase LettersA-Z65-900x41-0x5A
Lowercase Lettersa-z97-1220x61-0x7A
Underscore_950x5F
Asterisk*420x2A
Parenthesis()40,410x28, 0x29
Plus+430x2B
Comma,440x2C
Tilde~1260x7E
Left square bracket[910x5B
Right square bracket]930x5D
Circumflex^940x5E

5. Sample File

0 01CBA ABCD COMPANY PTY LTD 301500PAYMENTS 080824
1123-456 12345678 500000001200John Smith CREDIT 1 063-001 10012002Acme Pty Ltd 00000000
1222-222 12345679 500000000800Jane Doe CREDIT 2 063-001 10012002Acme Pty Ltd 00000000
1333-333 33333333 500000000600Alpha Services Pty Ltd CREDIT 3 063-001 10012002Acme Pty Ltd 00000000
1444-444 44444444 500000000900Beta Consulting CREDIT 4 063-001 10012002Acme Pty Ltd 00000000
1010-010 99990000 500000001500Omega Supplies CREDIT 5 063-001 10012002Acme Pty Ltd 00000000
1063-001 10012002 130000005000Acme Pty Ltd BATCH DEBIT 063-001 10012002Acme Pty Ltd 00000000
7999-999 000000000000000050000000005000 000006