The new file upload and download reports complement the new development of self-invoicing, allowing you to download or attach the xml files of the desired invoices.
Upload report
The file upload report can be accessed through the transaction / EDGE / FM_TB_UPLOAD_XML located within the Ticketbai scope menu (/ EDGE / TB_MN_01) in the self-billing tools folder.
The program will be in charge of reading a series of xml files from a specific local directory or server and it will look for the TBAI record to which the xml file refers and will attach it to it.
To use this program, we have 2 options. We can upload files online or do it in the background.
For the online upload, we choose the online execution mode and select the local folder from which the program will extract the xml files to upload.
To select the local directory, we can type the full path manually or use the search aid to facilitate the selection of the directory.
It is important to clarify that the files must have exactly the following format in their name: NIF_NUMFACTURA_EJERCICIO.xml so that it is correctly recognized by the program. The program will go through all the files in the folder and process them, issuing informative messages during the process.
For the background upload, the operation is practically the same but instead of selecting a local directory, we must enter the path of the server from which the files will be read.
The TBAI records pending to be attached to their xml file can be identified by appearing on the monitor with the following status:
Once the program attaches the xml correctly, they will have the following status on the monitor:
Download report
The file download report can be accessed through the transaction / EDGE / FM_TB_DOWNLOAD_XML located within the Ticketbai scope menu (/ EDGE / TB_MN_01) in the self-billing tools folder.
The program has a selection screen with different options that will allow us to search for the TBAI files from which we can download their xml files as well as their QR code. The parameters company, fiscal year and document or invoice number as well as the folder path are mandatory for the selection.
In the folder path we will select the directory to which the xml files will be downloaded. To select the local directory, we can type the full path manually or use the search aid to facilitate the selection of the directory.
The program will look for the TBAI files whose xml and QR code can be downloaded according to the criteria that the user has entered in the selection. The program will inform you by means of informative messages on how the execution has been carried out, informing whether or not it has been able to download an xml file or a QR code.
The program will look for the TBAI files whose xml and QR code can be downloaded according to the criteria that the user has entered in the selection. The program will inform you by means of informative messages on how the execution has been carried out, informing whether or not it has been able to download an xml file or a QR code.
The TBAI records suitable for their xml or QR to be downloaded are in the following state:
Once your xml has been successfully downloaded, the records will have the following status:
It is convenient to clarify that it is possible to download the xml and the QR code of TBAI records that are in the downloaded state, but obviously this will not cause their current state to undergo any change. Finally, for a record to go from waiting for download to downloaded, the xml file of the TBAI record must have been downloaded correctly, with the QR code being a complement.