XPH Record Requirements
Proprietary format files must be prefixed with a XPH record that meets the specific layout requirements.
| Field ID | Field Name | Positions | Length | Description |
|---|---|---|---|---|
| None | Record Code | 001-003 | 03 | XPH identifies the XPH Interchange Header Record. Required. |
| XPH-01 | Sender ID qualifier | 004-007 | 04 | Type of data in the XPH-02 sender ID field. Required. |
| XPH-02 | Sender ID | 008-042 | 35 | Sender ID. Required. |
| XPH-03 | Receiver ID qualifier | 043-046 | 04 | Type of data in the XPH-04 receiver ID field. Required. |
| XPH-04 | Receiver ID | 047-081 | 35 | Receiver ID. Required. |
| XPH-05 | Date | 082-089 | 08 | Date in CCYYMMDD format. Optional. |
| XPH-06 | Time | 090-093 | 04 | Time in HHMM 24-hour format. Optional. |
| XPH-07 | Version/Release code | 094-105 | 12 | Sender defines the field contents. Optional. |
| XPH-08 | Interchange control number | 106-119 | 14 | Unique interchange identifier assigned by the sender. Required. |
| XPH-09 | Test indicator | 120 | 01 | Code for the interchange data type. Either T for test data or P for production data. Optional. |
| XPH-10 | Sender application | 121-123 | 03 | IBM Sterling B2B Integration SaaS assigned code. Required. |
| XPH-11 | Fixed/variable flag | 124 | 01 | Record format. Either F for a fixed length record or V for a variable length record. Required. |
| XPH-12 | Fixed record length | 125-128 | 04 | Number of bytes in each fixed length record. Required if the XPH-11 field is F. Optional if the XPH-11 field is V. |
| XPH-13 | XPH/XPT record length | 129-132 | 04 | Number of bytes in the XPH/XPT envelopes. If the XPH-11 is F and the XPH-13 is blank, the default is 133. Optional. |
| XPH-14 | Variable record separator character | 133 | 01 | The record terminator character marking the end of the variable length records. Required if the XPH-11 field is V. Optional if the PRH-11 field is F. |