Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0] p7m file encoded twice by the supplier failed to be loaded #4405

Open
2 tasks
yle-scopea opened this issue Oct 15, 2024 · 2 comments · May be fixed by #4404
Open
2 tasks

[16.0] p7m file encoded twice by the supplier failed to be loaded #4405

yle-scopea opened this issue Oct 15, 2024 · 2 comments · May be fixed by #4404

Comments

@yle-scopea
Copy link

yle-scopea commented Oct 15, 2024

Module

l10n_it_fatturapa / l10n_it_fatturapa_in

Describe the bug

Somehow, supplier provide a p7m file that has been encoded twice in base 64. The module that allow us to load XML file decode the base 64 ony once and then the import failed.

To Reproduce

Versions affected:

Steps to reproduce the behavior:

  1. Encode any xml file twice with base 64
  2. Try to import the Incoming E-bill Files

Expected behavior
File has to be decoded depiste the count of encoding

We have ask to our customer the authorization to share the with you.

@yle-scopea
Copy link
Author

Here a file provided by our custmer to let you test and analyze. I don't have any information regarding why the file has this encoding.

failed_file.txt

Regards

@SirAionTech
Copy link
Contributor

Thanks for reporting this!
I can't find any documentation in https://www.agenziaentrate.gov.it/portale/web/guest/specifiche-tecniche-versione-1.8 or https://www.fatturapa.gov.it/it/norme-e-regole/DocumentazioneSDI for this multiple encoding; before working on the solution I'd like to see the official documentation of this use-case.

Can someone validate the file attached in #4405 (comment) following

Per anticipare sul proprio file i controlli effettuati dal Sistema è consigliabile sottoporre il file FatturaPA a una verifica preventiva tramite l’applicazione disponibile sul portale dell’ Agenzia delle entrate Fatture e Corrispettivi (percorso Fatturazione elettronica e Conservazione – Funzionalità di supporto (Controlla fattura)).

(from https://www.fatturapa.gov.it/it/sistemainterscambio/controlli-ed-errori)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants