Skip to content

[18.0] [MIG] l10n_it_vat_statement_communication #4676

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

Open
wants to merge 36 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
f2c6bee
Renamed to l10n_it_vat_statement_communication
eLBati Apr 21, 2019
6c67279
porting l10n_it_vat_statement_communication to 12
eLBati Apr 22, 2019
53b75ae
FIX l10n_it_vat_statement_communication CodiceFornitura is fixed IVP18
Jun 6, 2019
a4568fc
[12.0]IMP l10n_it_vat_statement_communication aggiunti parametri per
Jun 6, 2019
00c9783
IMP README for vsc_exclude_operation and vsc_exclude_vat (#6)
eLBati Jun 21, 2019
ffb4693
Translated using Weblate (Italian)
eLBati Jun 25, 2019
4c9cdbb
Translated using Weblate (Italian)
primes2h Oct 26, 2019
83f1485
FIX l10n_it_vat_statement_communication: set previous year credits in…
eLBati Oct 1, 2019
4bb8fee
IMP l10n_it_vat_statement_communication adding down payment handling
eLBati Feb 19, 2020
79e1bb1
VP14 non deve essere compilato dai contribuenti trimestrali di cui al…
eLBati Feb 20, 2020
f34730d
Translated using Weblate (Italian)
eLBati Feb 25, 2020
8775aba
FIX l10n_it_vat_statement_communication adding "Down payment computat…
eLBati Feb 26, 2020
7151be2
IMP l10n_it_vat_statement_communication setting correct XML file name
eLBati Feb 26, 2020
53674de
FIX l10n_it_vat_statement_communication: TypeError: Argument must be …
eLBati Feb 28, 2020
34a8ce9
FIX l10n_it_vat_statement_communication: I contribuenti che hanno opt…
eLBati Feb 28, 2020
9e452db
FIX l10n_it_vat_statement_communication: interessi_dovuti amount must…
eLBati May 7, 2020
ae1768b
merge PR 1264 1717 1728 1737 1739
May 13, 2020
d056a2c
FIX l10n_it_vat_statement_communication when setting declarant_fiscal…
eLBati Aug 4, 2020
35d64c6
FIX license LGPL-3 conflicts
eLBati Sep 24, 2020
ec5ca99
IMP l10n_it_vat_statement_communication: interessi quarto trimestre i…
eLBati Feb 23, 2021
3929e4a
l10n_it_vat_statement_communication: retrieve computation method from…
eLBati Apr 12, 2021
5948cb6
[IMP] l10n_it_vat_statement_communication: black, isort, prettier
eLBati Apr 28, 2021
4b2ce92
porting l10n_it_vat_statement_communication to 14.0
eLBati Apr 28, 2021
ad4c233
[FIX][12.0] l10n_it_vat_statement_communication file export
sergiocorato Apr 26, 2021
d57abb5
Translated using Weblate (Italian)
mymage Dec 28, 2022
3082755
[MIG] l10n_it_vat_statement_communication: Migration to 16.0
TonyMasciI Jan 16, 2023
b4ffb23
Translated using Weblate (Italian)
mymage Sep 27, 2023
827b436
Updated from template
SirAionTech Nov 17, 2023
28c3d96
[REF] l10n_it_vat_statement_communication: Update repo template
SirAionTech Nov 17, 2023
906266b
[REF] l10n_it_vat_statement_communication: Reformatted after template…
SirAionTech Dec 7, 2023
bd360ab
Updated from template
SirAionTech Jan 3, 2024
d9ffb7b
[COV] l10n_it_vat_statement_communication: Execute test once
SirAionTech Mar 20, 2024
f87a6c3
[FIX]l10n_it_vat_statement_communication: fix file export
matteoopenf May 21, 2024
452862c
[IMP] l10n_it_vat_statement_communication: pre-commit auto fixes
odooNextev Mar 21, 2025
5a49a30
[MIG] l10n_it_vat_statement_communication: Migration to 18.0
odooNextev Mar 26, 2025
6468794
Adapt to l10n_it_account_vat_period_end_settlement
eLBati May 23, 2025
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
105 changes: 105 additions & 0 deletions l10n_it_vat_statement_communication/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
====================================
ITA - Comunicazione liquidazione IVA
====================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ad2f827fa79eed0a540b62fbaeebe78c1f0d035c64ef6cdeb4b667162512aa9e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/l10n-italy-18-0-l10n_it_vat_statement_communication
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&target_branch=18.0
:alt: Try me on Runboat

|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 l10n_it_account_vat_period_end_settlement

**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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_vat_statement_communication%0Aversion:%2018.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
- `Nextev Srl <https://nextev.it>`__ odoo@nextev.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/18.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": "18.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": [
"l10n_it_account_vat_period_end_settlement",
"l10n_it_appointment_code",
"l10n_it_edi",
],
"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