github.com/moov-io/imagecashletter@v0.10.1/client/model_cash_letter_header.go (about) 1 /* 2 * ImageCashLetter API 3 * 4 * Moov Image Cash Letter (ICL) implements an HTTP API for creating, parsing, and validating ImageCashLetter files. 5 * 6 * API version: v1 7 * Generated by: OpenAPI Generator (https://openapi-generator.tech) 8 */ 9 10 package openapi 11 12 import ( 13 "time" 14 ) 15 16 // CashLetterHeader struct for CashLetterHeader 17 type CashLetterHeader struct { 18 // CashLetterHeader ID 19 ID string `json:"ID,omitempty"` 20 // CollectionTypeIndicator is a code that identifies the type of cash letter. * `00` - Preliminary Forward Information * `01` - Forward Presentment * `02` - Forward Presentment - Same-Day Settlement * `03` - Return * `04` - Return Notification * `05` - Preliminary Return Notification * `06` - Final Return Notification * `20` - No Detail * `99` - Bundles not the same collection type. Use of the value is only allowed by clearing arrangement. 21 CollectionTypeIndicator string `json:"collectionTypeIndicator,omitempty"` 22 // DestinationRoutingNumber is the routing and transit number of the institution that receives and processes the cash letter or the bundle. 23 DestinationRoutingNumber string `json:"destinationRoutingNumber,omitempty"` 24 // ECEInstitutionRoutingNumber is the routing and transit number of the institution that creates the Cash Letter Header record. 25 EceInstitutionRoutingNumber string `json:"eceInstitutionRoutingNumber,omitempty"` 26 // cashLetterBusinessDate is the business date of the cash letter. 27 CashLetterBusinessDate time.Time `json:"cashLetterBusinessDate,omitempty"` 28 // cashLetterCreationDate is the date that the cash letter is created. 29 CashLetterCreationDate time.Time `json:"cashLetterCreationDate,omitempty"` 30 // CashLetterCreationTime is the time that the cash letter is created. 31 CashLetterCreationTime time.Time `json:"cashLetterCreationTime,omitempty"` 32 // RecordTypeIndicator is a code that indicates the presence of records or the type of records contained in the cash letter. If an image is associated with any Check or Return, the cash letter must have a RecordTypeIndicator of I or F. * `N` - No electronic check records or image records (Type 2x’s, 3x’s, 5x’s); e.g., an empty cash letter. * `E` - Cash letter contains electronic check records with no images (Type 2x’s and 3x’s only). * `I` - Cash letter contains electronic check records (Type 2x’s, 3x’s) and image records (Type 5x’s). * `F` - Cash letter contains electronic check records (Type 2x’s and 3x’s) and image records (Type 5x’s) that correspond to a previously sent cash letter (i.e., E file). 33 RecordTypeIndicator string `json:"recordTypeIndicator,omitempty"` 34 // DocumentationTypeIndicator is a code that indicates the type of documentation that supports all check records in the cash letter. * `A` - No image provided, paper provided separately * `B` - No image provided, paper provided separately, image upon request * `C` - Image provided separately, no paper provided * `D` - Image provided separately, no paper provided, image upon request * `E` - Image and paper provided separately * `F` - Image and paper provided separately, image upon request * `G` - Image included, no paper provided * `H` - Image included, no paper provided, image upon request * `I` - Image included, paper provided separately * `J` - Image included, paper provided separately, image upon request * `K` - No image provided, no paper provided * `L` - No image provided, no paper provided, image upon request * `M` - No image provided, Electronic Check provided separately * `Z` - Not Same Type–Documentation associated with each item in Cash Letter will be different. 35 DocumentationTypeIndicator string `json:"documentationTypeIndicator,omitempty"` 36 // CashLetterID uniquely identifies the cash letter. It is assigned by the institution that creates the cash letter and must be unique within a Cash Letter Business Date. 37 CashLetterID string `json:"cashLetterID,omitempty"` 38 // OriginatorContactName is the name of a contact at the institution that creates the cash letter. 39 OriginatorContactName string `json:"originatorContactName,omitempty"` 40 // OriginatorContactPhoneNumber is the phone number of the contact at the institution that creates the cash letter. 41 OriginatorContactPhoneNumber string `json:"originatorContactPhoneNumber,omitempty"` 42 // fedWorkType is any valid code specified by the Federal Reserve Bank. 43 FedWorkType string `json:"fedWorkType,omitempty"` 44 // ReturnsIndicator identifies type of returns. * ` ` - Original Message * `E` - Administrative - items being returned that are handled by the bank and usually do not directly affect the customer or its account. * `R` - Customer–items being returned that directly affect a customer’s account. * `J` - Reject Return 45 ReturnsIndicator string `json:"returnsIndicator,omitempty"` 46 // UserField is a field used at the discretion of users of the standard 47 UserField string `json:"userField,omitempty"` 48 }