gestito il riavvio automatico e la grafica windows

This commit is contained in:
tommal
2025-12-02 16:05:45 +01:00
parent 6388fc9e46
commit 67c4783b8c
697 changed files with 5568 additions and 91 deletions

View File

@@ -11,20 +11,41 @@ RUN mkdir -p /app /defaults \
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
firefox-esr gnumeric xdg-utils xdg-desktop-portal xdg-desktop-portal-gtk \ firefox-esr gnumeric xdg-utils \
python3-pyxdg ca-certificates \ python3-pyxdg ca-certificates \
shared-mime-info desktop-file-utils \ shared-mime-info desktop-file-utils \
fonts-liberation fonts-dejavu-core \ fonts-liberation fonts-dejavu-core \
libgtk2.0-0 libx11-6 libxext6 libxrender1 libxtst6 libxi6 \ libgtk2.0-0 libx11-6 libxext6 libxrender1 libxtst6 libxi6 \
libxrandr2 libxinerama1 libxcomposite1 libxss1 \ libxrandr2 libxinerama1 libxcomposite1 libxss1 \
libgdk-pixbuf2.0-0 libpango1.0-0 libatk1.0-0 \ libgdk-pixbuf2.0-0 libpango1.0-0 libatk1.0-0 \
libcups2 libnss3 libwebkit2gtk-4.0-37 \ libcups2 libnss3 \
inotify-tools gosu \ inotify-tools gosu \
openbox \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install Windows-like themes
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
gtk2-engines-murrine \
gtk2-engines-pixbuf \
git \
&& rm -rf /var/lib/apt/lists/*
# Install Windows 10 theme
RUN cd /usr/share/themes && \
git clone https://github.com/B00merang-Project/Windows-10.git && \
chown -R root:root /usr/share/themes/Windows-10
# Configure Windows 10 theme for abc user
RUN mkdir -p /home/abc/.config/gtk-2.0 && \
echo 'gtk-theme-name="Windows-10"' > /home/abc/.gtkrc-2.0 && \
echo 'gtk-icon-theme-name="gnome"' >> /home/abc/.gtkrc-2.0 && \
echo 'gtk-font-name="Segoe UI 9"' >> /home/abc/.gtkrc-2.0 && \
chown -R abc:abc /home/abc/.gtkrc-2.0 /home/abc/.config
# Copy Fiscality app into image and set owner to abc # Copy Fiscality app into image and set owner to abc
COPY --chown=abc:abc Fiscality /app/Fiscality COPY --chown=abc:abc Fiscality /app/Fiscality
RUN chmod -R a+rX /app/Fiscality \ RUN chmod -R a+rwX /app/Fiscality \
&& chmod a+x /app/Fiscality/Fiscality && chmod a+x /app/Fiscality/Fiscality
# cont-init script to fix ownership at container start # cont-init script to fix ownership at container start
@@ -156,6 +177,7 @@ RUN chmod 644 /usr/local/share/applications/firefox-pdf.desktop && \
RUN gosu abc xdg-mime default firefox-esr.desktop application/pdf || true RUN gosu abc xdg-mime default firefox-esr.desktop application/pdf || true
RUN gosu abc xdg-mime default firefox-pdf.desktop application/pdf || true RUN gosu abc xdg-mime default firefox-pdf.desktop application/pdf || true
# Copy the autostart script to /defaults/ (LinuxServer base image uses this location) # Copy the autostart script to /defaults/ (LinuxServer base image uses this location)
COPY defaults/autostart /defaults/autostart COPY defaults/autostart /defaults/autostart
RUN chmod +x /defaults/autostart RUN chmod +x /defaults/autostart

0
Fiscality/Aggiornamenti.pdf Normal file → Executable file
View File

0
Fiscality/Fiscality Normal file → Executable file
View File

2
Fiscality/Fiscality.ini Normal file → Executable file
View File

@@ -11,6 +11,7 @@ plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
-XX:+UseParNewGC -XX:+UseParNewGC
-XX:+HeapDumpOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError
-Xverify:none -Xverify:none
-Dosgi.locking=none
-Dosgi.console.enable.builtin=true -Dosgi.console.enable.builtin=true
-Duser.country=IT -Duser.country=IT
-Duser.language=it -Duser.language=it
@@ -19,3 +20,4 @@ plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
-Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.connectTimeout=600000 -Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.connectTimeout=600000
-Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=600000 -Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=600000
-Xmx2048m -Xmx2048m

0
Fiscality/about.html Normal file → Executable file
View File

0
Fiscality/about_files/about_cairo.html Normal file → Executable file
View File

0
Fiscality/about_files/mpl-v11.txt Normal file → Executable file
View File

0
Fiscality/about_files/pixman-licenses.txt Normal file → Executable file
View File

24
Fiscality/artifacts.xml Normal file → Executable file
View File

@@ -3,7 +3,7 @@
<repository name='Bundle pool' type='org.eclipse.equinox.p2.artifact.repository.simpleRepository' version='1'> <repository name='Bundle pool' type='org.eclipse.equinox.p2.artifact.repository.simpleRepository' version='1'>
<properties size='2'> <properties size='2'>
<property name='p2.system' value='true'/> <property name='p2.system' value='true'/>
<property name='p2.timestamp' value='1738853084173'/> <property name='p2.timestamp' value='1764588917098'/>
</properties> </properties>
<mappings size='3'> <mappings size='3'>
<rule filter='(&amp; (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/> <rule filter='(&amp; (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/>
@@ -139,17 +139,17 @@
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.adex.widget' version='17.11.0'> <artifact classifier='osgi.bundle' id='it.smi.adex.widget' version='17.11.0'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='43778'/> <property name='download.size' value='43765'/>
</properties> </properties>
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.adex.ixuploader.v1_2' version='18.0.0'> <artifact classifier='osgi.bundle' id='it.smi.adex.ixuploader.v1_2' version='18.0.0'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='32592515'/> <property name='download.size' value='32592617'/>
</properties> </properties>
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.adex.peppol' version='17.4.0'> <artifact classifier='osgi.bundle' id='it.smi.adex.peppol' version='17.4.0'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='34952'/> <property name='download.size' value='34995'/>
</properties> </properties>
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.palmax.org.apache.xerces' version='1.0.0'> <artifact classifier='osgi.bundle' id='it.smi.palmax.org.apache.xerces' version='1.0.0'>
@@ -189,7 +189,7 @@
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.adex.whereami' version='16.0.0'> <artifact classifier='osgi.bundle' id='it.smi.adex.whereami' version='16.0.0'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='3097'/> <property name='download.size' value='3096'/>
</properties> </properties>
<repositoryProperties size='1'> <repositoryProperties size='1'>
<property name='artifact.folder' value='true'/> <property name='artifact.folder' value='true'/>
@@ -282,7 +282,7 @@
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.palmax.license' version='15.15.0'> <artifact classifier='osgi.bundle' id='it.smi.palmax.license' version='15.15.0'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='4372004'/> <property name='download.size' value='4372994'/>
</properties> </properties>
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='org.eclipse.core.variables.nl_it' version='4.2.0.v20131123041006'> <artifact classifier='osgi.bundle' id='org.eclipse.core.variables.nl_it' version='4.2.0.v20131123041006'>
@@ -473,7 +473,7 @@
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.adex' version='19.0.0'> <artifact classifier='osgi.bundle' id='it.smi.adex' version='19.0.0'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='34499213'/> <property name='download.size' value='34756540'/>
</properties> </properties>
<repositoryProperties size='1'> <repositoryProperties size='1'>
<property name='artifact.folder' value='true'/> <property name='artifact.folder' value='true'/>
@@ -614,7 +614,7 @@
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.adex.installer' version='19.0.0'> <artifact classifier='osgi.bundle' id='it.smi.adex.installer' version='19.0.0'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='11834369'/> <property name='download.size' value='11834254'/>
</properties> </properties>
<repositoryProperties size='1'> <repositoryProperties size='1'>
<property name='artifact.folder' value='true'/> <property name='artifact.folder' value='true'/>
@@ -648,7 +648,7 @@
</artifact> </artifact>
<artifact classifier='org.eclipse.update.feature' id='AdexSWT' version='16.0.0'> <artifact classifier='org.eclipse.update.feature' id='AdexSWT' version='16.0.0'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='616'/> <property name='download.size' value='619'/>
</properties> </properties>
<repositoryProperties size='1'> <repositoryProperties size='1'>
<property name='artifact.folder' value='true'/> <property name='artifact.folder' value='true'/>
@@ -679,7 +679,7 @@
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.adex.ixconfiguration' version='17.11.0'> <artifact classifier='osgi.bundle' id='it.smi.adex.ixconfiguration' version='17.11.0'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='414748'/> <property name='download.size' value='439576'/>
</properties> </properties>
<repositoryProperties size='1'> <repositoryProperties size='1'>
<property name='artifact.folder' value='true'/> <property name='artifact.folder' value='true'/>
@@ -747,7 +747,7 @@
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.palmax.license.ui' version='15.15.0'> <artifact classifier='osgi.bundle' id='it.smi.palmax.license.ui' version='15.15.0'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='35534'/> <property name='download.size' value='35556'/>
</properties> </properties>
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='org.eclipse.help' version='3.6.0.v20120912-134126'> <artifact classifier='osgi.bundle' id='org.eclipse.help' version='3.6.0.v20120912-134126'>
@@ -833,7 +833,7 @@
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.org.glassfish.jersey' version='14.0.27'> <artifact classifier='osgi.bundle' id='it.smi.org.glassfish.jersey' version='14.0.27'>
<properties size='1'> <properties size='1'>
<property name='download.size' value='5602192'/> <property name='download.size' value='5602200'/>
</properties> </properties>
</artifact> </artifact>
<artifact classifier='osgi.bundle' id='it.smi.adex.itvatdeclaration.xml' version='18.1.0'> <artifact classifier='osgi.bundle' id='it.smi.adex.itvatdeclaration.xml' version='18.1.0'>

2
Fiscality/configuration/config.ini Normal file → Executable file
View File

@@ -1,5 +1,5 @@
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser #This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Thu Feb 06 15:44:45 CET 2025 #Mon Dec 01 12:35:21 CET 2025
eclipse.p2.profile=profile eclipse.p2.profile=profile
osgi.instance.area.default=@user.home/Fiscality/workspace osgi.instance.area.default=@user.home/Fiscality/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar osgi.framework=file\:plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<config date="1738853085679" transient="false"> <config date="1764588921292" transient="false">
<site updateable="true" url="platform:/base/" enabled="true" policy="USER-EXCLUDE"> <site updateable="true" url="platform:/base/" enabled="true" policy="USER-EXCLUDE">
<feature id="AdexIX" version="18.0.0" url="features/AdexIX_18.0.0/"> <feature id="AdexIX" version="18.0.0" url="features/AdexIX_18.0.0/">
</feature> </feature>

0
Fiscality/features/AdexBase_17.10.0/feature.xml Normal file → Executable file
View File

0
Fiscality/features/AdexDatiFatture_18.1.0/feature.xml Normal file → Executable file
View File

0
Fiscality/features/AdexHelp_16.0.0/feature.xml Normal file → Executable file
View File

0
Fiscality/features/AdexIX_18.0.0/feature.xml Normal file → Executable file
View File

8
Fiscality/features/AdexSWT_16.0.0/feature.xml Normal file → Executable file
View File

@@ -34,7 +34,7 @@
arch="x86_64" arch="x86_64"
download-size="0" download-size="0"
install-size="0" install-size="0"
version="3.8.1.v3836b" version="0.0.0"
fragment="true" fragment="true"
unpack="false"/> unpack="false"/>
@@ -45,7 +45,7 @@
arch="x86_64" arch="x86_64"
download-size="0" download-size="0"
install-size="0" install-size="0"
version="4.2.0.v20131123041006" version="0.0.0"
fragment="true" fragment="true"
unpack="false"/> unpack="false"/>
@@ -78,7 +78,7 @@
arch="x86" arch="x86"
download-size="0" download-size="0"
install-size="0" install-size="0"
version="3.8.1.v3836b" version="0.0.0"
fragment="true" fragment="true"
unpack="false"/> unpack="false"/>
@@ -89,7 +89,7 @@
arch="x86" arch="x86"
download-size="0" download-size="0"
install-size="0" install-size="0"
version="4.2.0.v20131123041006" version="0.0.0"
fragment="true" fragment="true"
unpack="false"/> unpack="false"/>

0
Fiscality/features/Adex_19.0.0/feature.xml Normal file → Executable file
View File

0
Fiscality/libcairo-swt.so Normal file → Executable file
View File

2
Fiscality/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml vendored Normal file → Executable file
View File

@@ -3,7 +3,7 @@
<repository name='download cache' type='org.eclipse.equinox.p2.artifact.repository.simpleRepository' version='1.0.0'> <repository name='download cache' type='org.eclipse.equinox.p2.artifact.repository.simpleRepository' version='1.0.0'>
<properties size='2'> <properties size='2'>
<property name='p2.system' value='true'/> <property name='p2.system' value='true'/>
<property name='p2.timestamp' value='1738853079210'/> <property name='p2.timestamp' value='1764588906639'/>
</properties> </properties>
<mappings size='3'> <mappings size='3'>
<rule filter='(&amp; (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/> <rule filter='(&amp; (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/>

View File

@@ -1,4 +1,4 @@
#Thu Feb 06 15:44:44 CET 2025 #Mon Dec 01 12:35:18 CET 2025
-Xms=256m -Xms=256m
-XX\:MaxPermSize\==256m -XX\:MaxPermSize\==256m
-Xmx=2048m -Xmx=2048m

View File

View File

View File

View File

View File

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

View File

@@ -0,0 +1,558 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0"
targetNamespace="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.0"
version="1.0.2">
<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:element name="FatturaElettronicaSemplificata" type="FatturaElettronicaType">
<xs:annotation>
<xs:documentation>
XML schema fatture destinate a privati in forma semplificata 1.0.2
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="FatturaElettronicaType">
<xs:sequence>
<xs:element name="FatturaElettronicaHeader" type="FatturaElettronicaHeaderType" />
<xs:element name="FatturaElettronicaBody" type="FatturaElettronicaBodyType" maxOccurs="unbounded" />
<xs:element ref="ds:Signature" minOccurs="0" />
</xs:sequence>
<xs:attribute name="versione" type="FormatoTrasmissioneType" use="required" />
<xs:attribute name="SistemaEmittente" type="String10Type" use="optional" />
</xs:complexType>
<xs:complexType name="FatturaElettronicaHeaderType">
<xs:sequence>
<xs:element name="DatiTrasmissione" type="DatiTrasmissioneType" />
<xs:element name="CedentePrestatore" type="CedentePrestatoreType" />
<xs:element name="CessionarioCommittente" type="CessionarioCommittenteType" />
<xs:element name="SoggettoEmittente" type="SoggettoEmittenteType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="FatturaElettronicaBodyType">
<xs:sequence>
<xs:element name="DatiGenerali" type="DatiGeneraliType" />
<xs:element name="DatiBeniServizi" type="DatiBeniServiziType" maxOccurs="unbounded" />
<xs:element name="Allegati" type="AllegatiType" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiTrasmissioneType">
<xs:annotation>
<xs:documentation>Blocco relativo ai dati di trasmissione della Fattura Elettronica</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="IdTrasmittente" type="IdFiscaleType" />
<xs:element name="ProgressivoInvio" type="String10Type" />
<xs:element name="FormatoTrasmissione" type="FormatoTrasmissioneType" />
<xs:element name="CodiceDestinatario" type="CodiceDestinatarioType" />
<xs:element name="PECDestinatario" type="EmailType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="CodiceDestinatarioType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z0-9]{7}" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="IdFiscaleType">
<xs:sequence>
<xs:element name="IdPaese" type="NazioneType" />
<xs:element name="IdCodice" type="CodiceType" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="CodiceType">
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="28" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FormatoTrasmissioneType">
<xs:restriction base="xs:string">
<xs:length value="5" />
<xs:enumeration value="FSM10">
<xs:annotation>
<xs:documentation>Fattura verso privati semplificata</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="DatiGeneraliType">
<xs:annotation>
<xs:documentation>Blocco relativo ai Dati Generali della Fattura Elettronica</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="DatiGeneraliDocumento" type="DatiGeneraliDocumentoType" />
<xs:element name="DatiFatturaRettificata" type="DatiFatturaRettificataType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiGeneraliDocumentoType">
<xs:sequence>
<xs:element name="TipoDocumento" type="TipoDocumentoType" />
<xs:element name="Divisa" type="DivisaType" />
<xs:element name="Data" type="DataFatturaType" />
<xs:element name="Numero" type="String20Type" />
<xs:element name="BolloVirtuale" type="BolloVirtualeType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiFatturaRettificataType">
<xs:sequence>
<xs:element name="NumeroFR" type="String20Type" />
<xs:element name="DataFR" type="DataFatturaType" />
<xs:element name="ElementiRettificati" type="String1000LatinType" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="Art73Type">
<xs:restriction base="xs:string">
<xs:length value="2" />
<xs:enumeration value="SI">
<xs:annotation>
<xs:documentation>SI = Documento emesso secondo modalità e termini stabiliti con DM ai sensi dell'art. 73 DPR 633/72</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TipoDocumentoType">
<xs:restriction base="xs:string">
<xs:length value="4" />
<xs:enumeration value="TD07">
<xs:annotation>
<xs:documentation>Fattura semplificata</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD08">
<xs:annotation>
<xs:documentation>Nota di credito semplificata</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD09">
<xs:annotation>
<xs:documentation>Nota di debito semplificata</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="IndirizzoType">
<xs:sequence>
<xs:element name="Indirizzo" type="String60LatinType" />
<xs:element name="NumeroCivico" type="NumeroCivicoType" minOccurs="0" />
<xs:element name="CAP" type="CAPType" />
<xs:element name="Comune" type="String60LatinType" />
<xs:element name="Provincia" type="ProvinciaType" minOccurs="0" />
<xs:element name="Nazione" type="NazioneType" default="IT" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="SoggettoEmittenteType">
<xs:restriction base="xs:string">
<xs:length value="2" />
<xs:enumeration value="CC">
<xs:annotation>
<xs:documentation>Cessionario / Committente</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="TZ">
<xs:annotation>
<xs:documentation>Terzo</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="CedentePrestatoreType">
<xs:annotation>
<xs:documentation>Blocco relativo ai dati del Cedente / Prestatore</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleType" />
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" minOccurs="0" />
<xs:choice>
<xs:sequence>
<xs:element name="Denominazione" type="String80LatinType"/>
</xs:sequence>
<xs:sequence>
<xs:element name="Nome" type="String60LatinType"/>
<xs:element name="Cognome" type="String60LatinType"/>
</xs:sequence>
</xs:choice>
<xs:element name="Sede" type="IndirizzoType" />
<xs:element name="StabileOrganizzazione" type="IndirizzoType" minOccurs="0" />
<xs:element name="RappresentanteFiscale" type="RappresentanteFiscaleType" minOccurs="0" />
<xs:element name="IscrizioneREA" type="IscrizioneREAType" minOccurs="0" />
<xs:element name="RegimeFiscale" type="RegimeFiscaleType" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="RegimeFiscaleType">
<xs:restriction base="xs:string">
<xs:length value="4" />
<xs:enumeration value="RF01">
<xs:annotation>
<xs:documentation> Regime ordinario</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF02">
<xs:annotation>
<xs:documentation>Regime dei contribuenti minimi (art. 1,c.96-117, L. 244/2007)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF04">
<xs:annotation>
<xs:documentation>Agricoltura e attività connesse e pesca (artt. 34 e 34-bis, D.P.R. 633/1972)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF05">
<xs:annotation>
<xs:documentation>Vendita sali e tabacchi (art. 74, c.1, D.P.R. 633/1972)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF06">
<xs:annotation>
<xs:documentation>Commercio dei fiammiferi (art. 74, c.1, D.P.R. 633/1972)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF07">
<xs:annotation>
<xs:documentation>Editoria (art. 74, c.1, D.P.R. 633/1972)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF08">
<xs:annotation>
<xs:documentation>Gestione di servizi di telefonia pubblica (art. 74, c.1, D.P.R. 633/1972)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF09">
<xs:annotation>
<xs:documentation>Rivendita di documenti di trasporto pubblico e di sosta (art. 74, c.1, D.P.R. 633/1972)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF10">
<xs:annotation>
<xs:documentation>Intrattenimenti, giochi e altre attività di cui alla tariffa allegata al D.P.R. 640/72 (art. 74, c.6, D.P.R. 633/1972)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF11">
<xs:annotation>
<xs:documentation>Agenzie di viaggi e turismo (art. 74-ter, D.P.R. 633/1972)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF12">
<xs:annotation>
<xs:documentation>Agriturismo (art. 5, c.2, L. 413/1991)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF13">
<xs:annotation>
<xs:documentation>Vendite a domicilio (art. 25-bis, c.6, D.P.R. 600/1973)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF14">
<xs:annotation>
<xs:documentation>Rivendita di beni usati, di oggetti darte, dantiquariato o da collezione (art. 36, D.L. 41/1995)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF15">
<xs:annotation>
<xs:documentation>Agenzie di vendite allasta di oggetti darte, antiquariato o da collezione (art. 40-bis, D.L. 41/1995)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF16">
<xs:annotation>
<xs:documentation>IVA per cassa P.A. (art. 6, c.5, D.P.R. 633/1972)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF17">
<xs:annotation>
<xs:documentation>IVA per cassa (art. 32-bis, D.L. 83/2012)</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF18">
<xs:annotation>
<xs:documentation>Altro</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF19">
<xs:annotation>
<xs:documentation>Regime forfettario</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="RF20">
<xs:annotation>
<xs:documentation>Regime transfrontaliero di Franchigia IVA (Direttiva UE 2020/285)</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="IscrizioneREAType">
<xs:sequence>
<xs:element name="Ufficio" type="ProvinciaType" />
<xs:element name="NumeroREA" type="String20Type" />
<xs:element name="CapitaleSociale" type="Amount2DecimalType" minOccurs="0" />
<xs:element name="SocioUnico" type="SocioUnicoType" minOccurs="0" />
<xs:element name="StatoLiquidazione" type="StatoLiquidazioneType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RappresentanteFiscaleType">
<xs:annotation>
<xs:documentation>Blocco relativo ai dati del Rappresentante Fiscale</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleType" />
<xs:choice>
<xs:sequence>
<xs:element name="Denominazione" type="String80LatinType"/>
</xs:sequence>
<xs:sequence>
<xs:element name="Nome" type="String60LatinType"/>
<xs:element name="Cognome" type="String60LatinType"/>
</xs:sequence>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CessionarioCommittenteType">
<xs:annotation>
<xs:documentation>Blocco relativo ai dati del Cessionario / Committente</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliType" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdentificativiFiscaliType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleType" minOccurs="0" />
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="AltriDatiIdentificativiType">
<xs:sequence>
<xs:choice>
<xs:sequence>
<xs:element name="Denominazione" type="String80LatinType"/>
</xs:sequence>
<xs:sequence>
<xs:element name="Nome" type="String60LatinType"/>
<xs:element name="Cognome" type="String60LatinType"/>
</xs:sequence>
</xs:choice>
<xs:element name="Sede" type="IndirizzoType" />
<xs:element name="StabileOrganizzazione" type="IndirizzoType" minOccurs="0" />
<xs:element name="RappresentanteFiscale" type="RappresentanteFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiBeniServiziType">
<xs:annotation>
<xs:documentation>Blocco relativo ai dati di Beni Servizi della Fattura Elettronica</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Descrizione" type="String1000LatinType" />
<xs:element name="Importo" type="Amount2DecimalType" />
<xs:element name="DatiIVA" type="DatiIVAType" />
<xs:element name="Natura" type="NaturaType" minOccurs="0" />
<xs:element name="RiferimentoNormativo" type="String100LatinType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiIVAType">
<xs:sequence>
<xs:element name="Imposta" type="Amount2DecimalType" minOccurs="0" />
<xs:element name="Aliquota" type="RateType" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AllegatiType">
<xs:annotation>
<xs:documentation>Blocco relativo ai dati di eventuali allegati</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="NomeAttachment" type="String60LatinType" />
<xs:element name="AlgoritmoCompressione" type="String10Type" minOccurs="0" />
<xs:element name="FormatoAttachment" type="String10Type" minOccurs="0" />
<xs:element name="DescrizioneAttachment" type="String100LatinType" minOccurs="0" />
<xs:element name="Attachment" type="xs:base64Binary" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="NaturaType">
<xs:restriction base="xs:string">
<xs:enumeration value="N1">
<xs:annotation>
<xs:documentation>Escluse ex. art. 15 del D.P.R. 633/1972</xs:documentation>
</xs:annotation>
</xs:enumeration>
<!-- IL CODICE SEGUENTE (N2) NON SARA' PIU' VALIDO PER LE FATTURE EMESSE A PARTIRE DAL PRIMO GENNAIO 2021-->
<xs:enumeration value="N2">
<xs:annotation>
<xs:documentation>Non soggette</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N2.1">
<xs:annotation>
<xs:documentation>Non soggette ad IVA ai sensi degli artt. da 7 a 7-septies del DPR 633/72</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N2.2">
<xs:annotation>
<xs:documentation>Non soggette - altri casi</xs:documentation>
</xs:annotation>
</xs:enumeration>
<!-- IL CODICE SEGUENTE (N3) NON SARA' PIU' VALIDO PER LE FATTURE EMESSE A PARTIRE DAL PRIMO GENNAIO 2021-->
<xs:enumeration value="N3">
<xs:annotation>
<xs:documentation>Non imponibili</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N3.1">
<xs:annotation>
<xs:documentation>Non Imponibili - esportazioni</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N3.2">
<xs:annotation>
<xs:documentation>Non Imponibili - cessioni intracomunitarie</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N3.3">
<xs:annotation>
<xs:documentation>Non Imponibili - cessioni verso San Marino</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N3.4">
<xs:annotation>
<xs:documentation>Non Imponibili - operazioni assimilate alle cessioni all'esportazione</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N3.5">
<xs:annotation>
<xs:documentation>Non Imponibili - a seguito di dichiarazioni d'intento</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N3.6">
<xs:annotation>
<xs:documentation>Non Imponibili - altre operazioni che non concorrono alla formazione del plafond</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N4">
<xs:annotation>
<xs:documentation>Esenti</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="N5">
<xs:annotation>
<xs:documentation>Regime del margine/IVA non esposta in fattura</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CodiceFiscaleType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z0-9]{11,16}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SocioUnicoType">
<xs:restriction base="xs:string">
<xs:enumeration value="SU">
<xs:annotation>
<xs:documentation>socio unico</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SM">
<xs:annotation>
<xs:documentation>più soci</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="StatoLiquidazioneType">
<xs:restriction base="xs:string">
<xs:enumeration value="LS">
<xs:annotation>
<xs:documentation>in liquidazione</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="LN">
<xs:annotation>
<xs:documentation>non in liquidazione</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String10Type">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,10})" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String20Type">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,20})" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String60LatinType">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="[\p{IsBasicLatin}\p{IsLatin-1Supplement}]{1,60}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String80LatinType">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="[\p{IsBasicLatin}\p{IsLatin-1Supplement}]{1,80}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String100LatinType">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="[\p{IsBasicLatin}\p{IsLatin-1Supplement}]{1,100}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String1000LatinType">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="[\p{IsBasicLatin}\p{IsLatin-1Supplement}]{1,1000}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ProvinciaType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{2}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NazioneType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{2}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DivisaType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{3}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NumeroCivicoType">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,8})" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EmailType">
<xs:restriction base="xs:token">
<xs:maxLength value="256" />
<xs:pattern value="([!#-'*+/-9=?A-Z^-~-]+(\.[!#-'*+/-9=?A-Z^-~-]+)*|&quot;(\[\]!#-[^-~ \t]|(\\[\t -~]))+&quot;)@([!#-'*+/-9=?A-Z^-~-]+(\.[!#-'*+/-9=?A-Z^-~-]+)*|\[[\t -Z^-~]*\])" />
</xs:restriction>
</xs:simpleType>
<!--________________ NUMBERS ____________________-->
<xs:simpleType name="Amount2DecimalType">
<xs:restriction base="xs:decimal">
<xs:pattern value="[\-]?[0-9]{1,11}\.[0-9]{2}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RateType">
<xs:restriction base="xs:decimal">
<xs:maxInclusive value="100.00" />
<xs:pattern value="[0-9]{1,3}\.[0-9]{2}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CAPType">
<xs:restriction base="xs:string">
<xs:pattern value="[0-9][0-9][0-9][0-9][0-9]" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DataFatturaType">
<xs:restriction base="xs:date">
<xs:minInclusive value="1970-01-01" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="BolloVirtualeType">
<xs:restriction base="xs:string">
<xs:enumeration value="SI" />
</xs:restriction>
</xs:simpleType>
</xs:schema>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More