Permalink
Browse files

Added epraw.yml file and fixed typos.

  • Loading branch information...
1 parent 5904950 commit 06dd9bbd783df8aa94038485085b7f0e05dce032 @Doppp Doppp committed Apr 2, 2013
Showing with 135 additions and 1 deletion.
  1. +134 −0 config/epraw.yml
  2. +1 −1 config/eptrn.yml
View
@@ -0,0 +1,134 @@
+DATA_FILE_HEADER_RECORD:
+ FIELDS:
+ DF_HDR_RECORD_TYPE: [0, 4]
+ DF_HDR_DATE: [5, 12]
+ DF_HDR_TIME: [13, 16]
+ DF_HDR_FILE_ID: [17, 22]
+ DF_HDR_FILE_NAME: [23, 42]
+SUMMARY_RECORD:
+ FIELDS:
+ AMEX_PAYEE_NUMBER: [0, 9]
+ AMEX_SORT_FIELD_1: [10, 19]
+ AMEX_SORT_FIELD_2: [20, 29]
+ PAYMENT_YEAR: [30, 33]
+ PAYMENT_NUMBER: [34, 41]
+ RECORD_TYPE: [42, 42]
+ DETAIL_RECORD_TYPE: [43, 44]
+ PAYMENT_DATE: [45, 51]
+ PAYMENT_AMOUNT: [52, 62]
+ DEBIT_BALANCE_AMOUNT: [63, 71]
+ ABA_BANK_NUMBER: [72, 80]
+ SE_DDA_NUMBER: [81, 97]
+DETAIL_RECORD:
+ ABSTRACT: true
+ RECURRING: true
+ TYPE_FIELD: [43, 44]
+ TYPE_MAPPING:
+ '00': SUMMARY_RECORD
+ '10': SUMMARY_OF_CHARGE_DETAIL_RECORD
+ '20': CHARGEBACK_DETAIL_RECORD
+ '30': ADJUSTMENT_DETAIL_RECORD
+ '50': OTHER_FEES_AND_REVENUES_DETAIL_RECORDS
+ TYPES:
+ SUMMARY_OF_CHARGE_DETAIL_RECORD:
+ RECURRING: true
+ FIELDS:
+ AMEX_PAYEE_NUMBER: [0, 9]
+ AMEX_SE_NUMBER: [10, 19]
+ SE_UNIT_NUMBER: [20, 29]
+ PAYMENT_YEAR: [30, 33]
+ PAYMENT_NUMBER: [34, 41]
+ RECORD_TYPE: [42, 42]
+ DETAIL_RECORD_TYPE: [43, 44]
+ SE_BUSINESS_DATE: [45, 51]
+ AMEX_PROCESS_DATE: [52, 58]
+ SOC_INVOICE_NUMBER: [59, 64]
+ SOC_AMOUNT: [65, 75]
+ DISCOUNT_AMOUNT: [76, 84]
+ SERVICE_FEE_AMOUNT: [85, 91]
+ OPTIMA_DIVIDEND_AMOUNT: [92, 98]
+ NET_SOC_AMOUNT: [99, 109]
+ DISCOUNT_RATE: [110, 114]
+ SERVICE_FEE_RATE: [115, 119]
+ OPTIMA_DIVIDEND_RATE: [120, 124]
+ OPTIMA_GROSS_AMOUNT: [125, 135]
+ OPTIMA_ROC_COUNT: [136, 140]
+ AMEX_GROSS_AMOUNT: [141, 151]
+ AMEX_ROC_COUNT: [152, 156]
+ TRACKING_ID: [157, 165]
+ CPC_INDICATOR: [166, 166]
+ CHARGEBACK_DETAIL_RECORD:
+ RECURRING: true
+ FIELDS:
+ AMEX_PAYEE_NUMBER: [0, 9]
+ AMEX_SE_NUMBER: [10, 19]
+ SE_UNIT_NUMBER: [20, 29]
+ PAYMENT_YEAR: [30, 33]
+ PAYMENT_NUMBER: [34, 41]
+ RECORD_TYPE: [42, 42]
+ DETAIL_RECORD_TYPE: [43, 44]
+ SE_BUSINESS_DATE: [45, 51]
+ AMEX_PROCESS_DATE: [52, 58]
+ SOC_INVOICE_NUMBER: [59, 64]
+ SOC_AMOUNT: [65, 75]
+ CHARGEBACK_AMOUNT: [76, 84]
+ DISCOUNT_AMOUNT: [85, 93]
+ SERVICE_FEE_AMOUNT: [94, 100]
+ OPTIMA_DIVIDEND_AMOUNT: [101, 107]
+ NET_CHARGEBACK_AMOUNT: [108, 116]
+ DISCOUNT_RATE: [117, 121]
+ SERVICE_FEE_RATE: [122, 126]
+ OPTIMA_DIVIDEND_RATE: [127, 131]
+ OPTIMA_GROSS_AMOUNT: [132, 142]
+ CHARGEBACK_REASON: [143, 422]
+ ADJUSTMENT_DETAIL_RECORD:
+ RECURRING: true
+ FIELDS:
+ AMEX_PAYEE_NUMBER: [0, 9]
+ AMEX_SE_NUMBER: [10, 19]
+ SE_UNIT_NUMBER: [20, 29]
+ PAYMENT_YEAR: [30, 33]
+ PAYMENT_NUMBER: [34, 41]
+ RECORD_TYPE: [42, 42]
+ DETAIL_RECORD_TYPE: [43, 44]
+ AMEX_PROCESS_DATE: [45, 51]
+ ADJUSTMENT_NUMBER: [52, 57]
+ ADJUSTMENT_AMOUNT: [58, 66]
+ DISCOUNT_AMOUNT: [67, 75]
+ SERVICE_FEE_AMOUNT: [76, 82]
+ OPTIMA_DIVIDEND_AMOUNT: [83, 89]
+ NET_ADJUSTMENT_AMOUNT: [90, 98]
+ DISCOUNT_RATE: [99, 103]
+ SERVICE_FEE_RATE: [104, 108]
+ OPTIMA_DIVIDEND_RATE: [109, 113]
+ OPTIMA_GROSS_AMOUNT: [114, 124]
+ CARDMEMBER_NUMBER: [125, 141]
+ ADJUSTMENT_REASON: [142, 421]
+ OTHER_FEES_AND_REVENUES_DETAIL_RECORDS:
+ RECURRING: true
+ FIELDS:
+ AMEX_PAYEE_NUMBER: [0, 9]
+ AMEX_SE_NUMBER: [10, 19]
+ SE_UNIT_NUMBER: [20, 29]
+ PAYMENT_YEAR: [30, 33]
+ PAYMENT_NUMBER: [34, 41]
+ RECORD_TYPE: [42, 42]
+ DETAIL_RECORD_TYPE: [43, 44]
+ AMEX_PROCESS_DATE: [45, 51]
+ ASSET_BILLING_AMOUNT: [52, 60]
+ ASSET_BILLING_DESCRIPTION: [61, 126]
+ TAKE_ONE_COMMISSION_AMOUNT: [126, 134]
+ TAKE_ONE_DESCRIPTION: [135, 214]
+ OTHER_FEE_AMOUNT: [215, 223]
+ OTHER_FEE_DESCRIPTION: [224, 303]
+ ASSET_BILLING_TAX: [304, 312]
+DATA_FILE_TRAILER_RECORD:
+ TRAILER: true
+ FIELDS:
+ DF_TRL_RECORD_TYPE: [0, 4]
+ DF_TRL_DATE: [5, 12]
+ DF_TRL_TIME: [13, 16]
+ DF_TRL_FILE_ID: [17, 22]
+ DF_TRL_FILE_NAME: [23, 42]
+ DF_TRL_RECIPIENT_KEY: [43, 82]
+ DF_TRL_RECORD_COUNT: [83, 89]
View
@@ -137,7 +137,7 @@ DETAIL_RECORD:
AMEX_PROCESS_DATE: [45, 51]
ASSET_BILLING_AMOUNT: [52, 60]
ASSET_BILLING_DESCRIPTION: [61, 126]
- TAKE_ONE_COMMISSION_AMOUNT: [126, 135]
+ TAKE_ONE_COMMISSION_AMOUNT: [126, 134]
TAKE_ONE_DESCRIPTION: [135, 214]
OTHER_FEE_AMOUNT: [215, 223]
OTHER_FEE_DESCRIPTION: [224, 303]

0 comments on commit 06dd9bb

Please sign in to comment.