Send Invoices to Sistema TS

by
Odoo
v 11.0 v 12.0 Third Party 68
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Invoicing (account)
Discuss (mail)
Community Apps Dependencies
Lines of code 1959
Technical Name l10n_it_export_ts
LicenseAGPL-3
Versions 11.0 12.0
You bought this module and need support? Click here!

Export Invoices to Sistema TS

Export a number of invoices in a XML format suitable for Italian 'Sistema Tessera Sanitaria (TS)'.

Questo modulo aggiunge:

  • un campo sul prodotto, per indicare il tipo di spesa;
  • due campi sul cliente, uno per il codice fiscale criptato e uno per l'eventuale opposizione del cliente alla dichiarazione 730
  • Nelle fatture, una nuova azione "Esporta fatture verso TS"
  • una nuova sezione "Sistema TS" tra le impostazioni
  • Una voce di menù "Sistema TS" / "Esportazioni TS"
  • Una voce di menù "Sistema TS" / "Encrypt fiscal codes" (in teoria inutile)
  • Una voce di menù "Sistema TS" / "Settings"

Utilizzo

  • Occorre ottenere password e pincode [2]
  • (Teoricamente superfluo) Per criptare i codici fiscali, usare la voce di menù "Encrypt fiscal codes" (anche se in teoria a ogni modifica del codice fiscale dovrebbero criptarsi automaticamente).
  • Esportare le fatture in formato XML tramite l'apposita Azione, selezionando le fatture del mese
  • Andare nel menù Esportazioni TS e scegliere l'Azione "invia"

Ho riscontrato problemi con i certificati SSL del server, nel caso eseguire prima export PYTHONHTTPSVERIFY=0 (ignora tutti i certificati SSL...)

Stato dell'arte

Il formato del file XML è estremamente limitato, e' stato testato solo per gli psicologi privati

Note tecniche

Questo modulo utilizza zeep [3] come client SOAP, e altre dipendenze da installare con pip install pycryptho zeep requests.

[1] https://sistemats1.sanita.finanze.it/portale/spese-sanitarie-documenti-e-specifiche-tecniche

[2] https://sistemats4.sanita.finanze.it/simossHome/login.jsp

[3] https://python-zeep.readthedocs.io/en/master/

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.