File Structure Validations will be done in the sequence provided in the table below. If the file fails file structure validations, then a File Response Reason will be provided in the response file header:
| ​No. | ​Validation | ​File Response Reason |
| ​1 | ​Does the file have a header, body and trailer identifier | ​Missing required section either header, body, or trailer |
| ​2 | ​Does the generic header structure pass i.e. are there the correct amount of pipes | ​Generic header contains the incorrect number of fields |
| ​3 | ​Does the trailer structure pass i.e. are the number of pipes correct | ​Trailer contains the incorrect number of fields |
| ​4 | ​Does the submission file header structure pass i.e. are the number of pipes correct | ​Product header contains the incorrect number of fields |
| ​5 | ​Does the body structure pass i.e. are the number of pipes correct and are the records submitted in the correct sequence | ​One or more body items contain the incorrect number of fields, or the records were submitted in the incorrect sequence |
| ​6 | ​Validate the generic header data – actual content according to the spec | ​Invalid data in generic header |
| ​7 | ​Validate the submission file header data – actual content according to the spec | ​Invalid data in submission file header |