header: rec_id: data_type: N offset: 1 length: 3 regex: ^016$ no_strip: true rec_status: data_type: A offset: 4 length: 1 regex: ^T|L$ bankserv_user_code: data_type: A offset: 5 length: 4 nom_branch: data_type: N offset: 9 length: 6 nom_account: data_type: N offset: 15 length: 16 nom_account_type: data_type: N offset: 31 length: 2 regex: ^1$ action_date: data_type: N offset: 33 length: 8 regex: ^[0-9]{8}$ no_strip: true transaction: rec_id: data_type: N offset: 1 length: 3 regex: ^017$ no_strip: true rec_status: data_type: A offset: 4 length: 1 regex: ^T|L$ transaction_type: data_type: A offset: 5 length: 2 regex: ^50|10$ transmission_date: data_type: N offset: 7 length: 8 regex: ^[0-9]{8}$ original_sequence_number: data_type: N offset: 15 length: 6 homing_branch: data_type: N offset: 21 length: 6 homing_account: data_type: N offset: 27 length: 16 amount: data_type: N offset: 43 length: 11 user_ref: data_type: A offset: 54 length: 30 new_homing_branch: data_type: N offset: 84 length: 6 new_homing_account_number: data_type: N offset: 90 length: 16 new_homing_account_type: data_type: N offset: 106 length: 2 distribution_sequence_number: data_type: N offset: 108 length: 6 homing_account_name: data_type: A offset: 114 length: 30 trailer: rec_id: data_type: N offset: 1 length: 3 regex: ^018$ no_strip: true rec_status: data_type: A offset: 4 length: 1 regex: ^T|L$ no_debit_records: data_type: N offset: 5 length: 9 no_credit_records: data_type: N offset: 14 length: 9 homing_account_hash_total: data_type: N offset: 23 length: 18 debit_amount_hash_total: data_type: N offset: 41 length: 14 credit_amount_hash_total: data_type: N offset: 55 length: 14