The primary responsibility of the "Submit Sales Transaction" function is to facilitate the real-time submission of sales transaction data from various terminals within the country. It enables accurate and timely reporting of sales figures, and streamlining tax calculation.