Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
5f33346
Renamed to l10n_it_vat_statement_communication
eLBati Apr 21, 2019
aade6a6
porting l10n_it_vat_statement_communication to 12
eLBati Apr 22, 2019
39fb710
FIX l10n_it_vat_statement_communication CodiceFornitura is fixed IVP18
Jun 6, 2019
259d9c4
[12.0]IMP l10n_it_vat_statement_communication aggiunti parametri per
Jun 6, 2019
7f95575
IMP README for vsc_exclude_operation and vsc_exclude_vat (#6)
eLBati Jun 21, 2019
0e87822
Translated using Weblate (Italian)
eLBati Jun 25, 2019
2e0fbda
Translated using Weblate (Italian)
primes2h Oct 26, 2019
f4c9afe
Translated using Weblate (Italian)
primes2h Jan 7, 2020
73f2eaf
FIX l10n_it_vat_statement_communication: set previous year credits in…
eLBati Oct 1, 2019
00046a5
IMP l10n_it_vat_statement_communication adding down payment handling
eLBati Feb 19, 2020
5f88d1f
VP14 non deve essere compilato dai contribuenti trimestrali di cui al…
eLBati Feb 20, 2020
4ad6e48
Translated using Weblate (Italian)
eLBati Feb 25, 2020
8a47af4
FIX l10n_it_vat_statement_communication adding "Down payment computat…
eLBati Feb 26, 2020
76fdcde
IMP l10n_it_vat_statement_communication setting correct XML file name
eLBati Feb 26, 2020
6838783
FIX l10n_it_vat_statement_communication: TypeError: Argument must be …
eLBati Feb 28, 2020
9467bdd
FIX l10n_it_vat_statement_communication: I contribuenti che hanno opt…
eLBati Feb 28, 2020
f09bd10
FIX l10n_it_vat_statement_communication: interessi_dovuti amount must…
eLBati May 7, 2020
9042749
merge PR 1264 1717 1728 1737 1739
May 13, 2020
b2f5afd
FIX l10n_it_vat_statement_communication when setting declarant_fiscal…
eLBati Aug 4, 2020
fa7037f
FIX license LGPL-3 conflicts
eLBati Sep 24, 2020
7336d9a
IMP l10n_it_vat_statement_communication: interessi quarto trimestre i…
eLBati Feb 23, 2021
be36526
l10n_it_vat_statement_communication: retrieve computation method from…
eLBati Apr 12, 2021
7605643
[IMP] l10n_it_vat_statement_communication: black, isort, prettier
eLBati Apr 28, 2021
b2a649f
porting l10n_it_vat_statement_communication to 14.0
eLBati Apr 28, 2021
afc3b95
[FIX][12.0] l10n_it_vat_statement_communication file export
sergiocorato Apr 26, 2021
2e287e0
Translated using Weblate (Italian)
mymage Dec 28, 2022
7bf00e9
[IMP] l10n_it_vat_statement_communication: pre-commit stuff
TonyMasciI Jan 16, 2023
9f773c4
[MIG] l10n_it_vat_statement_communication: Migration to 16.0
TonyMasciI Jan 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions l10n_it_vat_statement_communication/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
====================================
ITA - Comunicazione liquidazione IVA
====================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_vat_statement_communication
: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-14-0/l10n-italy-14-0-l10n_it_vat_statement_communication
: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/14.0
:alt: Try me on Runbot

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

Comunicazione liquidazione IVA ed export file XML, conforme alle specifiche dell''Agenzia delle Entrate.

I dati possono essere caricati da liquidazioni IVA effettuate in odoo tramite `account_vat_period_end_statement`

**Table of contents**

.. contents::
:local:

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

Nella scheda dell'imposta è possibile configurare "Escludere dalle operazioni attive / passive" e/o "Escludere dall'IVA esigibile / detratta".

La prima opzione va utilizzata ad esempio nel caso di operazioni in inversione contabile (reverse charge), per escludere l'imponibile di `22% intra UE (debito)` (usata nelle autofatture attive) dal calcolo di `VP2 Totale operazioni attive`

Tramite la seconda opzione è invece possibile, in casi particolari, escludere il valore dell'imposta.

Usage
=====

- Creare una nuova comunicazione.
- Nel "Quadro VP" aggiungere una voce selezionando in alto la liquidazione, precedentemente creata, da inserire.

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_vat_statement_communication%0Aversion:%2014.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
~~~~~~~

* Openforce di Camilli Alessandro

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

* Alessandro Camilli
* Lorenzo Battistini
* Lara Baggio

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/14.0/l10n_it_vat_statement_communication>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions l10n_it_vat_statement_communication/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models, wizard
27 changes: 27 additions & 0 deletions l10n_it_vat_statement_communication/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2017 Alessandro Camilli - Openforce
# Copyright 2017-2021 Lorenzo Battistini
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "ITA - Comunicazione liquidazione IVA",
"summary": "Comunicazione liquidazione IVA ed esportazione file xml"
"conforme alle specifiche dell'Agenzia delle Entrate",
"version": "16.0.1.0.0",
"category": "Account",
"author": "Openforce di Camilli Alessandro, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-italy",
"license": "AGPL-3",
"depends": [
"account_vat_period_end_statement",
"l10n_it_appointment_code",
"l10n_it_fiscalcode",
],
"data": [
"security/ir.model.access.csv",
"views/comunicazione_liquidazione.xml",
"views/config.xml",
"views/account.xml",
"wizard/export_file_view.xml",
"security/security.xml",
],
"installable": True,
}
170 changes: 170 additions & 0 deletions l10n_it_vat_statement_communication/data/comunicazioneIvp_2017_v1.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- edited with XMLSpy v2017 sp2 (x64) (http://www.altova.com) by rsiino (Sogei S.p.A.) -->
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:cm="urn:www.agenziaentrate.gov.it:specificheTecniche:common"
xmlns:sc="urn:www.agenziaentrate.gov.it:specificheTecniche:sco:common"
xmlns:iv="urn:www.agenziaentrate.gov.it:specificheTecniche:sco:ivp"
xmlns:ns1="www.agenziaentrate.gov.it:specificheTecniche:telent:v1"
targetNamespace="urn:www.agenziaentrate.gov.it:specificheTecniche:sco:ivp"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="1.0"
>
<xs:annotation>
<xs:documentation xml:lang="it"><![CDATA[
Versione 1.0 - 13/02/16]]></xs:documentation>
</xs:annotation>
<xs:import
namespace="urn:www.agenziaentrate.gov.it:specificheTecniche:common"
schemaLocation="../../common/fornitura_v3.xsd"
/>
<xs:element name="Comunicazione" type="iv:Comunicazione_IVP_Type" />
<xs:complexType name="Comunicazione_IVP_Type">
<xs:complexContent>
<xs:extension base="cm:Documento_Type">
<xs:sequence>
<xs:element name="Frontespizio" type="iv:Frontespizio_IVP_Type" />
<xs:element name="DatiContabili" type="iv:DatiContabili_IVP_Type" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Frontespizio_IVP_Type">
<xs:sequence>
<xs:element name="CodiceFiscale" type="cm:DatoCF_Type" />
<xs:element name="AnnoImposta" type="cm:DatoDA_Type" />
<xs:element name="PartitaIVA" type="cm:DatoPI_Type" />
<xs:element name="PIVAControllante" type="cm:DatoPI_Type" minOccurs="0" />
<xs:element name="UltimoMese" minOccurs="0">
<xs:simpleType>
<xs:restriction base="cm:DatoNP_Type">
<xs:enumeration value="1" />
<xs:enumeration value="2" />
<xs:enumeration value="3" />
<xs:enumeration value="4" />
<xs:enumeration value="5" />
<xs:enumeration value="6" />
<xs:enumeration value="7" />
<xs:enumeration value="8" />
<xs:enumeration value="9" />
<xs:enumeration value="10" />
<xs:enumeration value="11" />
<xs:enumeration value="12" />
<xs:enumeration value="13" />
<xs:enumeration value="99" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LiquidazioneGruppo" type="cm:DatoCB_Type" minOccurs="0" />
<xs:element name="CFDichiarante" type="cm:DatoCF_Type" minOccurs="0" />
<xs:element name="CodiceCaricaDichiarante" minOccurs="0">
<xs:simpleType>
<xs:restriction base="cm:DatoNP_Type">
<xs:enumeration value="1" />
<xs:enumeration value="2" />
<xs:enumeration value="3" />
<xs:enumeration value="4" />
<xs:enumeration value="5" />
<xs:enumeration value="6" />
<xs:enumeration value="7" />
<xs:enumeration value="8" />
<xs:enumeration value="9" />
<xs:enumeration value="11" />
<xs:enumeration value="12" />
<xs:enumeration value="13" />
<xs:enumeration value="14" />
<xs:enumeration value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodiceFiscaleSocieta" type="cm:DatoCN_Type" minOccurs="0" />
<xs:element name="FirmaDichiarazione" type="cm:DatoCB_Type" />
<xs:element name="CFIntermediario" type="cm:DatoCF_Type" minOccurs="0" />
<xs:element name="ImpegnoPresentazione" minOccurs="0">
<xs:simpleType>
<xs:restriction base="cm:DatoN1_Type">
<xs:enumeration value="1" />
<xs:enumeration value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataImpegno" type="cm:DatoDT_Type" minOccurs="0" />
<xs:element name="FirmaIntermediario" type="cm:DatoCB_Type" minOccurs="0" />
<xs:element name="FlagConferma" type="cm:DatoCB_Type" minOccurs="0" />
<xs:element name="IdentificativoProdSoftware" type="cm:DatoAN_Type" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiContabili_IVP_Type">
<xs:sequence>
<xs:element name="Modulo" maxOccurs="5">
<xs:complexType>
<xs:sequence>
<xs:element name="Mese" minOccurs="0">
<xs:simpleType>
<xs:restriction base="cm:DatoNP_Type">
<xs:enumeration value="1" />
<xs:enumeration value="2" />
<xs:enumeration value="3" />
<xs:enumeration value="4" />
<xs:enumeration value="5" />
<xs:enumeration value="6" />
<xs:enumeration value="7" />
<xs:enumeration value="8" />
<xs:enumeration value="9" />
<xs:enumeration value="10" />
<xs:enumeration value="11" />
<xs:enumeration value="12" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Trimestre" minOccurs="0">
<xs:simpleType>
<xs:restriction base="cm:DatoN1_Type">
<xs:enumeration value="1" />
<xs:enumeration value="2" />
<xs:enumeration value="3" />
<xs:enumeration value="4" />
<xs:enumeration value="5" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Subfornitura" type="cm:DatoCB_Type" minOccurs="0" />
<xs:element name="EventiEccezionali" type="iv:Eventi_Ecc_Type" minOccurs="0" />
<xs:element name="TotaleOperazioniAttive" type="iv:DatoVN_Type" minOccurs="0" />
<xs:element name="TotaleOperazioniPassive" type="iv:DatoVN_Type" minOccurs="0" />
<xs:element name="IvaEsigibile" type="iv:DatoVN_Type" minOccurs="0" />
<xs:element name="IvaDetratta" type="iv:DatoVN_Type" minOccurs="0" />
<xs:element name="IvaDovuta" type="cm:DatoVP_Type" minOccurs="0" />
<xs:element name="IvaCredito" type="cm:DatoVP_Type" minOccurs="0" />
<xs:element name="DebitoPrecedente" type="cm:DatoVP_Type" minOccurs="0" />
<xs:element name="CreditoPeriodoPrecedente" type="cm:DatoVP_Type" minOccurs="0" />
<xs:element name="CreditoAnnoPrecedente" type="iv:DatoVN_Type" minOccurs="0" />
<xs:element name="VersamentiAutoUE" type="cm:DatoVP_Type" minOccurs="0" />
<xs:element name="CreditiImposta" type="cm:DatoVP_Type" minOccurs="0" />
<xs:element name="InteressiDovuti" type="cm:DatoVP_Type" minOccurs="0" />
<xs:element name="Acconto" type="cm:DatoVP_Type" minOccurs="0" />
<xs:element name="ImportoDaVersare" type="cm:DatoVP_Type" minOccurs="0" />
<xs:element name="ImportoACredito" type="cm:DatoVP_Type" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="Eventi_Ecc_Type">
<xs:restriction base="xs:string">
<xs:enumeration value="1" />
<xs:enumeration value="9" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoVN_Type">
<xs:annotation>
<xs:documentation
>Tipo semplice che identifica numeri positivi con 2 cifre decimali. La lunghezza massima prevista è di 16 caratteri, il separatore decimale previsto è la virgola.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="16" />
<xs:pattern value="[\-]{0,1}[0-9]+,[0-9]{2}" />
</xs:restriction>
</xs:simpleType>
</xs:schema>
37 changes: 37 additions & 0 deletions l10n_it_vat_statement_communication/data/fornituraIvp_2017_v1.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- edited with XMLSpy v2017 sp2 (x64) (http://www.altova.com) by rsiino
(Sogei S.p.A.) -->
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:cm="urn:www.agenziaentrate.gov.it:specificheTecniche:common"
xmlns:sc="urn:www.agenziaentrate.gov.it:specificheTecniche:sco:common"
xmlns:iv="urn:www.agenziaentrate.gov.it:specificheTecniche:sco:ivp"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
targetNamespace="urn:www.agenziaentrate.gov.it:specificheTecniche:sco:ivp"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="1.0"
>

<xs:import
namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"
/>

<xs:annotation>
<xs:documentation xml:lang="it"><![CDATA[
Versione 1.0 - 13/02/16
]]></xs:documentation>
</xs:annotation>
<xs:include schemaLocation="intestazioneIvp_2017_v1.xsd" />
<xs:include schemaLocation="comunicazioneIvp_2017_v1.xsd" />
<xs:element name="Fornitura">
<xs:complexType>
<xs:sequence>
<xs:element name="Intestazione" type="iv:Intestazione_IVP_Type" />
<xs:element name="Comunicazione" type="iv:Comunicazione_IVP_Type" />
<xs:element ref="ds:Signature" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
43 changes: 43 additions & 0 deletions l10n_it_vat_statement_communication/data/fornitura_v3.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="urn:www.agenziaentrate.gov.it:specificheTecniche:common"
targetNamespace="urn:www.agenziaentrate.gov.it:specificheTecniche:common"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="3.0"
>
<xs:annotation>
<xs:documentation
xml:lang="it"
><![CDATA[
Versione 3.0 - 10/12/13
- modificato import typesDati_v3.xsd
- modificato targetNamespace

Versione 2.1 - 10/07/13
- rimossi gli elementi complessi Fornitura e Intestazione

Versione 2.0 - 15/02/12
- modificato il tipo Intestazione_Type: introdotto il tipo complesso Dati_Intestazione_Type
- modificato il tipo Codice_Fornitura_Type
- modificato l'elemento TipoFornitore: associato il type DatoNP_Type
- modificato targetNamespace
]]></xs:documentation>
</xs:annotation>
<xs:include schemaLocation="typesDati_v3.xsd" />
<xs:element name="Documento" type="Documento_Type" abstract="true" />
<xs:complexType name="Documento_Type">
<xs:annotation>
<xs:documentation xml:lang="it">Documento trasmesso</xs:documentation>
</xs:annotation>
<xs:attribute name="identificativo" type="Identificativo_Type" use="required" />
</xs:complexType>
<xs:simpleType name="Identificativo_Type">
<xs:restriction base="xs:string">
<xs:pattern
value="[0-9]{4}[1-9]|[0-9]{3}[1-9][0-9]|[0-9]{2}[1-9][0-9]{2}|[0-9][1-9][0-9]{3}|[1-9][0-9]{4}"
/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
Loading