Description:
The current behavior of the IFS application allows the addition of erroneous characters when creating manual supplier invoices. However, this can lead to issues with successful SAF-T XML file generation.
As an example, if we added an erroneous character (Ex: Unicode character without visual representation) as a part of an invoice number, when creating a manual supplier invoice. After that when attempting to generate the Norwegian SAF-T XML file for that specific period, the system does not allow successful creation due to the presence of the erroneous character in that invoice.
Steps to recreate the example:
- Create manual supplier invoice including an erroneous character, when defining the invoice number. Here attached a snap of an external supplier invoice template including a Unicode character as erroneous character in Inv. No tab. And update it to the GL.
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/1d60567e-5e6f-4b08-9d1c-7ef4c8a42342.png)
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/ec5626e2-716d-4325-b20f-8f2d06b4a463.png)
- After that, generate the Norwegian SAF-T XML file by using Audit Interface Assistant tool for the particular period.
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/2eb88035-9eed-4731-b462-df30f97ba9ac.png)
- SAF-T XML file will generate unsuccessfully with an error.
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/550c9e3d-8e93-4184-93db-4dd70655dac2.png)
![](https://uploads-eu-west-1.insided.com/ifs-en/attachment/df08e994-fff7-4f87-affb-5a55140276d9.png)
Workaround for successful SAF-T XML file generation:
- Ensure that the system prevents the addition of characters that do not have visual representations when generating SAF-T XML files. In the current context, the system does not allow for successful SAF-T XML file generation if there are any files which include characters without visual representations.
- If an erroneous character is mistakenly added, as in this scenario, as a workaround we recommend performing a data repair to remove that character from the file and then you can generate the XML file Successfully.