Class: Nacha::Record::IatBatchHeader
- Includes:
- BatchHeaderRecordType
- Defined in:
- lib/nacha/record/iat_batch_header.rb
Overview
Represents an IAT batch header record
Instance Attribute Summary collapse
-
#batch_number ⇒ Nacha::Numeric
A number assigned by the Originator to uniquely identify the batch.
-
#company_entry_description ⇒ String
A description of the purpose of the entries in the batch.
-
#effective_entry_date ⇒ String
The date on which the entries are intended to be settled.
-
#foreign_exchange_indicator ⇒ String
Indicates the method used to determine the foreign exchange rate.
-
#foreign_exchange_reference ⇒ String
A reference related to the foreign exchange conversion.
-
#foreign_exchange_reference_indicator ⇒ Nacha::Numeric
A code indicating the content of the Foreign Exchange Reference field.
-
#iat_indicator ⇒ String
Provides supplemental information about the IAT entry.
-
#iso_destination_country_code ⇒ String
The two-character ISO code for the country of the receiver’s financial institution.
-
#iso_destination_currency_code ⇒ String
The three-character ISO currency code of the destination country.
-
#iso_originating_currency_code ⇒ String
The three-character ISO currency code of the originating country.
-
#originating_dfi_identification ⇒ String
The 8-digit routing number of the financial institution originating the batch.
-
#originator_identification ⇒ String
The identifier for the originator of the transaction.
-
#originator_status_code ⇒ String
A code indicating the status of the originator.
-
#record_type_code ⇒ String
Identifies the record as a Batch Header record with a constant value of ‘5’.
-
#service_class_code ⇒ Nacha::Numeric
Defines the type of entries in the batch, such as credits or debits.
-
#settlement_date_julian ⇒ Nacha::Numeric
A Julian date used by the ACH Operator for settlement.
-
#standard_entry_class_code ⇒ String
The Standard Entry Class code, which is ‘IAT’ for these batches.
Attributes inherited from Base
#children, #fields, #line_number, #name, #original_input_line, #parent, #validations
Method Summary
Methods included from BatchHeaderRecordType
Methods inherited from Base
#add_error, #create_fields_from_definition, #credit?, #debit?, definition, #definition, #errors, #human_name, #initialize, #inspect, matcher, #method_missing, nacha_field, parse, #record_type, record_type, #respond_to_missing?, #to_ach, #to_h, to_h, #to_html, to_json, #to_json, unpack_str, #valid?, #validate, validations
Methods included from Validations::FieldValidations
Constructor Details
This class inherits a constructor from Nacha::Record::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Nacha::Record::Base
Instance Attribute Details
#batch_number ⇒ Nacha::Numeric
Returns A number assigned by the Originator to uniquely identify the batch.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#company_entry_description ⇒ String
Returns A description of the purpose of the entries in the batch.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#effective_entry_date ⇒ String
Returns The date on which the entries are intended to be settled.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#foreign_exchange_indicator ⇒ String
Returns Indicates the method used to determine the foreign exchange rate.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#foreign_exchange_reference ⇒ String
Returns A reference related to the foreign exchange conversion.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#foreign_exchange_reference_indicator ⇒ Nacha::Numeric
Returns A code indicating the content of the Foreign Exchange Reference field.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#iat_indicator ⇒ String
Returns Provides supplemental information about the IAT entry.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#iso_destination_country_code ⇒ String
Returns The two-character ISO code for the country of the receiver’s financial institution.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#iso_destination_currency_code ⇒ String
Returns The three-character ISO currency code of the destination country.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#iso_originating_currency_code ⇒ String
Returns The three-character ISO currency code of the originating country.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#originating_dfi_identification ⇒ String
Returns The 8-digit routing number of the financial institution originating the batch.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#originator_identification ⇒ String
Returns The identifier for the originator of the transaction.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#originator_status_code ⇒ String
Returns A code indicating the status of the originator.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#record_type_code ⇒ String
Returns Identifies the record as a Batch Header record with a constant value of ‘5’.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#service_class_code ⇒ Nacha::Numeric
Returns Defines the type of entries in the batch, such as credits or debits.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#settlement_date_julian ⇒ Nacha::Numeric
Returns A Julian date used by the ACH Operator for settlement.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |
#standard_entry_class_code ⇒ String
Returns The Standard Entry Class code, which is ‘IAT’ for these batches.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/nacha/record/iat_batch_header.rb', line 43 class IatBatchHeader < Nacha::Record::Base include BatchHeaderRecordType nacha_field :record_type_code, inclusion: 'M', contents: 'C5', position: 1..1 nacha_field :service_class_code, inclusion: 'M', contents: 'Numeric', position: 2..4 nacha_field :iat_indicator, inclusion: 'O', contents: 'Alphameric', position: 5..20 nacha_field :foreign_exchange_indicator, inclusion: 'M', contents: 'Alphameric', position: 21..22 nacha_field :foreign_exchange_reference_indicator, inclusion: 'R', contents: 'Numeric', position: 23..23 nacha_field :foreign_exchange_reference, inclusion: 'R', contents: 'Alphameric', position: 24..38 nacha_field :iso_destination_country_code, inclusion: 'M', contents: 'Alphameric', position: 39..40 nacha_field :originator_identification, inclusion: 'M', contents: 'Alphameric', position: 41..50 nacha_field :standard_entry_class_code, inclusion: 'M', contents: 'Alphameric', position: 51..53 nacha_field :company_entry_description, inclusion: 'M', contents: 'Alphameric', position: 54..63 nacha_field :iso_originating_currency_code, inclusion: 'M', contents: 'Alphameric', position: 64..66 nacha_field :iso_destination_currency_code, inclusion: 'M', contents: 'Alphameric', position: 67..69 nacha_field :effective_entry_date, inclusion: 'R', contents: 'YYMMDD', position: 70..75 nacha_field :settlement_date_julian, inclusion: 'M', contents: 'Numeric', position: 76..78 nacha_field :originator_status_code, inclusion: 'M', contents: 'Alphameric', position: 79..79 nacha_field :originating_dfi_identification, inclusion: 'M', contents: 'TTTTAAAA', position: 80..87 nacha_field :batch_number, inclusion: 'M', contents: 'Numeric', position: 88..94 end |