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