Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
Product and Topic Expert
Product and Topic Expert

Update: 3 Nov 2023

This blog provides the guidelines on "how to" do data transferring from SAP generated text file to  RD Prep Program from Thailand Revenue Department for e-Filing of VAT Return (P.P.30) and Withholding Tax Income Return (P.N.D.2, P.N.D.3, P.N.D.53).

Please note that currently the e-Filing does not support VAT Return for imported services (P.P.36) and Withholding Tax and Profit Remittance Return (P.N.D.54).


Thailand Tax Authority i.e. Revenue Department (RD) launched a new electronic tax filing and payment system (The new e-filing system) starting from 6 October 2021.

To use the new e-filing system, taxpayers can go to the Revenue Department’s website (E-Filing) and do the following:

  1. Create a new username, which is the 13-digit corporate registration number, and a new password, for using the new e-filing system. This can be done from 6 October 2021 to 31 December 2021.
  2. Download and install the RD Prep program which is used to save/transfer attachments to withholding tax income returns or VAT / specific business tax returns (if filing combined tax returns has been approved). The old program would not work with the new e-filing system.

SAP Document and Reporting Compliance generated both PDF form and text file for Thailand VAT Return (P.P.30) and Withholding Tax Income Return (P.N.D.2, P.N.D.3, P.N.D.53) hence customers can upload and transfer data from text file into RD Prep Program and generate .rdx file which is used to upload into E-Filing website.

For reference - see video "Tax Return Filing by uploading rdx file".

The following videos show step-by-step of transferring text file generated from SAP Document & Reporting Compliance to RD Prep Program.

VDO - Thailand VAT return P.P.30 

VDO - Thailand Withholding Tax Income Return (P.N.D.53) 

Important: The text files in the videos were generated from the current software version when the videos were made. Text file generated from your system might have different format from text files shown in the video due to different software version and in case RD Prep has new version, the structure of the file may be different thus you may need to re-do the mapping again.

Note: this video was made in July 2022 with RD Prep Program version 1.2.3 and SAP S/4HANA Cloud 2208.

Remark: The external websites in this blog that can be accessed using the hyperlinks are not part of SAP's offering. By clicking the hyperlink YOU AGREE that  (i) the content of the associated website and any other external websites is not content provided by or on behalf of SAP, nor is it otherwise under SAP's control; (ii) the fact that SAP provides links to external websites does not imply that SAP agrees or disagrees with the contents and information provided on such websites; (iii) SAP does not give any representation regarding the quality, safety, suitability, accuracy or reliability of any external website or any of information, content, and materials provided thereon; (iv )you visit those external websites entirely at your own risk. SAP shall not be directly or indirectly responsible or liable for any damage or loss caused or alleged to be caused by or in connection with your use of or reliance on any content, goods or services available on or through any such linked website.

This blog is intended to provide the guidelines to Customers and Partners on "how to" do data transferring from SAP generated text file to Thailand RD Prep Program for VAT Return (P.P.30) and Withholding Tax Income Return (P.N.D.2, P.N.D.3, P.N.D.53).

Please share your feedback and thoughts in a comment. If you have questions about how to transfer SAP generate text file to Thailand RD Prep Program you can post your question here.