This document describes the file format generated by PayWay that is designed to be compatible with the St.George BPAY File Format.
Field No. |
Field Name |
Position |
Length |
Comments |
1 |
Record Type |
1-1 |
1 |
1 |
2 |
File Creation Date |
2-9 |
8 |
The local date of file creation, in DDMMYYYY format. |
3 |
File Creation Time |
10-15 |
6 |
The local time of file creation, in HHMMSS format. |
4 |
File Description |
16-35 |
20 |
PAYWAY PAYMENTS |
5 |
Institution Code |
36-38 |
3 |
The bank processing the transactions, e.g WBC |
6 |
PayWay Biller Code |
39-48 |
10 |
PayWay Biller Code. Note: This is not the same as the BPAY Biller Code. |
7 |
Biller Short Name |
49-68 |
20 |
Biller short name. |
8 |
File Serial Number |
69-74 |
6 |
000000 |
9 |
Filler |
75-126 |
52 |
Spaces. |
Detail Record
Field No. |
Field Name |
Position |
Length |
Comments |
1 |
Record Type |
1-1 |
1 |
5 |
2 |
Payment Type |
2-3 |
2 |
Code indicating the type of payment. 05 for payment, 15 for error correction, 25 for reversal (including refunds and Direct Entry returns). |
3 |
Customer Reference Number |
4-23 |
20 |
The number by which the Biller identifies the account that is being paid. Left justified, filled with trailing spaces. Note: This can be configured to include a subset of the full customer reference number. |
4 |
Payment Method |
24-26 |
3 |
Code indicating the method of payment. 001 for BPAY from Debit Account/Direct Credit/Direct Debit/Westpac Branch Payment, 101 for Visa, 201 for MasterCard, 301 for Bankcard, 401 for Amex/JCB, 501 for Diners Club |
5 |
Amount |
27-38 |
12 |
Amount of the payment or reversal, in cents. |
6 |
Date of Payment |
39-46 |
8 |
The date the payment or error correction was accepted by the Payer Institution, in DDMMYYYY format. |
7 |
Time of Payment |
47-52 |
6 |
The time the payment or error correction was accepted by the Payer Institution (where available), in HHMMSS format. |
8 |
Transaction Receipt Number |
53-62 |
10 |
The receipt number provided to the customer on successful completion of the payment. Right justified, filled with zeroes. Any letters and symbols in the receipt number are removed. |
Trailer
Field No. |
Field Name |
Position |
Length |
Comments |
1 |
Record Type |
1-1 |
1 |
9 |
2 |
File Creation Date |
2-9 |
8 |
The local date of file creation, in DDMMYYYY format. |
3 |
File Creation Time |
10-15 |
6 |
The local time of file creation, in HHMMSS format. |
4 |
Number of Payments |
16-24 |
9 |
Number of payments reported in the file. |
5 |
Amount of Payments |
25-39 |
15 |
Total amount of payments reported in the file, in cents. |
6 |
Number of Error Corrections |
40-48 |
9 |
Number of error corrections reported in the file. |
7 |
Amount of Error Corrections |
49-63 |
15 |
Total amount of error corrections reported in the file, in cents. |
8 |
Number of Reversals |
64-72 |
9 |
Number of reversals reported in the file. |
9 |
Amount of Reversals |
73-87 |
15 |
Total amount of reversals reported in the file, in cents. |
10 |
Net Amount |
88-102 |
15 |
Net amount of all transactions, in cents and unsigned. |
11 |
Debit/Credit Indicator |
103-104 |
2 |
CR when the total amount of payments is greater than the total amount of error corrections and reversals, DR when the total amount of error corrections and reversals is greater than the total amount of payments. |
12 |
Filler |
105-120 |
16 |
Spaces. |