Corporate Online. Import format for Papua New Guinea files
About this Guide This guide describes the standard file format used to process a Papua New Guinea Direct Entry credit file. Contents Definitions... 3... 4 Copyright Copyright 2015 Westpac Banking Corporation ABN 33 007 457 141 AFSL and Australian credit licence 233714 Import format for Papua New Guinea files Page 2 of 6
Definitions Definitions A number of definitions are used through out this guide. The commonly used definitions are defined below: Left justified Right justified Blank filled Zero filled Description Start input in the first character position of the field End input in the last character position of the field Fills the unused portion of the field with blank spaces Fills the unused portion of the field with zeros Import format for Papua New Guinea files Page 3 of 6
What is the file format? The is a flat fixed length file. It is constructed of a number of different transaction types. They are: Descriptive record 0 (only one header record will be contained within the file). The descriptive record is used to identify the file as being a Papua New Guinea Direct Entry filet and to additionally identify the date the transactions are to be processed. Detail record 1 (for each transaction in the file). The file must contain at least one credit transaction record along with a debit transaction record that indicates the Westpac PGK account in Papua New Guinea the net value of the credit transaction records are to be debited to. This debit account must also be assigned to your Corporate Online Organisation and Users before files can be imported and authorised. File total record 7 (only one trailer record will be contained within the file) Descriptive record 0 (header) Position Length Description Specification 1 1 Record type 0 Must be 0 2-18 17 Blank Must be blank filled 19-20 2 Reel/Disk sequence number 21-23 3 Name of user financial institution Must be 01 24-30 7 Blank Must be blank filled 31-56 26 Name of company supplying file 57-62 6 Number of company supplying file 63-74 12 Description of entries in file (e.g. Payroll ) Must be an approved financial institution. For example: WBC for Westpac Left justified. Blank filled if needed. Must be zero filled. Should accurately describe contents of the file. Left justified. Blank filled if needed. 75-82 8 Date to be processed Must be numeric and in format YYYYMMDD. Must be a valid date. 83-132 50 Filler Must be blank or zero filled. Import format for Papua New Guinea files Page 4 of 6
Detail transaction record 1 Position Length Description Specification 1 1 Record type 1 Must be 1 2-8 7 BSB Number Must be numeric with a hyphen in character position 5. (e.g. 038-006 for Westpac Boroko Branch) 9-23 15 Account number to be credited / debited Must not contain all blanks or all zeros. Leading zeros which are part of the account number must be shown. Edit out hyphens where account number exceeds 15 characters. Right justified. Zero filled. 24 1 Indicator Must be a space or the letter N, Y, W, X, or Y. 25-26 2 Transaction code 53 = Payroll credit 13 = Payroll debit 27-36 10 Amount Must be numeric. Must be greater than zero. Show toeas without punctuation (e.g. K1,234.56 = 123456 ). Right justified. Zero filled. Unsigned. 37-68 32 Title of account to be debited / credited Must not contains all blanks Left justified. Blank filled. Desirable format is Surname then Given names with blank between each name. 69-86 18 Lodgement reference Reference as submitted by the user indicating origin of entry. (e.g. Payroll number, Invoice number, Policy number etc) 87-93 7 BSB Number Must be numeric with a hyphen in character position 90. (e.g. 038-006 for Westpac Boroko Branch) 94-108 15 Account number to be credited / debited Must not contain all blanks or all zeros. Leading zeros which are part of the account number must be shown. Edit out hyphens where account number exceeds 15 characters. Right justified. Zero filled. 109-124 16 Name of Remitter Must not contain all blanks. Left justified. Blank filled. 125-132 8 Transaction date Must be numeric and in the format YYYMMDD. Must be a valid date or Zero filled. Import format for Papua New Guinea files Page 5 of 6
File total record 7 Position Length Description Specification 1 1 Record type 7 Must be 7 2-8 7 BSB Number Must be 999-999 9-20 12 Blank Must be blank filled 21-30 10 File (user) Net Total Amount 31-40 10 File (User) Credit total amount 41-50 10 File (User) Debit total amount Must be numeric and zero filled. Right justified. Unsigned. Must be numeric. Must be greater than zero. Show toeas without punctuation (e.g. K1,234.56 = 123456 ). Right justified. Zero filled. Unsigned. Must be numeric. Must be greater than zero. Show toeas without punctuation (e.g. K1,234.56 = 123456 ). Right justified. Zero filled. Unsigned. 51-74 24 Blank Must be blank filled 75-80 6 File (User) count of Record type 1 Must be numeric. Right justified. Zero filled. 81-132 52 Blank Must be blank filled. Import format for Papua New Guinea files Page 6 of 6