YouTube2Text

Macro Exccel Importar Recibos por Honorarios al Plame SUNAT 2020| — Transcript

by Romero y Consult · 799 words · 113 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Hello, friends. Today, I’m sharing
  2. 0:03this little macro that will allow us to
  3. 0:05bulk import fee receipts into the
  4. 0:07electronic payroll system. Because when
  5. 0:10you have a large amount of data, as we
  6. 0:13see in the following image and video,
  7. 0:16we have a lot of data. It is a bit
  8. 0:19tedious to enter fee receipts into the
  9. 0:21electronic payroll system individually.
  10. 0:23One by one. We would have to fill in
  11. 0:26the fourth-category service provider's
  12. 0:28details here. And enter their receipts.
  13. 0:31But when you have a large quantity, the
  14. 0:34electronic payroll system allows us to
  15. 0:36import TXT format files. So, with this
  16. 0:42macro, we are going to generate the
  17. 0:44files to import into PLAME, the two
  18. 0:47files to import the fees into the PLAME
  19. 0:49electronic payroll. What does this
  20. 0:53template consist of? Well, you will
  21. 0:56fill in the information extracted from
  22. 0:59the SUNAT portal here, and you will be
  23. 1:02able to automatically send the data to
  24. 1:06these two structures, where we send the
  25. 1:09TXT file structures we have: one is the
  26. 1:13PS4, the other is the fourth category,
  27. 1:16right? Here we are with these two, all
  28. 1:19automatically from here. So, you send
  29. 1:23the data this way and the structures
  30. 1:28will be registered here. The next step
  31. 1:31is simply to generate the text file. By
  32. 1:37generating that text file, you will be
  33. 1:39able to perform the import into the
  34. 1:40electronic payroll. I already have the
  35. 1:43files created here and can import them.
  36. 1:52But how do you process this information
  37. 1:53? We obtain this information from the
  38. 1:55SUNAT portal. To do that, I have
  39. 1:57already logged in with my SOL key, and
  40. 1:59I will go to payment vouchers,
  41. 2:01electronic issuance system, fee
  42. 2:02receipts, and I will choose the
  43. 2:04recipient inquiry. Here I will enter a
  44. 2:08date range, right? A date range.
  45. 2:12Let’s say, from May to May 31st, and
  46. 2:16I will click consult. In my case, none
  47. 2:20appear, but for our company, a whole
  48. 2:23list of fee receipts will appear. that
  49. 2:27we have received in that period, right?
  50. 2:30A large amount, just like the example
  51. 2:32shown below, it will appear this way.
  52. 2:35What we are going to work on now is
  53. 2:37extracting the number because we need
  54. 2:39to separate the series and the number.
  55. 2:42We separate them in this way. I am
  56. 2:46going to use a formula, the substitute
  57. 2:50formula, and I will substitute this
  58. 2:53field, uh, the e001 with the dash, in
  59. 2:56quotes, close quotes, and I will
  60. 2:59replace it with a blank field. That is
  61. 3:04why I put quotes again and hit enter,
  62. 3:07right? That way I extract the number. I
  63. 3:11already have the number for the fee
  64. 3:12receipts. separately. This will help us
  65. 3:17so the TXT file is generated with that
  66. 3:19structure. Another important piece of
  67. 3:22data that I have marked here in yellow,
  68. 3:24that I have marked in yellow, is
  69. 3:26separating the first and last names,
  70. 3:29right? For that, we have also used a
  71. 3:30formula. Leave this just as it is, you
  72. 3:34shouldn't modify it; you will only fill
  73. 3:36in up to the part that is blank. The
  74. 3:39yellow part is automatic with formulas.
  75. 3:43Once both tasks are done, we proceed to
  76. 3:46generate the TXT file, and we will have
  77. 3:49obtained the files to perform the
  78. 3:51import into the electronic payroll for
  79. 3:54our fee receipts. Well, since I already
  80. 3:58have my TXT generated, I will proceed
  81. 4:00to import it. I import the fourth file
  82. 4:03that I have here and a receipt
  83. 4:08confirmation appears. And as you can
  84. 4:11see here, it now appears with the green
  85. 4:12check, which means it is compliant.
  86. 4:14Next, I will move on to the next file.
  87. 4:18Similarly, we have also obtained the
  88. 4:21detail. So, as you can see, in that way
  89. 4:23we have automatically filled in the fee
  90. 4:25receipts. of this service provider. As
  91. 4:32you can see here in the example I am
  92. 4:34doing, the information has already been
  93. 4:36filled in for me in the electronic
  94. 4:38payroll system. Now, it is worth
  95. 4:41mentioning that you can modify the path
  96. 4:43. The path and the period can be
  97. 4:45modified by selecting this folder. Here
  98. 4:49you can, uh, select the path you wish.
  99. 4:52In my case, I can select, for example,
  100. 4:53the D drive or I can create a folder.
  101. 4:55if I know where my text files will be
  102. 4:58stored. This is a preliminary step you
  103. 5:01must perform at the beginning when you
  104. 5:03are about to generate the text files.
  105. 5:06We choose a period and in that way, we
  106. 5:09register the path where it will be
  107. 5:12stored and the period with which our
  108. 5:14text file will be named. We will leave
  109. 5:18this first row as an example, it is
  110. 5:21recommended not to delete it because it
  111. 5:23is the one used for the example
  112. 5:25formulas. That way you can use this
  113. 5:28macro. See you in a future

About this transcript

This page contains the full transcript of Macro Exccel Importar Recibos por Honorarios al Plame SUNAT 2020| by Romero y Consult, generated from the public captions YouTube serves with the video. The transcript has 799 words across 113 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.