Initial commit

This commit is contained in:
2026-07-01 14:19:57 +02:00
commit c1f8f0c8fa
1531 changed files with 203357 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,8 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Help
Bundle-SymbolicName: it.smi.adex.help
Bundle-Version: 16.0.0
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime
Bundle-RequiredExecutionEnvironment: JavaSE-1.7

View File

@@ -0,0 +1,22 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Installer
Bundle-SymbolicName: it.smi.adex.installer
Bundle-Version: 19.2.0
Bundle-Activator: it.smi.adex.installer.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
it.smi.palmax.event;bundle-version="1.0.0",
it.smi.connection.http;bundle-version="1.0.0",
it.smi.org.apache.commons.httpclient;bundle-version="3.1.0",
it.smi.org.apache.commons.net;bundle-version="3.1.0",
it.smi.palmax.logging;bundle-version="1.0.0",
it.smi.connection.iseries;bundle-version="1.0.0",
it.smi.adex.utils;bundle-version="1.0.0",
it.smi.installer.info;bundle-version="1.0.0",
it.smi.palmax.sqlutility
Bundle-ActivationPolicy: lazy
Export-Package: it.smi.adex.instalPage,
it.smi.adex.installation,
it.smi.adex.installation.galileoversions,
it.smi.adex.installer

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

View File

@@ -0,0 +1,31 @@
<Composite xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" x:Class="it.smi.adex.views.PublicAmministrationSettingsPrefPage" x:Name="contents" background="COLOR_WIDGET_HIGHLIGHT_SHADOW" xmlns:p1="clr-namespace:org.eclipse.ui.forms.widgets">
<Composite.layout>
<GridLayout/>
</Composite.layout>
<Composite background="COLOR_WIDGET_HIGHLIGHT_SHADOW" x:Name="">
<Composite.layout>
<GridLayout/>
</Composite.layout>
<Composite.layoutData>
<GridData horizontalAlignment="FILL" verticalAlignment="FILL" grabExcessHorizontalSpace="true" grabExcessVerticalSpace="true"/>
</Composite.layoutData>
<Section text="Log errori applicazione" x:Style="(p1:Section).EXPANDED | (p1:Section).TITLE_BAR">
<Section.layoutData>
<GridData grabExcessHorizontalSpace="true" horizontalAlignment="FILL"/>
</Section.layoutData>
</Section>
<StyledText x:Style="BORDER | READ_ONLY | WRAP | V_SCROLL" x:Name="logTxt">
<StyledText.layoutData>
<GridData grabExcessHorizontalSpace="true" horizontalAlignment="FILL" grabExcessVerticalSpace="true" verticalAlignment="FILL"/>
</StyledText.layoutData>
</StyledText>
<Composite>
<Composite.layout>
<GridLayout numColumns="2"/>
</Composite.layout>
<Button text="Ricarica log" x:Name="refLog"/>
<Button text="Salva log" bounds="0, 0, 75, 25" x:Name="saveLog"/>
</Composite>
</Composite>
</Composite>
<!-- Forms API -->

View File

@@ -0,0 +1,229 @@
DROP VIEW &DT/FTFTE55V;
DROP VIEW &DT/FTMOVNE55V;
DROP VIEW &DT/FTBKMNE55V;
DROP VIEW &DT/ABFIS15V;
DROP VIEW &DT/FTMOV55V;
DROP VIEW &DT/FTBKM55V;
DROP VIEW &DT/FTMOVAR55V;
DROP VIEW &DT/FTBKMAR55V;
DROP VIEW &DT/MGMOF55V;
DROP VIEW &DT/FTPAU55V;
DROP VIEW &DT/SMTABAR55V;
DROP VIEW &DT/FTBKPEP55V;
DROP VIEW &DT/FTPEP55V;
DROP VIEW &DT/FTBKMPE55V;
DROP VIEW &DT/FTMOVPE55V;
DROP VIEW &DT/CSTABDB55V;
DROP TABLE &DT/FTPAA55F;
DROP TABLE &DT/FTPAB55F;
DROP TABLE &DT/FTPAC55F;
DROP TABLE &DT/FTPAD55F;
DROP TABLE &DT/FTPAF55F;
DROP TABLE &DT/FTPAG55F;
DROP TABLE &DT/FTPAI55F;
DROP TABLE &DT/FTPAL55F;
DROP TABLE &DT/FTPAM55F;
DROP TABLE &DT/FTPAN55F;
DROP TABLE &DT/FTPAO55F;
DROP TABLE &DT/FTPAP55F;
DROP TABLE &DT/FTPAQ55F;
DROP TABLE &DT/FTPAR55F;
DROP TABLE &DT/FTPAS55F;
DROP TABLE &DT/FTPAT55F;
DROP TABLE &DT/FTPAV55F;
DROP TABLE &DT/FTPAZ55F;
DROP TABLE &DT/FTPAX55F;
DROP TABLE &DT/FTPAE55F;
DROP TABLE &DT/FTPAH55F;
DROP TABLE &DT/FTPSET55F;
DROP TABLE &DT/FTPAU55F;
DROP TABLE &DT/CGI15A0F;
DROP TABLE &DT/CGI15B0F;
DROP TABLE &DT/CGI15I0F;
DROP TABLE &DT/CGI15Z0F;
DROP TABLE &DT/FTPAAB55F;
DROP TABLE &DT/CGU15I0F;
DROP TABLE &DT/CGU15A0F;
DROP TABLE &DT/CGU15B0F;
DROP TABLE &DT/CGU15D0F;
DROP TABLE &DT/CGU15H0F;
DROP TABLE &DT/CGU15Z0F;
DROP TABLE &DT/FTPAJ55F;
DROP TABLE &DT/FTPAK55F;
DROP TABLE &DT/FTPAY55F;
DROP TABLE &DT/FTPEA55F;
DROP TABLE &DT/FTPEB55F;
DROP TABLE &DT/FTPED55F;
DROP TABLE &DT/FTPEE55F;
DROP TABLE &DT/FTPEF55F;
DROP TABLE &DT/FTPEI55F;
DROP TABLE &DT/FTPEL55F;
DROP TABLE &DT/FTPEM55F;
DROP TABLE &DT/FTPEN55F;
DROP TABLE &DT/FTPEO55F;
DROP TABLE &DT/FTPEP55F;
DROP TABLE &DT/FTPER55F;
DROP TABLE &DT/FTPES55F;
DROP TABLE &DT/FTPET55F;
DROP TABLE &DT/FTPEU55F;
DROP TABLE &DT/FTPEV55F;
DROP TABLE &DT/FTPEX55F;
DROP TABLE &DT/FTPEY55F;
DROP TABLE &DT/FTPEC55F;
DROP TABLE &DT/C770A16F;
DROP TABLE &DT/C770B16F;
DROP TABLE &DT/C770D16F;
DROP TABLE &DT/C770I16F;
DROP TABLE &DT/C770Z16F;
DROP TABLE &DT/FTTIB55F;
DROP TABLE &DT/FTTIM55F;
DROP TABLE &DT/CGDTA00F;
DROP TABLE &DT/CGDTB00F;
DROP TABLE &DT/CGDTC00F;
DROP TABLE &DT/CGDTD00F;
DROP TABLE &DT/CGDTG00F;
DROP TABLE &DT/CGDTU00F;
DROP TABLE &DT/C770Y16F;
DROP TABLE &DT/CGETA00F;
DROP TABLE &DT/CGETB00F;
DROP TABLE &DT/CGETC00F;
DROP TABLE &DT/CGETO00F;
DROP TABLE &DT/CGETN00F;
DROP TABLE &DT/FTPEJ55F;
DROP TABLE &DT/FTPABV55F;
DROP TABLE &DT/C770J16F;
DROP TABLE &DT/FTPAW55F;
DROP TABLE &DT/FTPA155F;
DROP TABLE &DT/FTXCTE0F;
DROP TABLE &DT/FTXCKL0F;
DROP TABLE &DT/FTXCI00F;
DROP TABLE &DT/FTXCF00F;
DROP TABLE &DT/FTXCV00F;
DROP TABLE &DT/FTXCS00F;
DROP TABLE &DT/FTXCO00F;
DROP TABLE &DT/FTXCT00F;
DROP TABLE &DT/FTXCZ00F;
DROP TABLE &DT/FTXCD00F;
DROP TABLE &DT/FTXCG00F;
DROP TABLE &DT/FTXCA00F;
DROP TABLE &DT/FTXCB00F;
DROP TABLE &DT/FTXCL00F;
DROP TABLE &DT/FTXCR00F;
DROP TABLE &DT/FTXCJ00F;
DROP TABLE &DT/FTXCQ00F;
DROP TABLE &DT/FTXCM00F;
DROP TABLE &DT/FTXCK00F;
DROP TABLE &DT/FTXCU00F;
DROP TABLE &DT/FTPA255F;
DROP TABLE &DT/FTPAFE55F;
DROP TABLE &DT/FTFPE00F;
DROP TABLE &MDT/FTPAFM55F;
DROP TABLE &DT/CGUKT00F;
DROP TABLE &DT/CGUKD00F;
DROP TABLE &DT/CGUKI00F;
DROP TABLE &DT/FTXCY00F;
DROP TABLE &DT/FTPA355F;
DROP TABLE &DT/FTPA455F;
DROP TABLE &DT/CRDIA00F;
DROP TABLE &DT/CRDIR00F;
DROP TABLE &DT/CRDIB00F;
DROP TABLE &DT/CRDII00F;
DROP TABLE &DT/CRDIF00F;
DROP TABLE &DT/CRDID00F;
DROP TABLE &DT/CRDIC00F;
DROP TABLE &DT/CRDIQ00F;
DROP TABLE &DT/CRDIRT0F;
DROP TABLE &DT/CRDIT00F;
DROP TABLE &DT/CRDITM0F;
DROP TABLE &DT/CGLQT00F;
DROP TABLE &DT/CGLQD00F;
DROP TABLE &DT/CGLQS00F;
DROP TABLE &DT/CGLQA00F;
DROP TABLE &DT/CGLQG00F;
DROP TABLE &DT/CGLQI00F;
DROP TABLE &DT/CGDTI00F;
DROP TABLE &DT/FTPEFN55F;
DROP TABLE &DT/CG347T0F;
DROP TABLE &DT/CG347C0F;
DROP TABLE &DT/CG347P0F;
DROP TABLE &DT/CG347S0F;
DROP TABLE &DT/CG347I0F;
DROP TABLE &DT/CG347G0F;
DROP TABLE &DT/CG347D0F;
DROP TABLE &DT/CGIGG00F;
DROP TABLE &DT/CGIGC00F;
DROP TABLE &DT/CGIGA00F;
DROP TABLE &DT/CGIGN00F;
DROP TABLE &DT/FTXBA00F
DROP TABLE &DT/FTXBB00F
DROP TABLE &DT/FTXBD00F
DROP TABLE &DT/FTXBF00F
DROP TABLE &DT/FTXBG00F
DROP TABLE &DT/FTXBI00F
DROP TABLE &DT/FTXBJ00F
DROP TABLE &DT/FTXBK00F
DROP TABLE &DT/FTXBL00F
DROP TABLE &DT/FTXBM00F
DROP TABLE &DT/FTXBO00F
DROP TABLE &DT/FTXBQ00F
DROP TABLE &DT/FTXBR00F
DROP TABLE &DT/FTXBS00F
DROP TABLE &DT/FTXBT00F
DROP TABLE &DT/FTXBU00F
DROP TABLE &DT/FTXBV00F
DROP TABLE &DT/FTXBY00F
DROP TABLE &DT/FTXBZ00F
DROP TABLE &DT/FTPBA55F
DROP TABLE &DT/FTPBB55F
DROP TABLE &DT/FTPBD55F
DROP TABLE &DT/FTPBF55F
DROP TABLE &DT/FTPBG55F
DROP TABLE &DT/FTPBI55F
DROP TABLE &DT/FTPBL55F
DROP TABLE &DT/FTPBM55F
DROP TABLE &DT/FTPBO55F
DROP TABLE &DT/FTPBQ55F
DROP TABLE &DT/FTPBS55F
DROP TABLE &DT/FTPBT55F
DROP TABLE &DT/FTPBV55F
DROP TABLE &DT/FTPBX55F
DROP TABLE &DT/FTPBZ55F
DROP TABLE &DT/FTPBU55F
DROP TABLE &DT/FTPBJ55F
DROP TABLE &DT/FTPBK55F
DROP TABLE &DT/FTPB155F
DROP TABLE &DT/FTPB355F
DROP TABLE &DT/CGDBA00F
DROP TABLE &DT/CGDBB00F
DROP TABLE &DT/CGDBC00F
DROP TABLE &DT/CGDBD00F
DROP TABLE &DT/CGLQC00F
DROP TABLE &DT/FTPA555F
DROP TABLE &DT/F24A000F
DROP TABLE &DT/F24M000F
DROP TABLE &DT/F24S000F
DROP TABLE &DT/F24V000F
DROP TABLE &DT/F24V100F
DROP TABLE &DT/F24V200F
DROP TABLE &DT/F24V300F
DROP TABLE &DT/F24V400F
DROP TABLE &DT/F24V500F
DROP TABLE &DT/F24V600F
DROP TABLE &DT/F24VT00F
DROP TABLE &DT/F24Z000F
DROP VIEW &DT/FTLMOAR55V
DROP VIEW &DT/FTLBKAR55V
DROP TABLE &DT/FTPAFM55F
DROP VIEW &DT/FTLFTE55V
DROP VIEW &DT/FTLMOV55V
DROP VIEW &DT/FTLBKM55V
DROP TABLE &DT/CRDIE00F;
DROP TABLE &DT/CRDIX00F;
CL:DLTDTAARA &DT/DSART55DAT

View File

@@ -0,0 +1,428 @@
-- Fatture con SMI
CREATE VIEW &DT/VBFTE55V AS (
select distinct
case when "T12".NUMFAT is null then '0' else '1' end ALLEGATO,
"T1".TFDTF TFDTF,
"T1".TFTPN TFTPN,
"T1".TFNRF TFNRF,
"T1".TFTPD TFTPD,
case when "T1".TFFL2 = '' then '0' else '1' end TFFL2,
ltrim("T1".TFCLS) CLIENTE,
"T3".DSCOCP DSCOCP,
case when ("T6".STATOTRAS = 'T' and "T13".PROGID is not null) then 'E' when ("T6".STATOTRAS = 'V' and "T13".PROGID is not null) then 'C' when "T6".STATOTRAS is null then 'B' else "T6".STATOTRAS end STATO,
case when ("T8".MAILPEC is not null and "T8".MAILPEC <> '') then "T8".MAILPEC else coalesce("T6".CODIDEST, case when "T8".PAOPRIV is null then '0000000' else coalesce(coalesce("T2".CODIPA, "T7".CODIPA), "T8".CODIPA) end) end IPA_PEC,
case when ("T8".PAOPRIV is null or "T8".PAOPRIV = 'R') then '1' else '0' end PRIVATO,
"T9".TDREG TDREG,
coalesce(substr("T4".XDATTB, 9, 20), '') DESC_GIVA,
"T6".PROGID PROGID,
"T1".TFAZI TFAZI,
case when "T13".PROGID is null then '0' else '1' end ERRORI,
"T6".EXTID EXTID,
"T6".NOMEXML NOMEXML,
case when "T8".PAOPRIV = 'R' then "T8".CODIPA else case when "T8".PAOPRIV is null then '0000000' else coalesce(coalesce("T2".CODIPA, "T7".CODIPA), "T8".CODIPA) end end CODEIPA,
"T6".SERVTRA SERVTRA,
"T5".NUMEFATT NUMEFATT
from GSDVDATW.VBFTE00F "T1" join GSDVDATW.LFTPD00F "T9" on (T1.TFAZI = T9.TDAZI and T1.TFTPD = T9.TDCDO)
join C1180DAT.CGPCO00F "T3" on substr(T1.TFCLS, 3) = T3.CONTCP
join C1180DAT.SMTAB00F "T4" on T9.TDREG = T4.XCODTB
left outer join C1180DAT.FTPAE55F "T2" on (T1.TFAZI = T2.CDDITTA and T2.CDCANT = T1.TFCAN and T3.CONTCP = T2.CODCLI and T2.CDCOMME = '' and T1.TFDTF >= T2.DTIPA)
left outer join C1180DAT.FTPAE55F "T7" on (T1.TFAZI = T7.CDDITTA and T1.TFCOM = T7.CDCOMME and T1.TFCAN = T7.CDCANT and T7.CODCLI = '' and T1.TFDTF >= T7.DTIPA)
left outer join C1180DAT.FTPAE55F "T8" on (T3.CONTCP = T8.CODCLI and T8.CDCOMME = '' and T8.CDCANT = '')
left outer join C1180DAT.FTPAF55F "T5" on (T1.TFAZI = T5.CDDTFM and T1.TFDTF = T5.DTFTFM and T1.TFNRF = T5.NRFTFM and T1.TFTPN = T5.NFATFM)
left outer join C1180DAT.FTPAI55F "T6" on T5.PROGID = T6.PROGID left outer join C1180DAT.FTPAU55F "T12" on (T1.TFAZI = T12.CDDTFAT and T1.TFDTF = T12.DATAFAT and T1.TFNRF = T12.NUMFAT and T1.TFTPN = T12.NFATFAT)
left outer join C1180DAT.FTPAX55F "T13" on (T6.PROGID = T13.PROGID and "T13".PROGRIGA = 0)
join C1180DAT.CGANA00F "T18" on "T18".CONTCA = "T3".CONTCP
join C1180DAT.FTPSET55F "T17" on 1 = 1
where (XTIPTB = '01GI' and "T1".TFNRF > 0 and "T1".TFNRF <> 9999999 and "T1".TFDTF >= 20140601 and "T1".TFFL1 <> ' ' and "T1".TFAZI = '001' and ("T5".STORFM is null or "T5".STORFM = '') and ("T5".NRFTFM is not null or (coalesce("T8".ESCLUSOFE, '') = '' and (("T8".DTIPA is null and "T18".CISOCA = 'IT' and "T1".TFDTF >= "T17".DATAINB2B) or ("T8".DTIPA is not null and (("T8".DTIPA > 0 and "T1".TFDTF >= "T8".DTIPA) or ("T8".DTIPA = 0 and ("T8".PAOPRIV = ' ' or "T1".TFDTF >= "T17".DATAINB2B)))))))
);
-- Fatture con SAP
CREATE VIEW &DT/VBFTE55V AS (
select distinct
case when "T12".NUMFAT is null then '0' else '1' end ALLEGATO,
"T1".TFDTF TFDTF,
"T1".TFTPN TFTPN,
"T1".TFNRF TFNRF,
"T1".TFTPD TFTPD,
case when "T1".TFFL2 = '' then '0' else '1' end TFFL2,
ltrim("T1".TFCLS) CLIENTE,
"T16".OFRAG DSCOCP,
case when ("T6".STATOTRAS = 'T' and "T13".PROGID is not null) then 'E' when ("T6".STATOTRAS = 'V' and "T13".PROGID is not null) then 'C' when "T6".STATOTRAS is null then 'B' else "T6".STATOTRAS end STATO,
case when ("T8".MAILPEC is not null and "T8".MAILPEC <> '') then "T8".MAILPEC else coalesce("T6".CODIDEST, case when "T8".PAOPRIV is null then '0000000' else coalesce(coalesce("T2".CODIPA, "T7".CODIPA), "T8".CODIPA) end) end IPA_PEC,
case when ("T8".PAOPRIV is null or "T8".PAOPRIV = 'R') then '1' else '0' end PRIVATO,
substr("T14".TBDAT, 63, 1) TDREG,
coalesce(substr("T14".TBDAT, 9, 20), '') DESC_GIVA,
"T6".PROGID PROGID,
"T1".TFAZI TFAZI,
case when "T13".PROGID is null then '0' else '1' end ERRORI,
"T6".EXTID EXTID,
"T6".NOMEXML NOMEXML,
case when "T8".PAOPRIV = 'R' then "T8".CODIPA else case when "T8".PAOPRIV is null then '0000000' else coalesce(coalesce("T2".CODIPA, "T7".CODIPA), "T8".CODIPA) end end CODEIPA,
"T6".SERVTRA SERVTRA,
"T5".NUMEFATT NUMEFATT
from GSDVDATW.VBFTE00F "T1" join GSDVDATW.LFTPD00F "T9" on (T1.TFAZI = T9.TDAZI and T1.TFTPD = T9.TDCDO)
join GSDVDATW.GOFFE00F "T16" on (T1.TFAZI = T16.OFAZI and T1.TFCLS = T16.OFCOD and 'C' = "T16".OFTIP)
join GSDVDATW.BTABE00F "T14" on ("T14".TBCDA = '000' and "T14".TBTIP = 'TGCA' and T9.TDCAC = T14.TBELE)
join GSDVDATW.BTABE00F "T15" on (T9.TDAZI = T15.TBCDA and "T15".TBTIP = 'TGGI' and "T15".TBELE = substr("T14".TBDAT, 63, 1))
left outer join C1180DAT.FTPAE55F "T2" on (T1.TFAZI = T2.CDDITTA and "T2".CDCANT = "T1".TFCAN and "T2".CODCLI = substr("T16".OFCOD, 3) and "T2".CDCOMME = '' and "T1".TFDTF >= "T2".DTIPA)
left outer join C1180DAT.FTPAE55F "T7" on (T1.TFAZI = T7.CDDITTA and T1.TFCOM = T7.CDCOMME and T1.TFCAN = T7.CDCANT and "T7".CODCLI = '' and "T1".TFDTF >= "T7".DTIPA)
left outer join C1180DAT.FTPAE55F "T8" on (T1.TFAZI = T8.CDDITTA and "T8".CODCLI = substr("T16".OFCOD, 3) and "T8".CDCOMME = '' and "T8".CDCANT = '')
left outer join C1180DAT.FTPAF55F "T5" on (T1.TFAZI = T5.CDDTFM and T1.TFDTF = T5.DTFTFM and T1.TFNRF = T5.NRFTFM and T1.TFTPN = T5.NFATFM and "T5".GIVAFM = substr("T14".TBDAT, 63, 1))
left outer join C1180DAT.FTPAI55F "T6" on T5.PROGID = T6.PROGID
left outer join C1180DAT.FTPAU55F "T12" on (T1.TFAZI = T12.CDDTFAT and T1.TFDTF = T12.DATAFAT and T1.TFNRF = T12.NUMFAT and T1.TFTPN = T12.NFATFAT and "T12".GIVAFAT = substr("T14".TBDAT, 63, 1))
left outer join C1180DAT.FTPAX55F "T13" on (T6.PROGID = T13.PROGID and "T13".PROGRIGA = 0)
join GSGVOBJPW.FTPSET55F "T17" on 1 = 1
where ("T1".TFNRF > 0 and "T1".TFNRF <> 9999999 and "T1".TFDTF >= 20140601 and "T1".TFFL1 <> ' ' and "T1".TFAZI = '001' and ("T5".STORFM is null or "T5".STORFM = '') and ("T5".NRFTFM is not null or (coalesce("T8".ESCLUSOFE, '') = '' and (("T8".DTIPA is null and "T16".OFISO = 'IT' and "T1".TFDTF >= "T17".DATAINB2B) or ("T8".DTIPA is not null and (("T8".DTIPA > 0 and "T1".TFDTF >= "T8".DTIPA) or ("T8".DTIPA = 0 and ("T8".PAOPRIV = ' ' or "T1".TFDTF >= "T17".DATAINB2B)))))))
)
-- Esensione clienti SMI
create view &DT/FTPAE55V AS (
select "CGPCO00F".CONTCP, "CGPCO00F".DSCOCP, "CGANA00F".CDFICA, "CGANA00F".PIVACA, "CGANA00F".CISOCA,
coalesce("FTPAE55F".CODIPA, '') CODIPA, coalesce("FTPAE55F".DTIPA,
0) DTIPA , coalesce(CDDITTA, '001') CDDITTA, coalesce("FTPAE55F".NOSPPA,
' ') NOSPPA ,
case when "FTPAE55F".CODIPA
is null then 0 else 1 end FOUND,
COMTAG,
COMTPDATO,
coalesce("FTPAE55F".MAILPEC, '') MAILPEC,
PAOPRIV,
INDISTAO,
IDFISRAF
from CGPCO00F "CGPCO00F" join CGANA00F "CGANA00F" on
CGPCO00F.CONTCP = CGANA00F.CONTCA left outer join FTPAE55F
"FTPAE55F" on (CGPCO00F.CONTCP = FTPAE55F.CODCLI and
FTPAE55F.CDCOMME = '' and FTPAE55F.CDCANT = '')
where (CLFOCP = 'C')
)
-- Esensione clienti SAP
CREATE VIEW &DT/FTPAE55V AS (
Select OFAZI CDDITTA , SubStr(OFCOD , 3) CONTCP,
OFRAG DSCOCP, OFCFI CDFICA, OFPIV PIVACA, OFISO CISOCA,
Coalesce("FTPAE55F".CODIPA, '') CODIPA,
Coalesce("FTPAE55F".DTIPA, 0) DTIPA ,
coalesce("FTPAE55F".NOSPPA,
' ') NOSPPA ,
case when "FTPAE55F".CODIPA
is null then 0 else 1 end FOUND,
Coalesce("FTPAE55F".COMTAG, '') COMTAG,
Coalesce("FTPAE55F".COMTPDATO, '') COMTPDATO ,
coalesce("FTPAE55F".MAILPEC, '') MAILPEC,
PAOPRIV,
INDISTAO,
IDFISRAF
From GOFFE00F
Left Outer Join FTPAE55F
On (OFAZI = CDDITTA And
SUBSTR(OFCOD , 3)= CODCLI And
FTPAE55F.CDCOMME = '' And
FTPAE55F.CDCANT = '')
Where OFTIP = 'C')
-- Esensione Mod. Pag. SMI
CREATE VIEW &DT/FTPAP55V AS (
select SMTAB00F.XCODTB, substr(SMTAB00F.XDATTB, 9, 40) DESC_GAL,
coalesce(FTPAP55F.TABPACP, '') TABPACP
from SMTAB00F left outer join FTPAP55F on SMTAB00F.XCODTB = FTPAP55F.TABGACP
where SMTAB00F.XTIPTB = '01CP')
-- Esensione Mod. Pag. SAP
CREATE VIEW &DT/FTPAP55V AS (
Select btabe00F.tbele XCODTB,
SubStr(btabe00F.tbdat, 9, 40) DESC_GAL,
Coalesce(FTPAP55F.TABPACP, '') TABPACp
From btabe00F left outer join
FTPAP55F on btabe00F.tbele = FTPAP55F.TABGACP
Where btabe00f.tbcda='000' AND btabe00F.tBtip = 'TGCP'
And SubStr(btabe00F.tbdat, 132, 1) in ('C',' ') )
-- Esensione IVA SMI
CREATE VIEW &DT/FTPAN55V AS (
SELECT SMTAB00F.XCODTB, SUBSTR(SMTAB00F.XD
ATTB, 9, 20) DESC_GAL, COALESCE(FTPAN55F.TABPACI, '') TABPACI,
case when FTPAN55F.TABPACI
is null then 0 else 1 end FOUND,
RIFNORM
FROM C1180DAT.SMTAB00F SMTAB00F LEFT OUTER JOIN FTPAN55F
ON SMTAB00F.XCODTB = FTPAN55F.TABGACI WHERE SMTAB00F.XTIPTB = '01CI')
-- Esensione IVA SAP
CREATE VIEW &DT/FTPAN55V AS (
Select btabe00F.tbele XCODTB,
Max(substr(btabe00F.tbdat, 9, 20)) DESC_GAL,
Coalesce(max(FTPAN55F.TABPACI), '') TABPACI ,
case when max(FTPAN55F.TABPACI)
is null then 0 else 1 end FOUND,
Coalesce(max(FTPAN55F.RIFNORM), '') RIFNORM
From btabe00F Left Outer Join
FTPAN55F on btabe00F.tbele = FTPAN55F.TABGACI
Where btabe00F.tBtip = 'TGCI' AND Substr(btabe00F.tbdat, 157, 1) ='C'
Group By btabe00F.tbele)
-- Estensione cantieri clienti SMI
select "VCANC00F".CCAZI, "CGANA00F".CONTCA, "VCANC00F".CCCAN,
"VCANC00F".CCDES, "CGANA00F".CDFICA, coalesce("FTPAE55F".CODIPA, '')
CODIPA, coalesce("FTPAE55F".DTIPA, 0) DTIPA from VCANC00F "VCANC00F"
join CGANA00F "CGANA00F" on substr(VCANC00F.CCCLI, 3) =
CGANA00F.CONTCA left outer join FTPAE55F "FTPAE55F" on
(CGANA00F.CONTCA = FTPAE55F.CODCLI and VCANC00F.CCAZI =
FTPAE55F.CDDITTA and FTPAE55F.CDCANT = VCANC00F.CCCAN and
FTPAE55F.CDCOMME = '')
-- SQL FATTURE SENZA VIEW
select distinct
case when "T12".NUMFAT is null then '0' else '1' end "F1",
"T1".TFDTF "F2",
"T1".TFTPN "F3",
"T1".TFNRF "F4",
"T1".TFTPD "F5",
case when "T1".TFFL2 = '' then '0' else '1' end "F6",
ltrim("T1".TFCLS) "F7", "T3".DSCOCP "F8",
case when ("T6".STATOTRAS = 'V' and "T13".PROGID is not null) then 'C' when "T6".STATOTRAS is null then 'B' else "T6".STATOTRAS end "F9",
case when "T8".PAOPRIV = 'R' then case when "T8".MAILPEC = '' then "T8".CODIPA else "T8".MAILPEC end else coalesce(coalesce("T2".CODIPA, "T7".CODIPA), "T8".CODIPA) end "F10",
case when "T8".PAOPRIV = 'R' then '1' else '0' end "F11",
"T9".TDREG "F12",
coalesce(substr("T4".XDATTB, 9, 20), '') "F13",
"T6".PROGID "F14",
"T1".TFAZI "F15",
case when "T13".PROGID is null then '0' else '1' end "F16",
"T6".EXTID "F17",
"T6".NOMEXML "F18",
case when "T8".PAOPRIV = 'R' then "T8".CODIPA else coalesce(coalesce("T2".CODIPA, "T7".CODIPA), "T8".CODIPA) end "F19"
from GSDVDATW.VBFTE00F "T1"
join GSDVDATW.LFTPD00F "T9" on (T1.TFAZI = T9.TDAZI and T1.TFTPD = T9.TDCDO)
join C1180DAT.CGPCO00F "T3" on substr(T1.TFCLS, 3) = T3.CONTCP
join C1180DAT.SMTAB00F "T4" on T9.TDREG = T4.XCODTB
left outer join C1180DAT.FTPAE55F "T2" on (T1.TFAZI = T2.CDDITTA and T2.CDCANT = T1.TFCAN and T3.CONTCP = T2.CODCLI and T2.CDCOMME = '' and T1.TFDTF >= T2.DTIPA)
left outer join C1180DAT.FTPAE55F "T7" on (T1.TFAZI = T7.CDDITTA and T1.TFCOM = T7.CDCOMME and T1.TFCAN = T7.CDCANT and T7.CODCLI = '' and T1.TFDTF >= T7.DTIPA)
left outer join C1180DAT.FTPAE55F "T8" on (T3.CONTCP = T8.CODCLI and T8.CDCOMME = '' and T8.CDCANT = '' and T1.TFDTF >= T8.DTIPA)
left outer join C1180DAT.FTPAF55F "T5" on (T1.TFAZI = T5.CDDTFM and T1.TFDTF = T5.DTFTFM and T1.TFNRF = T5.NRFTFM and T1.TFTPN = T5.NFATFM)
left outer join C1180DAT.FTPAI55F "T6" on T5.PROGID = T6.PROGID
left outer join C1180DAT.FTPAU55F "T12" on (T1.TFAZI = T12.CDDTFAT and T1.TFDTF = T12.DATAFAT and T1.TFNRF = T12.NUMFAT and T1.TFTPN = T12.NFATFAT)
left outer join C1180DAT.FTPAX55F "T13" on (T6.PROGID = T13.PROGID and "T13".PROGRIGA = 0)
where (XTIPTB = '01GI' and T1.TFNRF > 0 and T1.TFNRF <> 9999999 and T1.TFDTF >= 20140601 and T1.TFFL1 <> ' ' and "T8".CODIPA is not null and T1.TFAZI = '001' and (T5.STORFM is null or T5.STORFM = ''))
-- sql VIEW fatture non estraibili SMI
CREATE VIEW GSDVDATW/VBFTENE55V AS (
SELECT
"VBFTE".TFDTF,
"VBFTE".TFTPN,
"VBFTE".TFNRF,
"VBFTE".TFTPD,
substr("VBFTE".TFCLS, 3) TFCLS,
"CGPCO".DSCOCP,
"CGANA".CISOCA,
"CGANA".PIVACA,
"LFTPD".TDREG,
COALESCE(substr("TABGI".XDATTB, 9, 20), '') DESC_GIVA,
"VBFTE".TFCOM,
"VBFTE".TFCAN,
COALESCE("BCANT".CNNOM, "VCANC".CCDES,'') DESC_CANTIERE,
"VBFTE".TFFL2,
"FTPAI".STATOTRAS,
"VBFTE".TFAZI
FROM
GSDVDATW.VBFTE00F "VBFTE"
JOIN GSDVDATW.LFTPD00F "LFTPD" ON
(
VBFTE.TFAZI = LFTPD.TDAZI
AND VBFTE.TFTPD = LFTPD.TDCDO
)
JOIN C1180DAT.CGPCO00F "CGPCO" ON
substr(
"VBFTE".TFCLS,
3
)= "CGPCO".CONTCP
JOIN C1180DAT.CGANA00F "CGANA" ON
CGANA.CONTCA = CGPCO.CONTCP
JOIN C1180DAT.SMTAB00F "TABGI" ON
(
LFTPD.TDREG = TABGI.XCODTB
AND "TABGI".XTIPTB = '01GI'
)
LEFT OUTER JOIN C1180DAT.FTPAE55F "FTPAE" ON
(
CGPCO.CONTCP = FTPAE.CODCLI
AND "FTPAE".CDCOMME = ''
AND "FTPAE".CDCANT = ''
)
LEFT OUTER JOIN C1180DAT.FTPAF55F "FTPAF" ON
(
VBFTE.TFAZI = FTPAF.CDDTFM
AND VBFTE.TFDTF = FTPAF.DTFTFM
AND VBFTE.TFNRF = FTPAF.NRFTFM
AND VBFTE.TFTPN = FTPAF.NFATFM
AND "FTPAF".STORFM = ''
)
LEFT OUTER JOIN C1180DAT.FTPAI55F "FTPAI" ON
FTPAF.PROGID = FTPAI.PROGID
LEFT OUTER JOIN GSDVDATW.BCANT00F "BCANT" ON
(
VBFTE.TFAZI = BCANT.CNAZI
AND VBFTE.TFCOM = BCANT.CNCOM
AND VBFTE.TFCAN = BCANT.CNCOD
)
LEFT OUTER JOIN GSDVDATW.VCANC00F "VCANC" ON
(
VBFTE.TFAZI = VCANC.CCAZI
AND VBFTE.TFCLS = VCANC.CCCLI
AND VBFTE.TFCAN = VCANC.CCCAN
)
WHERE
(
"VBFTE".TFNRF > 0
AND "VBFTE".TFNRF <> 9999999
AND "VBFTE".TFDTF >= 20140601
AND "VBFTE".TFFL1 <> ' '
AND "FTPAE".CODIPA IS NULL
));
-- sql VIEW fatture non estraibili SAP
CREATE VIEW &DT/VBFTENE55V AS (
select VBFTE.TFDTF ,
VBFTE.TFTPN ,
VBFTE.TFNRF ,
VBFTE.TFTPD ,
substring(VBFTE.TFCLS, 3) TFCLS,
GOFFE.OFRAG DSCOCP ,
GOFFE.OFISO CISOCA,
GOFFE.OFPIV PIVACA,
substr(TGCA.tbdat, 63 , 1) TDREG ,
coalesce(substr(TGCA.TBDAT, 9, 20), '') DESC_GIVA,
VBFTE.TFFL2 ,
VBFTE.TFCOM,
VBFTE.TFCAN,
COALESCE(BCANT.CNNOM, VCANC.CCDES,'') DESC_CANTIERE,
FTPAI.STATOTRAS,
VBFTE.TFAZI
FROM
VBFTE00F VBFTE
JOIN LFTPD00F LFTPD ON
VBFTE.TFAZI = LFTPD.TDAZI
AND VBFTE.TFTPD = LFTPD.TDCDO
JOIN GOFFE00F GOFFE ON
VBFTE.TFAZI=GOFFE.OFAZI AND 'C' = GOFFE.OFTIP AND VBFTE.TFCLS=GOFFE.OFCOD
JOIN btabe00f TGCA on TGCA.TBCDA = '000' AND TGCA.TBTIP = 'TGCA' AND TGCA.TBELE = LFTPD.TDCAC
LEFT OUTER JOIN FTPAE55F FTPAE ON
SUBSTR(VBFTE.TFCLS , 3) = FTPAE.CODCLI
AND FTPAE.CDCOMME = ''
AND FTPAE.CDCANT = ''
LEFT OUTER JOIN FTPAF55F FTPAF ON
VBFTE.TFAZI = FTPAF.CDDTFM
AND VBFTE.TFDTF = FTPAF.DTFTFM
AND VBFTE.TFNRF = FTPAF.NRFTFM
AND VBFTE.TFTPN = FTPAF.NFATFM
AND FTPAF.STORFM = ''
LEFT OUTER JOIN FTPAI55F FTPAI ON
FTPAF.PROGID = FTPAI.PROGID
LEFT OUTER JOIN BCANT00F BCANT ON
VBFTE.TFAZI = BCANT.CNAZI
AND VBFTE.TFCOM = BCANT.CNCOM
AND VBFTE.TFCAN = BCANT.CNCOD
LEFT OUTER JOIN VCANC00F VCANC ON
VBFTE.TFAZI = VCANC.CCAZI
AND VBFTE.TFCLS = VCANC.CCCLI
AND VBFTE.TFCAN = VCANC.CCCAN
WHERE
VBFTE.TFNRF > 0
AND VBFTE.TFNRF <> 9999999
AND VBFTE.TFDTF >= 20140601
AND VBFTE.TFFL1 <> ' '
AND FTPAE.CODIPA IS NULL);
-- sql fatture non estraibili senza VIEW
SELECT
"VBFTE".TFDTF "F0",
"VBFTE".TFTPN "F1",
"VBFTE".TFNRF "F2",
"VBFTE".TFTPD "F3",
substr(
"VBFTE".TFCLS,
3
) "F4",
"CGPCO".DSCOCP "F5",
"CGANA".CISOCA "F6",
"CGANA".PIVACA "F7",
"LFTPD".TDREG "F8",
COALESCE(
substr(
"TABGI".XDATTB,
9,
20
),
''
) "F9",
"VBFTE".TFCOM "F10",
"VBFTE".TFCAN "F11",
COALESCE(
"BCANT".CNNOM,
"VCANC".CCDES,
''
) "F12",
"VBFTE".TFFL2 "F13",
"FTPAI".STATOTRAS "F14",
"VBFTE".TFAZI "F15"
FROM
GSDVDATW.VBFTE00F "VBFTE"
JOIN GSDVDATW.LFTPD00F "LFTPD" ON
(
VBFTE.TFAZI = LFTPD.TDAZI
AND VBFTE.TFTPD = LFTPD.TDCDO
)
JOIN C1180DAT.CGPCO00F "CGPCO" ON
substr(
"VBFTE".TFCLS,
3
)= "CGPCO".CONTCP
JOIN C1180DAT.CGANA00F "CGANA" ON
CGANA.CONTCA = CGPCO.CONTCP
JOIN C1180DAT.SMTAB00F "TABGI" ON
(
LFTPD.TDREG = TABGI.XCODTB
AND "TABGI".XTIPTB = '01GI'
)
LEFT OUTER JOIN C1180DAT.FTPAE55F "FTPAE" ON
(
CGPCO.CONTCP = FTPAE.CODCLI
AND "FTPAE".CDCOMME = ''
AND "FTPAE".CDCANT = ''
)
LEFT OUTER JOIN C1180DAT.FTPAF55F "FTPAF" ON
(
VBFTE.TFAZI = FTPAF.CDDTFM
AND VBFTE.TFDTF = FTPAF.DTFTFM
AND VBFTE.TFNRF = FTPAF.NRFTFM
AND VBFTE.TFTPN = FTPAF.NFATFM
AND "FTPAF".STORFM = ''
)
LEFT OUTER JOIN C1180DAT.FTPAI55F "FTPAI" ON
FTPAF.PROGID = FTPAI.PROGID
LEFT OUTER JOIN GSDVDATW.BCANT00F "BCANT" ON
(
VBFTE.TFAZI = BCANT.CNAZI
AND VBFTE.TFCOM = BCANT.CNCOM
AND VBFTE.TFCAN = BCANT.CNCOD
)
LEFT OUTER JOIN GSDVDATW.VCANC00F "VCANC" ON
(
VBFTE.TFAZI = VCANC.CCAZI
AND VBFTE.TFCLS = VCANC.CCCLI
AND VBFTE.TFCAN = VCANC.CCCAN
)
WHERE
(
"VBFTE".TFNRF > 0
AND "VBFTE".TFNRF <> 9999999
AND "VBFTE".TFDTF >= 20140601
AND "VBFTE".TFFL1 <> ' '
AND "FTPAE".CODIPA IS NULL
AND "VBFTE".TFAZI = '001'
AND "VBFTE".TFDTF >= 20140606
)
ORDER BY
F0 DESC,
F2 DESC,
F8 ASC,
F4 ASC

View File

@@ -0,0 +1,136 @@
#Thu Feb 05 14:08:00 CET 2026
TABLE_5.0.0=FTPAAB55F
TABLE_6.0.0=FTPAE55F
TABLE_7.0.0=CGU15I0F
TABLE_8.0.0=CGU15D0F,CGU15H0F
TABLE_9.0.0=FTPAN55F
TABLE_10.0.0=FTPAAB55F,FTPAE55F,FTPAY55F,FTPSET55F
TABLE_11.0.0=C770D16F,C770I16F,FTPAS55F,FTPSET55F
TABLE_12.0.0=FTPAAB55F,FTPAE55F,FTPAI55F,FTPSET55F
TABLE_13.0.0=CGU15B0F,CGU15D0F,CGU15H0F,CGU15I0F
TABLE_14.0.0=C770B16F,C770I16F,FTPAAB55F,FTPAE55F,FTPSET55F
TABLE_14.1.0=FTPEF55F,FTPEL55F
PGM_15.0.0=FTPA,FTLPA,FTPACAN,FTPACANP
TABLE_15.0.0=FTPAU55F,FTPAO55F,FTPAB55F,FTPAI55F
PGM_15.1.0=FTPA,FTLPA,FTPACAN,FTPACANP
TABLE_15.1.0=FTPAE55F,FTPSET55F
TABLE_15.2.0=CGETA00F,CGETB00F
PGM_15.4.0=FTPA,FTPACAN
TABLE_15.4.0=FTPSET55F
PGM_15.5.0=FTPA,FTPACAN
TABLE_15.5.0=C770Z16F,C770B16F,C770I16F,C770Y16F
EXIT_15.6.0=
PGM_15.6.0=FTPA,FTLPA,FTPACAN,FTPACANP
TABLE_15.6.0=FTPSET55F,FTPAU55F,FTPAY55F,FTPAB55F,FTPAD55F,FTPAG55F,FTPAO55F,FTPAT55F,FTPAZ55F
EXIT_15.7.0=FTPAEXITI,FTPAEXITTO,FTPAEXITRI,FTPAEXITL,FTPAEXITCC,FTPAEXITIC,FTPAEXITCP,FTPAEXITCD
PGM_15.7.0=FTPA,FTPACAN,FTPACANP,FTLPA
TABLE_15.7.0=FTPAB55F,FTPAD55F,FTPAG55F,FTPAO55F,FTPAT55F,FTPAZ55F,FTPAC55F,FTPAE55F,FTPAF55F,FTPAU55F,FTPSET55F,FTPAB55F,FTPAD55F,FTPAG55F,FTPAO55F,FTPAT55F,FTPAZ55F,FTPAC55F,FTPAE55F,FTPAF55F,FTPAU55F,FTPSET55F,FTPAAB55F
EXIT_15.8.0=
PGM_15.8.0=
TABLE_15.8.0=FTPSET55F,FTPA255F,FTPAAB55F,FTXCI00F
EXIT_15.9.0=
PGM_15.9.0=
TABLE_15.9.0=
EXIT_15.10.0=FTPAEXITIN,FTPAEXITI,FTPAEXITTO,FTPAEXITRI,FTPAEXITL,FTPAEXITCC,FTPAEXITIC,FTPAEXITCP,FTPAEXITCD,FTAUEXIT,FTAUEXITIN,FTAUEXITI,FTAUEXITTO,FTAUEXITRI,FTAUEXITL,FTAUEXITCC,FTAUEXITIC,FTAUEXITCP,FTAUEXITCD,FTLPAEXTP
PGM_15.10.0=FTPA,FTPACAN,FTLPA,FTAU
TABLE_15.10.0=FTPSET55F,FTPAC55F,FTPAF55F,FTPAE55F,FTXCI00F
EXIT_15.11.0=FTLPAEXTP
PGM_15.11.0=FTPA,FTPACAN,FTLPA,FTPACANP
TABLE_15.11.0=FTPAF55F,FTPSET55F,FTXCF00F,FTXCI00F,FTXCTE0F,FTXCU00F,FTXCQ00F,FTXCA00F,FTXCB00F,FTXCD00F,FTXCG00F,FTXCJ00F,FTXCK00F,FTXCL00F,FTXCM00F,FTXCO00F,FTXCR00F,FTXCS00F,FTXCT00F,FTXCV00F,FTXCZ00F
EXIT_15.12.0=
PGM_15.12.0=FTPA,FTLPA,FTPACAN,FTPACANP,FTAU
TABLE_15.12.0=C770B16F,C770I16F,FTPAI55F,FTPAJ55F,FTPSET55F,FTXCF00F
EXIT_15.13.0=
PGM_15.13.0=FTPA,FTLPA,FTPACAN,FTPACANP,FTAU
TABLE_15.13.0=FTPSET55F,FTPAP55F,FTPAW55F,FTPAE55F
EXIT_15.14.0=
PGM_15.14.0=FTPA,FTLPA,FTPACAN,FTPACANP,FTAU
TABLE_15.14.0=FTPAI55F,FTPSET55F
EXIT_15.15.0=
PGM_15.15.0=
TABLE_15.15.0=FTPSET55F,FTPAE55F
EXIT_15.16.0=
PGM_15.16.0=CGCEU15
TABLE_15.16.0=CGU15H0F
EXIT_15.17.0=
PGM_15.17.0=
TABLE_15.17.0=FTPSET55F,FTPAAB55F
EXIT_15.18.0=
PGM_15.18.0=
TABLE_15.18.0=FTXCL00F,FTXCQ00F,FTXCV00F,FTXCS00F
EXIT_16.0.0=FTPAEXITIN,FTPAEXITI,FTPAEXITTO,FTPAEXITRI,FTPAEXITL,FTPAEXITCC,FTPAEXITIC,FTPAEXITCP,FTPAEXITCD,FTPAEXIT1,FTAUEXIT,FTAUEXITIN,FTAUEXITI,FTAUEXITTO,FTAUEXITRI,FTAUEXITL,FTAUEXITCC,FTAUEXITIC,FTAUEXITCP,FTAUEXITCD,FTLPAEXTP,FTPAEXITLF,FTPACANX
PGM_16.0.0=FTPA,FTAU,FTLPA,FTPACAN,FTPACANP
TABLE_16.0.0=FTPAL55F,FTPAQ55F,FTPAV55F,FTPAN55F,FTPAS55F,FTPAF55F,FTXCF00F,FTPSET55F
EXIT_16.1.0=
PGM_16.1.0=
TABLE_16.1.0=CGDTD00F
EXIT_16.2.0=
PGM_16.2.0=
TABLE_16.2.0=CRDIA00F,CRDII00F,FTPAAB55F,FTPSET55F
EXIT_16.3.0=
PGM_16.3.0=FTPE
TABLE_16.3.0=FTPEO55F
EXIT_16.4.0=
PGM_16.4.0=
TABLE_16.4.0=FTPSET55F
EXIT_16.5.0=
PGM_16.5.0=
TABLE_16.5.0=FTPSET55F
EXIT_16.6.0=
PGM_16.6.0=FTPE
TABLE_16.6.0=FTPSET55F,FTPEI55F
EXIT_16.7.0=
PGM_16.7.0=
TABLE_16.7.0=FTPSET55F,FTPAAB55F,CGETN00F,CGETB00F
EXIT_16.8.0=
PGM_16.8.0=CGCEU15
TABLE_16.8.0=CGU15D0F,CGU15H0F
EXIT_16.9.0=
PGM_16.9.0=CGCEU15
TABLE_16.9.0=FTXCI00F,FTPSET55F
EXIT_17.0.0=FTPAEXITIN,FTPAEXITI,FTPAEXITTO,FTPAEXITRI,FTPAEXITL,FTPAEXITCC,FTPAEXITIC,FTPAEXITCP,FTPAEXITCD,FTPAEXIT1,FTAUEXIT,FTAUEXITIN,FTAUEXITI,FTAUEXITTO,FTAUEXITRI,FTAUEXITL,FTAUEXITCC,FTAUEXITIC,FTAUEXITCP,FTAUEXITCD,FTLPAEXTP,FTPAEXITLF,FTPACANX,FTPAEXITTD,FTAUEXITTD
PGM_17.0.0=FTPA,FTAU,FTLPA,FTPACAN,FTPACANP
TABLE_17.0.0=FTPSET55F,FTPAN55F,FTPAL55F
EXIT_17.1.0=FTLPAEXTP
PGM_17.1.0=FTLPA
TABLE_17.1.0=CGLQT00F,FTPSET55F,CRDITM0F,CRDII00F,CRDID00F,FTPAAB55F,C770D16F
EXIT_17.2.0=
PGM_17.2.0=
TABLE_17.2.0=
EXIT_17.3.0=
PGM_17.3.0=
TABLE_17.3.0=FTPSET55F,FTPAAB55F
EXIT_17.4.0=
PGM_17.4.0=FTPA,FTPACAN,FTPACANP,FTLPA,FTPE
TABLE_17.4.0=FTPSET55F,FTPEI55F,FTPEFN55F,FTPAF55F
EXIT_17.5.0=
PGM_17.5.0=CGCEU15
TABLE_17.5.0=FTPSET55F,CGU15I0F,CGU15B0F,CGU15D0F
EXIT_17.6.0=
PGM_17.6.0=FTPACANP
TABLE_17.6.0=CGIGC00F
EXIT_17.7.0=
PGM_17.7.0=
TABLE_17.7.0=FTPSET55F
EXIT_17.8.0=
PGM_17.8.0=FTPA,FTAU,FTLPA
TABLE_17.8.0=CGLQT00F,FTPSET55F,FTPAN55F,FTPEF55F
EXIT_17.9.0=
PGM_17.9.0=CGCEU15
TABLE_17.9.0=FTPSET55F
EXIT_17.10.0=
PGM_17.10.0=
TABLE_17.10.0=FTPSET55F,FTPAAB55F,FTXCF00F
EXIT_18.0.0=FTPAEXITIN,FTPAEXITI,FTPAEXITTO,FTPAEXITRI,FTPAEXITL,FTPAEXITCC,FTPAEXITIC,FTPAEXITCP,FTPAEXITCD,FTPAEXIT1,FTLPAEXTP,FTPAEXITLF,FTPAEXITTD
PGM_18.0.0=FTPA,FTLPA,CGCEU15
TABLE_18.0.0=FTPSET55F
EXIT_18.1.0=
PGM_18.1.0=FTPE,FTLPA
TABLE_18.1.0=FTPSET55F,CRDIT00F,CRDITM0F,FTPEL55F
EXIT_19.0.0=
PGM_19.0.0=FTLPA,CGCEU15
TABLE_19.0.0=CGU15D0F,CGU15H0F,FTPSET55F
EXIT_19.2.0=
PGM_19.2.0=
TABLE_19.2.0=
VERSION=19.2.0

View File

@@ -0,0 +1,13 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Ixconfiguration
Bundle-SymbolicName: it.smi.adex.ixconfiguration
Bundle-Version: 19.1.0
Bundle-Activator: it.smi.adex.ixconfiguration.Activator
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
it.smi.adex.utils;bundle-version="1.0.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-ClassPath: it.smi.adex.ixconfiguration.jar
Export-Package: it.smi.adex.ixconfiguration

View File

@@ -0,0 +1,507 @@
<?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/v2.0"
targetNamespace="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v2.0" version="1.0">
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd" />
<!-- =================================================================== -->
<!-- ELEMENTI -->
<!-- =================================================================== -->
<xs:element name="DatiFattura" type="DatiFatturaType">
<xs:annotation>
<xs:documentation>XML schema fatture emesse e ricevute ex D.Lgs. 127/205 (art.1, c.3) 2.0</xs:documentation>
</xs:annotation>
</xs:element>
<!-- =================================================================== -->
<!-- TIPI -->
<!-- =================================================================== -->
<xs:complexType name="DatiFatturaType">
<xs:sequence>
<xs:element name="DatiFatturaHeader" type="DatiFatturaHeaderType" minOccurs="0" />
<xs:choice>
<xs:element name="DTE" type="DTEType" />
<xs:element name="DTR" type="DTRType" />
<xs:element name="ANN" type="ANNType" />
</xs:choice>
<xs:element ref ="ds:Signature" minOccurs="0" />
</xs:sequence>
<xs:attribute name="versione" type="VersioneType" use="required" />
</xs:complexType>
<xs:complexType name="DatiFatturaHeaderType">
<xs:sequence>
<xs:element name="ProgressivoInvio" type="String10Type" minOccurs="0" />
<xs:element name="Dichiarante" type="DichiaranteType" minOccurs="0" />
<xs:element name="IdSistema" type="CodiceFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DichiaranteType">
<xs:sequence>
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" />
<xs:element name="Carica" type="CaricaType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DTEType">
<xs:sequence>
<xs:element name="CedentePrestatoreDTE" type="CedentePrestatoreDTEType" />
<xs:element name="CessionarioCommittenteDTE" type="CessionarioCommittenteDTEType" maxOccurs="1000"/>
<xs:element name="Rettifica" type="RettificaType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DTRType">
<xs:sequence>
<xs:element name="CessionarioCommittenteDTR" type="CessionarioCommittenteDTRType" />
<xs:element name="CedentePrestatoreDTR" type="CedentePrestatoreDTRType" maxOccurs="1000" />
<xs:element name="Rettifica" type="RettificaType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="ANNType">
<xs:sequence>
<xs:element name="IdFile" type="String18Type" />
<xs:element name="Posizione" type="PosizioneType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CedentePrestatoreDTEType">
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cedente / Prestatore</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliITType" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiNoSedeType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CedentePrestatoreDTRType">
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cedente / Prestatore</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliType" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiNoCAPType" />
<xs:element name="DatiFatturaBodyDTR" type="DatiFatturaBodyDTRType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CessionarioCommittenteDTEType">
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cessionario / Committente</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliNoIVAType" minOccurs="0" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiNoCAPType" minOccurs="0" />
<xs:element name="DatiFatturaBodyDTE" type="DatiFatturaBodyDTEType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CessionarioCommittenteDTRType">
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cessionario / Committente</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliITType" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiNoSedeType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiFatturaBodyDTEType">
<xs:sequence>
<xs:element name="DatiGenerali" type="DatiGeneraliType" />
<xs:element name="DatiRiepilogo" type="DatiRiepilogoType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiFatturaBodyDTRType">
<xs:sequence>
<xs:element name="DatiGenerali" type="DatiGeneraliDTRType" />
<xs:element name="DatiRiepilogo" type="DatiRiepilogoType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RettificaType">
<xs:sequence>
<xs:element name="IdFile" type="String18Type" />
<xs:element name="Posizione" type="PosizioneType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdentificativiFiscaliType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleType" />
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdentificativiFiscaliITType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleITType" />
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdentificativiFiscaliNoIVAType">
<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="AltriDatiIdentificativiNoSedeType">
<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" minOccurs="0" />
<xs:element name="StabileOrganizzazione" type="IndirizzoType" minOccurs="0" />
<xs:element name="RappresentanteFiscale" type="RappresentanteFiscaleITType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="AltriDatiIdentificativiNoCAPType">
<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="IndirizzoNoCAPType" />
<xs:element name="StabileOrganizzazione" type="IndirizzoType" minOccurs="0" />
<xs:element name="RappresentanteFiscale" type="RappresentanteFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IndirizzoNoCAPType">
<xs:sequence>
<xs:element name="Indirizzo" type="String60LatinType" />
<xs:element name="NumeroCivico" type="NumeroCivicoType" minOccurs="0" />
<xs:element name="CAP" type="CAPType" minOccurs="0" />
<xs:element name="Comune" type="String60LatinType" />
<xs:element name="Provincia" type="ProvinciaType" minOccurs="0" />
<xs:element name="Nazione" type="NazioneType" />
</xs:sequence>
</xs:complexType>
<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" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RappresentanteFiscaleType">
<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="RappresentanteFiscaleITType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleITIvaType" />
<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="DatiGeneraliType">
<xs:sequence>
<xs:element name="TipoDocumento" type="TipoDocumentoType" />
<xs:element name="Data" type="DataFatturaType" />
<xs:element name="Numero" type="String20Type" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiGeneraliDTRType">
<xs:sequence>
<xs:element name="TipoDocumento" type="TipoDocumentoType" />
<xs:element name="Data" type="DataFatturaType" />
<xs:element name="Numero" type="String20Type" />
<xs:element name="DataRegistrazione" type="DataFatturaType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiRiepilogoType">
<xs:sequence>
<xs:element name="ImponibileImporto" type="Amount2DecimalType" />
<xs:element name="DatiIVA" type="DatiIVAType" />
<xs:element name="Natura" type="NaturaType" minOccurs="0" />
<xs:element name="Detraibile" type="RateType" minOccurs="0" />
<xs:element name="Deducibile" type="DeducibileType" minOccurs="0" />
<xs:element name="EsigibilitaIVA" type="EsigibilitaIVAType" 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="IdFiscaleType">
<xs:sequence>
<xs:element name="IdPaese" type="NazioneType" />
<xs:element name="IdCodice" type="CodiceType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdFiscaleITType">
<xs:sequence>
<xs:element name="IdPaese" type="NazioneITType" />
<xs:element name="IdCodice" type="CodiceType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdFiscaleITIvaType">
<xs:sequence>
<xs:element name="IdPaese" type="NazioneITType" />
<xs:element name="IdCodice" type="CodiceIvaType" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="CodiceFiscaleType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z0-9]{11,16}" />
</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="NazioneITType">
<xs:restriction base="xs:string">
<xs:length value="2" />
<xs:enumeration value="IT">
<xs:annotation><xs:documentation>Italia</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CodiceType">
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="28" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CodiceIvaType">
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="11" />
</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="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="ProvinciaType">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{2}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TipoDocumentoType">
<xs:restriction base="xs:string">
<xs:length value="4" />
<xs:enumeration value="TD01">
<xs:annotation><xs:documentation>Fattura</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD04">
<xs:annotation><xs:documentation>Nota di credito</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD05">
<xs:annotation><xs:documentation>Nota di debito</xs:documentation></xs:annotation>
</xs:enumeration>
<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="TD10">
<xs:annotation><xs:documentation>Acquisto beni intra</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD11">
<xs:annotation><xs:documentation>Acquisto servizi intra</xs:documentation></xs:annotation>
</xs:enumeration>
</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="PosizioneType">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="9999999" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CaricaType">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="15" />
</xs:restriction>
</xs:simpleType>
<!-- STRINGHE -->
<xs:simpleType name="String10Type">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,10})" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String18Type">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,18})" />
</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="VersioneType">
<xs:restriction base="xs:string">
<xs:length value="5" />
<xs:enumeration value="DAT20">
<xs:annotation><xs:documentation>Dati fatture versione 2.0</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NaturaType">
<xs:restriction base="xs:string">
<xs:enumeration value="N1">
<xs:annotation><xs:documentation>Escluse ex. art. 15</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="N2">
<xs:annotation><xs:documentation>Non soggette</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="N3">
<xs:annotation><xs:documentation>Non Imponibili</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</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="N6">
<xs:annotation><xs:documentation>Inversione contabile (reverse charge)</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="N7">
<xs:annotation>
<xs:documentation> IVA assolta in altro stato UE
(vendite a distanza ex art. 40 c. 3 e 4 e art. 41 c. 1 lett. b, DL 331/93;
prestazione di servizi di telecomunicazioni, tele-radiodiffusione ed elettronici
ex art. 7-sexies lett. f, g, art. 74-sexies DPR 633/72)
</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DeducibileType">
<xs:restriction base="xs:string">
<xs:length value="2" />
<xs:enumeration value="SI">
<xs:annotation><xs:documentation>Spesa deducibile</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EsigibilitaIVAType">
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="1" />
<xs:enumeration value="D">
<xs:annotation>
<xs:documentation>esigibilità differita</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="I">
<xs:annotation>
<xs:documentation>esigibilità immediata</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="S">
<xs:annotation>
<xs:documentation>scissione dei pagamenti</xs:documentation>
</xs:annotation>
</xs:enumeration>
</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>
<!-- NUMERI -->
<xs:simpleType name="Amount2DecimalType">
<xs:restriction base="xs:decimal">
<xs:pattern value="[\-]?[0-9]{1,11}\.[0-9]{2}" />
</xs:restriction>
</xs:simpleType>
</xs:schema>

View File

@@ -0,0 +1,519 @@
<?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/v2.0"
targetNamespace="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v2.0"
version="2.1.1">
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd" />
<!-- =================================================================== -->
<!-- ELEMENTI -->
<!-- =================================================================== -->
<xs:element name="DatiFattura" type="DatiFatturaType">
<xs:annotation>
<xs:documentation>XML schema fatture emesse e ricevute ex D.Lgs. 127/205 (art.1, c.3) 2.1.1</xs:documentation>
</xs:annotation>
</xs:element>
<!-- =================================================================== -->
<!-- TIPI -->
<!-- =================================================================== -->
<xs:complexType name="DatiFatturaType">
<xs:sequence>
<xs:element name="DatiFatturaHeader" type="DatiFatturaHeaderType" minOccurs="0" />
<xs:choice>
<xs:element name="DTE" type="DTEType" />
<xs:element name="DTR" type="DTRType" />
<xs:element name="ANN" type="ANNType" />
</xs:choice>
<xs:element ref ="ds:Signature" minOccurs="0" />
</xs:sequence>
<xs:attribute name="versione" type="VersioneType" use="required" />
</xs:complexType>
<xs:complexType name="DatiFatturaHeaderType">
<xs:sequence>
<xs:element name="ProgressivoInvio" type="String10Type" minOccurs="0" />
<xs:element name="Dichiarante" type="DichiaranteType" minOccurs="0" />
<xs:element name="IdSistema" type="CodiceFiscaleType" minOccurs="0" />
<xs:element name="SpazioDatiFattura" type="xs:normalizedString" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DichiaranteType">
<xs:sequence>
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" />
<xs:element name="Carica" type="CaricaType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DTEType">
<xs:sequence>
<xs:element name="CedentePrestatoreDTE" type="CedentePrestatoreDTEType" />
<xs:element name="CessionarioCommittenteDTE" type="CessionarioCommittenteDTEType" minOccurs="1" maxOccurs="1000" />
<xs:element name="Rettifica" type="RettificaType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DTRType">
<xs:sequence>
<xs:element name="CessionarioCommittenteDTR" type="CessionarioCommittenteDTRType" />
<xs:element name="CedentePrestatoreDTR" type="CedentePrestatoreDTRType" minOccurs="1" maxOccurs="1000" />
<xs:element name="Rettifica" type="RettificaType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="ANNType">
<xs:sequence>
<xs:element name="IdFile" type="String18Type" />
<xs:element name="Posizione" type="PosizioneType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CedentePrestatoreDTEType">
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cedente / Prestatore</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliITType" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiITType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cedente / Prestatore</xs:documentation></xs:annotation>
<xs:complexType name="CedentePrestatoreDTRType">
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliType" minOccurs="0" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiType" minOccurs="0" />
<xs:element name="DatiFatturaBodyDTR" type="DatiFatturaBodyDTRType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CessionarioCommittenteDTEType">
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cessionario / Committente</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliNoIVAType" minOccurs="0" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiType" minOccurs="0" />
<xs:element name="DatiFatturaBodyDTE" type="DatiFatturaBodyDTEType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CessionarioCommittenteDTRType">
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cessionario / Committente</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliITType" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiITType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiFatturaBodyDTEType">
<xs:sequence>
<xs:element name="DatiGenerali" type="DatiGeneraliDTEType" />
<xs:element name="DatiRiepilogo" type="DatiRiepilogoType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiFatturaBodyDTRType">
<xs:sequence>
<xs:element name="DatiGenerali" type="DatiGeneraliDTRType" />
<xs:element name="DatiRiepilogo" type="DatiRiepilogoType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RettificaType">
<xs:sequence>
<xs:element name="IdFile" type="String18Type" />
<xs:element name="Posizione" type="PosizioneType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdentificativiFiscaliType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleType" />
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdentificativiFiscaliITType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleITType" />
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdentificativiFiscaliNoIVAType">
<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="AltriDatiIdentificativiITType">
<xs:sequence>
<xs:element name="Denominazione" type="String80LatinType" minOccurs="0" />
<xs:element name="Nome" type="String60LatinType" minOccurs="0" />
<xs:element name="Cognome" type="String60LatinType" minOccurs="0" />
<xs:element name="Sede" type="IndirizzoType" minOccurs="0" />
<xs:element name="StabileOrganizzazione" type="IndirizzoType" minOccurs="0" />
<xs:element name="RappresentanteFiscale" type="RappresentanteFiscaleITType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="AltriDatiIdentificativiType">
<xs:sequence>
<xs:element name="Denominazione" type="String80LatinType" minOccurs="0" />
<xs:element name="Nome" type="String60LatinType" minOccurs="0" />
<xs:element name="Cognome" type="String60LatinType" minOccurs="0" />
<xs:element name="Sede" type="IndirizzoType" minOccurs="0" />
<xs:element name="StabileOrganizzazione" type="IndirizzoType" minOccurs="0" />
<xs:element name="RappresentanteFiscale" type="RappresentanteFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IndirizzoType">
<xs:sequence>
<xs:element name="Indirizzo" type="String60LatinType" minOccurs="0" />
<xs:element name="NumeroCivico" type="NumeroCivicoType" minOccurs="0" />
<xs:element name="CAP" type="CAPType" minOccurs="0" />
<xs:element name="Comune" type="String60LatinType" minOccurs="0" />
<xs:element name="Provincia" type="ProvinciaType" minOccurs="0" />
<xs:element name="Nazione" type="NazioneType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RappresentanteFiscaleType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleType" minOccurs="0" />
<xs:element name="Denominazione" type="String80LatinType" minOccurs="0" />
<xs:element name="Nome" type="String60LatinType" minOccurs="0" />
<xs:element name="Cognome" type="String60LatinType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RappresentanteFiscaleITType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleITType" minOccurs="0" />
<xs:element name="Denominazione" type="String80LatinType" minOccurs="0" />
<xs:element name="Nome" type="String60LatinType" minOccurs="0" />
<xs:element name="Cognome" type="String60LatinType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiGeneraliDTEType">
<xs:sequence>
<xs:element name="TipoDocumento" type="TipoDocumentoType" />
<xs:element name="Data" type="DataFatturaType" />
<xs:element name="Numero" type="String20Type" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiGeneraliDTRType">
<xs:sequence>
<xs:element name="TipoDocumento" type="TipoDocumentoType" />
<xs:element name="Data" type="DataFatturaType" minOccurs="0" />
<xs:element name="Numero" type="String20Type" />
<xs:element name="DataRegistrazione" type="DataFatturaType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiRiepilogoType">
<xs:sequence>
<xs:element name="ImponibileImporto" type="Amount2DecimalType" />
<xs:element name="DatiIVA" type="DatiIVAType" />
<xs:element name="Natura" type="NaturaType" minOccurs="0" />
<xs:element name="Detraibile" type="RateType" minOccurs="0" />
<xs:element name="Deducibile" type="DeducibileType" minOccurs="0" />
<xs:element name="EsigibilitaIVA" type="EsigibilitaIVAType" 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="IdFiscaleType">
<xs:sequence>
<xs:element name="IdPaese" type="NazioneType" />
<xs:element name="IdCodice" type="CodiceType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdFiscaleITType">
<xs:sequence>
<xs:element name="IdPaese" type="NazioneITType" />
<xs:element name="IdCodice" type="CodiceIvaType" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="CodiceFiscaleType">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="[A-Z0-9]{11,16}" />
</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="NazioneITType">
<xs:restriction base="xs:string">
<xs:length value="2" />
<xs:enumeration value="IT">
<xs:annotation><xs:documentation>Italia</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CodiceType">
<xs:restriction base="xs:normalizedString">
<xs:minLength value="1" />
<xs:maxLength value="28" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CodiceIvaType">
<xs:restriction base="xs:normalizedString">
<xs:minLength value="1" />
<xs:maxLength value="11" />
</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="CAPType">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,5})" />
</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="TipoDocumentoType">
<xs:restriction base="xs:string">
<xs:length value="4" />
<xs:enumeration value="TD01">
<xs:annotation><xs:documentation>Fattura</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD04">
<xs:annotation><xs:documentation>Nota di credito</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD05">
<xs:annotation><xs:documentation>Nota di debito</xs:documentation></xs:annotation>
</xs:enumeration>
<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="TD10">
<xs:annotation><xs:documentation>Acquisto beni intra</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD11">
<xs:annotation><xs:documentation>Acquisto servizi intra</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD12">
<xs:annotation><xs:documentation>Documento riepilogativo (art. 6, DPR 695/1996)</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DataFatturaType">
<xs:restriction base="xs:date">
<xs:minInclusive value="1970-01-01" />
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PosizioneType">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="9999999" />
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CaricaType">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="15" />
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
<!-- STRINGHE -->
<xs:simpleType name="String10Type">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,10})" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String18Type">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,18})" />
</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="VersioneType">
<xs:restriction base="xs:string">
<xs:length value="5" />
<xs:enumeration value="DAT20">
<xs:annotation><xs:documentation>Dati fatture versione 2.1</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NaturaType">
<xs:restriction base="xs:string">
<xs:enumeration value="N1">
<xs:annotation><xs:documentation>Escluse ex. art. 15</xs:documentation></xs:annotation>
</xs:enumeration>
<!-- IL CODICE SEGUENTE (N2) NON SARA' PIU' VALIDO A PARTIRE DAL PRIMO OTTOBRE 2020-->
<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 A PARTIRE DAL PRIMO OTTOBRE 2020-->
<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>
<!-- IL CODICE SEGUENTE (N6) NON SARA' PIU' VALIDO A PARTIRE DAL PRIMO OTTOBRE 2020-->
<xs:enumeration value="N6">
<xs:annotation><xs:documentation>Inversione contabile</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="N7">
<xs:annotation>
<xs:documentation> IVA assolta in altro stato UE (vendite a distanza ex art. 40 c. 3 e 4 e art. 41 c. 1 lett. b, DL 331/93;
prestazione di servizi di telecomunicazioni, tele-radiodiffusione ed elettronici
ex art. 7-sexies lett. f, g, art. 74-sexies DPR 633/72)
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DeducibileType">
<xs:restriction base="xs:string">
<xs:length value="2" />
<xs:enumeration value="SI">
<xs:annotation><xs:documentation>Spesa deducibile</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EsigibilitaIVAType">
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="1" />
<xs:enumeration value="D">
<xs:annotation>
<xs:documentation>esigibilità differita</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="I">
<xs:annotation>
<xs:documentation>esigibilità immediata</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="S">
<xs:annotation>
<xs:documentation>scissione dei pagamenti</xs:documentation>
</xs:annotation>
</xs:enumeration>
</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:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
<!-- NUMERI -->
<xs:simpleType name="Amount2DecimalType">
<xs:restriction base="xs:decimal">
<xs:pattern value="[\-]?[0-9]{1,11}\.[0-9]{2}" />
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>

View File

@@ -0,0 +1,475 @@
<?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/v2.0"
targetNamespace="http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v2.0"
version="2.1">
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd" />
<!-- =================================================================== -->
<!-- ELEMENTI -->
<!-- =================================================================== -->
<xs:element name="DatiFattura" type="DatiFatturaType">
<xs:annotation>
<xs:documentation>XML schema fatture emesse e ricevute ex D.Lgs. 127/205 (art.1, c.3) 2.1</xs:documentation>
</xs:annotation>
</xs:element>
<!-- =================================================================== -->
<!-- TIPI -->
<!-- =================================================================== -->
<xs:complexType name="DatiFatturaType">
<xs:sequence>
<xs:element name="DatiFatturaHeader" type="DatiFatturaHeaderType" minOccurs="0" />
<xs:choice>
<xs:element name="DTE" type="DTEType" />
<xs:element name="DTR" type="DTRType" />
<xs:element name="ANN" type="ANNType" />
</xs:choice>
<xs:element ref ="ds:Signature" minOccurs="0" />
</xs:sequence>
<xs:attribute name="versione" type="VersioneType" use="required" />
</xs:complexType>
<xs:complexType name="DatiFatturaHeaderType">
<xs:sequence>
<xs:element name="ProgressivoInvio" type="String10Type" minOccurs="0" />
<xs:element name="Dichiarante" type="DichiaranteType" minOccurs="0" />
<xs:element name="IdSistema" type="CodiceFiscaleType" minOccurs="0" />
<xs:element name="SpazioDatiFattura" type="xs:normalizedString" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DichiaranteType">
<xs:sequence>
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" />
<xs:element name="Carica" type="CaricaType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DTEType">
<xs:sequence>
<xs:element name="CedentePrestatoreDTE" type="CedentePrestatoreDTEType" />
<xs:element name="CessionarioCommittenteDTE" type="CessionarioCommittenteDTEType" minOccurs="1" maxOccurs="1000" />
<xs:element name="Rettifica" type="RettificaType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DTRType">
<xs:sequence>
<xs:element name="CessionarioCommittenteDTR" type="CessionarioCommittenteDTRType" />
<xs:element name="CedentePrestatoreDTR" type="CedentePrestatoreDTRType" minOccurs="1" maxOccurs="1000" />
<xs:element name="Rettifica" type="RettificaType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="ANNType">
<xs:sequence>
<xs:element name="IdFile" type="String18Type" />
<xs:element name="Posizione" type="PosizioneType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CedentePrestatoreDTEType">
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cedente / Prestatore</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliITType" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiITType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cedente / Prestatore</xs:documentation></xs:annotation>
<xs:complexType name="CedentePrestatoreDTRType">
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliType" minOccurs="0" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiType" minOccurs="0" />
<xs:element name="DatiFatturaBodyDTR" type="DatiFatturaBodyDTRType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CessionarioCommittenteDTEType">
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cessionario / Committente</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliNoIVAType" minOccurs="0" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiType" minOccurs="0" />
<xs:element name="DatiFatturaBodyDTE" type="DatiFatturaBodyDTEType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CessionarioCommittenteDTRType">
<xs:annotation><xs:documentation>Blocco relativo ai dati del Cessionario / Committente</xs:documentation></xs:annotation>
<xs:sequence>
<xs:element name="IdentificativiFiscali" type="IdentificativiFiscaliITType" />
<xs:element name="AltriDatiIdentificativi" type="AltriDatiIdentificativiITType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiFatturaBodyDTEType">
<xs:sequence>
<xs:element name="DatiGenerali" type="DatiGeneraliDTEType" />
<xs:element name="DatiRiepilogo" type="DatiRiepilogoType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiFatturaBodyDTRType">
<xs:sequence>
<xs:element name="DatiGenerali" type="DatiGeneraliDTRType" />
<xs:element name="DatiRiepilogo" type="DatiRiepilogoType" maxOccurs="1000" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RettificaType">
<xs:sequence>
<xs:element name="IdFile" type="String18Type" />
<xs:element name="Posizione" type="PosizioneType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdentificativiFiscaliType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleType" />
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdentificativiFiscaliITType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleITType" />
<xs:element name="CodiceFiscale" type="CodiceFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdentificativiFiscaliNoIVAType">
<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="AltriDatiIdentificativiITType">
<xs:sequence>
<xs:element name="Denominazione" type="String80LatinType" minOccurs="0" />
<xs:element name="Nome" type="String60LatinType" minOccurs="0" />
<xs:element name="Cognome" type="String60LatinType" minOccurs="0" />
<xs:element name="Sede" type="IndirizzoType" minOccurs="0" />
<xs:element name="StabileOrganizzazione" type="IndirizzoType" minOccurs="0" />
<xs:element name="RappresentanteFiscale" type="RappresentanteFiscaleITType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="AltriDatiIdentificativiType">
<xs:sequence>
<xs:element name="Denominazione" type="String80LatinType" minOccurs="0" />
<xs:element name="Nome" type="String60LatinType" minOccurs="0" />
<xs:element name="Cognome" type="String60LatinType" minOccurs="0" />
<xs:element name="Sede" type="IndirizzoType" minOccurs="0" />
<xs:element name="StabileOrganizzazione" type="IndirizzoType" minOccurs="0" />
<xs:element name="RappresentanteFiscale" type="RappresentanteFiscaleType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IndirizzoType">
<xs:sequence>
<xs:element name="Indirizzo" type="String60LatinType" minOccurs="0" />
<xs:element name="NumeroCivico" type="NumeroCivicoType" minOccurs="0" />
<xs:element name="CAP" type="CAPType" minOccurs="0" />
<xs:element name="Comune" type="String60LatinType" minOccurs="0" />
<xs:element name="Provincia" type="ProvinciaType" minOccurs="0" />
<xs:element name="Nazione" type="NazioneType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RappresentanteFiscaleType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleType" minOccurs="0" />
<xs:element name="Denominazione" type="String80LatinType" minOccurs="0" />
<xs:element name="Nome" type="String60LatinType" minOccurs="0" />
<xs:element name="Cognome" type="String60LatinType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="RappresentanteFiscaleITType">
<xs:sequence>
<xs:element name="IdFiscaleIVA" type="IdFiscaleITType" minOccurs="0" />
<xs:element name="Denominazione" type="String80LatinType" minOccurs="0" />
<xs:element name="Nome" type="String60LatinType" minOccurs="0" />
<xs:element name="Cognome" type="String60LatinType" minOccurs="0" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiGeneraliDTEType">
<xs:sequence>
<xs:element name="TipoDocumento" type="TipoDocumentoType" />
<xs:element name="Data" type="DataFatturaType" />
<xs:element name="Numero" type="String20Type" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiGeneraliDTRType">
<xs:sequence>
<xs:element name="TipoDocumento" type="TipoDocumentoType" />
<xs:element name="Data" type="DataFatturaType" minOccurs="0" />
<xs:element name="Numero" type="String20Type" />
<xs:element name="DataRegistrazione" type="DataFatturaType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="DatiRiepilogoType">
<xs:sequence>
<xs:element name="ImponibileImporto" type="Amount2DecimalType" />
<xs:element name="DatiIVA" type="DatiIVAType" />
<xs:element name="Natura" type="NaturaType" minOccurs="0" />
<xs:element name="Detraibile" type="RateType" minOccurs="0" />
<xs:element name="Deducibile" type="DeducibileType" minOccurs="0" />
<xs:element name="EsigibilitaIVA" type="EsigibilitaIVAType" 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="IdFiscaleType">
<xs:sequence>
<xs:element name="IdPaese" type="NazioneType" />
<xs:element name="IdCodice" type="CodiceType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="IdFiscaleITType">
<xs:sequence>
<xs:element name="IdPaese" type="NazioneITType" />
<xs:element name="IdCodice" type="CodiceIvaType" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="CodiceFiscaleType">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="[A-Z0-9]{11,16}" />
</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="NazioneITType">
<xs:restriction base="xs:string">
<xs:length value="2" />
<xs:enumeration value="IT">
<xs:annotation><xs:documentation>Italia</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CodiceType">
<xs:restriction base="xs:normalizedString">
<xs:minLength value="1" />
<xs:maxLength value="28" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CodiceIvaType">
<xs:restriction base="xs:normalizedString">
<xs:minLength value="1" />
<xs:maxLength value="11" />
</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="CAPType">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,5})" />
</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="TipoDocumentoType">
<xs:restriction base="xs:string">
<xs:length value="4" />
<xs:enumeration value="TD01">
<xs:annotation><xs:documentation>Fattura</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD04">
<xs:annotation><xs:documentation>Nota di credito</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD05">
<xs:annotation><xs:documentation>Nota di debito</xs:documentation></xs:annotation>
</xs:enumeration>
<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="TD10">
<xs:annotation><xs:documentation>Acquisto beni intra</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD11">
<xs:annotation><xs:documentation>Acquisto servizi intra</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="TD12">
<xs:annotation><xs:documentation>Documento riepilogativo (art. 6, DPR 695/1996)</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DataFatturaType">
<xs:restriction base="xs:date">
<xs:minInclusive value="1970-01-01" />
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="PosizioneType">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="9999999" />
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CaricaType">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="15" />
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
<!-- STRINGHE -->
<xs:simpleType name="String10Type">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,10})" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String18Type">
<xs:restriction base="xs:normalizedString">
<xs:pattern value="(\p{IsBasicLatin}{1,18})" />
</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="VersioneType">
<xs:restriction base="xs:string">
<xs:length value="5" />
<xs:enumeration value="DAT20">
<xs:annotation><xs:documentation>Dati fatture versione 2.1</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NaturaType">
<xs:restriction base="xs:string">
<xs:enumeration value="N1">
<xs:annotation><xs:documentation>Escluse ex. art. 15</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="N2">
<xs:annotation><xs:documentation>Non soggette</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="N3">
<xs:annotation><xs:documentation>Non Imponibili</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</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="N6">
<xs:annotation><xs:documentation>Inversione contabile (reverse charge)</xs:documentation></xs:annotation>
</xs:enumeration>
<xs:enumeration value="N7">
<xs:annotation>
<xs:documentation> IVA assolta in altro stato UE
(vendite a distanza ex art. 40 c. 3 e 4 e art. 41 c. 1 lett. b, DL 331/93;
prestazione di servizi di telecomunicazioni, tele-radiodiffusione ed elettronici
ex art. 7-sexies lett. f, g, art. 74-sexies DPR 633/72)
</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DeducibileType">
<xs:restriction base="xs:string">
<xs:length value="2" />
<xs:enumeration value="SI">
<xs:annotation><xs:documentation>Spesa deducibile</xs:documentation></xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EsigibilitaIVAType">
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="1" />
<xs:enumeration value="D">
<xs:annotation>
<xs:documentation>esigibilità differita</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="I">
<xs:annotation>
<xs:documentation>esigibilità immediata</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="S">
<xs:annotation>
<xs:documentation>scissione dei pagamenti</xs:documentation>
</xs:annotation>
</xs:enumeration>
</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:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
<!-- NUMERI -->
<xs:simpleType name="Amount2DecimalType">
<xs:restriction base="xs:decimal">
<xs:pattern value="[\-]?[0-9]{1,11}\.[0-9]{2}" />
<xs:whiteSpace value="collapse"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>

View File

@@ -0,0 +1,178 @@
<?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="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="NumeroModulo">
<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="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="OperazioniStraordinarie" type="cm:DatoCB_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="Metodo" 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:restriction>
</xs:simpleType>
</xs:element>
<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>

View File

@@ -0,0 +1,28 @@
<?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="../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_2018_v1.xsd"/>
<xs:include schemaLocation="comunicazioneIvp_2018_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>

View File

@@ -0,0 +1,33 @@
<?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>

View File

@@ -0,0 +1,44 @@
<?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="fornitura_v3.xsd"/>
<xs:element name="Intestazione"/>
<xs:complexType name="Intestazione_IVP_Type">
<xs:sequence>
<xs:element name="CodiceFornitura">
<xs:simpleType>
<xs:restriction base="cm:DatoAN_Type">
<xs:enumeration value="IVP18"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodiceFiscaleDichiarante" type="cm:DatoCF_Type" minOccurs="0"/>
<xs:element name="CodiceCarica" 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="IdSistema" type="cm:DatoCF_Type" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

View File

@@ -0,0 +1,188 @@
<?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 targetNamespace
Versione 2.0.1 - 14/06/12
- modificati i tipi semplici DatoAN_Type, DatoEM_Type
Versione 2.0 - 15/02/12
- modificato targetNamespace
- introdotti i tipi semplici DatoGA_Type, DatoTL_Type, DatoCP_Type
]]></xs:documentation>
</xs:annotation>
<xs:include schemaLocation="typesProvincie_v3.xsd"/>
<xs:simpleType name="DatoAN_Type">
<xs:annotation>
<xs:documentation>Tipo semplice costituito da caratteri alfanumerici maiuscoli e dai caratteri: punto, virgola, apice, trattino, spazio, barra semplice, °, ^, ampersand, parentesi aperta e chiusa, doppie virgolette, barra rovesciata, la barra dritta, il più, le maiuscole accentate e la Ü. Tali caratteri non sono ammesi come primo carattere tranne: i numeri da 0 a 9, i caratteri maiuscoli da A a Z, il meno e le dopppie virgolette.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="([0-9A-Z\-]|&quot;){1}([ 0-9A-Z&amp;]|'|\-|\.|,|/|°|\^|\(|\)|À|È|É|Ì|Ò|Ù|Ü|&quot;|\\|\||\+)*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoNU_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica numeri naturali positivi e negativi con al massimo 16 cifre.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="16"/>
<xs:pattern value="(\-[1-9]|[1-9])[0-9]*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoPC_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che esprime una percentuale e dunque consente valori positivi non superiori a 100, con al massimo 2 cifre decimali. Il separatore decimale previsto è la virgola.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="16"/>
<xs:pattern value="[0-9]?[0-9](,\d{1,3})?|100(,0{1,3})?"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoQU_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica numeri positivi con al massimo 5 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-9]+(,[0-9]{1,5})?"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoVP_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-9]+,[0-9]{2}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoN1_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica i numeri naturali da 1 a 9.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="1"/>
<xs:pattern value="[1-9]"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoNP_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica numeri naturali positivi con al massimo 16 cifre.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[1-9]{1}[0-9]*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoPI_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica la partita IVA rispettandone i vincoli di struttura. </xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="11"/>
<xs:pattern value="[0-7][0-9]{10}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoCN_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica un codice fiscale numerico rispettandone i vincoli di struttura.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="11"/>
<xs:pattern value="[0-9]{11}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoCF_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica un codice fiscale provvisorio o alfanumerico rispettandone i vincoli di struttura.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]{11}|[A-Z]{6}[0-9LMNPQRSTUV]{2}[A-Z]{1}[0-9LMNPQRSTUV]{2}[A-Z]{1}[0-9LMNPQRSTUV]{3}[A-Z]{1}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoCB_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che consente esclusivamente i valori 0 e 1.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:byte">
<xs:pattern value="[01]"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoCB12_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che consente esclusivamente 12 caratteri con i valori 0 e 1.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:byte">
<xs:pattern value="[10]{12}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoDT_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica una data nel formato ggmmaaaa. La data indicata non deve essere successiva alla data corrente.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="8"/>
<xs:pattern value="(((0[1-9]|[12][0-9]|3[01])(0[13578]|10|12)(\d{4}))|(([0][1-9]|[12][0-9]|30)(0[469]|11)(\d{4}))|((0[1-9]|1[0-9]|2[0-8])(02)(\d{4}))|((29)(02)([02468][048]00))|((29)(02)([13579][26]00))|((29)(02)([0-9][0-9][0][48]))|((29)(02)([0-9][0-9][2468][048]))|((29)(02)([0-9][0-9][13579][26])))"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoDA_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica un anno nel formato aaaa. Sono ammessi anni dal 1800 al 2099.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="4"/>
<xs:pattern value="(18|19|20)[0-9]{2}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoDN_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica una data nel formato ggmmaaaa.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="8"/>
<xs:pattern value="(((0[1-9]|[12][0-9]|3[01])(0[13578]|10|12)(\d{4}))|(([0][1-9]|[12][0-9]|30)(0[469]|11)(\d{4}))|((0[1-9]|1[0-9]|2[0-8])(02)(\d{4}))|((29)(02)([02468][048]00))|((29)(02)([13579][26]00))|((29)(02)([0-9][0-9][0][48]))|((29)(02)([0-9][0-9][2468][048]))|((29)(02)([0-9][0-9][13579][26])))"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoD6_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica una data nel formato mmaaaa.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="6"/>
<xs:pattern value="((0[0-9])|(1[0-2]))((19|20)[0-9][0-9])"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoEM_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica un elemento di tipo email</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z0-9._%\-'&quot;?^~=]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,4}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoGA_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica il numero di giorni in un anno e va da 1 a 365</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="3"/>
<xs:pattern value="[1-9]|([1-9][0-9])|([12][0-9][0-9])|(3[0-5][0-9])|(36[0-5])"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoTL_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica un elemento di tipo telefono</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]*"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatoCP_Type">
<xs:annotation>
<xs:documentation>Tipo semplice che identifica un elemento di tipo cap</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]{5}"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>

View File

@@ -0,0 +1,285 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2012 (http://www.altova.com) by rdobrowolny (Sogei S.p.A.) -->
<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 targetNamespace
Versione 2.0 - 15/02/12
- modificato targetNamespace
]]></xs:documentation>
</xs:annotation>
<xs:simpleType name="PR_Type">
<xs:annotation>
<xs:documentation>Tipo semplice costituito dalle sigle delle provincie italiane in vigore.</xs:documentation>
</xs:annotation>
<xs:union memberTypes="ProvincieItaliane"/>
</xs:simpleType>
<xs:simpleType name="PN_Type">
<xs:annotation>
<xs:documentation>Tipo semplice costituito dalle sigle delle provincie italiane in vigore, dalle sigle delle provincie croate di Fiume, Pola e Zara e dalla sigla “EE” che indica un paese estero.</xs:documentation>
</xs:annotation>
<xs:union memberTypes="ProvincieItaliane ProvincieCroate Estero"/>
</xs:simpleType>
<xs:simpleType name="PE_Type">
<xs:annotation>
<xs:documentation>Tipo semplice costituito dalle sigle delle provincie italiane in vigore e dalla sigla “EE” che indica un paese estero.</xs:documentation>
</xs:annotation>
<xs:union memberTypes="ProvincieItaliane Estero"/>
</xs:simpleType>
<xs:simpleType name="ProvincieItaliane">
<xs:annotation>
<xs:documentation>
Elenco delle provincie italiane in vigore, valori ammessi:
Agrigento AG
Alessandria AL
Ancona AN
Aosta AO
Ascoli Piceno AP
L'Aquila AQ
Arezzo AR
Asti AT
Avellino AV
Bari BA
Bergamo BG
Biella BI
Belluno BL
Benevento BN
Bologna BO
Brindisi BR
Brescia BS
Barletta-Andria-Trani BT
Bolzano BZ
Cagliari CA
Campobasso CB
Caserta CE
Chieti CH
Carbonia-Iglessias CI
Caltanissetta CL
Cuneo CN
Como CO
Cremona CR
Cosenza CS
Catania CT
Catanzaro CZ
Enna EN
Forlì-Cesena FC
Ferrara FE
Foggia FG
Firenze FI
Fermo FM
Frosinone FR
Genova GE
Gorizia GO
Grosseto GR
Imperia IM
Isernia IS
Crotone KR
Lecco LC
Lecce LE
Livorno LI
Lodi LO
Latina LT
Lucca LU
Monza e Brianza MB
Macerata MC
Messina ME
Milano MI
Mantova MN
Modena MO
Massa e Carrara MS
Matera MT
Napoli NA
Novara NO
Nuoro NU
Ogliastra OG
Oristano OR
Olbia-Tempio OT
Palermo PA
Piacenza PC
Padova PD
Pescara PE
Perugia PG
Pisa PI
Pordenone PN
Prato PO
Parma PR
Pistoia PT
Pesaro e Urbino PU
Pavia PV
Potenza PZ
Ravenna RA
Reggio Calabria RC
Reggio Emilia RE
Ragusa RG
Rieti RI
Roma RM
Rimini RN
Rovigo RO
Salerno SA
iena SI
Sondrio SO
La Spezia SP
Siracusa SR
Sassari SS
Savona SV
Taranto TA
Teramo TE
Trento TN
Torino TO
Trapani TP
Terni TR
Trieste TS
Treviso TV
Udine UD
Varese VA
Verbano-Cusio-Ossola VB
Vercelli VC
Venezia VE
Vicenza VI
Verona VR
Medio Campidano VS
Viterbo VT
Vibo Valentia VV
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="AG"/>
<xs:enumeration value="AL"/>
<xs:enumeration value="AN"/>
<xs:enumeration value="AO"/>
<xs:enumeration value="AP"/>
<xs:enumeration value="AQ"/>
<xs:enumeration value="AR"/>
<xs:enumeration value="AT"/>
<xs:enumeration value="AV"/>
<xs:enumeration value="BA"/>
<xs:enumeration value="BG"/>
<xs:enumeration value="BI"/>
<xs:enumeration value="BL"/>
<xs:enumeration value="BN"/>
<xs:enumeration value="BO"/>
<xs:enumeration value="BR"/>
<xs:enumeration value="BS"/>
<xs:enumeration value="BT"/>
<xs:enumeration value="BZ"/>
<xs:enumeration value="CA"/>
<xs:enumeration value="CB"/>
<xs:enumeration value="CE"/>
<xs:enumeration value="CH"/>
<xs:enumeration value="CI"/>
<xs:enumeration value="CL"/>
<xs:enumeration value="CN"/>
<xs:enumeration value="CO"/>
<xs:enumeration value="CR"/>
<xs:enumeration value="CS"/>
<xs:enumeration value="CT"/>
<xs:enumeration value="CZ"/>
<xs:enumeration value="EN"/>
<xs:enumeration value="FC"/>
<xs:enumeration value="FE"/>
<xs:enumeration value="FG"/>
<xs:enumeration value="FI"/>
<xs:enumeration value="FM"/>
<xs:enumeration value="FR"/>
<xs:enumeration value="GE"/>
<xs:enumeration value="GO"/>
<xs:enumeration value="GR"/>
<xs:enumeration value="IM"/>
<xs:enumeration value="IS"/>
<xs:enumeration value="KR"/>
<xs:enumeration value="LC"/>
<xs:enumeration value="LE"/>
<xs:enumeration value="LI"/>
<xs:enumeration value="LO"/>
<xs:enumeration value="LT"/>
<xs:enumeration value="LU"/>
<xs:enumeration value="MB"/>
<xs:enumeration value="MC"/>
<xs:enumeration value="ME"/>
<xs:enumeration value="MI"/>
<xs:enumeration value="MN"/>
<xs:enumeration value="MO"/>
<xs:enumeration value="MS"/>
<xs:enumeration value="MT"/>
<xs:enumeration value="NA"/>
<xs:enumeration value="NO"/>
<xs:enumeration value="NU"/>
<xs:enumeration value="OG"/>
<xs:enumeration value="OR"/>
<xs:enumeration value="OT"/>
<xs:enumeration value="PA"/>
<xs:enumeration value="PC"/>
<xs:enumeration value="PD"/>
<xs:enumeration value="PE"/>
<xs:enumeration value="PG"/>
<xs:enumeration value="PI"/>
<xs:enumeration value="PN"/>
<xs:enumeration value="PO"/>
<xs:enumeration value="PR"/>
<xs:enumeration value="PT"/>
<xs:enumeration value="PU"/>
<xs:enumeration value="PV"/>
<xs:enumeration value="PZ"/>
<xs:enumeration value="RA"/>
<xs:enumeration value="RC"/>
<xs:enumeration value="RE"/>
<xs:enumeration value="RG"/>
<xs:enumeration value="RI"/>
<xs:enumeration value="RM"/>
<xs:enumeration value="RN"/>
<xs:enumeration value="RO"/>
<xs:enumeration value="SA"/>
<xs:enumeration value="SI"/>
<xs:enumeration value="SO"/>
<xs:enumeration value="SP"/>
<xs:enumeration value="SR"/>
<xs:enumeration value="SS"/>
<xs:enumeration value="SV"/>
<xs:enumeration value="TA"/>
<xs:enumeration value="TE"/>
<xs:enumeration value="TN"/>
<xs:enumeration value="TO"/>
<xs:enumeration value="TP"/>
<xs:enumeration value="TR"/>
<xs:enumeration value="TS"/>
<xs:enumeration value="TV"/>
<xs:enumeration value="UD"/>
<xs:enumeration value="VA"/>
<xs:enumeration value="VB"/>
<xs:enumeration value="VC"/>
<xs:enumeration value="VE"/>
<xs:enumeration value="VI"/>
<xs:enumeration value="VR"/>
<xs:enumeration value="VS"/>
<xs:enumeration value="VT"/>
<xs:enumeration value="VV"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ProvincieCroate">
<xs:restriction base="xs:string">
<xs:enumeration value="FU">
<xs:annotation>
<xs:documentation>Fiume</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="PL">
<xs:annotation>
<xs:documentation>Pola</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ZA">
<xs:annotation>
<xs:documentation>Zara</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Estero">
<xs:restriction base="xs:string">
<xs:enumeration value="EE"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>

View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="VATDECL">
<xs:complexType>
<xs:sequence>
<xs:element name="VATNO" type="xs:integer"></xs:element>
<xs:element name="PERIODID" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="PERIODFROM" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="PERIODTO" type="xs:string" minOccurs="0"></xs:element>
<xs:element name="BOX1">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BOX2">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BOX3" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BOX4">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BOX5" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BOX6" type="xs:integer"></xs:element>
<xs:element name="BOX7" type="xs:integer"></xs:element>
<xs:element name="BOX8" type="xs:integer"></xs:element>
<xs:element name="BOX9" type="xs:integer"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,731 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== -->
<!-- ===== CCTS Core Component Type Schema Module ===== -->
<!-- ====================================================================== -->
<!--
Module of Core Component Type
Agency: UN/CEFACT
VersionID: 1.1
Last change: 14 January 2005
Copyright (C) UN/CEFACT (2006). All Rights Reserved.
This document and translations of it may be copied and furnished to others,
and derivative works that comment on or otherwise explain it or assist
in its implementation may be prepared, copied, published and distributed,
in whole or in part, without restriction of any kind, provided that the
above copyright notice and this paragraph are included on all such copies
and derivative works. However, this document itself may not be modified in
any way, such as by removing the copyright notice or references to
UN/CEFACT, except as needed for the purpose of developing UN/CEFACT
specifications, in which case the procedures for copyrights defined in the
UN/CEFACT Intellectual Property Rights document must be followed, or as
required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked
by UN/CEFACT or its successors or assigns.
This document and the information contained herein is provided on an "AS IS"
basis and UN/CEFACT DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL
NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR
FITNESS FOR A PARTICULAR PURPOSE.
-->
<xsd:schema targetNamespace="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2"
xmlns:ccts="urn:un:unece:uncefact:documentation:2"
xmlns:cct="urn:un:unece:uncefact:data:specification:CoreComponentTypeSchemaModule:2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- ===== Type Definitions ===== -->
<!-- =================================================================== -->
<!-- ===== CCT: AmountType ===== -->
<!-- =================================================================== -->
<xsd:complexType name="AmountType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000001</ccts:UniqueID>
<ccts:CategoryCode>CCT</ccts:CategoryCode>
<ccts:DictionaryEntryName>Amount. Type</ccts:DictionaryEntryName>
<ccts:VersionID>1.0</ccts:VersionID>
<ccts:Definition>A number of monetary units specified in a currency where the unit of the currency is explicit or implied.</ccts:Definition>
<ccts:RepresentationTermName>Amount</ccts:RepresentationTermName>
<ccts:PrimitiveType>decimal</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:decimal">
<xsd:attribute name="currencyID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000001-SC2</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Amount Currency. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The currency of the amount.</ccts:Definition>
<ccts:ObjectClass>Amount Currency</ccts:ObjectClass>
<ccts:PropertyTermName>Identification</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
<ccts:UsageRule>Reference UNECE Rec 9, using 3-letter alphabetic codes.</ccts:UsageRule>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="currencyCodeListVersionID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000001-SC3</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Amount Currency. Code List Version. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The VersionID of the UN/ECE Rec9 code list.</ccts:Definition>
<ccts:ObjectClass>Amount Currency</ccts:ObjectClass>
<ccts:PropertyTermName>Code List Version</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- ===== CCT: BinaryObjectType ===== -->
<!-- =================================================================== -->
<xsd:complexType name="BinaryObjectType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000002</ccts:UniqueID>
<ccts:CategoryCode>CCT</ccts:CategoryCode>
<ccts:DictionaryEntryName>Binary Object. Type</ccts:DictionaryEntryName>
<ccts:VersionID>1.0</ccts:VersionID>
<ccts:Definition>A set of finite-length sequences of binary octets.</ccts:Definition>
<ccts:RepresentationTermName>Binary Object</ccts:RepresentationTermName>
<ccts:PrimitiveType>binary</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:base64Binary">
<xsd:attribute name="format" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000002-SC2</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Binary Object. Format. Text</ccts:DictionaryEntryName>
<ccts:Definition>The format of the binary content.</ccts:Definition>
<ccts:ObjectClass>Binary Object</ccts:ObjectClass>
<ccts:PropertyTermName>Format</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="mimeCode" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000002-SC3</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Binary Object. Mime. Code</ccts:DictionaryEntryName>
<ccts:Definition>The mime type of the binary object.</ccts:Definition>
<ccts:ObjectClass>Binary Object</ccts:ObjectClass>
<ccts:PropertyTermName>Mime</ccts:PropertyTermName>
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="encodingCode" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000002-SC4</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Binary Object. Encoding. Code</ccts:DictionaryEntryName>
<ccts:Definition>Specifies the decoding algorithm of the binary object.</ccts:Definition>
<ccts:ObjectClass>Binary Object</ccts:ObjectClass>
<ccts:PropertyTermName>Encoding</ccts:PropertyTermName>
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="characterSetCode" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000002-SC5</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Binary Object. Character Set. Code</ccts:DictionaryEntryName>
<ccts:Definition>The character set of the binary object if the mime type is text.</ccts:Definition>
<ccts:ObjectClass>Binary Object</ccts:ObjectClass>
<ccts:PropertyTermName>Character Set</ccts:PropertyTermName>
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="uri" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000002-SC6</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Binary Object. Uniform Resource. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The Uniform Resource Identifier that identifies where the binary object is located.</ccts:Definition>
<ccts:ObjectClass>Binary Object</ccts:ObjectClass>
<ccts:PropertyTermName>Uniform Resource Identifier</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="filename" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000002-SC7</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Binary Object. Filename.Text</ccts:DictionaryEntryName>
<ccts:Definition>The filename of the binary object.</ccts:Definition>
<ccts:ObjectClass>Binary Object</ccts:ObjectClass>
<ccts:PropertyTermName>Filename</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- ===== CCT: CodeType ===== -->
<!-- =================================================================== -->
<xsd:complexType name="CodeType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000007</ccts:UniqueID>
<ccts:CategoryCode>CCT</ccts:CategoryCode>
<ccts:DictionaryEntryName>Code. Type</ccts:DictionaryEntryName>
<ccts:VersionID>1.0</ccts:VersionID>
<ccts:Definition>A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information.</ccts:Definition>
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
<ccts:UsageRule>Should not be used if the character string identifies an instance of an object class or an object in the real world, in which case the Identifier. Type should be used.</ccts:UsageRule>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:normalizedString">
<xsd:attribute name="listID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000007-SC2</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Code List. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The identification of a list of codes.</ccts:Definition>
<ccts:ObjectClass>Code List</ccts:ObjectClass>
<ccts:PropertyTermName>Identification</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="listAgencyID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000007-SC3</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Code List. Agency. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>An agency that maintains one or more lists of codes.</ccts:Definition>
<ccts:ObjectClass>Code List</ccts:ObjectClass>
<ccts:PropertyTermName>Agency</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
<ccts:UsageRule>Defaults to the UN/EDIFACT data element 3055 code list.</ccts:UsageRule>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="listAgencyName" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000007-SC4</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Code List. Agency Name. Text</ccts:DictionaryEntryName>
<ccts:Definition>The name of the agency that maintains the list of codes.</ccts:Definition>
<ccts:ObjectClass>Code List</ccts:ObjectClass>
<ccts:PropertyTermName>Agency Name</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="listName" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000007-SC5</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Code List. Name. Text</ccts:DictionaryEntryName>
<ccts:Definition>The name of a list of codes.</ccts:Definition>
<ccts:ObjectClass>Code List</ccts:ObjectClass>
<ccts:PropertyTermName>Name</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="listVersionID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000007-SC6</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Code List. Version. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The version of the list of codes.</ccts:Definition>
<ccts:ObjectClass>Code List</ccts:ObjectClass>
<ccts:PropertyTermName>Version</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000007-SC7</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Code. Name. Text</ccts:DictionaryEntryName>
<ccts:Definition>The textual equivalent of the code content component.</ccts:Definition>
<ccts:ObjectClass>Code</ccts:ObjectClass>
<ccts:PropertyTermName>Name</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="languageID" type="xsd:language" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000007-SC8</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Language. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The identifier of the language used in the code name.</ccts:Definition>
<ccts:ObjectClass>Language</ccts:ObjectClass>
<ccts:PropertyTermName>Identification</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="listURI" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000007-SC9</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Code List. Uniform Resource. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The Uniform Resource Identifier that identifies where the code list is located.</ccts:Definition>
<ccts:ObjectClass>Code List</ccts:ObjectClass>
<ccts:PropertyTermName>Uniform Resource Identifier</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="listSchemeURI" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000007-SC10</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Code List Scheme. Uniform Resource. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The Uniform Resource Identifier that identifies where the code list scheme is located.</ccts:Definition>
<ccts:ObjectClass>Code List Scheme</ccts:ObjectClass>
<ccts:PropertyTermName>Uniform Resource Identifier</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- ===== CCT: DateTimeType ===== -->
<!-- =================================================================== -->
<xsd:complexType name="DateTimeType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000008</ccts:UniqueID>
<ccts:CategoryCode>CCT</ccts:CategoryCode>
<ccts:DictionaryEntryName>Date Time. Type</ccts:DictionaryEntryName>
<ccts:VersionID>1.0</ccts:VersionID>
<ccts:Definition>A particular point in the progression of time together with the relevant supplementary information.</ccts:Definition>
<ccts:RepresentationTermName>Date Time</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
<ccts:UsageRule>Can be used for a date and/or time.</ccts:UsageRule>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="format" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000008-SC1</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Date Time. Format. Text</ccts:DictionaryEntryName>
<ccts:Definition>The format of the date time content</ccts:Definition>
<ccts:ObjectClass>Date Time</ccts:ObjectClass>
<ccts:PropertyTermName>Format</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- ===== CCT: IdentifierType ===== -->
<!-- =================================================================== -->
<xsd:complexType name="IdentifierType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000011</ccts:UniqueID>
<ccts:CategoryCode>CCT</ccts:CategoryCode>
<ccts:DictionaryEntryName>Identifier. Type</ccts:DictionaryEntryName>
<ccts:VersionID>1.0</ccts:VersionID>
<ccts:Definition>A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information.</ccts:Definition>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:normalizedString">
<xsd:attribute name="schemeID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000011-SC2</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Identification Scheme. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The identification of the identification scheme.</ccts:Definition>
<ccts:ObjectClass>Identification Scheme</ccts:ObjectClass>
<ccts:PropertyTermName>Identification</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="schemeName" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000011-SC3</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Identification Scheme. Name. Text</ccts:DictionaryEntryName>
<ccts:Definition>The name of the identification scheme.</ccts:Definition>
<ccts:ObjectClass>Identification Scheme</ccts:ObjectClass>
<ccts:PropertyTermName>Name</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="schemeAgencyID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000011-SC4</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Identification Scheme Agency. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The identification of the agency that maintains the identification scheme.</ccts:Definition>
<ccts:ObjectClass>Identification Scheme Agency</ccts:ObjectClass>
<ccts:PropertyTermName>Identification</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
<ccts:UsageRule>Defaults to the UN/EDIFACT data element 3055 code list.</ccts:UsageRule>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="schemeAgencyName" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000011-SC5</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Identification Scheme Agency. Name. Text</ccts:DictionaryEntryName>
<ccts:Definition>The name of the agency that maintains the identification scheme.</ccts:Definition>
<ccts:ObjectClass>Identification Scheme Agency</ccts:ObjectClass>
<ccts:PropertyTermName>Agency Name</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="schemeVersionID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000011-SC6</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Identification Scheme. Version. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The version of the identification scheme.</ccts:Definition>
<ccts:ObjectClass>Identification Scheme</ccts:ObjectClass>
<ccts:PropertyTermName>Version</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="schemeDataURI" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000011-SC7</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Identification Scheme Data. Uniform Resource. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The Uniform Resource Identifier that identifies where the identification scheme data is located.</ccts:Definition>
<ccts:ObjectClass>Identification Scheme Data</ccts:ObjectClass>
<ccts:PropertyTermName>Uniform Resource Identifier</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="schemeURI" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000011-SC8</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Identification Scheme. Uniform Resource. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The Uniform Resource Identifier that identifies where the identification scheme is located.</ccts:Definition>
<ccts:ObjectClass>Identification Scheme</ccts:ObjectClass>
<ccts:PropertyTermName>Uniform Resource Identifier</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- ===== CCT: IndicatorType ===== -->
<!-- =================================================================== -->
<xsd:complexType name="IndicatorType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000012</ccts:UniqueID>
<ccts:CategoryCode>CCT</ccts:CategoryCode>
<ccts:DictionaryEntryName>Indicator. Type</ccts:DictionaryEntryName>
<ccts:VersionID>1.0</ccts:VersionID>
<ccts:Definition>A list of two mutually exclusive Boolean values that express the only possible states of a Property.</ccts:Definition>
<ccts:RepresentationTermName>Indicator</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="format" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000012-SC2</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Indicator. Format. Text</ccts:DictionaryEntryName>
<ccts:Definition>Whether the indicator is numeric, textual or binary.</ccts:Definition>
<ccts:ObjectClass>Indicator</ccts:ObjectClass>
<ccts:PropertyTermName>Format</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- ===== CCT: MeasureType ===== -->
<!-- =================================================================== -->
<xsd:complexType name="MeasureType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000013</ccts:UniqueID>
<ccts:CategoryCode>CCT</ccts:CategoryCode>
<ccts:DictionaryEntryName>Measure. Type</ccts:DictionaryEntryName>
<ccts:VersionID>1.0</ccts:VersionID>
<ccts:Definition>A numeric value determined by measuring an object along with the specified unit of measure.</ccts:Definition>
<ccts:RepresentationTermName>Measure</ccts:RepresentationTermName>
<ccts:PrimitiveType>decimal</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:decimal">
<xsd:attribute name="unitCode" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000013-SC2</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Measure Unit. Code</ccts:DictionaryEntryName>
<ccts:Definition>The type of unit of measure.</ccts:Definition>
<ccts:ObjectClass>Measure Unit</ccts:ObjectClass>
<ccts:PropertyTermName>Code</ccts:PropertyTermName>
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
<ccts:UsageRule>Reference UNECE Rec. 20 and X12 355</ccts:UsageRule>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="unitCodeListVersionID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000013-SC3</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Measure Unit. Code List Version. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The version of the measure unit code list.</ccts:Definition>
<ccts:ObjectClass>Measure Unit</ccts:ObjectClass>
<ccts:PropertyTermName>Code List Version</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- ===== CCT: NumericType ===== -->
<!-- =================================================================== -->
<xsd:complexType name="NumericType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000014</ccts:UniqueID>
<ccts:CategoryCode>CCT</ccts:CategoryCode>
<ccts:DictionaryEntryName>Numeric. Type</ccts:DictionaryEntryName>
<ccts:VersionID>1.0</ccts:VersionID>
<ccts:Definition>Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure.</ccts:Definition>
<ccts:RepresentationTermName>Numeric</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:decimal">
<xsd:attribute name="format" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000014-SC2</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Numeric. Format. Text</ccts:DictionaryEntryName>
<ccts:Definition>Whether the number is an integer, decimal, real number or percentage.</ccts:Definition>
<ccts:ObjectClass>Numeric</ccts:ObjectClass>
<ccts:PropertyTermName>Format</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- ===== CCT: QuantityType ===== -->
<!-- =================================================================== -->
<xsd:complexType name="QuantityType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000018</ccts:UniqueID>
<ccts:CategoryCode>CCT</ccts:CategoryCode>
<ccts:DictionaryEntryName>Quantity. Type</ccts:DictionaryEntryName>
<ccts:VersionID>1.0</ccts:VersionID>
<ccts:Definition>A counted number of non-monetary units possibly including fractions.</ccts:Definition>
<ccts:RepresentationTermName>Quantity</ccts:RepresentationTermName>
<ccts:PrimitiveType>decimal</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:decimal">
<xsd:attribute name="unitCode" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000018-SC2</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Quantity. Unit. Code</ccts:DictionaryEntryName>
<ccts:Definition>The unit of the quantity</ccts:Definition>
<ccts:ObjectClass>Quantity</ccts:ObjectClass>
<ccts:PropertyTermName>Unit Code</ccts:PropertyTermName>
<ccts:RepresentationTermName>Code</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="unitCodeListID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000018-SC3</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Quantity Unit. Code List. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The quantity unit code list.</ccts:Definition>
<ccts:ObjectClass>Quantity Unit</ccts:ObjectClass>
<ccts:PropertyTermName>Code List</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="unitCodeListAgencyID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000018-SC4</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Quantity Unit. Code List Agency. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The identification of the agency that maintains the quantity unit code list</ccts:Definition>
<ccts:ObjectClass>Quantity Unit</ccts:ObjectClass>
<ccts:PropertyTermName>Code List Agency</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
<ccts:UsageRule>Defaults to the UN/EDIFACT data element 3055 code list.</ccts:UsageRule>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="unitCodeListAgencyName" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000018-SC5</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Quantity Unit. Code List Agency Name. Text</ccts:DictionaryEntryName>
<ccts:Definition>The name of the agency which maintains the quantity unit code list.</ccts:Definition>
<ccts:ObjectClass>Quantity Unit</ccts:ObjectClass>
<ccts:PropertyTermName>Code List Agency Name</ccts:PropertyTermName>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<!-- ===== CCT: TextType ===== -->
<!-- =================================================================== -->
<xsd:complexType name="TextType">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000019</ccts:UniqueID>
<ccts:CategoryCode>CCT</ccts:CategoryCode>
<ccts:DictionaryEntryName>Text. Type</ccts:DictionaryEntryName>
<ccts:VersionID>1.0</ccts:VersionID>
<ccts:Definition>A character string (i.e. a finite set of characters) generally in the form of words of a language.</ccts:Definition>
<ccts:RepresentationTermName>Text</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="languageID" type="xsd:language" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000019-SC2</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName>Language. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The identifier of the language used in the content component.</ccts:Definition>
<ccts:ObjectClass>Language</ccts:ObjectClass>
<ccts:PropertyTermName>Identification</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="languageLocaleID" type="xsd:normalizedString" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
<ccts:UniqueID>UNDT000019-SC3</ccts:UniqueID>
<ccts:CategoryCode>SC</ccts:CategoryCode>
<ccts:DictionaryEntryName> Language. Locale. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>The identification of the locale of the language.</ccts:Definition>
<ccts:ObjectClass>Language</ccts:ObjectClass>
<ccts:PropertyTermName>Locale</ccts:PropertyTermName>
<ccts:RepresentationTermName>Identifier</ccts:RepresentationTermName>
<ccts:PrimitiveType>string</ccts:PrimitiveType>
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>

View File

@@ -0,0 +1,223 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Library: OASIS Universal Business Language (UBL) 2.1 OS
http://docs.oasis-open.org/ubl/os-UBL-2.1/
Release Date: 04 November 2013
Module: UBL-CommonExtensionComponents-2.1.xsd
Generated on: 2013-04-20 18:40(UTC)
Copyright (c) OASIS Open 2013. All Rights Reserved.
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2"
targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
elementFormDefault="qualified" attributeFormDefault="unqualified"
version="2.1">
<!-- ===== Imports ===== -->
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" schemaLocation="UBL-UnqualifiedDataTypes-2.1.xsd"/>
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" schemaLocation="UBL-CommonBasicComponents-2.1.xsd"/>
<!-- ===== Includes ===== -->
<xsd:include schemaLocation="UBL-ExtensionContentDataType-2.1.xsd"/>
<!-- ===== Aggregate Element and Type Declarations ===== -->
<xsd:element name="UBLExtensions" type="UBLExtensionsType">
<xsd:annotation>
<xsd:documentation>
A container for all extensions present in the document.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="UBLExtensionsType">
<xsd:annotation>
<xsd:documentation>
A container for all extensions present in the document.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="UBLExtension" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
A single extension for private use.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="UBLExtension" type="UBLExtensionType">
<xsd:annotation>
<xsd:documentation>
A single extension for private use.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="UBLExtensionType">
<xsd:annotation>
<xsd:documentation>
A single extension for private use.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="cbc:ID" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
An identifier for the Extension assigned by the creator of the extension.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="cbc:Name" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
A name for the Extension assigned by the creator of the extension.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ExtensionAgencyID" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
An agency that maintains one or more Extensions.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ExtensionAgencyName" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The name of the agency that maintains the Extension.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ExtensionVersionID" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The version of the Extension.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ExtensionAgencyURI" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
A URI for the Agency that maintains the Extension.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ExtensionURI" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
A URI for the Extension.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ExtensionReasonCode" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
A code for reason the Extension is being included.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ExtensionReason" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
A description of the reason for the Extension.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ExtensionContent" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The definition of the extension content.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<!-- ===== Basic Element and Type Declarations ===== -->
<xsd:element name="ExtensionAgencyID" type="ExtensionAgencyIDType"/>
<xsd:element name="ExtensionAgencyName" type="ExtensionAgencyNameType"/>
<xsd:element name="ExtensionAgencyURI" type="ExtensionAgencyURIType"/>
<xsd:element name="ExtensionContent" type="ExtensionContentType"/>
<xsd:element name="ExtensionReason" type="ExtensionReasonType"/>
<xsd:element name="ExtensionReasonCode" type="ExtensionReasonCodeType"/>
<xsd:element name="ExtensionURI" type="ExtensionURIType"/>
<xsd:element name="ExtensionVersionID" type="ExtensionVersionIDType"/>
<xsd:complexType name="ExtensionAgencyIDType">
<xsd:simpleContent>
<xsd:extension base="udt:IdentifierType"/>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="ExtensionAgencyNameType">
<xsd:simpleContent>
<xsd:extension base="udt:TextType"/>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="ExtensionAgencyURIType">
<xsd:simpleContent>
<xsd:extension base="udt:IdentifierType"/>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="ExtensionReasonType">
<xsd:simpleContent>
<xsd:extension base="udt:TextType"/>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="ExtensionReasonCodeType">
<xsd:simpleContent>
<xsd:extension base="udt:CodeType"/>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="ExtensionURIType">
<xsd:simpleContent>
<xsd:extension base="udt:IdentifierType"/>
</xsd:simpleContent>
</xsd:complexType>
<xsd:complexType name="ExtensionVersionIDType">
<xsd:simpleContent>
<xsd:extension base="udt:IdentifierType"/>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>
<!-- ===== Copyright Notice ===== -->
<!--
OASIS takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to pertain
to the implementation or use of the technology described in this
document or the extent to which any license under such rights
might or might not be available; neither does it represent that it has
made any effort to identify any such rights. Information on OASIS's
procedures with respect to rights in OASIS specifications can be
found at the OASIS website. Copies of claims of rights made
available for publication and any assurances of licenses to be made
available, or the result of an attempt made to obtain a general
license or permission for the use of such proprietary rights by
implementors or users of this specification, can be obtained from
the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to
implement this specification. Please address the information to the
OASIS Executive Director.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain
it or assist in its implementation may be prepared, copied,
published and distributed, in whole or in part, without restriction of
any kind, provided that the above copyright notice and this
paragraph are included on all such copies and derivative works.
However, this document itself may not be modified in any way,
such as by removing the copyright notice or references to OASIS,
except as needed for the purpose of developing OASIS
specifications, in which case the procedures for copyrights defined
in the OASIS Intellectual Property Rights document must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on
an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
WARRANTY THAT THE USE OF THE INFORMATION HEREIN
WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.
-->

View File

@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Library: OASIS Universal Business Language (UBL) 2.1 OS
http://docs.oasis-open.org/ubl/os-UBL-2.1/
Release Date: 04 November 2013
Module: xsd/common/UBL-CommonSignatureComponents-2.1.xsd
Generated on: 2013-10-31 17:18z
Copyright (c) OASIS Open 2013. All Rights Reserved.
-->
<xsd:schema xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2"
xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ccts="urn:un:unece:uncefact:documentation:2"
targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="2.1">
<!-- ===== Imports ===== -->
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2"
schemaLocation="UBL-SignatureAggregateComponents-2.1.xsd"/>
<!-- ===== Element Declarations ===== -->
<xsd:element name="UBLDocumentSignatures" type="UBLDocumentSignaturesType"/>
<!-- ===== Type Definitions ===== -->
<!-- ===== Aggregate Business Information Entity Type Definitions ===== -->
<xsd:complexType name="UBLDocumentSignaturesType">
<xsd:annotation>
<xsd:documentation>
<ccts:Component>
<ccts:ComponentType>ABIE</ccts:ComponentType>
<ccts:DictionaryEntryName>UBL Document Signatures. Details</ccts:DictionaryEntryName>
<ccts:Definition>This class collects all signature information for a document.</ccts:Definition>
<ccts:ObjectClass>UBL Document Signatures</ccts:ObjectClass>
</ccts:Component>
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="sac:SignatureInformation" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
<ccts:Component>
<ccts:ComponentType>ASBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>UBL Document Signatures. Signature Information</ccts:DictionaryEntryName>
<ccts:Definition>Each of these is scaffolding for a single digital signature.</ccts:Definition>
<ccts:Cardinality>1..n</ccts:Cardinality>
<ccts:ObjectClass>UBL Document Signatures</ccts:ObjectClass>
<ccts:PropertyTerm>Signature Information</ccts:PropertyTerm>
<ccts:AssociatedObjectClass>Signature Information</ccts:AssociatedObjectClass>
<ccts:RepresentationTerm>Signature Information</ccts:RepresentationTerm>
</ccts:Component>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<!-- ===== Copyright Notice ===== --><!--
OASIS takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to pertain
to the implementation or use of the technology described in this
document or the extent to which any license under such rights
might or might not be available; neither does it represent that it has
made any effort to identify any such rights. Information on OASIS's
procedures with respect to rights in OASIS specifications can be
found at the OASIS website. Copies of claims of rights made
available for publication and any assurances of licenses to be made
available, or the result of an attempt made to obtain a general
license or permission for the use of such proprietary rights by
implementors or users of this specification, can be obtained from
the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to
implement this specification. Please address the information to the
OASIS Executive Director.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain
it or assist in its implementation may be prepared, copied,
published and distributed, in whole or in part, without restriction of
any kind, provided that the above copyright notice and this
paragraph are included on all such copies and derivative works.
However, this document itself may not be modified in any way,
such as by removing the copyright notice or references to OASIS,
except as needed for the purpose of developing OASIS
specifications, in which case the procedures for copyrights defined
in the OASIS Intellectual Property Rights document must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on
an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
WARRANTY THAT THE USE OF THE INFORMATION HEREIN
WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.
-->

View File

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Library: OASIS Universal Business Language (UBL) 2.1 OS
http://docs.oasis-open.org/ubl/os-UBL-2.1/
Release Date: 04 November 2013
Module: UBL-CoreComponentParameters-2.1.xsd
Generated on: 2013-04-20 18:40(UTC)
Copyright (c) OASIS Open 2013. All Rights Reserved.
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:un:unece:uncefact:documentation:2"
xmlns="urn:un:unece:uncefact:documentation:2"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="2.1">
</xsd:schema>
<!-- ===== Copyright Notice ===== -->
<!--
OASIS takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to pertain
to the implementation or use of the technology described in this
document or the extent to which any license under such rights
might or might not be available; neither does it represent that it has
made any effort to identify any such rights. Information on OASIS's
procedures with respect to rights in OASIS specifications can be
found at the OASIS website. Copies of claims of rights made
available for publication and any assurances of licenses to be made
available, or the result of an attempt made to obtain a general
license or permission for the use of such proprietary rights by
implementors or users of this specification, can be obtained from
the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to
implement this specification. Please address the information to the
OASIS Executive Director.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain
it or assist in its implementation may be prepared, copied,
published and distributed, in whole or in part, without restriction of
any kind, provided that the above copyright notice and this
paragraph are included on all such copies and derivative works.
However, this document itself may not be modified in any way,
such as by removing the copyright notice or references to OASIS,
except as needed for the purpose of developing OASIS
specifications, in which case the procedures for copyrights defined
in the OASIS Intellectual Property Rights document must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on
an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
WARRANTY THAT THE USE OF THE INFORMATION HEREIN
WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.
-->

View File

@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Library: OASIS Universal Business Language (UBL) 2.1 OS
http://docs.oasis-open.org/ubl/os-UBL-2.1/
Release Date: 04 November 2013
Module: UBL-ExtensionContentDataType-2.1.xsd
Generated on: 2013-04-20 18:40(UTC)
Copyright (c) OASIS Open 2013. All Rights Reserved.
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=
"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
targetNamespace=
"urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="2.1">
<!--import here all extension schemas-->
<xsd:import namespace=
"urn:oasis:names:specification:ubl:schema:xsd:CommonSignatureComponents-2"
schemaLocation="UBL-CommonSignatureComponents-2.1.xsd"/>
<!-- ===== Type Declaration ===== -->
<xsd:complexType name="ExtensionContentType">
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax"
minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Any element in any namespace other than the UBL extension
namespace is allowed to be the apex element of an extension.
Only those elements found in the UBL schemas and in the
trees of schemas imported in this module are validated.
Any element for which there is no schema declaration in any
of the trees of schemas passes validation and is not
treated as a schema constraint violation.
</xsd:documentation>
</xsd:annotation>
</xsd:any>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<!-- ===== Copyright Notice ===== -->
<!--
OASIS takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to pertain
to the implementation or use of the technology described in this
document or the extent to which any license under such rights
might or might not be available; neither does it represent that it has
made any effort to identify any such rights. Information on OASIS's
procedures with respect to rights in OASIS specifications can be
found at the OASIS website. Copies of claims of rights made
available for publication and any assurances of licenses to be made
available, or the result of an attempt made to obtain a general
license or permission for the use of such proprietary rights by
implementors or users of this specification, can be obtained from
the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to
implement this specification. Please address the information to the
OASIS Executive Director.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain
it or assist in its implementation may be prepared, copied,
published and distributed, in whole or in part, without restriction of
any kind, provided that the above copyright notice and this
paragraph are included on all such copies and derivative works.
However, this document itself may not be modified in any way,
such as by removing the copyright notice or references to OASIS,
except as needed for the purpose of developing OASIS
specifications, in which case the procedures for copyrights defined
in the OASIS Intellectual Property Rights document must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on
an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
WARRANTY THAT THE USE OF THE INFORMATION HEREIN
WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.
-->

View File

@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Library: OASIS Universal Business Language (UBL) 2.1 OS
http://docs.oasis-open.org/ubl/os-UBL-2.1/
Release Date: 04 November 2013
Module: UBL-QualifiedDataTypes-2.1.xsd
Generated on: 2013-04-20 18:40(UTC)
Copyright (c) OASIS Open 2013. All Rights Reserved.
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2"
xmlns="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2"
xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2"
xmlns:ccts="urn:un:unece:uncefact:documentation:2"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="2.1">
<!-- ===== Imports ===== -->
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2" schemaLocation="UBL-UnqualifiedDataTypes-2.1.xsd"/>
<!-- ===== Type Definitions ===== -->
<!--no qualified data types defined at this time-->
</xsd:schema>
<!-- ===== Copyright Notice ===== -->
<!--
OASIS takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to pertain
to the implementation or use of the technology described in this
document or the extent to which any license under such rights
might or might not be available; neither does it represent that it has
made any effort to identify any such rights. Information on OASIS's
procedures with respect to rights in OASIS specifications can be
found at the OASIS website. Copies of claims of rights made
available for publication and any assurances of licenses to be made
available, or the result of an attempt made to obtain a general
license or permission for the use of such proprietary rights by
implementors or users of this specification, can be obtained from
the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to
implement this specification. Please address the information to the
OASIS Executive Director.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain
it or assist in its implementation may be prepared, copied,
published and distributed, in whole or in part, without restriction of
any kind, provided that the above copyright notice and this
paragraph are included on all such copies and derivative works.
However, this document itself may not be modified in any way,
such as by removing the copyright notice or references to OASIS,
except as needed for the purpose of developing OASIS
specifications, in which case the procedures for copyrights defined
in the OASIS Intellectual Property Rights document must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on
an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
WARRANTY THAT THE USE OF THE INFORMATION HEREIN
WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.
-->

View File

@@ -0,0 +1,138 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Library: OASIS Universal Business Language (UBL) 2.1 OS
http://docs.oasis-open.org/ubl/os-UBL-2.1/
Release Date: 04 November 2013
Module: xsd/common/UBL-SignatureAggregateComponents-2.1.xsd
Generated on: 2013-10-31 17:18z
Copyright (c) OASIS Open 2013. All Rights Reserved.
-->
<xsd:schema xmlns="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2"
xmlns:sac="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2"
xmlns:sbc="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:ccts="urn:un:unece:uncefact:documentation:2"
targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:SignatureAggregateComponents-2"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="2.1">
<!-- ===== Imports ===== -->
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2"
schemaLocation="UBL-SignatureBasicComponents-2.1.xsd"/>
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
schemaLocation="UBL-CommonBasicComponents-2.1.xsd"/>
<!-- ===== Incorporate W3C signature specification-->
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#"
schemaLocation="UBL-xmldsig-core-schema-2.1.xsd"/>
<!-- ===== Incorporate ETSI signature specifications-->
<xsd:import namespace="http://uri.etsi.org/01903/v1.3.2#"
schemaLocation="UBL-XAdESv132-2.1.xsd"/>
<xsd:import namespace="http://uri.etsi.org/01903/v1.4.1#"
schemaLocation="UBL-XAdESv141-2.1.xsd"/>
<!-- ===== Element Declarations ===== -->
<xsd:element name="SignatureInformation" type="SignatureInformationType"/>
<!-- ===== Type Definitions ===== -->
<!-- ===== Aggregate Business Information Entity Type Definitions ===== -->
<xsd:complexType name="SignatureInformationType">
<xsd:annotation>
<xsd:documentation>
<ccts:Component>
<ccts:ComponentType>ABIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Signature Information. Details</ccts:DictionaryEntryName>
<ccts:Definition>This class captures a single signature and optionally associates to a signature in the document with the corresponding identifier.</ccts:Definition>
<ccts:ObjectClass>Signature Information</ccts:ObjectClass>
</ccts:Component>
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element ref="cbc:ID" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:Component>
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Signature Information. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>This specifies the identifier of the signature distinguishing it from other signatures.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Signature Information</ccts:ObjectClass>
<ccts:PropertyTerm>Identifier</ccts:PropertyTerm>
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
<ccts:DataType>Identifier. Type</ccts:DataType>
</ccts:Component>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="sbc:ReferencedSignatureID" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
<ccts:Component>
<ccts:ComponentType>BBIE</ccts:ComponentType>
<ccts:DictionaryEntryName>Signature Information. Referenced Signature Identifier. Identifier</ccts:DictionaryEntryName>
<ccts:Definition>This associates this signature with the identifier of a signature business object in the document.</ccts:Definition>
<ccts:Cardinality>0..1</ccts:Cardinality>
<ccts:ObjectClass>Signature Information</ccts:ObjectClass>
<ccts:PropertyTerm>Referenced Signature Identifier</ccts:PropertyTerm>
<ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm>
<ccts:DataType>Identifier. Type</ccts:DataType>
</ccts:Component>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ds:Signature" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is a single digital signature as defined by the W3C specification.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<!-- ===== Copyright Notice ===== --><!--
OASIS takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to pertain
to the implementation or use of the technology described in this
document or the extent to which any license under such rights
might or might not be available; neither does it represent that it has
made any effort to identify any such rights. Information on OASIS's
procedures with respect to rights in OASIS specifications can be
found at the OASIS website. Copies of claims of rights made
available for publication and any assurances of licenses to be made
available, or the result of an attempt made to obtain a general
license or permission for the use of such proprietary rights by
implementors or users of this specification, can be obtained from
the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to
implement this specification. Please address the information to the
OASIS Executive Director.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain
it or assist in its implementation may be prepared, copied,
published and distributed, in whole or in part, without restriction of
any kind, provided that the above copyright notice and this
paragraph are included on all such copies and derivative works.
However, this document itself may not be modified in any way,
such as by removing the copyright notice or references to OASIS,
except as needed for the purpose of developing OASIS
specifications, in which case the procedures for copyrights defined
in the OASIS Intellectual Property Rights document must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on
an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
WARRANTY THAT THE USE OF THE INFORMATION HEREIN
WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.
-->

View File

@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Library: OASIS Universal Business Language (UBL) 2.1 OS
http://docs.oasis-open.org/ubl/os-UBL-2.1/
Release Date: 04 November 2013
Module: xsd/common/UBL-SignatureBasicComponents-2.1.xsd
Generated on: 2013-10-31 17:18z
Copyright (c) OASIS Open 2013. All Rights Reserved.
-->
<xsd:schema xmlns="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2"
xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2"
xmlns:udt="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:SignatureBasicComponents-2"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="2.1">
<!-- ===== Imports ===== -->
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2"
schemaLocation="UBL-QualifiedDataTypes-2.1.xsd"/>
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2"
schemaLocation="UBL-UnqualifiedDataTypes-2.1.xsd"/>
<!-- ===== Element Declarations ===== -->
<xsd:element name="ReferencedSignatureID" type="ReferencedSignatureIDType"/>
<!-- ===== Type Definitions ===== -->
<!-- ===== Basic Business Information Entity Type Definitions ===== -->
<xsd:complexType name="ReferencedSignatureIDType">
<xsd:simpleContent>
<xsd:extension base="udt:IdentifierType"/>
</xsd:simpleContent>
</xsd:complexType>
</xsd:schema>
<!-- ===== Copyright Notice ===== --><!--
OASIS takes no position regarding the validity or scope of any
intellectual property or other rights that might be claimed to pertain
to the implementation or use of the technology described in this
document or the extent to which any license under such rights
might or might not be available; neither does it represent that it has
made any effort to identify any such rights. Information on OASIS's
procedures with respect to rights in OASIS specifications can be
found at the OASIS website. Copies of claims of rights made
available for publication and any assurances of licenses to be made
available, or the result of an attempt made to obtain a general
license or permission for the use of such proprietary rights by
implementors or users of this specification, can be obtained from
the OASIS Executive Director.
OASIS invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights which may cover technology that may be required to
implement this specification. Please address the information to the
OASIS Executive Director.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain
it or assist in its implementation may be prepared, copied,
published and distributed, in whole or in part, without restriction of
any kind, provided that the above copyright notice and this
paragraph are included on all such copies and derivative works.
However, this document itself may not be modified in any way,
such as by removing the copyright notice or references to OASIS,
except as needed for the purpose of developing OASIS
specifications, in which case the procedures for copyrights defined
in the OASIS Intellectual Property Rights document must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on
an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY
WARRANTY THAT THE USE OF THE INFORMATION HEREIN
WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR PURPOSE.
-->

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