OCA/l10n-italy

View on GitHub
l10n_it_fatturapa_in/README.rst

Summary

Maintainability
Test Coverage
======================================================
Italian Localization - Fattura elettronica - Ricezione
======================================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
    :target: https://github.com/OCA/l10n-italy/tree/8.0/l10n_it_fatturapa_in
    :alt: OCA/l10n-italy
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/l10n-italy-8-0/l10n-italy-8-0-l10n_it_fatturapa_in
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
    :target: https://runbot.odoo-community.org/runbot/122/8.0
    :alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5| 

This module allows to import XML files of electronic invoices, version 1.2

http://www.fatturapa.gov.it/export/fatturazione/it/normativa/f-2.htm

received through the exchange system (SDI)

http://www.fatturapa.gov.it/export/fatturazione/it/sdi.htm

**Table of contents**

.. contents::
   :local:

Installation
============

odoo server must run on linux and be able to run

``openssl``

Configuration
=============

Also see the README file of l10n_it_fatturapa module.

For every supplier, it is possible to set the 'details level of electronic invoices':

 - Minimum level: Supplier invoice is created without lines; user will have to create them, according to what specified in electronic invoice
 - Maximum level: every line contained in electronic invoice will create a line in supplier invoice.

Moreover, it is possible, in supplier form, to set the 'default product for electronic invoices': this product will be used, during generation of supplier invoices, when no other possible product is found. Tax and account of invoice line will be set according to what configured in the product.

Every product code used by suppliers can be set, in product form, in

Inventory --> Suppliers

If supplier specifies a known code in XML, the system will use it to retrieve the correct product to be used in invoice line, setting the related tax and account.

Usage
=====

 * Go to Accounting --> Purchases --> Electronic Invoice
 * Upload XML file
 * View invoice content clicking on 'show preview'
 * Run 'import electronic invoice' wizard to create a draft invoice or run 'link to existing supplier invoice' to link the XML file to an already (automatically) created invoice

In the incoming electronic invoice files list, by default you will see files to be registered, that is files not yet linked to one or more supplier invoices

Known issues / Roadmap
======================

Il modulo contiene un cambiamento alla firma di un metodo in ``models/account.py``
il quale cambia da

``compute_xml_amount_untaxed(self, DatiRiepilogo)``

a

``compute_xml_amount_untaxed(self, FatturaBody)``

Il cambiamento è dovuto all'implementazione della gestione degli arrotondamenti
che posso essere presenti in 2 sezioni diverse del file XML della fattura elettronica.

La soluzione ottimale è stata di cambiare la firma del metodo per consentire
la visibilità delle sezioni ``FatturaElettronicaBody.DatiBeniServizi.DatiRiepilogo`` e
``FatturaElettronicaBody.DatiGenerali.DatiGeneraliDocumento`` dove è presente il nodo ``Arrotondamento``

Pertanto, al fine di ottenere il corretto valore del totale imponibile, i moduli che
avessero ridefinito il metodo ``compute_xml_amount_untaxed`` nel modello ``account.invoice``
dovranno adeguare la chiamata al metodo stesso preoccupandosi di utilizzare come primo parametro l'oggetto ``FatturaElettronicaBody``.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_fatturapa_in%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Agile Business Group
* Innoviu

Contributors
~~~~~~~~~~~~

* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Roberto Onnis
* Alessio Gerace
* Marco Calcagni
* Alex Comba <alex.comba@agilebg.com>
* Sergio Zanchetta <https://github.com/primes2h>
* Giovanni Serra <giovanni@gslab.it>
* Gianmarco Conte <gconte@dinamicheaziendali.it>
* Vincenzo Terzulli <v.terzulli@elvenstudio.it>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/8.0/l10n_it_fatturapa_in>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.