Visit the national COVID-19 Online Resource and News Portal at www.sacoronavirus.co.za or see SARS COVID-19 news items and tax relief measures here.

FAQ: How does SARS validate the file?

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

 

Last Updated:

Share this page on:
Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on email
Email
Share on print
Print