odoo-addon-l10n-it-edi-extension 18.0.1.0.0.30__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. odoo/addons/l10n_it_edi_extension/README.rst +493 -0
  2. odoo/addons/l10n_it_edi_extension/__init__.py +951 -0
  3. odoo/addons/l10n_it_edi_extension/__manifest__.py +37 -0
  4. odoo/addons/l10n_it_edi_extension/controllers/__init__.py +1 -0
  5. odoo/addons/l10n_it_edi_extension/controllers/portal.py +27 -0
  6. odoo/addons/l10n_it_edi_extension/data/FoglioStileAssoSoftware.xsl +3150 -0
  7. odoo/addons/l10n_it_edi_extension/data/invoice_it_template.xml +50 -0
  8. odoo/addons/l10n_it_edi_extension/data/res.city.it.code.csv +13898 -0
  9. odoo/addons/l10n_it_edi_extension/i18n/l10n_it_edi_extension.pot +1167 -0
  10. odoo/addons/l10n_it_edi_extension/i18n/l10n_it_edi_fatturapa.pot +44 -0
  11. odoo/addons/l10n_it_edi_extension/models/__init__.py +15 -0
  12. odoo/addons/l10n_it_edi_extension/models/account_journal.py +152 -0
  13. odoo/addons/l10n_it_edi_extension/models/account_move.py +765 -0
  14. odoo/addons/l10n_it_edi_extension/models/account_move_line.py +10 -0
  15. odoo/addons/l10n_it_edi_extension/models/ir_attachment.py +37 -0
  16. odoo/addons/l10n_it_edi_extension/models/l10n_it_edi_activity_progress.py +14 -0
  17. odoo/addons/l10n_it_edi_extension/models/l10n_it_edi_article_code.py +15 -0
  18. odoo/addons/l10n_it_edi_extension/models/l10n_it_edi_discount_rise_price.py +25 -0
  19. odoo/addons/l10n_it_edi_extension/models/l10n_it_edi_line.py +48 -0
  20. odoo/addons/l10n_it_edi_extension/models/l10n_it_edi_line_other_data.py +17 -0
  21. odoo/addons/l10n_it_edi_extension/models/l10n_it_edi_summary_data.py +77 -0
  22. odoo/addons/l10n_it_edi_extension/models/res_city_it_code.py +83 -0
  23. odoo/addons/l10n_it_edi_extension/models/res_company.py +62 -0
  24. odoo/addons/l10n_it_edi_extension/models/res_partner.py +64 -0
  25. odoo/addons/l10n_it_edi_extension/readme/CONFIGURE.md +45 -0
  26. odoo/addons/l10n_it_edi_extension/readme/CONTRIBUTORS.md +5 -0
  27. odoo/addons/l10n_it_edi_extension/readme/DESCRIPTION.md +160 -0
  28. odoo/addons/l10n_it_edi_extension/security/ir.model.access.csv +14 -0
  29. odoo/addons/l10n_it_edi_extension/static/description/icon.png +0 -0
  30. odoo/addons/l10n_it_edi_extension/static/description/index.html +832 -0
  31. odoo/addons/l10n_it_edi_extension/tests/__init__.py +2 -0
  32. odoo/addons/l10n_it_edi_extension/tests/import_xmls/IT01234567890_FPR03.xml +166 -0
  33. odoo/addons/l10n_it_edi_extension/tests/import_xmls/IT02780790107_11004.xml +216 -0
  34. odoo/addons/l10n_it_edi_extension/tests/import_xmls/IT02780790107_11005.xml +224 -0
  35. odoo/addons/l10n_it_edi_extension/tests/import_xmls/IT05979361218_003.xml +107 -0
  36. odoo/addons/l10n_it_edi_extension/tests/import_xmls/test.png +0 -0
  37. odoo/addons/l10n_it_edi_extension/tests/import_xmls/xml_import.zip +0 -0
  38. odoo/addons/l10n_it_edi_extension/tests/test_fiscalcode.py +126 -0
  39. odoo/addons/l10n_it_edi_extension/tests/test_import_edi_extension_xml.py +350 -0
  40. odoo/addons/l10n_it_edi_extension/views/company_view.xml +41 -0
  41. odoo/addons/l10n_it_edi_extension/views/l10n_it_view.xml +164 -0
  42. odoo/addons/l10n_it_edi_extension/views/res_partner_view.xml +19 -0
  43. odoo/addons/l10n_it_edi_extension/wizards/__init__.py +2 -0
  44. odoo/addons/l10n_it_edi_extension/wizards/compute_fc.py +176 -0
  45. odoo/addons/l10n_it_edi_extension/wizards/compute_fc_view.xml +65 -0
  46. odoo/addons/l10n_it_edi_extension/wizards/l10n_it_edi_import_file_wizard.py +98 -0
  47. odoo/addons/l10n_it_edi_extension/wizards/l10n_it_edi_import_file_wizard.xml +46 -0
  48. odoo_addon_l10n_it_edi_extension-18.0.1.0.0.30.dist-info/METADATA +513 -0
  49. odoo_addon_l10n_it_edi_extension-18.0.1.0.0.30.dist-info/RECORD +51 -0
  50. odoo_addon_l10n_it_edi_extension-18.0.1.0.0.30.dist-info/WHEEL +5 -0
  51. odoo_addon_l10n_it_edi_extension-18.0.1.0.0.30.dist-info/top_level.txt +1 -0
@@ -0,0 +1,832 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6
+ <title>README.rst</title>
7
+ <style type="text/css">
8
+
9
+ /*
10
+ :Author: David Goodger (goodger@python.org)
11
+ :Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
12
+ :Copyright: This stylesheet has been placed in the public domain.
13
+
14
+ Default cascading style sheet for the HTML output of Docutils.
15
+ Despite the name, some widely supported CSS2 features are used.
16
+
17
+ See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
18
+ customize this style sheet.
19
+ */
20
+
21
+ /* used to remove borders from tables and images */
22
+ .borderless, table.borderless td, table.borderless th {
23
+ border: 0 }
24
+
25
+ table.borderless td, table.borderless th {
26
+ /* Override padding for "table.docutils td" with "! important".
27
+ The right padding separates the table cells. */
28
+ padding: 0 0.5em 0 0 ! important }
29
+
30
+ .first {
31
+ /* Override more specific margin styles with "! important". */
32
+ margin-top: 0 ! important }
33
+
34
+ .last, .with-subtitle {
35
+ margin-bottom: 0 ! important }
36
+
37
+ .hidden {
38
+ display: none }
39
+
40
+ .subscript {
41
+ vertical-align: sub;
42
+ font-size: smaller }
43
+
44
+ .superscript {
45
+ vertical-align: super;
46
+ font-size: smaller }
47
+
48
+ a.toc-backref {
49
+ text-decoration: none ;
50
+ color: black }
51
+
52
+ blockquote.epigraph {
53
+ margin: 2em 5em ; }
54
+
55
+ dl.docutils dd {
56
+ margin-bottom: 0.5em }
57
+
58
+ object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
59
+ overflow: hidden;
60
+ }
61
+
62
+ /* Uncomment (and remove this text!) to get bold-faced definition list terms
63
+ dl.docutils dt {
64
+ font-weight: bold }
65
+ */
66
+
67
+ div.abstract {
68
+ margin: 2em 5em }
69
+
70
+ div.abstract p.topic-title {
71
+ font-weight: bold ;
72
+ text-align: center }
73
+
74
+ div.admonition, div.attention, div.caution, div.danger, div.error,
75
+ div.hint, div.important, div.note, div.tip, div.warning {
76
+ margin: 2em ;
77
+ border: medium outset ;
78
+ padding: 1em }
79
+
80
+ div.admonition p.admonition-title, div.hint p.admonition-title,
81
+ div.important p.admonition-title, div.note p.admonition-title,
82
+ div.tip p.admonition-title {
83
+ font-weight: bold ;
84
+ font-family: sans-serif }
85
+
86
+ div.attention p.admonition-title, div.caution p.admonition-title,
87
+ div.danger p.admonition-title, div.error p.admonition-title,
88
+ div.warning p.admonition-title, .code .error {
89
+ color: red ;
90
+ font-weight: bold ;
91
+ font-family: sans-serif }
92
+
93
+ /* Uncomment (and remove this text!) to get reduced vertical space in
94
+ compound paragraphs.
95
+ div.compound .compound-first, div.compound .compound-middle {
96
+ margin-bottom: 0.5em }
97
+
98
+ div.compound .compound-last, div.compound .compound-middle {
99
+ margin-top: 0.5em }
100
+ */
101
+
102
+ div.dedication {
103
+ margin: 2em 5em ;
104
+ text-align: center ;
105
+ font-style: italic }
106
+
107
+ div.dedication p.topic-title {
108
+ font-weight: bold ;
109
+ font-style: normal }
110
+
111
+ div.figure {
112
+ margin-left: 2em ;
113
+ margin-right: 2em }
114
+
115
+ div.footer, div.header {
116
+ clear: both;
117
+ font-size: smaller }
118
+
119
+ div.line-block {
120
+ display: block ;
121
+ margin-top: 1em ;
122
+ margin-bottom: 1em }
123
+
124
+ div.line-block div.line-block {
125
+ margin-top: 0 ;
126
+ margin-bottom: 0 ;
127
+ margin-left: 1.5em }
128
+
129
+ div.sidebar {
130
+ margin: 0 0 0.5em 1em ;
131
+ border: medium outset ;
132
+ padding: 1em ;
133
+ background-color: #ffffee ;
134
+ width: 40% ;
135
+ float: right ;
136
+ clear: right }
137
+
138
+ div.sidebar p.rubric {
139
+ font-family: sans-serif ;
140
+ font-size: medium }
141
+
142
+ div.system-messages {
143
+ margin: 5em }
144
+
145
+ div.system-messages h1 {
146
+ color: red }
147
+
148
+ div.system-message {
149
+ border: medium outset ;
150
+ padding: 1em }
151
+
152
+ div.system-message p.system-message-title {
153
+ color: red ;
154
+ font-weight: bold }
155
+
156
+ div.topic {
157
+ margin: 2em }
158
+
159
+ h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
160
+ h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
161
+ margin-top: 0.4em }
162
+
163
+ h1.title {
164
+ text-align: center }
165
+
166
+ h2.subtitle {
167
+ text-align: center }
168
+
169
+ hr.docutils {
170
+ width: 75% }
171
+
172
+ img.align-left, .figure.align-left, object.align-left, table.align-left {
173
+ clear: left ;
174
+ float: left ;
175
+ margin-right: 1em }
176
+
177
+ img.align-right, .figure.align-right, object.align-right, table.align-right {
178
+ clear: right ;
179
+ float: right ;
180
+ margin-left: 1em }
181
+
182
+ img.align-center, .figure.align-center, object.align-center {
183
+ display: block;
184
+ margin-left: auto;
185
+ margin-right: auto;
186
+ }
187
+
188
+ table.align-center {
189
+ margin-left: auto;
190
+ margin-right: auto;
191
+ }
192
+
193
+ .align-left {
194
+ text-align: left }
195
+
196
+ .align-center {
197
+ clear: both ;
198
+ text-align: center }
199
+
200
+ .align-right {
201
+ text-align: right }
202
+
203
+ /* reset inner alignment in figures */
204
+ div.align-right {
205
+ text-align: inherit }
206
+
207
+ /* div.align-center * { */
208
+ /* text-align: left } */
209
+
210
+ .align-top {
211
+ vertical-align: top }
212
+
213
+ .align-middle {
214
+ vertical-align: middle }
215
+
216
+ .align-bottom {
217
+ vertical-align: bottom }
218
+
219
+ ol.simple, ul.simple {
220
+ margin-bottom: 1em }
221
+
222
+ ol.arabic {
223
+ list-style: decimal }
224
+
225
+ ol.loweralpha {
226
+ list-style: lower-alpha }
227
+
228
+ ol.upperalpha {
229
+ list-style: upper-alpha }
230
+
231
+ ol.lowerroman {
232
+ list-style: lower-roman }
233
+
234
+ ol.upperroman {
235
+ list-style: upper-roman }
236
+
237
+ p.attribution {
238
+ text-align: right ;
239
+ margin-left: 50% }
240
+
241
+ p.caption {
242
+ font-style: italic }
243
+
244
+ p.credits {
245
+ font-style: italic ;
246
+ font-size: smaller }
247
+
248
+ p.label {
249
+ white-space: nowrap }
250
+
251
+ p.rubric {
252
+ font-weight: bold ;
253
+ font-size: larger ;
254
+ color: maroon ;
255
+ text-align: center }
256
+
257
+ p.sidebar-title {
258
+ font-family: sans-serif ;
259
+ font-weight: bold ;
260
+ font-size: larger }
261
+
262
+ p.sidebar-subtitle {
263
+ font-family: sans-serif ;
264
+ font-weight: bold }
265
+
266
+ p.topic-title {
267
+ font-weight: bold }
268
+
269
+ pre.address {
270
+ margin-bottom: 0 ;
271
+ margin-top: 0 ;
272
+ font: inherit }
273
+
274
+ pre.literal-block, pre.doctest-block, pre.math, pre.code {
275
+ margin-left: 2em ;
276
+ margin-right: 2em }
277
+
278
+ pre.code .ln { color: gray; } /* line numbers */
279
+ pre.code, code { background-color: #eeeeee }
280
+ pre.code .comment, code .comment { color: #5C6576 }
281
+ pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
282
+ pre.code .literal.string, code .literal.string { color: #0C5404 }
283
+ pre.code .name.builtin, code .name.builtin { color: #352B84 }
284
+ pre.code .deleted, code .deleted { background-color: #DEB0A1}
285
+ pre.code .inserted, code .inserted { background-color: #A3D289}
286
+
287
+ span.classifier {
288
+ font-family: sans-serif ;
289
+ font-style: oblique }
290
+
291
+ span.classifier-delimiter {
292
+ font-family: sans-serif ;
293
+ font-weight: bold }
294
+
295
+ span.interpreted {
296
+ font-family: sans-serif }
297
+
298
+ span.option {
299
+ white-space: nowrap }
300
+
301
+ span.pre {
302
+ white-space: pre }
303
+
304
+ span.problematic, pre.problematic {
305
+ color: red }
306
+
307
+ span.section-subtitle {
308
+ /* font-size relative to parent (h1..h6 element) */
309
+ font-size: 80% }
310
+
311
+ table.citation {
312
+ border-left: solid 1px gray;
313
+ margin-left: 1px }
314
+
315
+ table.docinfo {
316
+ margin: 2em 4em }
317
+
318
+ table.docutils {
319
+ margin-top: 0.5em ;
320
+ margin-bottom: 0.5em }
321
+
322
+ table.footnote {
323
+ border-left: solid 1px black;
324
+ margin-left: 1px }
325
+
326
+ table.docutils td, table.docutils th,
327
+ table.docinfo td, table.docinfo th {
328
+ padding-left: 0.5em ;
329
+ padding-right: 0.5em ;
330
+ vertical-align: top }
331
+
332
+ table.docutils th.field-name, table.docinfo th.docinfo-name {
333
+ font-weight: bold ;
334
+ text-align: left ;
335
+ white-space: nowrap ;
336
+ padding-left: 0 }
337
+
338
+ /* "booktabs" style (no vertical lines) */
339
+ table.docutils.booktabs {
340
+ border: 0px;
341
+ border-top: 2px solid;
342
+ border-bottom: 2px solid;
343
+ border-collapse: collapse;
344
+ }
345
+ table.docutils.booktabs * {
346
+ border: 0px;
347
+ }
348
+ table.docutils.booktabs th {
349
+ border-bottom: thin solid;
350
+ text-align: left;
351
+ }
352
+
353
+ h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
354
+ h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
355
+ font-size: 100% }
356
+
357
+ ul.auto-toc {
358
+ list-style-type: none }
359
+
360
+ </style>
361
+ </head>
362
+ <body>
363
+ <div class="document">
364
+
365
+
366
+ <a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367
+ <img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368
+ </a>
369
+ <div class="section" id="italy-e-invoicing-base-feature">
370
+ <h1>Italy - E-invoicing - Base Feature</h1>
371
+ <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
372
+ !! This file is generated by oca-gen-addon-readme !!
373
+ !! changes will be overwritten. !!
374
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
375
+ !! source digest: sha256:cda4b8a841e664f846025070441ecdc463a7890289d6b7e879522fa44e6c08bb
376
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
377
+ <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_edi_extension"><img alt="OCA/l10n-italy" src="https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-italy-18-0/l10n-italy-18-0-l10n_it_edi_extension"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/l10n-italy&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378
+ <p><strong>Italiano</strong></p>
379
+ <p>Questo modulo estende le funzionalità standard della fatturazione
380
+ elettronica italiana di Odoo, introducendo strumenti utili come
381
+ l’anteprima XML ed il calcolo dei codici fiscali e miglioramenti
382
+ nell’importazione e nell’esportazione delle fatture XML.</p>
383
+ <p>Le funzionalità principali incluse sono:</p>
384
+ <ol class="arabic simple">
385
+ <li>Anteprima e Download del file XML:<ul>
386
+ <li>Aggiunge un pulsante (“Preview XML”) direttamente nel form della
387
+ fattura.</li>
388
+ <li>Dalla stessa finestra della fattura, è possibile scaricare il file
389
+ XML generato.</li>
390
+ </ul>
391
+ </li>
392
+ <li>Valorizza i seguenti campi/nodi della fattura elettronica esportata:<ul>
393
+ <li><tt class="docutils literal">&lt;RiferimentoAmministrazione&gt;</tt> (sia sulla riga o nell’azienda):
394
+ identificativo utilizzato per uso amministrativo/gestionale
395
+ interno. È un campo libero che può essere utilizzato per inserire
396
+ riferimenti specifici richiesti dalla Pubblica Amministrazione o
397
+ altri riferimenti utili per la gestione amministrativa.</li>
398
+ <li><tt class="docutils literal">&lt;StabileOrganizzazione&gt;</tt>: rappresenta i dati della sede
399
+ operativa stabile del cedente/prestatore in Italia se diversa dalla
400
+ sede legale. Da impostare in odoo nell’azienda, tab “Informazioni
401
+ Generali”</li>
402
+ <li><tt class="docutils literal">&lt;Causale&gt;</tt>: in questo caso non c’è un campo apposito, ma
403
+ trascrive i “Termini e condizioni” della fattura</li>
404
+ <li><tt class="docutils literal">&lt;Art73&gt;</tt>: indica se il documento è stato emesso secondo modalità
405
+ e termini stabiliti con decreto ministeriale ai sensi dell’articolo
406
+ 73 del DPR 633/72. Da impostare in odoo nell’azienda o direttamente
407
+ in fattura.</li>
408
+ </ul>
409
+ </li>
410
+ <li>Miglioramenti nell’import delle fatture XML:<ul>
411
+ <li>Aggiunge un’opzione per creare i contatti presenti in una fattura
412
+ elettronica se non esistono in anagrafica tra cui:<ul>
413
+ <li><tt class="docutils literal">&lt;CessionarioCommittente&gt;</tt> e <tt class="docutils literal">&lt;CedentePrestatore&gt;</tt> invece di
414
+ scrivere solamente i dettagli nel chatter.</li>
415
+ </ul>
416
+ </li>
417
+ <li>Creazione di altri contatti presenti in una fattura elettronica se
418
+ non esistono in anagrafica tra cui:<ul>
419
+ <li><tt class="docutils literal">&lt;RappresentanteFiscale&gt;</tt></li>
420
+ </ul>
421
+ </li>
422
+ <li>Nome e cognome vengono assegnati ai nuovi contatti in base ai nodi
423
+ <tt class="docutils literal">&lt;Nome&gt;</tt> e <tt class="docutils literal">&lt;Cognome&gt;</tt> della fattura elettronica.</li>
424
+ <li>Gestione delle Fatture Elettroniche Multiple:<ul>
425
+ <li>Supporto per la suddivisione automatica di file XML contenenti
426
+ più fatture</li>
427
+ <li>Ogni <tt class="docutils literal">&lt;FatturaElettronicaBody&gt;</tt> viene convertito in una fattura
428
+ separata mantenendo l’header originale</li>
429
+ </ul>
430
+ </li>
431
+ <li>Aggiunge la possibilità di scegliere tra 3 modalità di
432
+ importazione:<ul>
433
+ <li>senza righe</li>
434
+ <li>una riga per ogni aliquota</li>
435
+ <li>tutte le righe (default)</li>
436
+ </ul>
437
+ </li>
438
+ <li>Importazione dei <tt class="docutils literal">&lt;DatiRiepilogo&gt;</tt>:<ul>
439
+ <li><tt class="docutils literal">&lt;AliquotaIVA&gt;</tt></li>
440
+ <li><tt class="docutils literal">&lt;Natura&gt;</tt>: Indica il motivo per cui un’operazione non prevede
441
+ l’IVA</li>
442
+ <li><tt class="docutils literal">&lt;SpeseAccessorie&gt;</tt>: es. trasporto, imballaggio</li>
443
+ <li><tt class="docutils literal">&lt;Arrotondamento&gt;</tt></li>
444
+ <li><tt class="docutils literal">&lt;ImponibileImporto&gt;</tt></li>
445
+ <li><tt class="docutils literal">&lt;Imposta&gt;</tt></li>
446
+ <li><tt class="docutils literal">&lt;EsigibilitaIVA&gt;</tt>: Indica quando l’IVA diventa esigibile
447
+ (immediata, differita o scissione dei pagamenti)</li>
448
+ <li><tt class="docutils literal">&lt;RiferimentoNormativo&gt;</tt>: Obbligatorio quando si usa il campo
449
+ <tt class="docutils literal">&lt;Natura&gt;</tt></li>
450
+ </ul>
451
+ </li>
452
+ <li>Importazione dei <tt class="docutils literal">&lt;DatiGeneraliDocumento&gt;</tt>:<ul>
453
+ <li><tt class="docutils literal">&lt;Arrotondamento&gt;</tt></li>
454
+ <li><tt class="docutils literal">&lt;Art73&gt;</tt>: indica se il documento è stato emesso secondo
455
+ modalità e termini stabiliti con decreto ministeriale ai sensi
456
+ dell’articolo 73 del DPR 633/72</li>
457
+ <li><tt class="docutils literal">&lt;DatiSAL&gt;</tt> e <tt class="docutils literal">&lt;RiferimentoFase&gt;</tt>: utilizzati per indicare lo
458
+ stato di avanzamento dei lavori in caso di fatturazione
459
+ dilazionata/progressiva (contratti di appalto, servizi
460
+ continuativi o lavori in corso d’opera)</li>
461
+ </ul>
462
+ </li>
463
+ <li>Importazione dei dati della fattura principale
464
+ (<tt class="docutils literal">&lt;NumeroFatturaPrincipale&gt;</tt> e <tt class="docutils literal">&lt;DataFatturaPrincipale&gt;</tt>)</li>
465
+ <li>Scrittura nel chatter dei nodi di <tt class="docutils literal"><span class="pre">&lt;DatiGenerali&gt;&lt;DatiTrasporto&gt;</span></tt>
466
+ e <tt class="docutils literal">&lt;DatiVeicoli&gt;</tt></li>
467
+ <li>Gestione avanzata dei Dati delle Righe Fattura:<ul>
468
+ <li>Creazione dei codici articolo in fase di importazione. Questi
469
+ codici servono per identificare univocamente i prodotti/servizi
470
+ secondo diversi standard di codifica. Nel file XML, questi codici
471
+ sono nel nodo <tt class="docutils literal">&lt;CodiceArticolo&gt;</tt> che può contenere:<ul>
472
+ <li><tt class="docutils literal">&lt;CodiceTipo&gt;</tt>: identifica il tipo di codifica utilizzata</li>
473
+ <li><tt class="docutils literal">&lt;CodiceValore&gt;</tt>: il valore effettivo del codice</li>
474
+ </ul>
475
+ </li>
476
+ <li>Registrazione dello sconto o maggiorazione, nodo
477
+ <tt class="docutils literal">&lt;ScontoMaggiorazione&gt;</tt>, nelle righe di dettaglio della
478
+ fattura.</li>
479
+ <li>Importazione dei dati del nodo <tt class="docutils literal">&lt;AltriDatiGestionali&gt;</tt>
480
+ (informazioni supplementari che non trovano posto negli altri
481
+ campi standard della fattura elettronica) che può contenere:<ul>
482
+ <li><tt class="docutils literal">&lt;TipoDato&gt;</tt>: identifica il tipo di informazione aggiuntiva
483
+ che si sta inserendo</li>
484
+ <li><tt class="docutils literal">&lt;RiferimentoTesto&gt;</tt>: contiene un valore testuale
485
+ dell’informazione aggiuntiva</li>
486
+ <li><tt class="docutils literal">&lt;RiferimentoNumero&gt;</tt>: contiene un valore numerico
487
+ dell’informazione aggiuntiva</li>
488
+ <li><tt class="docutils literal">&lt;RiferimentoData&gt;</tt>: contiene un valore data
489
+ dell’informazione aggiuntiva</li>
490
+ </ul>
491
+ </li>
492
+ <li>Importazione dei nodi:<ul>
493
+ <li><tt class="docutils literal">&lt;NumeroLinea&gt;</tt>: numero progressivo della riga all’interno
494
+ della fattura</li>
495
+ <li><tt class="docutils literal">&lt;TipoCessionePrestazione&gt;</tt>: indica la tipologia della
496
+ cessione o prestazione e può contenere valori come:<ul>
497
+ <li>“SC” (Sconto)</li>
498
+ <li>“PR” (Premio)</li>
499
+ <li>“AB” (Abbuono)</li>
500
+ <li>“AC” (Spesa accessoria)</li>
501
+ </ul>
502
+ </li>
503
+ <li><tt class="docutils literal">&lt;DataInizioPeriodo&gt;</tt> e <tt class="docutils literal">&lt;DataFinePeriodo&gt;</tt>: indicano il
504
+ periodo di riferimento di una prestazione e sono utili per
505
+ servizi continuativi o prestazioni che si estendono su un
506
+ periodo di tempo</li>
507
+ <li><tt class="docutils literal">&lt;RiferimentoAmministrazione&gt;</tt>: identificativo utilizzato per
508
+ uso amministrativo/gestionale interno. È un campo libero che
509
+ può essere utilizzato per inserire riferimenti specifici
510
+ richiesti dalla Pubblica Amministrazione o altri riferimenti
511
+ utili per la gestione amministrativa.</li>
512
+ </ul>
513
+ </li>
514
+ </ul>
515
+ </li>
516
+ <li>Convalida della fattura importata: se i seguenti importi sono
517
+ diversi da quelli presenti nel file XML, nella fattura viene
518
+ visualizzato un messaggio:<ul>
519
+ <li>importo totale imponibile</li>
520
+ <li>IVA totale</li>
521
+ <li>IVA inclusa</li>
522
+ </ul>
523
+ </li>
524
+ <li>I dati del partner possono essere aggiornati per corrispondere a
525
+ quelli nella fattura elettronica.</li>
526
+ </ul>
527
+ </li>
528
+ <li>Aggiunge di un wizard per calcolare i codici fiscali</li>
529
+ </ol>
530
+ <p>&lt;<a class="reference external" href="https://www.fatturapa.gov.it">https://www.fatturapa.gov.it</a>&gt;</p>
531
+ <p><strong>English</strong></p>
532
+ <p>This module extends Odoo’s standard Italian electronic invoicing
533
+ functionality, introducing useful tools such as XML preview and fiscal
534
+ code calculation and improvements in importing and exporting XML
535
+ invoices.</p>
536
+ <p>The main features included are:</p>
537
+ <ol class="arabic simple">
538
+ <li>XML File Preview and Download:<ul>
539
+ <li>Adds a button (“Preview XML”) directly in the invoice form.</li>
540
+ <li>From the same invoice form, you can download the generated XML
541
+ file.</li>
542
+ </ul>
543
+ </li>
544
+ <li>Adds fields in XML invoice export:<ul>
545
+ <li><tt class="docutils literal">&lt;RiferimentoAmministrazione&gt;</tt> (both on line or on company):
546
+ identifier used for internal administrative/management purposes.
547
+ It’s a free field that can be used to insert specific references
548
+ required by Public Administration or other useful references for
549
+ administrative management.</li>
550
+ <li><tt class="docutils literal">&lt;StabileOrganizzazione&gt;</tt>: represents the data of the
551
+ seller/provider’s permanent establishment in Italy if different
552
+ from the registered office</li>
553
+ <li><tt class="docutils literal">&lt;Causale&gt;</tt>: in this case there is no specific field, but it
554
+ transcribes the “Terms and conditions” of the invoice.</li>
555
+ <li><tt class="docutils literal">&lt;Art73&gt;</tt>: indicates if the document was issued according to
556
+ methods and terms established by ministerial decree pursuant to
557
+ article 73 of DPR 633/72</li>
558
+ </ul>
559
+ </li>
560
+ <li>Improvements in XML invoice import:<ul>
561
+ <li>Adds an option to create contacts present in an electronic invoice
562
+ if they don’t exist in the address book, including:<ul>
563
+ <li><tt class="docutils literal">&lt;CessionarioCommittente&gt;</tt> and <tt class="docutils literal">&lt;CedentePrestatore&gt;</tt> instead
564
+ of just writing the details in the chatter.</li>
565
+ </ul>
566
+ </li>
567
+ <li>Creation of other contacts present in an electronic invoice if they
568
+ don’t exist in the address book, including:<ul>
569
+ <li><tt class="docutils literal">&lt;RappresentanteFiscale&gt;</tt></li>
570
+ </ul>
571
+ </li>
572
+ <li>Name and surname are set in the new contacts based on the
573
+ <tt class="docutils literal">&lt;Nome&gt;</tt> and <tt class="docutils literal">&lt;Cognome&gt;</tt> nodes of the E-Bill.</li>
574
+ <li>Multiple Electronic Invoice Management:<ul>
575
+ <li>Support for automatic splitting of XML files containing multiple
576
+ invoices</li>
577
+ <li>Each <tt class="docutils literal">&lt;FatturaElettronicaBody&gt;</tt> is converted into a separate
578
+ invoice maintaining the original header</li>
579
+ </ul>
580
+ </li>
581
+ <li>Adds the ability to choose between 3 import modes:<ul>
582
+ <li>without lines</li>
583
+ <li>one line for each VAT rate</li>
584
+ <li>all lines (default)</li>
585
+ </ul>
586
+ </li>
587
+ <li>Import of <tt class="docutils literal">&lt;DatiRiepilogo&gt;</tt>:<ul>
588
+ <li><tt class="docutils literal">&lt;AliquotaIVA&gt;</tt></li>
589
+ <li><tt class="docutils literal">&lt;Natura&gt;</tt>: Indicates the reason why an operation does not
590
+ include VAT</li>
591
+ <li><tt class="docutils literal">&lt;SpeseAccessorie&gt;</tt>: e.g., transport, packaging</li>
592
+ <li><tt class="docutils literal">&lt;Arrotondamento&gt;</tt></li>
593
+ <li><tt class="docutils literal">&lt;ImponibileImporto&gt;</tt></li>
594
+ <li><tt class="docutils literal">&lt;Imposta&gt;</tt></li>
595
+ <li><tt class="docutils literal">&lt;EsigibilitaIVA&gt;</tt>: Indicates when VAT becomes payable
596
+ (immediate, deferred, or split payment)</li>
597
+ <li><tt class="docutils literal">&lt;RiferimentoNormativo&gt;</tt>: Required when using the <tt class="docutils literal">&lt;Natura&gt;</tt>
598
+ field</li>
599
+ </ul>
600
+ </li>
601
+ <li>Import of <tt class="docutils literal">&lt;DatiGeneraliDocumento&gt;</tt>:<ul>
602
+ <li><tt class="docutils literal">&lt;Arrotondamento&gt;</tt></li>
603
+ <li><tt class="docutils literal">&lt;Art73&gt;</tt>: indicates if the document was issued according to
604
+ methods and terms established by ministerial decree pursuant to
605
+ article 73 of DPR 633/72</li>
606
+ <li><tt class="docutils literal">&lt;DatiSAL&gt;</tt> and <tt class="docutils literal">&lt;RiferimentoFase&gt;</tt>: used to indicate the
607
+ progress status of work in case of deferred/progressive invoicing
608
+ (procurement contracts, continuous services, or work in progress)</li>
609
+ </ul>
610
+ </li>
611
+ <li>Import of main invoice data (<tt class="docutils literal">&lt;NumeroFatturaPrincipale&gt;</tt> and
612
+ <tt class="docutils literal">&lt;DataFatturaPrincipale&gt;</tt>)</li>
613
+ <li>Writing in chatter of <tt class="docutils literal"><span class="pre">&lt;DatiGenerali&gt;&lt;DatiTrasporto&gt;</span></tt> and
614
+ <tt class="docutils literal">&lt;DatiVeicoli&gt;</tt> nodes</li>
615
+ <li>Advanced management of Invoice Line Data:<ul>
616
+ <li>Creation of article codes during import. These codes are used to
617
+ uniquely identify products/services according to different coding
618
+ standards. In the XML file, these codes are in the
619
+ <tt class="docutils literal">&lt;CodiceArticolo&gt;</tt> node which can contain:<ul>
620
+ <li><tt class="docutils literal">&lt;CodiceTipo&gt;</tt>: identifies the type of coding used</li>
621
+ <li><tt class="docutils literal">&lt;CodiceValore&gt;</tt>: the actual code value</li>
622
+ </ul>
623
+ </li>
624
+ <li>Recording of discounts or surcharges, <tt class="docutils literal">&lt;ScontoMaggiorazione&gt;</tt>,
625
+ in the invoice detail lines.</li>
626
+ <li>Import of <tt class="docutils literal">&lt;AltriDatiGestionali&gt;</tt> node data (supplementary
627
+ information that doesn’t fit in other standard electronic invoice
628
+ fields) which can contain:<ul>
629
+ <li><tt class="docutils literal">&lt;TipoDato&gt;</tt>: identifies the type of additional information
630
+ being entered</li>
631
+ <li><tt class="docutils literal">&lt;RiferimentoTesto&gt;</tt>: contains a textual value of the
632
+ additional information</li>
633
+ <li><tt class="docutils literal">&lt;RiferimentoNumero&gt;</tt>: contains a numerical value of the
634
+ additional information</li>
635
+ <li><tt class="docutils literal">&lt;RiferimentoData&gt;</tt>: contains a date value of the additional
636
+ information</li>
637
+ </ul>
638
+ </li>
639
+ <li>Import of nodes:<ul>
640
+ <li><tt class="docutils literal">&lt;NumeroLinea&gt;</tt>: progressive line number within the invoice</li>
641
+ <li><tt class="docutils literal">&lt;TipoCessionePrestazione&gt;</tt>: indicates the type of transfer
642
+ or service and can contain values such as:<ul>
643
+ <li>“SC” (Discount)</li>
644
+ <li>“PR” (Prize)</li>
645
+ <li>“AB” (Allowance)</li>
646
+ <li>“AC” (Ancillary expense)</li>
647
+ </ul>
648
+ </li>
649
+ <li><tt class="docutils literal">&lt;DataInizioPeriodo&gt;</tt> and <tt class="docutils literal">&lt;DataFinePeriodo&gt;</tt>: indicate the
650
+ reference period of a service and are useful for continuous
651
+ services or services that extend over a period of time</li>
652
+ <li><tt class="docutils literal">&lt;RiferimentoAmministrazione&gt;</tt>: identifier used for internal
653
+ administrative/management purposes. It’s a free field that can
654
+ be used to insert specific references required by Public
655
+ Administration or other useful references for administrative
656
+ management.</li>
657
+ </ul>
658
+ </li>
659
+ </ul>
660
+ </li>
661
+ <li>Validation of imported bill: if the following amounts are different
662
+ than the amount in the XML a message is shown in the bill:<ul>
663
+ <li>total taxable amount</li>
664
+ <li>total VAT</li>
665
+ <li>total including VAT</li>
666
+ </ul>
667
+ </li>
668
+ <li>Partner’s data can be updated to match the data in the e-bill</li>
669
+ </ul>
670
+ </li>
671
+ <li>Adds a wizard to calculate fiscal codes</li>
672
+ </ol>
673
+ <p>&lt;<a class="reference external" href="https://www.fatturapa.gov.it">https://www.fatturapa.gov.it</a>&gt;</p>
674
+ <p><strong>Table of contents</strong></p>
675
+ <div class="contents local topic" id="contents">
676
+ <ul class="simple">
677
+ <li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
678
+ <li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
679
+ <li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
680
+ <li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
681
+ <li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
682
+ <li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
683
+ </ul>
684
+ </li>
685
+ </ul>
686
+ </div>
687
+ <div class="section" id="configuration">
688
+ <h2><a class="toc-backref" href="#toc-entry-1">Configuration</a></h2>
689
+ <p><strong>Italiano</strong></p>
690
+ <p>Le uniche configurazioni disponibili sono:</p>
691
+ <ul class="simple">
692
+ <li>Livello di dettaglio importazione e-fatture: in Fatturazione (o
693
+ Contabilità per EE) &gt; Configurazione &gt; Impostazioni &gt; Fatturazione
694
+ Elettronica Italiana, valorizzare “Livello di dettaglio importazione
695
+ e-fatture” per importare le fatture elettroniche senza righe, con una
696
+ riga per ogni aliquota, oppure con tutte le righe (default). Questa
697
+ configurazione può essere sovrascritta dal campo “Livello di dettaglio
698
+ importazione e-fatture” in ogni fornitore.</li>
699
+ <li>Crea il partner se non esiste durante l’importazione: in Fatturazione
700
+ (o Contabilità per EE) &gt; Configurazione &gt; Impostazioni &gt; Fatturazione
701
+ Elettronica Italiana, spuntare l’opzione se si vuole attivare la
702
+ funzionalità per i dati dei nodi:<ul>
703
+ <li><tt class="docutils literal">&lt;CessionarioCommittente&gt;</tt></li>
704
+ <li><tt class="docutils literal">&lt;CedentePrestatore&gt;</tt></li>
705
+ <li><tt class="docutils literal">&lt;RappresentanteFiscale&gt;</tt></li>
706
+ </ul>
707
+ </li>
708
+ </ul>
709
+ <p>Non sono necessarie altre configurazioni specifiche per
710
+ l10n_it_edi_extension: una volta installato, le sue funzionalità sono
711
+ attive e si integrano automaticamente nell’interfaccia esistente.</p>
712
+ <p>Tuttavia, è fondamentale capire che questo modulo è un’estensione e si
713
+ basa su altri moduli preesistenti e sulla configurazione generale di
714
+ Odoo per la localizzazione italiana e la fatturazione elettronica.
715
+ Quindi, affinché le funzionalità di questo modulo siano utilizzabili, è
716
+ necessario che siano installati e configurati i moduli dipendenti:</p>
717
+ <ul class="simple">
718
+ <li><tt class="docutils literal">account</tt>: Il modulo base della contabilità di Odoo deve essere
719
+ installato e configurato (piano dei conti, tasse, giornali contabili,
720
+ ecc.).</li>
721
+ <li><tt class="docutils literal">l10n_it_edi</tt>: Il modulo principale per la fatturazione elettronica
722
+ italiana deve essere installato e correttamente configurato. Questo
723
+ include:<ul>
724
+ <li>Configurazione dei dati aziendali (partita IVA, codice fiscale,
725
+ regime fiscale, ecc.).</li>
726
+ <li>Configurazione dei registri contabili per l’emissione delle fatture
727
+ elettroniche (indicando il formato FatturaPA/Elettronica).</li>
728
+ <li>Configurazione delle sequenze dedicate per la numerazione delle
729
+ fatture elettroniche.</li>
730
+ <li>Eventuale configurazione delle credenziali SDI se si utilizza
731
+ l’invio diretto tramite Odoo (se supportato dalla configurazione
732
+ generale).</li>
733
+ </ul>
734
+ </li>
735
+ </ul>
736
+ <p>Nel partner è possibile abilitare il campo “Non aggiornare il contatto
737
+ dai dettagli della fattura elettronica” così i dati del partner non
738
+ saranno modificati in base a quanto presente in una delle loro fatture
739
+ durante l’importazione.</p>
740
+ <p><strong>English</strong></p>
741
+ <p>The only available configurations are:</p>
742
+ <ul class="simple">
743
+ <li>E-invoice import detail level: in Invoicing (or Accounting for EE) &gt;
744
+ Configuration &gt; Settings &gt; Italian Electronic Invoicing, set
745
+ “E-invoice import detail level” to import electronic invoices without
746
+ lines, with one line per tax rate, or with all lines (default). This
747
+ configuration can be overridden by the “E-invoice import detail level”
748
+ field in each supplier.</li>
749
+ <li>Create partner if not existing during import: in Invoicing (or
750
+ Accounting for EE) &gt; Configuration &gt; Settings &gt; Italian Electronic
751
+ Invoicing, check this option if you want to enable the functionality
752
+ for the following node data:<ul>
753
+ <li><tt class="docutils literal">&lt;CessionarioCommittente&gt;</tt></li>
754
+ <li><tt class="docutils literal">&lt;CedentePrestatore&gt;</tt></li>
755
+ <li><tt class="docutils literal">&lt;RappresentanteFiscale&gt;</tt></li>
756
+ </ul>
757
+ </li>
758
+ </ul>
759
+ <p>No other specific configurations are required for l10n_it_edi_extension:
760
+ once installed, its features are active and automatically integrate into
761
+ the existing interface.</p>
762
+ <p>However, it’s essential to understand that this module is an extension
763
+ and relies on other pre-existing modules and Odoo’s general
764
+ configuration for Italian localization and electronic invoicing.
765
+ Therefore, for this module’s features to be usable, the dependent
766
+ modules must be installed and configured:</p>
767
+ <ul class="simple">
768
+ <li><tt class="docutils literal">account</tt>: Odoo’s basic accounting module must be installed and
769
+ configured (chart of accounts, taxes, journals, etc.).</li>
770
+ <li><tt class="docutils literal">l10n_it_edi</tt>: The main module for Italian electronic invoicing must
771
+ be installed and properly configured. This includes:<ul>
772
+ <li>Company data configuration (VAT number, fiscal code, tax regime,
773
+ etc.).</li>
774
+ <li>Configuration of accounting journals for issuing electronic invoices
775
+ (indicating FatturaPA/Electronic format).</li>
776
+ <li>Configuration of dedicated sequences for electronic invoice
777
+ numbering.</li>
778
+ <li>Optional SDI credentials configuration if direct sending through
779
+ Odoo is used (if supported by general configuration).</li>
780
+ </ul>
781
+ </li>
782
+ </ul>
783
+ <p>In the partner, you can enable “Do not update the contact from
784
+ Electronic Invoice Details” so that the partner’s data are not modified
785
+ with what is found in one of their imported e-bill.</p>
786
+ </div>
787
+ <div class="section" id="bug-tracker">
788
+ <h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
789
+ <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-italy/issues">GitHub Issues</a>.
790
+ In case of trouble, please check there if your issue has already been reported.
791
+ If you spotted it first, help us to smash it by providing a detailed and welcomed
792
+ <a class="reference external" href="https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_edi_extension%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
793
+ <p>Do not contact contributors directly about support or help with technical issues.</p>
794
+ </div>
795
+ <div class="section" id="credits">
796
+ <h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
797
+ <div class="section" id="authors">
798
+ <h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
799
+ <ul class="simple">
800
+ <li>Giuseppe Borruso</li>
801
+ </ul>
802
+ </div>
803
+ <div class="section" id="contributors">
804
+ <h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
805
+ <ul class="simple">
806
+ <li>Giuseppe Borruso - Dinamiche Aziendali srl
807
+ &lt;<a class="reference external" href="mailto:gborruso&#64;dinamicheaziendali.it">gborruso&#64;dinamicheaziendali.it</a>&gt;</li>
808
+ <li><a class="reference external" href="https://aiontech.company/">Aion Tech</a>:<ul>
809
+ <li>Simone Rubino &lt;<a class="reference external" href="mailto:simone.rubino&#64;aion-tech.it">simone.rubino&#64;aion-tech.it</a>&gt;</li>
810
+ </ul>
811
+ </li>
812
+ <li>Simone Rubino &lt;<a class="reference external" href="mailto:simone.rubino88&#64;gmail.com">simone.rubino88&#64;gmail.com</a>&gt;</li>
813
+ <li>Nextev Srl &lt;<a class="reference external" href="mailto:odoo&#64;nextev.it">odoo&#64;nextev.it</a>&gt;</li>
814
+ </ul>
815
+ </div>
816
+ <div class="section" id="maintainers">
817
+ <h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
818
+ <p>This module is maintained by the OCA.</p>
819
+ <a class="reference external image-reference" href="https://odoo-community.org">
820
+ <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
821
+ </a>
822
+ <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
823
+ mission is to support the collaborative development of Odoo features and
824
+ promote its widespread use.</p>
825
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-italy/tree/18.0/l10n_it_edi_extension">OCA/l10n-italy</a> project on GitHub.</p>
826
+ <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
827
+ </div>
828
+ </div>
829
+ </div>
830
+ </div>
831
+ </body>
832
+ </html>