05. EDI File Structure
| Byte | Length | Explanation |
| 0-1 | 2 | Integer. File ID. See 04. EDI File ID Definition. |
| 2-3 | 2 | Integer. Field count. |
| 4-5 | 2 | Integer. Performance operation: 0: update or insert; 1: insert only; 2: truncate and insert. |
| 10-19 | 10 | Customer no. |
| 20-127 | Reserved. | |
| 128-(x -1) | 2 * field count | Integer array, each element storing length of each record field. |
| x- | Sum of above array | Field data stored one after the other, without delimiters, in text format. Numbers are converted to text before being copied into byte array. |
Note: The first 128 bytes are used as header to store common information.