forked from OCA/l10n-italy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[12.0][IMP] l10n_fatturapa_in, arrotondamento per aliquota iva.
- Loading branch information
Showing
9 changed files
with
222 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
* Roberto Onnis | ||
* Alessio Gerace | ||
* Sergio Zanchetta <https://github.com/primes2h> | ||
* Giovanni Serra <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<p:FatturaElettronica versione="FPA12" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" | ||
xmlns:p="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2 http://www.fatturapa.gov.it/export/fatturazione/sdi/fatturapa/v1.2/Schema_del_file_xml_FatturaPA_versione_1.2.xsd"> | ||
<FatturaElettronicaHeader> | ||
<DatiTrasmissione> | ||
<IdTrasmittente> | ||
<IdPaese>IT</IdPaese> | ||
<IdCodice>05979361218</IdCodice> | ||
</IdTrasmittente> | ||
<ProgressivoInvio>006</ProgressivoInvio> | ||
<FormatoTrasmissione>FPA12</FormatoTrasmissione> | ||
<CodiceDestinatario>UFPQ1O</CodiceDestinatario> | ||
</DatiTrasmissione> | ||
<CedentePrestatore> | ||
<DatiAnagrafici> | ||
<IdFiscaleIVA> | ||
<IdPaese>IT</IdPaese> | ||
<IdCodice>05979361218</IdCodice> | ||
</IdFiscaleIVA> | ||
<Anagrafica> | ||
<Denominazione>SOCIETA' ALPHA BETA SRL</Denominazione> | ||
</Anagrafica> | ||
<RegimeFiscale>RF02</RegimeFiscale> | ||
</DatiAnagrafici> | ||
<Sede> | ||
<Indirizzo>VIALE ROMA 543B</Indirizzo> | ||
<CAP>07100</CAP> | ||
<Comune>SASSARI</Comune> | ||
<Provincia>SS</Provincia> | ||
<Nazione>IT</Nazione> | ||
</Sede> | ||
</CedentePrestatore> | ||
<CessionarioCommittente> | ||
<DatiAnagrafici> | ||
<CodiceFiscale>80213330584</CodiceFiscale> | ||
<Anagrafica> | ||
<Denominazione>AMMINISTRAZIONE BETA</Denominazione> | ||
</Anagrafica> | ||
</DatiAnagrafici> | ||
<Sede> | ||
<Indirizzo>VIA TORINO 38-B</Indirizzo> | ||
<CAP>00145</CAP> | ||
<Comune>ROMA</Comune> | ||
<Provincia>RM</Provincia> | ||
<Nazione>IT</Nazione> | ||
</Sede> | ||
</CessionarioCommittente> | ||
</FatturaElettronicaHeader> | ||
<FatturaElettronicaBody xmlns=""> | ||
<DatiGenerali> | ||
<DatiGeneraliDocumento> | ||
<TipoDocumento>TD01</TipoDocumento> | ||
<Divisa>EUR</Divisa> | ||
<Data>2019-05-11</Data> | ||
<Numero>852S1</Numero> | ||
<ImportoTotaleDocumento>34.32</ImportoTotaleDocumento> | ||
<Causale>Rif ordine 908</Causale> | ||
</DatiGeneraliDocumento> | ||
</DatiGenerali> | ||
<DatiBeniServizi> | ||
<DettaglioLinee> | ||
<NumeroLinea>1</NumeroLinea> | ||
<Descrizione>USB4</Descrizione> | ||
<Quantita>1.00</Quantita> | ||
<UnitaMisura>Pz.</UnitaMisura> | ||
<PrezzoUnitario>18.07</PrezzoUnitario> | ||
<PrezzoTotale>18.07</PrezzoTotale> | ||
<AliquotaIVA>0.00</AliquotaIVA> | ||
<Natura>N4</Natura> | ||
</DettaglioLinee> | ||
<DettaglioLinee> | ||
<NumeroLinea>2</NumeroLinea> | ||
<Descrizione>USB</Descrizione> | ||
<Quantita>1.00</Quantita> | ||
<UnitaMisura>Pz.</UnitaMisura> | ||
<PrezzoUnitario>16.60</PrezzoUnitario> | ||
<PrezzoTotale>16.60</PrezzoTotale> | ||
<AliquotaIVA>0.00</AliquotaIVA> | ||
<Natura>N4</Natura> | ||
</DettaglioLinee> | ||
<DatiRiepilogo> | ||
<AliquotaIVA>0.00</AliquotaIVA> | ||
<Natura>N4</Natura> | ||
<Arrotondamento>-0.35</Arrotondamento> | ||
<ImponibileImporto>34.32</ImponibileImporto> | ||
<Imposta>0.00</Imposta> | ||
<EsigibilitaIVA>I</EsigibilitaIVA> | ||
<RiferimentoNormativo>Esenzione Art.8 comma 1 DPR 633/72</RiferimentoNormativo> | ||
</DatiRiepilogo> | ||
</DatiBeniServizi> | ||
</FatturaElettronicaBody> | ||
</p:FatturaElettronica> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
import base64 | ||
import tempfile | ||
from odoo.modules import get_module_resource | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.