e.Toscana Compliance 
Request for Comments: 21_v2 
Del: 16/11/2007 
Categoria: Applicativa
Destinatari: Regione Toscana, Comuni, Amministrazioni locali

CITEL

Servizi di Pagamento Tributi e Contravvenzioni per i Portali al cittadino
 
Indice
------
1. Contesto di riferimento ed obiettivi
2. Interfaccia Portale CITEL - Gestore Incassi
3. WSDL dei web method e Schema (XSD) dei parametri
4. Prodotti attesi
5. Bibliografia


1.	Contesto di riferimento ed obiettivi
---------------------------------------
L'ambito della presente descrizione si riferisce all'attuazione di un portale di e-government 
accessibile via Web, in particolare il Portale CITEL, che fornisce servizi al cittadino con la 
possibilit di eseguire pagamenti on line contestualmente alla fruizione del servizio.
In generale i servizi on line di questa tipologia devono rendere disponibili funzionalit quali:
- il riconoscimento e l'autenticazione dell'utente, cittadino e/o impresa;
- la gestione della richiesta dell'utente;
- il reperimento, dalle applicazioni di back office, dei dati relativi alla richiesta;
- l'esecuzione del pagamento on line;
- l'aggiornamento dei dati di back office con i risultati dei pagamenti effettuati;
- la riconciliazione e rendicontazione dei pagamenti eseguiti.

Il Portale CITEL  un portale multiente la cui macrostruttura  costituita da una applicazione Web,
che costituisce il "front-office" di CITEL e che gestisce l'utente, cittadino o impresa, 
ed i servizi on line a lui disponibili. 
Questa componente interagisce con le applicazioni di back office dei vari Enti aderenti a CITEL,
per reperire i dati richiesti dall'utente ed inviare ai back office le modifiche derivanti 
dalle operazioni eseguite dall'utente. L'interazione prevede quindi un colloquio bidirezionale
fra CITEL e le applicazioni di back office.

Questa RFC  mirata specificamente alla descrizione delle funzioni di interazione 
con le applicazioni di back office ed i dati che dette applicazioni gestiscono.

Nel contesto CITEL il colloquio suddetto  realizzato attraverso un componente software locale
a CITEL, il componente "Gestore Incassi", che colloquia da un lato con i servizi 
applicativi on line del portale CITEL e dall'altro con le applicazioni di back-office.
Il componente Gestore Incassi presenta una interfaccia standardizzata, nell'ambito di CITEL,
verso le applicazioni di back-office di tutti gli Enti aderenti.
Lo scambio dati con le applicazioni di back-office avviene quindi nel rispetto di queste 
interfacce, realizzate attraverso Web Services, descritte nella presente RFC.
Il colloquio con i back-office prevede, da parte del Gestore Incassi:
- linvio delle richieste di consultazione delle pendenze del cittadino;
- la ricezione dei dati relativi alle suddette pendenze, inviate dalle applicazioni di back-office;
- la notifica, verso le applicazione di back-office, dei dati contabili ed applicativi, relativi 
ai pagamenti effettuati dal cittadino attraverso il portale.

La definizione e l'applicazione di questo protocollo di cooperazione permette l'integrazione 
di sistemi di back office differenti attraverso una interfaccia univoca.


2.      Interfaccia Portale CITEL - Gestore Incassi
---------------------------------------
Il presente paragrafo descrive il Web Method necessario ai servizi on line dellarea pagamenti:

	posizione debitoria;
	pagamenti precalcolati;
	pagamento contravvenzioni.

Il servizio Posizione debitoria consente ad un utente di consultare tutte le sue pendenze nei
confronti dell'Ente e di selezionare e pagare quelle volute.

Il servizio Pagamenti precalcolati consente ad un utente di richiedere i dati di uno 
specifico tributo, con importo predefinito dall'Ente, di cui conosce gli estremi.

Il servizio Pagamento Contravvenzioni consente all'utente di verificare i dati di una 
contravvenzione e pagarla.

Le richieste effettuate dai suddetti servizi sono le seguenti:
*	GetDebtSituation, richiesta della posizione debitoria del cittadino
*	GetBillDetails, richiesta di un dettaglio di pendenza
*	BillPaymentNotify, notifica di un avvenuto pagamento
*	GetFineTypes, richiesta dell'elenco di tipologie di contravvenzioni gestite
*	GetFineDetails, richiesta di un dettaglio di contravvenzione
*	FinePaymentNotify, notifica di un avvenuto pagamento per una contravvenzione

Tali richieste sono realizzate da un unico web method denominato richiesta a cui viene passato 
come parametro un xml differente per ogni richiesta.

Il seguente prospetto descrive, per ogni funzionalit di front-office, le richieste effettuate.

Posizione debitoria
*	GetDebtSituation
*	GetBillDetails
*	BillPaymentNotify

Pagamenti precalcolati
*	GetBillDetails
*	BillPaymentNotify

Pagamento contravvenzioni
*	GetFineTypes
*	GetFineDetails
*	FinePaymentNotify

3.	WSDL dei web method	e schema (xsd) dei parametri
---------------------------------------
La presente sezione descrive il documento WSDL (Web Service Definition Language) descrittivo dei web service coinvolti.
Per quanto riguarda il web service esposto dal GestoreIncassi, verranno riportati anche gli schema di validazione del parametro contenente le richieste e le risposte in formato xml.

Il Web service di GestoreIncassi contiene un solo metodo, richiesta, che prevede un parametro di input di tipo stringa e restituisce un valore anch'esso di tipo stringa, come verificabile dal wsdl riportato qui di seguito.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://regulus.it/gestoreincassi" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://regulus.it/gestoreincassi" xmlns:intf="http://regulus.it/gestoreincassi" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <wsdl:types>
  <schema elementFormDefault="qualified" targetNamespace="http://regulus.it/gestoreincassi" xmlns="http://www.w3.org/2001/XMLSchema">
   <element name="xmlInput" type="xsd:string"/>
   <element name="richiestaReturn" type="xsd:string"/>
  </schema>
 </wsdl:types>
   <wsdl:message name="richiestaResponse">
      <wsdl:part element="intf:richiestaReturn" name="richiestaReturn"/>
   </wsdl:message>
   <wsdl:message name="richiestaRequest">
      <wsdl:part element="intf:xmlInput" name="xmlInput"/>
   </wsdl:message>
   <wsdl:portType name="GestoreIncassi30">
      <wsdl:operation name="richiesta" parameterOrder="xmlInput">
         <wsdl:input message="intf:richiestaRequest" name="richiestaRequest"/>
         <wsdl:output message="intf:richiestaResponse" name="richiestaResponse"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="GestoreIncassi30SoapBinding" type="intf:GestoreIncassi30">
      <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="richiesta">
         <wsdlsoap:operation soapAction="richiesta"/>
         <wsdl:input name="richiestaRequest">
            <wsdlsoap:body use="literal"/>
         </wsdl:input>
         <wsdl:output name="richiestaResponse">
            <wsdlsoap:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="GestoreIncassi30Service">
      <wsdl:port binding="intf:GestoreIncassi30SoapBinding" name="GestoreIncassi30">
         <wsdlsoap:address location="http://localhost/GestoreIncassi"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>

I parametri di richiesta e le risposte del colloquio con GestoreIncassi sono degli xml ed hanno la medesima struttura:
una sezione introduttiva dove sono indicati, per la richiesta, i dati identificativi e la funzionalit richiesta ed in pi, per la risposta, l'esito dell'operazione;
un elemento, DATIFORNITI per la richiesta e DATIOUTPUT per la risposta, in cui sono riportati i dati specifici della funzionalit.
Il contenuto di questi ultimi verr descritto nel prossimo paragrafo.
E' bene qui descrivere il contenuto dell'elemento ESITO e degli attributi RC e TIPOM.
Gli attributi RC e TIPOM indicano l'esito della risposta. 
TIPOM contiene una tipologia di raggruppamento e vale 0 in caso di esito positivo, 1 in caso di warning, 2 per un errore applicativo e 3 in caso di errore grave.
Nei casi 0 e 1 il contenuto del nodo DATIOUTPUT  valorizzato con l'opportuna risposta in base alla richiesta effettuata.
L'attributo RC contiene il codice di errore che serve per avere un maggiore dettaglio ai fini di una gestione applicativa del problema.
Il nodo ESITO conterr, in caso di errore, un messaggio descrittivo del problema riscontrato. Tale messaggio pu essere utile in caso di intervento dell'assistenza tecnica.
Questa la tabella riepilogativa degli errori, il messaggio  indicativo in quanto in caso di errore grave viene riportata l'exception occorsa:
RC    TIPOM ESITO
0		0	"" 
4097	1	"La fattura ricercata e' gia' pagata" 
4098	1	"La fattura ricercata e' gia' in pagamento" 
4099	1	"La fattura ricercata e' gia' pagabile" 
4100	1	"Non ci sono elementi che rispettano i parametri di ricerca indicati" 
4105	1	"Alcune delle informazioni richieste non sono recuperabili" 
769		2	"La fattura ricercata e' gia' pagata" 
770		2	"La rata e' gia' pagata" 
771		2	"L'Id Ordine Pagamento e' gia' registrato" 
772		2	"La multa ricercata non e' pagabile" 
773		2	"La fattura ricercata non e' stata trovata" 
774		2	"Il documento cercato non e' stato trovato" 
775		2	"La funzionalit richiesta non e' disponibile" 
776		2	"Non  stato fornito un valore obbligatorio" 
777		2	"Il tributo richiesto non  in carico a GestoreIncassi" 
778		2	"La rata non pu essere sprenotata in quanto prenotata da altri" 
784		2	"La multa non pu essere prenotata in quanto gi pagata" 
785		2	"La multa non pu essere prenotata in quanto gi prenotata da un altra richiesta" 
786		2	"La multa non pu essere prenotata in quanto non pagabile" 
787		2	"La multa non pu essere sprenotata in quanto prenotata da altri" 
1025	2	"L'identificativo fornito non  corretto" 
1026	2	"La targa indicata non corrisponde a quella associata al verbale in esame" 
1314	2	"Condizione di ricerca su DB non valorizzata" 
1315	2	"Condizione di ricerca su DB non univoca" 
1280	3	"Generic Exception" 
1286	3	"File Not Found Exception" 
1287	3	"IO Exception" 
1288	3	"Parse Exception" 
1289	3	"SAX Parse Exception" 
1291	3	"DB connection closed Exception" 
1292	3	"Linkage Error" 
1293	3	"Initializer Exception" 
1294	3	"SAX not supported Exception" 
1295	3	"SAX not recognized Exception" 
1312	3	"Parse Configuration Exception" 
1313	3	"DB record not found" 
1316	2	"Application and DB data mismatch" 
1317	3	"DB query error" 
1318	3	"DB update error" 
1319	3	"DB insert error" 
1320	3	"DB delete error" 
1281	3	"Naming Exception" 
1282	3	"SQL Exception" 
1283	3	"Class Not Found Exception" 
1284	3	"Illegal Access Exception" 
1290	3	"Null Object Exception" 
1285	3	"Instantiation Exception"



Schema della richiesta GetDebtSituation:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getdebtsituationreq" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getdebtsituationreq" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:simpleType name="TipoAnno">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodiceFiscale">
		<xs:restriction base="xs:string">
			<xs:minLength value="11"/>
			<xs:maxLength value="16"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoCodiceEnte">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di codice enti utilizzati: 1 - Codice Regulus, 2 - ISTAT, 3 - Belfiore</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="DATIFORNITI">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="CODFISC" type="CodiceFiscale"/>
				<xs:element name="CODENTE" type="xs:string" minOccurs="0"/>
				<xs:element name="TIPOCODENTE" type="TipoCodiceEnte" minOccurs="0"/>
				<xs:element name="CODTRIBUTO" type="xs:string" minOccurs="0"/>
				<xs:element name="DATAINIZIO" type="xs:date" minOccurs="0"/>
				<xs:element name="DATAFINE" type="xs:date" minOccurs="0"/>
				<xs:element name="ANNODOC" type="TipoAnno" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RICHIESTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="DataRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="ABI" type="xs:string" use="optional"/>
						<xs:attribute name="CAB" type="xs:string" use="optional"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="CANALE">
					<xs:complexType>
						<xs:attribute name="IdentificativoCanale" type="xs:string" use="required"/>
						<xs:attribute name="CodiceUtente" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIFORNITI" />
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della risposta GetDebtSituation:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getdebtsituationresp" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getdebtsituationresp" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:simpleType name="TipoAnno">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodiceFiscale">
		<xs:restriction base="xs:string">
			<xs:minLength value="11"/>
			<xs:maxLength value="16"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoCodiceEnte">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di codice enti utilizzati: 1 - Codice Regulus, 2 - ISTAT, 3 - Belfiore</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoStatoDocumento">
		<xs:annotation>
			<xs:documentation>Definizione dei possibili stati relativi alle fasi evolutive del pagamento: 0 - Pagabile, 1 - Pagata, 2 - Iscritta a ruolo, 3 - Rateizzata, 4 - Non pagabile, 5 - Archiviata, 6 - Ricorso in atto, 9 - Annullata, 20 - In pagamento, 101 - NonTrovataNonPagabile</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="0"/>
			<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="9"/>
			<xs:enumeration value="20"/>
			<xs:enumeration value="101"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="DATIOUTPUT">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="NUMDOCUMENTI" type="xs:string"/>
				<xs:element name="DOCUMENTO" minOccurs="0" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CODENTE" type="xs:string"/>
							<xs:element name="DESCRENTE" type="xs:string" minOccurs="0"/>
							<xs:element name="TIPOCODENTE" type="TipoCodiceEnte"/>
							<xs:element name="CODTRIBUTO" type="xs:string"/>
							<xs:element name="DESCRTRIBUTO" type="xs:string" minOccurs="0"/>
							<xs:element name="CODTIPODOC" type="xs:string" minOccurs="0"/>
							<xs:element name="DESCRTIPODOC" type="xs:string" minOccurs="0"/>
							<xs:element name="NUMDOC" type="xs:string"/>
							<xs:element name="ANNODOC" type="TipoAnno"/>
							<xs:element name="DATAEMISSIONE" type="xs:date" minOccurs="0"/>
							<xs:element name="DATASCADENZA" type="xs:date" minOccurs="0"/>
							<xs:element name="IMPTOTDOC" type="xs:string"/>
							<xs:element name="IMPTOTRESIDDOC" type="xs:string" minOccurs="0"/>
							<xs:element name="NUMRATE" type="xs:short"/>
							<xs:element name="NUMRATEINSCAD" type="xs:short"/>
							<xs:element name="STATOPAG" type="TipoStatoDocumento"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RISPOSTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRisposta" type="xs:string" use="required"/>
						<xs:attribute name="DataRisposta" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="ESITO">
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:string">
								<xs:attribute name="RC" type="xs:string" use="required"/>
								<xs:attribute name="RCADD" type="xs:string" use="required"/>
								<xs:attribute name="TIPOM" type="xs:string" use="required"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIOUTPUT"/>
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della richiesta GetBillDetails:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getbilldetailsreq" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getbilldetailsreq" elementFormDefault="qualified">
	<xs:simpleType name="TipoAnno">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodiceFiscale">
		<xs:restriction base="xs:string">
			<xs:minLength value="11"/>
			<xs:maxLength value="16"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoCodiceEnte">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di codice enti utilizzati: 1 - Codice Regulus, 2 - ISTAT, 3 - Belfiore</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="DATIFORNITI">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="CODENTE" type="xs:string"/>
				<xs:element name="TIPOCODENTE" type="TipoCodiceEnte"/>
				<xs:element name="CODTRIBUTO" type="xs:string"/>
				<xs:element name="NUMDOC" type="xs:string"/>
				<xs:element name="ANNODOC" type="TipoAnno"/>
				<xs:element name="CODFISC" type="CodiceFiscale"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RICHIESTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="DataRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="ABI" type="xs:string" use="optional"/>
						<xs:attribute name="CAB" type="xs:string" use="optional"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="CANALE">
					<xs:complexType>
						<xs:attribute name="IdentificativoCanale" type="xs:string" use="required"/>
						<xs:attribute name="CodiceUtente" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIFORNITI" />
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della risposta GetBillDetails:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getbilldetailsresp" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getbilldetailsresp" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:simpleType name="TipoAnno">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodiceFiscale">
		<xs:restriction base="xs:string">
			<xs:minLength value="11"/>
			<xs:maxLength value="16"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoCodiceEnte">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di codice enti utilizzati: 1 - Codice Regulus, 2 - ISTAT, 3 - Belfiore</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoStatoDocumento">
		<xs:annotation>
			<xs:documentation>Definizione dei possibili stati relativi alle fasi evolutive del pagamento: 0 - Pagabile, 1 - Pagata, 2 - Iscritta a ruolo, 3 - Rateizzata, 4 - Non pagabile, 5 - Archiviata, 6 - Ricorso in atto, 9 - Annullata, 20 - In pagamento, 101 - NonTrovataNonPagabile</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="0"/>
			<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="9"/>
			<xs:enumeration value="20"/>
			<xs:enumeration value="101"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="TipoUtente">
		<xs:annotation>
			<xs:documentation>Informazioni utilizzate per individuare un soggetto coinvolto nella sanzione amministrativa</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CODICEFISCALE" type="CodiceFiscale" minOccurs="0"/>
			<xs:element name="COGNOME" type="xs:string" minOccurs="0"/>
			<xs:element name="NOME" type="xs:string" minOccurs="0"/>
			<xs:element name="RAGIONESOCIALE" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="DATIOUTPUT">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="INTESTATARIO" type="TipoUtente"/>
				<xs:element name="CODENTE" type="xs:string"/>
				<xs:element name="DESCRENTE" type="xs:string" minOccurs="0"/>
				<xs:element name="TIPOCODENTE" type="TipoCodiceEnte"/>
				<xs:element name="CODTRIBUTO" type="xs:string"/>
				<xs:element name="DESCRTRIBUTO" type="xs:string" minOccurs="0"/>
				<xs:element name="NUMDOC" type="xs:string"/>
				<xs:element name="ANNODOC" type="TipoAnno"/>
				<xs:element name="STATOPAG" type="TipoStatoDocumento"/>
				<xs:element name="IMPTOTDOC" type="xs:unsignedLong"/>
				<xs:element name="IMPBOLLO" type="xs:unsignedLong" minOccurs="0"/>
				<xs:element name="SOGLIABOLLO" type="xs:unsignedLong" minOccurs="0"/>
				<xs:element name="MESSAGGIUTENTE">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="MESSAGGIO" minOccurs="0" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="PROGR" type="xs:short"/>
										<xs:element name="TESTO" type="xs:string"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="NUMRATE" type="xs:short"/>
				<xs:element name="CODTIPODOC" type="xs:string" minOccurs="0"/>
				<xs:element name="DESCRTIPODOC" type="xs:string" minOccurs="0"/>
				<xs:element name="DATAEMISSIONE" type="xs:date"/>
				<xs:element name="DATASCADENZA" type="xs:date"/>
				<xs:element name="NUMRATEINSCAD" type="xs:short"/>
				<xs:element name="RATE">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="RATA" minOccurs="0" maxOccurs="unbounded">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="PROGRESSIVO" type="xs:string"/>
										<xs:element name="DATASCADENZA" type="xs:date"/>
										<xs:element name="DESCRRATA" type="xs:string" minOccurs="0"/>
										<xs:element name="IMPDAPAGARE" type="xs:unsignedLong"/>
										<xs:element name="IMPNOMINALE" type="xs:unsignedLong" minOccurs="0"/>
										<xs:element name="IMPSPESESUPPL" type="xs:unsignedLong" minOccurs="0"/>
										<xs:element name="DESCRSPESESUPPL" type="xs:string" minOccurs="0"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RISPOSTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRisposta" type="xs:string" use="required"/>
						<xs:attribute name="DataRisposta" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="ESITO">
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:string">
								<xs:attribute name="RC" type="xs:string" use="required"/>
								<xs:attribute name="RCADD" type="xs:string" use="required"/>
								<xs:attribute name="TIPOM" type="xs:string" use="required"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIOUTPUT"/>
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della richiesta BillPaymentNotify:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_billpaymentnotifyreq" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_billpaymentnotifyreq" elementFormDefault="qualified">
	<xs:simpleType name="TipoAnno">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodiceFiscale">
		<xs:restriction base="xs:string">
			<xs:minLength value="11"/>
			<xs:maxLength value="16"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoCodiceEnte">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di codice enti utilizzati: 1 - Codice Regulus, 2 - ISTAT, 3 - Belfiore</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoCanale">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoStatoPagamentoFattura">
		<xs:annotation>
			<xs:documentation>Definizione dei possibili stati che le fatture possono assumere: 0 - Pagabile, 1 - Pagata, 4 - Non pagabile, 20 - In pagamento</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="4"/>
			<xs:enumeration value="20"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="TipoUtente">
		<xs:annotation>
			<xs:documentation>Informazioni utilizzate per individuare un soggetto coinvolto nella sanzione amministrativa</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CODICEFISCALE" type="CodiceFiscale" minOccurs="0"/>
			<xs:element name="COGNOME" type="xs:string" minOccurs="0"/>
			<xs:element name="NOME" type="xs:string" minOccurs="0"/>
			<xs:element name="RAGIONESOCIALE" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="TipoDocumentoPagamento">
		<xs:annotation>
			<xs:documentation>Definizione delle possibili tipologie di documenti in pagamento: 0 - Registrato, 1 - Spontaneo</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoSistemaPagamento">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di sistemi di pagamento: BPASS = BankPass, BPASW = BankPass wallet, BPPR = BankPass di produzione, STFI = Setefi, RID = RID On-line, POSTA = Pagamento in posta, POST1 = Pagamento carta di credito con poste, POST2 = Pagamento banco-posta con poste, POST3 = Pagamento poste-pay con poste. Il contenuto va concordato in fase di configurazione dell'applicazione</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="BPASS"/>
			<xs:enumeration value="BPASW"/>
			<xs:enumeration value="BPPR"/>
			<xs:enumeration value="STFI"/>
			<xs:enumeration value="RID"/>
			<xs:enumeration value="POSTA"/>
			<xs:enumeration value="POST1"/>
			<xs:enumeration value="POST2"/>
			<xs:enumeration value="POST3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoMetodoPagamento">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di metodi di pagamento: CCANY = Carta Credito, WALLT = Portafoglio elettronico - wallet, RIDOL = RID On-line, CSI = Carta SI, CMAST = Carta MasterCard, CVISA = Carta VISA, CAMEX = Carta AmericanExpress, CDINR = Carta Diners, BLTPT = Bollettino postale, BONIF = Bonifico bancario o RID, CAURA = Carta Aura, CJCB = Carta JCB, CMAES = Carta Maestro, PPAY = Poste-Pay, BPOST = Banco posta. Il contenuto va concordato in fase di configurazione dell'applicazione</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="CCANY"/>
			<xs:enumeration value="WALLT"/>
			<xs:enumeration value="RIDOL"/>
			<xs:enumeration value="CSI"/>
			<xs:enumeration value="CMAST"/>
			<xs:enumeration value="CVISA"/>
			<xs:enumeration value="CAMEX"/>
			<xs:enumeration value="CDINR"/>
			<xs:enumeration value="BLTPT"/>
			<xs:enumeration value="BONIF"/>
			<xs:enumeration value="CAURA"/>
			<xs:enumeration value="CJCB"/>
			<xs:enumeration value="CMAES"/>
			<xs:enumeration value="PPAY"/>
			<xs:enumeration value="BPOST"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="TipoDatiPagamento">
		<xs:sequence>
			<xs:element name="SISTEMA" type="TipoSistemaPagamento"/>
			<xs:element name="METODO" type="TipoMetodoPagamento"/>
			<xs:element name="IDORDINE" type="xs:string"/>
			<xs:element name="DATAORDINE" type="xs:dateTime"/>
			<xs:element name="IDOPER" type="xs:string" minOccurs="0"/>
			<xs:element name="DATAOPER" type="xs:dateTime" minOccurs="0"/>
			<xs:element name="IDTRANS" type="xs:string" minOccurs="0"/>
			<xs:element name="DATATRANS" type="xs:dateTime" minOccurs="0"/>
			<xs:element name="IDAUT" type="xs:string" minOccurs="0"/>
			<xs:element name="DATAAUT" type="xs:dateTime" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TipoAttestazionePostale">
		<xs:annotation>
			<xs:documentation>Informazioni necessarie all'invio dell'attestazione di pagamento attraverso il canale postale</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="COGNOME" type="xs:string"/>
			<xs:element name="NOME" type="xs:string"/>
			<xs:element name="PRESSO" type="xs:string" minOccurs="0"/>
			<xs:element name="INDIRIZZO" type="xs:string"/>
			<xs:element name="NUMCIVICO" type="xs:string" minOccurs="0"/>
			<xs:element name="SUBCIVICO" type="xs:string" minOccurs="0"/>
			<xs:element name="CAP" type="xs:string" minOccurs="0"/>
			<xs:element name="COMUNE" type="xs:string"/>
			<xs:element name="PROVINCIA" type="xs:string"/>
			<xs:element name="NAZIONE" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TipoAttestazione">
		<xs:sequence>
			<xs:element name="MODALITA">
				<xs:annotation>
					<xs:documentation>0 - nessuna attestazione, 1 - attestazione postale, 2 - attestazione via e-mail, 3 - attestazione postale e via e-mail</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="0"/>
						<xs:enumeration value="1"/>
						<xs:enumeration value="2"/>
						<xs:enumeration value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:choice minOccurs="0">
				<xs:element name="EMAIL" type="xs:string"/>
				<xs:sequence>
					<xs:element name="DATIPOSTALI" type="TipoAttestazionePostale"/>
					<xs:element name="EMAIL" type="xs:string" minOccurs="0"/>
				</xs:sequence>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TipoDatiSpontanei">
		<xs:sequence>
			<xs:element name="NOTE" type="xs:string" minOccurs="0"/>
			<xs:element name="CAUSALE" type="xs:string" minOccurs="0"/>
			<xs:element name="INIZIOPERIODO" type="xs:date" minOccurs="0"/>
			<xs:element name="FINEPERIODO" type="xs:date" minOccurs="0"/>
			<xs:element name="QUANTITA" type="xs:unsignedShort" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="DATIFORNITI">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="INTESTATARIO" type="TipoUtente" minOccurs="0"/>
				<xs:element name="PAGANTE" type="TipoUtente" minOccurs="0"/>
				<xs:element name="CODENTE" type="xs:string"/>
				<xs:element name="TIPOCODENTE" type="TipoCodiceEnte"/>
				<xs:element name="CODTRIBUTO" type="xs:string"/>
				<xs:element name="TIPOPAG" type="TipoDocumentoPagamento"/>
				<xs:element name="NUMDOC" type="xs:string" minOccurs="0"/>
				<xs:element name="ANNODOC" type="TipoAnno"/>
				<xs:element name="DATADOC" type="xs:date" minOccurs="0"/>
				<xs:element name="IMPORTIDOC" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="TOTALE" type="xs:unsignedLong"/>
							<xs:element name="SPESESUPPL" type="xs:unsignedLong" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="NUMRATEPAG" type="xs:short"/>
				<xs:element name="RATE">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="RATA" type="xs:int" maxOccurs="unbounded"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="DATISPONTANEI" type="TipoDatiSpontanei" minOccurs="0"/>
				<xs:element name="IMPTOTALE" type="xs:unsignedLong"/>
				<xs:element name="IMPRATEPAG" type="xs:unsignedLong"/>
				<xs:element name="IMPBOLLO" type="xs:unsignedLong" minOccurs="0"/>
				<xs:element name="IMPCOMMISSIONI" type="xs:unsignedLong" minOccurs="0"/>
				<xs:element name="IMPSPESEATTEST" type="xs:unsignedLong" minOccurs="0"/>
				<xs:element name="IMPSPESEVARIE" type="xs:unsignedLong" minOccurs="0"/>
				<xs:element name="ATTESTAZIONE" type="TipoAttestazione" minOccurs="0"/>
				<xs:element name="CANALE" type="TipoCanale"/>
				<xs:element name="STATO" type="TipoStatoPagamentoFattura"/>
				<xs:element name="IDPRENOTAZIONE" type="xs:string" minOccurs="0"/>
				<xs:element name="DATIPAGAMENTO" type="TipoDatiPagamento" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RICHIESTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="DataRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="ABI" type="xs:string" use="optional"/>
						<xs:attribute name="CAB" type="xs:string" use="optional"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="CANALE">
					<xs:complexType>
						<xs:attribute name="IdentificativoCanale" type="xs:string" use="required"/>
						<xs:attribute name="CodiceUtente" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIFORNITI" />
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della risposta BillPaymentNotify:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_billpaymentnotifyresp" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_billpaymentnotifyresp" elementFormDefault="qualified">
	<xs:element name="DATIOUTPUT" type="xs:string" />
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RISPOSTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRisposta" type="xs:string" use="required"/>
						<xs:attribute name="DataRisposta" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="ESITO">
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:string">
								<xs:attribute name="RC" type="xs:string" use="required"/>
								<xs:attribute name="RCADD" type="xs:string" use="required"/>
								<xs:attribute name="TIPOM" type="xs:string" use="required"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIOUTPUT"/>
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della richiesta GetFineTypes:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinetypesreq" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinetypesreq" elementFormDefault="qualified">
	<xs:simpleType name="TipoCodiceEnte">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di codice enti utilizzati: 1 - Codice Regulus, 2 - ISTAT, 3 - Belfiore</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="DATIFORNITI">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="CODENTE" type="xs:string"/>
				<xs:element name="TIPOCODENTE" type="TipoCodiceEnte"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RICHIESTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="DataRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="ABI" type="xs:string" use="optional"/>
						<xs:attribute name="CAB" type="xs:string" use="optional"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="CANALE">
					<xs:complexType>
						<xs:attribute name="IdentificativoCanale" type="xs:string" use="required"/>
						<xs:attribute name="CodiceUtente" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIFORNITI"/>
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required" fixed="GetFineTypes"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required" fixed="GetFineTypes"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della risposta GetFineTypes:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinetypesresp" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinetypesresp" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="DATIOUTPUT">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="NUMTIPIMULTA" type="xs:string"/>
				<xs:element name="TIPOMULTA" minOccurs="0" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CODICE" type="xs:string"/>
							<xs:element name="DESCRIZIONE" type="xs:string"/>
							<xs:element name="DESCRBREVE" type="xs:string" minOccurs="0"/>
							<xs:element name="COLORE" type="xs:string" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RISPOSTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRisposta" type="xs:string" use="required"/>
						<xs:attribute name="DataRisposta" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="ESITO">
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:string">
								<xs:attribute name="RC" type="xs:string" use="required"/>
								<xs:attribute name="RCADD" type="xs:string" use="required"/>
								<xs:attribute name="TIPOM" type="xs:string" use="required"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIOUTPUT"/>
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required" fixed="GetFineTypes"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required" fixed="GetFineTypes"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della richiesta GetFineDetails:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinedetailsreq" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinedetailsreq" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:simpleType name="TipoAnno">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoCodiceEnte">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di codice enti utilizzati: 1 - Codice Regulus, 2 - ISTAT, 3 - Belfiore</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="DATIFORNITI">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="CODENTE" type="xs:string"/>
				<xs:element name="TIPOCODENTE" type="TipoCodiceEnte"/>
				<xs:element name="TARGATELAIO" type="xs:string" minOccurs="0"/>
				<xs:element name="TIPOVERB" type="xs:string"/>
				<xs:element name="NUMVERB" type="xs:string"/>
				<xs:element name="ANNOVERB" type="TipoAnno"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RICHIESTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="DataRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="ABI" type="xs:string" use="optional"/>
						<xs:attribute name="CAB" type="xs:string" use="optional"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="CANALE">
					<xs:complexType>
						<xs:attribute name="IdentificativoCanale" type="xs:string" use="required"/>
						<xs:attribute name="CodiceUtente" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIFORNITI"/>
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required" fixed="GetFineDetails"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required" fixed="GetFineDetails"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della risposta GetFineDetails:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinedetailsresp" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinedetailsresp" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:simpleType name="TipoAnno">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodiceFiscale">
		<xs:restriction base="xs:string">
			<xs:minLength value="11"/>
			<xs:maxLength value="16"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoCodiceEnte">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di codice enti utilizzati: 1 - Codice Regulus, 2 - ISTAT, 3 - Belfiore</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoStatoDocumento">
		<xs:annotation>
			<xs:documentation>Definizione dei possibili stati relativi alle fasi evolutive del pagamento: 0 - Pagabile, 1 - Pagata, 2 - Iscritta a ruolo, 3 - Rateizzata, 4 - Non pagabile, 5 - Archiviata, 6 - Ricorso in atto, 9 - Annullata, 20 - In pagamento, 101 - NonTrovataNonPagabile</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="0"/>
			<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="9"/>
			<xs:enumeration value="20"/>
			<xs:enumeration value="101"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipiImporto">
		<xs:annotation>
			<xs:documentation>Tipologia di importo indicata: I - intero, R - ridotto</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="I"/>
			<xs:enumeration value="R"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="TipoIdentificativo">
		<xs:annotation>
			<xs:documentation>Informazioni utilizzate per individuare un soggetto coinvolto nella sanzione amministrativa</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CODICEFISCALE" type="CodiceFiscale" minOccurs="0"/>
			<xs:element name="NOMINATIVO" type="xs:string"/>
			<xs:element name="RESIDENZA" type="xs:string"/>
			<xs:element name="INDIRIZZO" type="xs:string"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TipoArticoloInfranto">
		<xs:annotation>
			<xs:documentation>Tipologia descrittiva di un articolo del codice della strada infranto</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="PROGRESSIVO" type="xs:unsignedShort"/>
			<xs:element name="DESCRIZIONE" type="xs:string"/>
			<xs:element name="COMMA" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="TipoFlag">
		<xs:annotation>
			<xs:documentation>Tipologia per flag: N - no, S - si</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="N"/>
			<xs:enumeration value="S"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name="DATIOUTPUT">
		<xs:complexType>
			<xs:choice>
				<xs:element name="NONREGISTRATA">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CODENTE" type="xs:string"/>
							<xs:element name="DESCRENTE" type="xs:string" minOccurs="0"/>
							<xs:element name="TIPOCODENTE" type="TipoCodiceEnte"/>
							<xs:element name="TIPOVERB" type="xs:string"/>
							<xs:element name="DESCRTIPOVERB" type="xs:string" minOccurs="0"/>
							<xs:element name="PROGRRICEVUTA" type="xs:unsignedLong"/>
							<xs:element name="IMPBOLLO" type="xs:unsignedLong" minOccurs="0"/>
							<xs:element name="SOGLIABOLLO" type="xs:unsignedLong" minOccurs="0"/>
							<xs:element name="FLAGIMPLIBERO" type="TipoFlag"/>
							<xs:element name="IMPORTI" minOccurs="0">
								<xs:complexType>
									<xs:sequence maxOccurs="unbounded">
										<xs:element name="IMPORTO" type="TipoImporto"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="REGISTRATA">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="CODENTE" type="xs:string"/>
							<xs:element name="DESCRENTE" type="xs:string" minOccurs="0"/>
							<xs:element name="TIPOCODENTE" type="TipoCodiceEnte"/>
							<xs:element name="TIPOVERB" type="xs:string"/>
							<xs:element name="DESCRTIPOVERB" type="xs:string" minOccurs="0"/>
							<xs:element name="NUMVERB" type="xs:string"/>
							<xs:element name="ANNOVERB" type="TipoAnno"/>
							<xs:element name="PROGRQUIETANZA" type="xs:unsignedLong"/>
							<xs:element name="TARGATELAIO" type="xs:string"/>
							<xs:element name="DATAVERB" type="xs:date"/>
							<xs:element name="DATANOTIF" type="xs:date" minOccurs="0"/>
							<xs:element name="IMPTOTALE" type="xs:unsignedLong"/>
							<xs:element name="TIPOIMPINPAG" type="TipiImporto"/>
							<xs:element name="DATARIVALUT" type="xs:date" minOccurs="0"/>
							<xs:choice>
								<xs:element name="IMPRIDOTTO" type="xs:unsignedLong"/>
								<xs:sequence>
									<xs:element name="IMPINTERO" type="xs:unsignedLong"/>
									<xs:element name="IMPRIDOTTO" type="xs:unsignedLong" minOccurs="0"/>
								</xs:sequence>
							</xs:choice>
							<xs:element name="IMPBOLLO" type="xs:unsignedLong" minOccurs="0"/>
							<xs:element name="IMPSPESENOTIF" type="xs:unsignedLong" minOccurs="0"/>
							<xs:element name="VIEINFRAZ" type="xs:string"/>
							<xs:element name="INTESTATARIO" type="TipoIdentificativo" minOccurs="0"/>
							<xs:element name="TRASGRESSORE" type="TipoIdentificativo" minOccurs="0"/>
							<xs:element name="NOTE" type="xs:string" minOccurs="0"/>
							<xs:element name="NUMARTICOLI" type="xs:short"/>
							<xs:element name="ARTINFRANTI">
								<xs:complexType>
									<xs:sequence minOccurs="0" maxOccurs="unbounded">
										<xs:element name="ARTICOLO" type="TipoArticoloInfranto"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="NONPAGABILE">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="STATO" type="TipoStatoDocumento"/>
							<xs:element name="DESCRSTATOMULTA" type="xs:string" minOccurs="0"/>
							<xs:element name="MESSAGGI" minOccurs="0">
								<xs:complexType>
									<xs:sequence maxOccurs="unbounded">
										<xs:element name="MESSAGGIO" type="xs:string"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="TipoImporto">
		<xs:sequence>
			<xs:element name="PROGRESSIVO" type="xs:unsignedShort"/>
			<xs:element name="VALORE" type="xs:unsignedLong"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RISPOSTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRisposta" type="xs:string" use="required"/>
						<xs:attribute name="DataRisposta" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="ESITO">
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:string">
								<xs:attribute name="RC" type="xs:string" use="required"/>
								<xs:attribute name="RCADD" type="xs:string" use="required"/>
								<xs:attribute name="TIPOM" type="xs:string" use="required"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIOUTPUT"/>
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required" fixed="GetFineDetails"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required" fixed="GetFineDetails"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della richiesta FinePaymentNotify:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_finepaymentnotifyreq" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_finepaymentnotifyreq" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:simpleType name="TipoAnno">
		<xs:restriction base="xs:string">
			<xs:pattern value="\d{4}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="CodiceFiscale">
		<xs:restriction base="xs:string">
			<xs:minLength value="11"/>
			<xs:maxLength value="16"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoCodiceEnte">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di codice enti utilizzati: 1 - Codice Regulus, 2 - ISTAT, 3 - Belfiore</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoStatoPagamentoFattura">
		<xs:annotation>
			<xs:documentation>Definizione dei possibili stati che le fatture possono assumere: 0 - Pagabile, 1 - Pagata, 4 - Non pagabile, 20 - In pagamento</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="4"/>
			<xs:enumeration value="20"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoCanale">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="TipoAttestazionePostale">
		<xs:annotation>
			<xs:documentation>Informazioni necessarie all'invio dell'attestazione di pagamento attraverso il canale postale</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="COGNOME" type="xs:string"/>
			<xs:element name="NOME" type="xs:string"/>
			<xs:element name="PRESSO" type="xs:string" minOccurs="0"/>
			<xs:element name="INDIRIZZO" type="xs:string"/>
			<xs:element name="NUMCIVICO" type="xs:string" minOccurs="0"/>
			<xs:element name="SUBCIVICO" type="xs:string" minOccurs="0"/>
			<xs:element name="CAP" type="xs:string" minOccurs="0"/>
			<xs:element name="COMUNE" type="xs:string"/>
			<xs:element name="PROVINCIA" type="xs:string"/>
			<xs:element name="NAZIONE" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TipoAttestazione">
		<xs:sequence>
			<xs:element name="MODALITA">
				<xs:annotation>
					<xs:documentation>0 - nessuna attestazione, 1 - attestazione postale, 2 - attestazione via e-mail, 3 - attestazione postale e via e-mail</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="0"/>
						<xs:enumeration value="1"/>
						<xs:enumeration value="2"/>
						<xs:enumeration value="3"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:choice minOccurs="0">
				<xs:element name="EMAIL" type="xs:string"/>
				<xs:sequence>
					<xs:element name="DATIPOSTALI" type="TipoAttestazionePostale"/>
					<xs:element name="EMAIL" type="xs:string" minOccurs="0"/>
				</xs:sequence>
			</xs:choice>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="TipiImporto">
		<xs:annotation>
			<xs:documentation>Tipologia di importo indicata: I - intero, R - ridotto</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="I"/>
			<xs:enumeration value="R"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoNotifica">
		<xs:annotation>
			<xs:documentation>Tipologia di notifica del pagamento: Q - quietanza, R - ricevuta</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="Q"/>
			<xs:enumeration value="R"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoSistemaPagamento">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di sistemi di pagamento: BPASS = BankPass, BPASW = BankPass wallet, BPPR = BankPass di produzione, STFI = Setefi, RID = RID On-line, POSTA = Pagamento in posta, POST1 = Pagamento carta di credito con poste, POST2 = Pagamento banco-posta con poste, POST3 = Pagamento poste-pay con poste. Il contenuto va concordato in fase di configurazione dell'applicazione</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="BPASS"/>
			<xs:enumeration value="BPASW"/>
			<xs:enumeration value="BPPR"/>
			<xs:enumeration value="STFI"/>
			<xs:enumeration value="RID"/>
			<xs:enumeration value="POSTA"/>
			<xs:enumeration value="POST1"/>
			<xs:enumeration value="POST2"/>
			<xs:enumeration value="POST3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TipoMetodoPagamento">
		<xs:annotation>
			<xs:documentation>Definizione delle tipologie di metodi di pagamento: CCANY = Carta Credito, WALLT = Portafoglio elettronico - wallet, RIDOL = RID On-line, CSI = Carta SI, CMAST = Carta MasterCard, CVISA = Carta VISA, CAMEX = Carta AmericanExpress, CDINR = Carta Diners, BLTPT = Bollettino postale, BONIF = Bonifico bancario o RID, CAURA = Carta Aura, CJCB = Carta JCB, CMAES = Carta Maestro, PPAY = Poste-Pay, BPOST = Banco posta. Il contenuto va concordato in fase di configurazione dell'applicazione</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="CCANY"/>
			<xs:enumeration value="WALLT"/>
			<xs:enumeration value="RIDOL"/>
			<xs:enumeration value="CSI"/>
			<xs:enumeration value="CMAST"/>
			<xs:enumeration value="CVISA"/>
			<xs:enumeration value="CAMEX"/>
			<xs:enumeration value="CDINR"/>
			<xs:enumeration value="BLTPT"/>
			<xs:enumeration value="BONIF"/>
			<xs:enumeration value="CAURA"/>
			<xs:enumeration value="CJCB"/>
			<xs:enumeration value="CMAES"/>
			<xs:enumeration value="PPAY"/>
			<xs:enumeration value="BPOST"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="TipoDatiPagamento">
		<xs:sequence>
			<xs:element name="SISTEMA" type="TipoSistemaPagamento"/>
			<xs:element name="METODO" type="TipoMetodoPagamento"/>
			<xs:element name="IDORDINE" type="xs:string"/>
			<xs:element name="DATAORDINE" type="xs:dateTime"/>
			<xs:element name="IDOPER" type="xs:string" minOccurs="0"/>
			<xs:element name="DATAOPER" type="xs:dateTime" minOccurs="0"/>
			<xs:element name="IDTRANS" type="xs:string" minOccurs="0"/>
			<xs:element name="DATATRANS" type="xs:dateTime" minOccurs="0"/>
			<xs:element name="IDAUT" type="xs:string" minOccurs="0"/>
			<xs:element name="DATAAUT" type="xs:dateTime" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TipoUtente">
		<xs:annotation>
			<xs:documentation>Informazioni utilizzate per individuare un soggetto coinvolto nella sanzione amministrativa</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CODICEFISCALE" type="CodiceFiscale" minOccurs="0"/>
			<xs:element name="COGNOME" type="xs:string" minOccurs="0"/>
			<xs:element name="NOME" type="xs:string" minOccurs="0"/>
			<xs:element name="RAGIONESOCIALE" type="xs:string" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="DATIFORNITI">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="PAGANTE" type="TipoUtente" minOccurs="0"/>
				<xs:element name="CODENTE" type="xs:string"/>
				<xs:element name="TIPOCODENTE" type="TipoCodiceEnte"/>
				<xs:element name="TARGATELAIO" type="xs:string"/>
				<xs:element name="TIPOVERB" type="xs:string"/>
				<xs:element name="NUMVERB" type="xs:string"/>
				<xs:element name="ANNOVERB" type="TipoAnno"/>
				<xs:element name="DATAVERB" type="xs:date" minOccurs="0"/>
				<xs:element name="TIPONOTIFPAG" type="TipoNotifica"/>
				<xs:element name="PROGRESSIVO" type="xs:unsignedLong"/>
				<xs:element name="IMPMULTA" type="xs:unsignedLong"/>
				<xs:element name="IMPMULTAREG" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="TIPOIMPORTO" type="TipiImporto"/>
							<xs:element name="SPESENOTIF" type="xs:unsignedLong" minOccurs="0"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="IMPTOTALE" type="xs:unsignedLong"/>
				<xs:element name="IMPBOLLO" type="xs:unsignedLong" minOccurs="0"/>
				<xs:element name="IMPCOMMISSIONI" type="xs:unsignedLong" minOccurs="0"/>
				<xs:element name="IMPSPESEATTEST" type="xs:unsignedLong" minOccurs="0"/>
				<xs:element name="IMPSPESEVARIE" type="xs:unsignedLong" minOccurs="0"/>
				<xs:element name="ATTESTAZIONE" type="TipoAttestazione" minOccurs="0"/>
				<xs:element name="CANALE" type="TipoCanale"/>
				<xs:element name="STATO" type="TipoStatoPagamentoFattura"/>
				<xs:element name="IDPRENOTAZIONE" type="xs:string" minOccurs="0"/>
				<xs:element name="DATIPAGAMENTO" type="TipoDatiPagamento" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RICHIESTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="DataRichiesta" type="xs:string" use="required"/>
						<xs:attribute name="ABI" type="xs:string" use="optional"/>
						<xs:attribute name="CAB" type="xs:string" use="optional"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="CANALE">
					<xs:complexType>
						<xs:attribute name="IdentificativoCanale" type="xs:string" use="required"/>
						<xs:attribute name="CodiceUtente" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIFORNITI"/>
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required" fixed="FinePaymentNotify"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required" fixed="FinePaymentNotify"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Schema della risposta FinePaymentNotify:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_finepaymentnotifyresp" xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_finepaymentnotifyresp" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="DATIOUTPUT" type="xs:string" />
	<xs:element name="MSG">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="TITOLO" type="xs:string"/>
				<xs:element name="RISPOSTA">
					<xs:complexType>
						<xs:attribute name="IdentificativoRisposta" type="xs:string" use="required"/>
						<xs:attribute name="DataRisposta" type="xs:string" use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="ESITO">
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:string">
								<xs:attribute name="RC" type="xs:string" use="required"/>
								<xs:attribute name="RCADD" type="xs:string" use="required"/>
								<xs:attribute name="TIPOM" type="xs:string" use="required"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element ref="DATIOUTPUT"/>
			</xs:sequence>
			<xs:attribute name="VersioneMessaggio" type="xs:string" use="required"/>
			<xs:attribute name="NomeFunzione" type="xs:string" use="required" fixed="FinePaymentNotify"/>
			<xs:attribute name="CodiceFunzione" type="xs:string" use="required" fixed="FinePaymentNotify"/>
		</xs:complexType>
	</xs:element>
</xs:schema>


Il web service del BO, invece, contiene pi metodi; verranno descritti solo quelli utilizzati ovvero ricercapercodicefiscale, ricercadebitipercontribuente, ricercadebitoperwal e registrapagamento.
I metodi in questione hanno parametri multipli e, in alcuni casi, complessi. Pertanto, per una descrizione completa, si rimanda alla presentazione dei metodi presente nel prossimo paragrafo.


4.	Prodotti attesi
---------------------------------------

La presente sezione descrive il comportamento dei web service, indicando un flusso di esempio.

Funzionalit: GetDebtSituation
[WebMethod - GestoreIncassi]	richiesta

string richiesta(string xmlInput)

Scopo: richiesta pendenze del soggetto. Il WebMethod restituisce la situazione debitoria del soggetto.

Argomenti
*	Input
xmlInput  un xml descritto dalla schema sopra riportato e di cui, qui di seguito, vengono descritti i campi significativi.
CODFISC		: codice fiscale del soggetto; campo obbligatorio.
CODENTE	   	: codice dell'ente di riferimento, il contenuto semantico di questo campo  indicato dalla tipologia presente nel campo successivo; campo opzionale.
TIPOCODENTE	: tipologia di codice ente utilizzata, 1 indica il codice interno adottato da Regulus, 2 il codice ISTAT, 3 il codice Belfiore o catastale; campo opzionale.
CODTRIBUTO	: identificativo del tributo su cui si vuolo limitare la ricerca; campo opzionale.
DATAINIZIO	: insieme al campo successivo indicano l'intervallo temporale di riferimento per individuare le pendenze da includere nell'elenco; vengono incluse tutte le fatture che hanno almeno una rata da pagare nell'intervallo; campo opzionale.
DATAFINE	: vedi campo precedente; campo opzionale.
ANNODOC		: anno di riferimento delle fatture da includere; campo opzionale.

*	Output
Viene restituito un xml i cui campi principali descritti qui di seguito.
NUMDOCUMENTI	: indica il numero di elementi DOCUMENTO presenti a seguire ovvero il numero di pendenze riportate; campo sempre presente.
DOCUMENTO		: elemento che racchiude le informazioni di una singola fattura; pu non essere presente in caso i filtri impostati non individuino alcun documento.
Ogni elemento DOCUMENTO  costituito dai seguenti campi
CODENTE	   		: codice dell'ente di riferimento, il contenuto semantico di questo campo  indicato dalla tipologia presente nel campo TIPOCODENTE.
DESCRENTE		: descrizione dell'ente da mostrare all'utente.
TIPOCODENTE		: tipologia di codice ente utilizzata, 1 indica il codice interno adottato da Regulus, 2 il codice ISTAT, 3 il codice Belfiore o catastale.
CODTRIBUTO		: codice del tributo a cui  associata la fattura.
DESCRTRIBUTO	: descrizione del tributo a cui  associata la fattura.
CODTIPODOC		: codice della tipologia di documento della fattura.
DESCRTIPODOC	: descrizione della tipologia di documento della fattura.
NUMDOC			: identificativo della fattura.
ANNODOC			: anno di riferimento della fattura.
DATAEMISSIONE	: data di emissione o di notifica della fattura.
DATASCADENZA	: data di scadenza della prima rata da pagare in scadenza della fattura.
IMPTOTDOC		: importo complessivo della fattura.
IMPTOTRESIDDOC	: importo ancora da pagare della fattura.
NUMRATE			: numero di rate complessive della fattura.
NUMRATEINSCAD	: numero di rate ancora da pagare della fattura.
STATOPAG		: indica lo stato complessivo della fattura e vale 0 se esiste ancora una rata da pagare, 4 se la fattura non  pagabile, 20 se non vi sono rate da pagare e ve ne  almeno una in pagamento.



Ecco un esempio del flusso di messaggi.

Il parametro del metodo relativo alla richiesta effettuata  valorizzato con il seguente xml
<?xml version='1.0' encoding='UTF-8'?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getdebtsituationreq" VersioneMessaggio='2.0.000' NomeFunzione='GetDebtSituation' CodiceFunzione='GetDebtSituation'>
	<TITOLO>Richiesta Fatture</TITOLO>
	<RICHIESTA IdentificativoRichiesta='1108152020' DataRichiesta='2006-11-08'/>
	<CANALE IdentificativoCanale='WEB' CodiceUtente='RSSMRA51D06A562O'/>
	<DATIFORNITI>
		<CODFISC>RSSMRA51D06A562O</CODFISC>
		<CODENTE>COPI</CODENTE>
		<TIPOCODENTE>1</TIPOCODENTE>
	</DATIFORNITI>
</MSG>


GestoreIncassi recupera, a seconda della sua configurazione, le informazioni dalla sua base dati e/o direttamente.
L'xml di risposta applicativa di GestoreIncassi al richiedente sar il seguente.
<?xml version="1.0" encoding="ISO-8859-1"?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getdebtsituationresp" VersioneMessaggio='2.0.000' NomeFunzione='GetDebtSituation' CodiceFunzione='GetDebtSituation'>
	<TITOLO>Richiesta Fatture</TITOLO>
	<RISPOSTA IdentificativoRisposta='1108152020' DataRisposta='2006-11-08T14:22:42' />
	<ESITO RC='0' RCADD='0' TIPOM='0'>GetDebtSituation</ESITO>
	<DATIOUTPUT>
		<NUMDOCUMENTI>1</NUMDOCUMENTI>
		<DOCUMENTO>
			<CODENTE>COPI</CODENTE>
			<DESCRENTE>Pisa</DESCRENTE>
			<TIPOCODENTE>1</TIPOCODENTE>
			<CODTRIBUTO>99</CODTRIBUTO>
			<DESCRTRIBUTO>Rifiuti solidi urbani</DESCRTRIBUTO>
			<NUMDOC>8076-09920050080761000</NUMDOC>
			<ANNODOC>2005</ANNODOC>
			<IMPTOTDOC>12355</IMPTOTDOC>
			<IMPTOTRESIDDOC>12355</IMPTOTRESIDDOC>
			<NUMRATE>1</NUMRATE>
			<NUMRATEINSCAD>1</NUMRATEINSCAD>
			<STATOPAG>0</STATOPAG>
		</DOCUMENTO>
	</DATIOUTPUT>
</MSG>




Funzionalit: GetBillDetails
[WebMethod - GestoreIncassi]	richiesta

string richiesta(string xmlInput)

Scopo: richiesta dettaglio di una pendenza del soggetto.

Argomenti
*	Input
xmlInput  un xml descritto dalla schema sopra riportato e di cui, qui di seguito, vengono descritti i campi significativi.
Tutti i campi sono obbligatori.
CODENTE	   	: codice dell'ente di riferimento, il contenuto semantico di questo campo  indicato dalla tipologia presente nel campo successivo.
TIPOCODENTE	: tipologia di codice ente utilizzata, 1 indica il codice interno adottato da Regulus, 2 il codice ISTAT, 3 il codice Belfiore o catastale.
CODTRIBUTO	: identificativo del tributo della fattura da ricercare.
NUMDOC		: identificativo della fattura da ricercare.
ANNODOC		: anno di riferimento della fattura da ricercare.
CODFISC		: codice fiscale del soggetto.

*	Output
Viene restituito un xml i cui campi principali descritti qui di seguito.
INTESTATARIO	: nodo complesso contenente il dettaglio dell'intestatario della fattura.
	E' costituito dai seguenti elementi:
	CODICEFISCALE	: codice fiscale o partita IVA dell'intestatario
	COGNOME			: cognome dell'intestatario o del referente per l'azienda
	NOME			: nome dell'intestatario o del referente per l'azienda
	RAGIONESOCIALE	: ragione sociale dell'azienda, in caso il titolare sia una persona giuridica.
CODENTE	   		: codice dell'ente di riferimento, il contenuto semantico di questo campo  indicato dalla tipologia presente nel campo TIPOCODENTE.
DESCRENTE		: descrizione dell'ente da mostrare all'utente.
TIPOCODENTE		: tipologia di codice ente utilizzata, 1 indica il codice interno adottato da Regulus, 2 il codice ISTAT, 3 il codice Belfiore o catastale.
CODTRIBUTO		: codice del tributo a cui  associata la fattura.
DESCRTRIBUTO	: descrizione del tributo a cui  associata la fattura.
NUMDOC			: identificativo della fattura.
ANNODOC			: anno di riferimento della fattura.
STATOPAG		: indica lo stato complessivo della fattura e vale 0 se esiste ancora una rata da pagare, 4 se la fattura non  pagabile, 20 se non vi sono rate da pagare e ve ne  almeno una in pagamento.
IMPTOTDOC		: importo complessivo della fattura.
IMPBOLLO		: importo del bollo, significativo solo se il nodo SOGLIABOLLO contiene un valore diverso da 0.
SOGLIABOLLO		: il bollo viene applicato solo se l'importo in pagamento supera il valore indicato in questo campo. Se il bollo non deve essere applicato in questo campo viene ritornato 0.
MESSAGGIUTENTE	: contiene un elenco di eventuali messaggi da fornire all'utente.
	E' costituito da elementi MESSAGGIO ognuno contenente i nodi:
	PROGR	: progressivo numerico di ordinamento.
	TESTO	: testo del messaggio.
NUMRATE			: numero di rate complessive della fattura.
CODTIPODOC		: codice della tipologia di documento della fattura.
DESCRTIPODOC	: descrizione della tipologia di documento della fattura.
DATAEMISSIONE	: data di emissione o di notifica della fattura.
DATASCADENZA	: data di scadenza della prima rata da pagare in scadenza della fattura.
NUMRATEINSCAD	: numero di rate ancora da pagare della fattura.
RATE			: elenco dei dettagli relativi alle rate ancora da pagare.
	E' costituito da elementi RATA ognuno contenente i nodi:
	PROGRESSIVO		: identificativo della rata.
	DATASCADENZA	: data di scadenza della rata.
	DESCRRATA		: descrizione della rata.
	IMPDAPAGARE		: importo effettivamente da pagare.
	IMPNOMINALE		: importo nominale (pu essere maggiore del precedente qualora sia stata gi pagata una parte della rata).
	IMPSPESESUPPL	: importo delle spese supplementari.
	DESCRSPESESUPPL	: descrizione delle spese supplementari.


Ecco un esempio del flusso di messaggi.

Il parametro del metodo relativo alla richiesta effettuata  valorizzato con il seguente xml
<?xml version='1.0' encoding='UTF-8'?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getbilldetailsreq" VersioneMessaggio='2.0.000' NomeFunzione='GetBillDetails' CodiceFunzione='GetBillDetails'>
	<TITOLO>Richiesta Fatture</TITOLO>
	<RICHIESTA IdentificativoRichiesta='1109120149' DataRichiesta='2006-11-09'/>
	<CANALE IdentificativoCanale='WEB' CodiceUtente='RSSMRA51D06A562O'/>
	<DATIFORNITI>
		<CODENTE>COPI</CODENTE>
		<TIPOCODENTE>1</TIPOCODENTE>
		<CODTRIBUTO>99</CODTRIBUTO>
		<NUMDOC>8076-09920050080761000</NUMDOC>
		<ANNODOC>2005</ANNODOC>
		<CODFISC>RSSMRA51D06A562O</CODFISC>
	</DATIFORNITI>
</MSG>


L'xml di risposta applicativa di GestoreIncassi al richiedente sar il seguente.
<?xml version="1.0" encoding="ISO-8859-1"?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getbilldetailsresp" VersioneMessaggio='2.0.000' NomeFunzione='GetBillDetails' CodiceFunzione='GetBillDetails'>
	<TITOLO>Richiesta Fatture</TITOLO>
	<RISPOSTA IdentificativoRisposta='1109120149' DataRisposta='2006-11-09T12:01:49' />
	<ESITO RC='0' RCADD='0' TIPOM='0'>GetBillDetails</ESITO>
	<DATIOUTPUT>
		<INTESTATARIO>
			<CODICEFISCALE>RSSMRA51D06A562O</CODICEFISCALE>
			<COGNOME>MARIO ROSSI</COGNOME>
		</INTESTATARIO>
		<CODENTE>COPI</CODENTE>
		<DESCRENTE>Pisa</DESCRENTE>
		<TIPOCODENTE>1</TIPOCODENTE>
		<CODTRIBUTO>99</CODTRIBUTO>
		<DESCRTRIBUTO>Rifiuti solidi urbani</DESCRTRIBUTO>
		<NUMDOC>8076-09920050080761000</NUMDOC>
		<ANNODOC>2005</ANNODOC>
		<STATOPAG>0</STATOPAG>
		<IMPTOTDOC>12355</IMPTOTDOC>
		<MESSAGGIUTENTE></MESSAGGIUTENTE>
		<NUMRATE>1</NUMRATE>
		<DATAEMISSIONE>2005-01-16</DATAEMISSIONE>
		<DATASCADENZA>2005-12-31</DATASCADENZA>
		<NUMRATEINSCAD>1</NUMRATEINSCAD>
		<RATE>
			<RATA>
				<PROGRESSIVO>1</PROGRESSIVO>
				<DATASCADENZA>2004-11-10</DATASCADENZA>
				<IMPDAPAGARE>12355</IMPDAPAGARE>
				<IMPNOMINALE>12355</IMPNOMINALE>
			</RATA>
		</RATE>
	</DATIOUTPUT>
</MSG>






Funzionalit: BillPaymentNotify
[WebMethod - GestoreIncassi]	richiesta

string richiesta(string xmlInput)

Scopo: notifica del pagamento di una fattura.

Argomenti
*	Input
xmlInput  un xml descritto dalla schema sopra riportato e di cui, qui di seguito, vengono descritti i campi significativi.
INTESTATARIO	: nodo complesso contenente il dettaglio dell'intestatario della fattura.
	E' costituito dai seguenti elementi:
	CODICEFISCALE	: codice fiscale o partita IVA dell'intestatario
	COGNOME			: cognome dell'intestatario o del referente per l'azienda
	NOME			: nome dell'intestatario o del referente per l'azienda
	RAGIONESOCIALE	: ragione sociale dell'azienda, in caso il titolare sia una persona giuridica.
PAGANTE	: nodo complesso contenente il dettaglio del pagante della fattura.
	E' costituito dai seguenti elementi:
	CODICEFISCALE	: codice fiscale o partita IVA del pagante
	COGNOME			: cognome del pagante o del referente per l'azienda
	NOME			: nome del pagante o del referente per l'azienda
	RAGIONESOCIALE	: ragione sociale dell'azienda, in caso il titolare sia una persona giuridica.
CODENTE	   	: codice dell'ente di riferimento, il contenuto semantico di questo campo  indicato dalla tipologia presente nel campo successivo.
TIPOCODENTE	: tipologia di codice ente utilizzata, 1 indica il codice interno adottato da Regulus, 2 il codice ISTAT, 3 il codice Belfiore o catastale.
CODTRIBUTO	: identificativo del tributo della fattura da ricercare.
TIPOPAG		: tipologia di pagamento, in questo caso sempre 0.
NUMDOC		: identificativo della fattura pagata.
ANNODOC		: anno di riferimento della fattura pagata.
DATADOC		: data di emissione o di notifica della fattura.
IMPORTIDOC	: elemento contenente le informazioni sugli importi originali della fattura pagata
	E' costituito dai seguenti elementi:
	TOTALE		: importo da pagare della fattura.
	SPESESUPPL	: importo delle spese supplementari.
NUMRATEPAG	: numero di rate pagate della fattura.
RATE		: elenco degli identificativi delle rate pagate.
	E' costituito da uno o pi dei seguenti elementi:
	RATA	: identificativo della rata.
IMPTOTALE	: importo totale pagato.
IMPRATEPAG	: somma degli importi delle rate pagate.
IMPBOLLO	: importo dell'eventuale bollo applicato.
IMPCOMMISSIONI	: importo delle commissioni di pagamento.
IMPSPESEATTEST	: questo importo  sempre 0.
IMPSPESEVARIE	: importo delle eventuali spese aggiuntive legate alle rate in pagamento.
ATTESTAZIONE	: indica la modalit della notifica all'utente.
	E' costituito dai seguenti elementi:
	MODALITA	: vale sempre 1.
	EMAIL		: e-mail indicata dall'utente.
CANALE		: indica il canale di pagamento.
STATO		: vale sempre 1.
DATIPAGAMENTO	: elemento che racchiude tutte le informazioni relative al pagamento.
	E' costituito dai seguenti elementi:
	SISTEMA		: codice del sistema di pagamento utilizzato.
	METODO		: metodo di pagamento utilizzato.
	IDORDINE	: identificativo dell'ordine di pagamento.
	DATAORDINE	: data e ora di inizio dell'operazione di pagamento.
	IDTRANS		: identificativo di transazione fornito dal sistema di pagamento.
	DATATRANS	: data e ora di completamento della transazione fornita dal sistema di pagamento.
	IDAUT		: identificativo di autorizzazione fornito dal sistema di pagamento.
	DATAAUT		: data e ora di avvenuta autorizzazione fornita dal sistema di pagamento.

*	Output
Viene restituito un xml in cui non vi sono campi significativi se non quelli che indicano l'esito dell'operazione descritti in precedenza.



Ecco un esempio del flusso di messaggi.

Il parametro del metodo relativo alla richiesta effettuata  valorizzato con il seguente xml
<?xml version='1.0' encoding='UTF-8'?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_billpaymentnotifyreq" VersioneMessaggio='2.0.000' NomeFunzione='BillPaymentNotify' CodiceFunzione='BillPaymentNotify'>
	<TITOLO>Richiesta Fatture</TITOLO>
	<RICHIESTA IdentificativoRichiesta='0901140003' DataRichiesta='2006-09-01'/>
	<CANALE IdentificativoCanale='WEB' CodiceUtente=''/>
	<DATIFORNITI>
		<INTESTATARIO>
			<CODICEFISCALE>RSSMRA51D06A562O</CODICEFISCALE>
			<COGNOME>MARIO ROSSI</COGNOME>
			<NOME></NOME>
			<RAGIONESOCIALE></RAGIONESOCIALE>
		</INTESTATARIO>
		<PAGANTE>
			<CODICEFISCALE>RSSMRA51D06A562O</CODICEFISCALE>
			<COGNOME>ROSSI</COGNOME>
			<NOME>MARIO</NOME>
			<RAGIONESOCIALE></RAGIONESOCIALE>
		</PAGANTE>
		<CODENTE>COPI</CODENTE>
		<TIPOCODENTE>1</TIPOCODENTE>
		<CODTRIBUTO>99</CODTRIBUTO>
		<TIPOPAG>0</TIPOPAG>
		<NUMDOC>8076-09920050080761000</NUMDOC>
		<ANNODOC>2005</ANNODOC>
		<NUMRATEPAG>1</NUMRATEPAG>
		<RATE>
			<RATA>1</RATA>
		</RATE>
		<IMPTOTALE>12560</IMPTOTALE>
		<IMPRATEPAG>12355</IMPRATEPAG>
		<IMPBOLLO>0</IMPBOLLO>
		<IMPCOMMISSIONI>210</IMPCOMMISSIONI>
		<IMPSPESEATTEST>0</IMPSPESEATTEST>
		<IMPSPESEVARIE>0</IMPSPESEVARIE>
		<ATTESTAZIONE>
			<MODALITA>2</MODALITA>
			<EMAIL>prova@poste.it</EMAIL>
		</ATTESTAZIONE>
		<CANALE>WEB</CANALE>
		<STATO>1</STATO>
		<IDPRENOTAZIONE>O20060901135025411Rn</IDPRENOTAZIONE>
		<DATIPAGAMENTO>
			<SISTEMA>BPPR</SISTEMA>
			<METODO>CCANY</METODO>
			<IDORDINE>O20061109135025411Rn</IDORDINE>
			<DATAORDINE>2006-11-09T13:50:25</DATAORDINE>
			<IDTRANS>8032180310SL066123o49N19z</IDTRANS>
			<IDAUT>049000</IDAUT>
		</DATIPAGAMENTO>
	</DATIFORNITI>
</MSG>


L'xml di risposta applicativa di GestoreIncassi al richiedente sar il seguente.
<?xml version="1.0" encoding="ISO-8859-1"?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_billpaymentnotifyresp" VersioneMessaggio='2.0.000' NomeFunzione='BillPaymentNotify' CodiceFunzione='BillPaymentNotify'>
	<TITOLO>Richiesta Fatture</TITOLO>
	<RISPOSTA IdentificativoRisposta='0901140003' DataRisposta='2006-09-01T14:00:04' />
	<ESITO RC='0' RCADD='0' TIPOM='0'>BillPaymentNotify</ESITO>
<DATIOUTPUT>OK</DATIOUTPUT>
</MSG>




Funzionalit: GetFineTypes
[WebMethod - GestoreIncassi]	richiesta

string richiesta(string xmlInput)

Scopo: richiesta elenco delle tipologie di contravvenzioni gestite.

Argomenti
*	Input
xmlInput  un xml descritto dalla schema sopra riportato e di cui, qui di seguito, vengono descritti i campi significativi.
Tutti i campi sono obbligatori.
CODENTE	   	: codice dell'ente di riferimento, il contenuto semantico di questo campo  indicato dalla tipologia presente nel campo successivo.
TIPOCODENTE	: tipologia di codice ente utilizzata, 1 indica il codice interno adottato da Regulus, 2 il codice ISTAT, 3 il codice Belfiore o catastale.

*	Output
Viene restituito un xml i cui campi principali descritti qui di seguito.
NUMTIPIMULTA   		: numero di elementi ritornati.
TIPOMULTA		: nodo complesso contenente il dettaglio di un tipo contravvenzione.
	E' costituito dai seguenti elementi:
	CODICE		: codice identificativo del tipo contravvenzione
	DESCRIZIONE	: descrizione della tipologia
	DESCRBREVE	: descrizione breve della tipologia
	COLORE		: colore associato alla tipologia.


Ecco un esempio del flusso di messaggi.

Il parametro del metodo relativo alla richiesta effettuata  valorizzato con il seguente xml
<?xml version='1.0' encoding='UTF-8'?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinetypesreq" VersioneMessaggio='2.0.000' NomeFunzione='GetFineTypes' CodiceFunzione='GetFineTypes'>
	<TITOLO>Richiesta Tipi Contravvenzione</TITOLO>
	<RICHIESTA IdentificativoRichiesta='20070827181855' DataRichiesta='2007-08-27T18:19:14'/>
	<CANALE IdentificativoCanale='WEB' CodiceUtente=''/>
	<DATIFORNITI>
		<CODENTE>COPI</CODENTE>
		<TIPOCODENTE>1</TIPOCODENTE>
	</DATIFORNITI>
</MSG>


L'xml di risposta applicativa di GestoreIncassi al richiedente sar il seguente.
<?xml version="1.0" encoding="ISO-8859-1"?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinetypesresp" VersioneMessaggio='2.0.000' NomeFunzione='GetFineTypes' CodiceFunzione='GetFineTypes'>
	<TITOLO>Richiesta Tipi Contravvenzione</TITOLO>
	<RISPOSTA IdentificativoRisposta='20070827181855' DataRisposta='2007-08-27T18:19:14' />
	<ESITO RC='0' RCADD='0' TIPOM='0'>GetFineTypes</ESITO>
	<DATIOUTPUT>
		<NUMTIPIMULTA>3</NUMTIPIMULTA>
		<TIPOMULTA>
			<CODICE>A</CODICE>
			<DESCRIZIONE>Verbale amministrativo</DESCRIZIONE>
			<DESCRBREVE>Verb. amministrativo</DESCRBREVE>
			<COLORE>blu</COLORE>
		</TIPOMULTA>
		<TIPOMULTA>
			<CODICE>P</CODICE>
			<DESCRIZIONE>Preavviso</DESCRIZIONE>
			<DESCRBREVE>Preavviso</DESCRBREVE>
			<COLORE>giallo</COLORE>
		</TIPOMULTA>
		<TIPOMULTA>
			<CODICE>V</CODICE>
			<DESCRIZIONE>Verbale</DESCRIZIONE>
			<DESCRBREVE>Verbale</DESCRBREVE>
			<COLORE>rosso</COLORE>
		</TIPOMULTA>
	</DATIOUTPUT>
</MSG>





Funzionalit: GetFineDetails
[WebMethod - GestoreIncassi]	richiesta

string richiesta(string xmlInput)

Scopo: richiesta dettaglio di una contravvenzione.

Argomenti
*	Input
xmlInput  un xml descritto dalla schema sopra riportato e di cui, qui di seguito, vengono descritti i campi significativi.
Tutti i campi sono obbligatori.
CODENTE	   	: codice dell'ente di riferimento, il contenuto semantico di questo campo  indicato dalla tipologia presente nel campo successivo.
TIPOCODENTE	: tipologia di codice ente utilizzata, 1 indica il codice interno adottato da Regulus, 2 il codice ISTAT, 3 il codice Belfiore o catastale.
TARGATELAIO	: identificativo della targa dell'auto a cui  stata elevata la contravvenzione.
TIPOVERB	: tipologia della contravvenzione.
NUMVERB		: identificativo della contravvenzione da ricercare.
ANNOVERB	: anno di riferimento della contravvenzione da ricercare.

*	Output
Viene restituito un xml che pu contenere tre diverse sezioni i cui campi principali vengono descritti qui di seguito.
NONREGISTRATA	: nodo complesso contenente le informazioni relative ad una contravvenzione non presente in archivio.
	E' costituito dai seguenti elementi:
	CODENTE		: codice dell'ente di riferimento, il contenuto semantico di questo campo  indicato dalla tipologia presente nel campo TIPOCODENTE.
	DESCRENTE	: descrizione dell'ente da mostrare all'utente.
	TIPOCODENTE	: tipologia di codice ente utilizzata, 1 indica il codice interno adottato da Regulus, 2 il codice ISTAT, 3 il codice Belfiore o catastale.
	TIPOVERB	: tipologia della contravvenzione.
	DESCRTIPOVERB	: descrizione della tipologia.
	PROGRRICEVUTA	: identificativo univoco associabile alla ricevuta di pagamento della contravvenzione.
	IMPBOLLO	: importo dell'eventuale bollo.
	SOGLIABOLLO	: soglia di applicabilit del bollo.
	FLAGIMPLIBERO	: possibilit di ricevere importi non presenti tra quelli riportati nei campi qui di seguito.
	IMPORTI		: elenco di importi predefiniti costituito da nodi del tipo IMPORTO
		IMPORTO	: valore dell'importo predefinito

REGISTRATA		: nodo complesso contenente le informazioni relative ad una contravvenzione presente in archivio e pagabile.
	E' costituito dai seguenti elementi:
	CODENTE		: codice dell'ente di riferimento, il contenuto semantico di questo campo  indicato dalla tipologia presente nel campo TIPOCODENTE.
	DESCRENTE	: descrizione dell'ente da mostrare all'utente.
	TIPOCODENTE	: tipologia di codice ente utilizzata, 1 indica il codice interno adottato da Regulus, 2 il codice ISTAT, 3 il codice Belfiore o catastale.
	TIPOVERB	: tipologia della contravvenzione.
	DESCRTIPOVERB	: descrizione della tipologia.
	NUMVERB		: identificativo della contravvenzione da ricercare.
	ANNOVERB	: anno di riferimento della contravvenzione da ricercare.
	PROGRQUIETANZA	: identificativo univoco associabile alla quietanza di pagamento della contravvenzione.
	TARGATELAIO	: identificativo della targa dell'auto a cui  stata elevata la contravvenzione.
	DATAVERB	: data di elevazione della contravvenzione.
	DATANOTIF	: data di notifica della contravvenzione.
	IMPTOTALE	: importo totale da pagare.
	TIPOIMPINPAG	: tipologia dell'importo da pagare (se intero o ridotto).
	DATARIVALUT	: data in cui sull'importo viene a scadere l'eventuale riduzione.
	IMPINTERO	: ammontare dell'importo intero.
	IMPRIDOTTO	: ammontare dell'importo ridotto.
	IMPBOLLO	: ammontare dell'eventuale bollo applicato.
	IMPSPESENOTIF	: importo delle spese di eventuale notifica.
	VIEINFRAZ	: indicazione stradale del luogo dell'infrazione.
	INTESTATARIO	: nodo complesso contenente il dettaglio dell'intestatario della vettura.
		E' costituito dai seguenti elementi:
		CODICEFISCALE	: codice fiscale o partita IVA dell'intestatario
		COGNOME			: cognome dell'intestatario o del referente per l'azienda
		NOME			: nome dell'intestatario o del referente per l'azienda
		RAGIONESOCIALE	: ragione sociale dell'azienda, in caso il titolare sia una persona giuridica.
	TRASGRESSORE	: nodo complesso contenente il dettaglio del trasgressore.
		E' costituito dai seguenti elementi:
		CODICEFISCALE	: codice fiscale o partita IVA dell'intestatario
		COGNOME			: cognome dell'intestatario o del referente per l'azienda
		NOME			: nome dell'intestatario o del referente per l'azienda
		RAGIONESOCIALE	: ragione sociale dell'azienda, in caso il titolare sia una persona giuridica.
	NOTE		: note per una descrizione pi dettagliata.
	NUMARTICOLI	: numero di articoli del codice stradale infranti.
	ARTINFRANTI	: elenco degli articoli del codice stradale infranti, costituito da una sequenza di nodi ARTICOLO
		ARTICOLO	: nodo complesso contenente la descrizione dell'articolo infranto
			PROGRESSIVO	: progressivo all'interno di questo elenco
			DESCRIZIONE	: descrizione dell'articolo
			COMMA		: comma legislativo di riferimento

NONPAGABILE : nodo complesso contenente le informazioni relative ad una contravvenzione non pagabile.
	STATO	   		: stato della contravvenzione, indica la motivazione della non pagabilit.
	DESCRSTATOMULTA	: descrizione dello stato della contravvenzione.
	MESSAGGI		: contiene un elenco di eventuali messaggi da fornire all'utente. E' costituito da nodi MESSAGGIO
		MESSAGGIO	: indicazione del messaggio.


Ecco un esempio del flusso di messaggi.

Il parametro del metodo relativo alla richiesta effettuata  valorizzato con il seguente xml
<?xml version="1.0" encoding="UTF-8"?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinedetailsreq" VersioneMessaggio="2.0.000" NomeFunzione="GetFineDetails" CodiceFunzione="GetFineDetails">
	<TITOLO>Richiesta Dettaglio Multa</TITOLO>
	<RICHIESTA IdentificativoRichiesta="20070828090434" DataRichiesta="2007-08-28T09:04:34"/>
	<CANALE IdentificativoCanale="WEB" CodiceUtente=""/>
	<DATIFORNITI>
		<CODENTE>COPI</CODENTE>
		<TIPOCODENTE>1</TIPOCODENTE>
		<TARGATELAIO>ZZ000ZZ</TARGATELAIO>
		<TIPOVERB>P</TIPOVERB>
		<NUMVERB>1</NUMVERB>
		<ANNOVERB>2007</ANNOVERB>
	</DATIFORNITI>
</MSG>

L'xml di risposta applicativa di GestoreIncassi al richiedente in caso di contravvenzion non presente in archivio sar il seguente.
<?xml version="1.0" encoding="ISO-8859-1"?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinedetailsresp" VersioneMessaggio="2.0.000" NomeFunzione="GetFineDetails" CodiceFunzione="GetFineDetails">
	<TITOLO>Richiesta Dettaglio Multa</TITOLO>
	<RISPOSTA IdentificativoRisposta="20070827182527" DataRisposta="2007-08-27T18:25:28"/>
	<ESITO RC="0" RCADD="0" TIPOM="0">GetFineDetails</ESITO>
	<DATIOUTPUT>
		<NONREGISTRATA>
			<CODENTE>COPI</CODENTE>
			<DESCRENTE>Pisa</DESCRENTE>
			<TIPOCODENTE>1</TIPOCODENTE>
			<TIPOVERB>P</TIPOVERB>
			<DESCRTIPOVERB>Preavviso</DESCRTIPOVERB>
			<PROGRRICEVUTA>18</PROGRRICEVUTA>
			<IMPBOLLO>181</IMPBOLLO>
			<SOGLIABOLLO>7747</SOGLIABOLLO>
			<FLAGIMPLIBERO>S</FLAGIMPLIBERO>
			<IMPORTI>
				<IMPORTO>
					<PROGRESSIVO>1</PROGRESSIVO>
					<VALORE>5500</VALORE>
				</IMPORTO>
				<IMPORTO>
					<PROGRESSIVO>2</PROGRESSIVO>
					<VALORE>10200</VALORE>
				</IMPORTO>
			</IMPORTI>
		</NONREGISTRATA>
	</DATIOUTPUT>
</MSG>


L'xml di risposta applicativa di GestoreIncassi al richiedente in caso di contravvenzion presente in archivio e pagabile sar il seguente.
<?xml version="1.0" encoding="ISO-8859-1"?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinedetailsresp" VersioneMessaggio="2.0.000" NomeFunzione="GetFineDetails" CodiceFunzione="GetFineDetails">
	<TITOLO>Richiesta Dettaglio Multa</TITOLO>
	<RISPOSTA IdentificativoRisposta="20070828090434" DataRisposta="2007-08-28T09:04:35"/>
	<ESITO RC="0" RCADD="0" TIPOM="0">GetFineDetails</ESITO>
	<DATIOUTPUT>
		<REGISTRATA>
			<CODENTE>COPI</CODENTE>
			<DESCRENTE>Pisa</DESCRENTE>
			<TIPOCODENTE>1</TIPOCODENTE>
			<TIPOVERB>P</TIPOVERB>
			<DESCRTIPOVERB>Preavviso</DESCRTIPOVERB>
			<NUMVERB>1</NUMVERB>
			<ANNOVERB>2006</ANNOVERB>
			<PROGRQUIETANZA>6</PROGRQUIETANZA>
			<TARGATELAIO>ZZ000ZZ</TARGATELAIO>
			<DATAVERB>2006-01-07</DATAVERB>
			<DATANOTIF>2006-02-17</DATANOTIF>
			<IMPTOTALE>1995</IMPTOTALE>
			<TIPOIMPINPAG>R</TIPOIMPINPAG>
			<IMPINTERO>0</IMPINTERO>
			<IMPRIDOTTO>1995</IMPRIDOTTO>
			<VIEINFRAZ>VIA QUALSIASI</VIEINFRAZ>
			<NUMARTICOLI>1</NUMARTICOLI>
			<ARTINFRANTI>
				<ARTICOLO>
					<PROGRESSIVO>1</PROGRESSIVO>
					<DESCRIZIONE>P</DESCRIZIONE>
				</ARTICOLO>
			</ARTINFRANTI>
		</REGISTRATA>
	</DATIOUTPUT>
</MSG>


L'xml di risposta applicativa di GestoreIncassi al richiedente in caso di contravvenzion non pagabile sar il seguente.
<?xml version="1.0" encoding="ISO-8859-1"?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_getfinedetailsresp" VersioneMessaggio="2.0.000" NomeFunzione="GetFineDetails" CodiceFunzione="GetFineDetails">
	<TITOLO>Richiesta Dettaglio Multa</TITOLO>
	<RISPOSTA IdentificativoRisposta="20070828090727" DataRisposta="2007-08-28T09:07:27"/>
	<ESITO RC="0" RCADD="0" TIPOM="0">GetFineDetails</ESITO>
	<DATIOUTPUT>
		<NONPAGABILE>
			<STATO>1</STATO>
			<DESCRSTATOMULTA>Multa gi pagata</DESCRSTATOMULTA>
		</NONPAGABILE>
	</DATIOUTPUT>
</MSG>




Funzionalit: FinePaymentNotify
[WebMethod - GestoreIncassi]	richiesta

string richiesta(string xmlInput)

Scopo: notifica del pagamento di una contravvenzione.

Argomenti
*	Input
xmlInput  un xml descritto dalla schema sopra riportato e di cui, qui di seguito, vengono descritti i campi significativi.
PAGANTE	: nodo complesso contenente il dettaglio del pagante della contravvenzione.
	E' costituito dai seguenti elementi:
	CODICEFISCALE	: codice fiscale o partita IVA del pagante
	COGNOME			: cognome del pagante o del referente per l'azienda
	NOME			: nome del pagante o del referente per l'azienda
	RAGIONESOCIALE	: ragione sociale dell'azienda, in caso il titolare sia una persona giuridica.
CODENTE	   	: codice dell'ente di riferimento, il contenuto semantico di questo campo  indicato dalla tipologia presente nel campo successivo.
TIPOCODENTE	: tipologia di codice ente utilizzata, 1 indica il codice interno adottato da Regulus, 2 il codice ISTAT, 3 il codice Belfiore o catastale.
TARGATELAIO	: identificativo della targa dell'auto a cui  stata elevata la contravvenzione.
TIPOVERB	: tipologia della contravvenzione.
NUMVERB		: identificativo della contravvenzione pagata.
ANNOVERB	: anno di riferimento della contravvenzione pagata.
DATAVERB	: data di emissione o di notifica della contravvenzione.
TIPONOTIFPAG	: indica se la contravvenzione  presente o meno nell'archivio.
PROGRESSIVO	: progressivo da associare al pagamento.
IMPMULTA	: importo della contravvenzione.
IMPMULTAREG	: nodo complesso che contiene le informazioni riguardanti l'importo precedentemente indicato.
	E' costituito dai seguenti elementi:
	TIPOIMPORTO	: indica se l'importo pagato  intero o ridotto.
	SPESENOTIF	: indicazione delle eventuali spese di notifica.
IMPTOTALE	: importo totale pagato.
IMPBOLLO	: importo dell'eventuale bollo applicato.
IMPCOMMISSIONI	: importo delle commissioni di pagamento.
IMPSPESEATTEST	: importo  sempre 0.
IMPSPESEVARIE	: importo delle eventuali spese aggiuntive.
ATTESTAZIONE	: indica la modalit della notifica all'utente.
	E' costituito dai seguenti elementi:
	MODALITA	: vale sempre 1.
	EMAIL		: e-mail indicata dall'utente.
CANALE		: indica il canale di pagamento.
STATO		: vale sempre 1.
DATIPAGAMENTO	: elemento che racchiude tutte le informazioni relative al pagamento.
	E' costituito dai seguenti elementi:
	SISTEMA		: codice del sistema di pagamento utilizzato.
	METODO		: metodo di pagamento utilizzato.
	IDORDINE	: identificativo dell'ordine di pagamento.
	DATAORDINE	: data e ora di inizio dell'operazione di pagamento.
	IDTRANS		: identificativo di transazione fornito dal sistema di pagamento.
	DATATRANS	: data e ora di completamento della transazione fornita dal sistema di pagamento.
	IDAUT		: identificativo di autorizzazione fornito dal sistema di pagamento.
	DATAAUT		: data e ora di avvenuta autorizzazione fornita dal sistema di pagamento.

*	Output
Viene restituito un xml in cui non vi sono campi significativi se non quelli che indicano l'esito dell'operazione descritti in precedenza.



Ecco un esempio del flusso di messaggi.

Il parametro del metodo relativo alla richiesta effettuata  valorizzato con il seguente xml
<?xml version="1.0" encoding="UTF-8"?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_finepaymentnotifyreq" VersioneMessaggio="2.0.000" NomeFunzione="FinePaymentNotify" CodiceFunzione="FinePaymentNotify">
	<TITOLO>Notifica pagamento contravvenzione</TITOLO>
	<RICHIESTA IdentificativoRichiesta="20070828100235" DataRichiesta="2007-08-28T10:02:35"/>
	<CANALE IdentificativoCanale="WEB" CodiceUtente=""/>
	<DATIFORNITI>
		<PAGANTE>
			<CODICEFISCALE>RSSMRA51D06A562O</CODICEFISCALE>
			<COGNOME>ROSSI</COGNOME>
			<NOME>MARIO</NOME>
			<RAGIONESOCIALE></RAGIONESOCIALE>
		</PAGANTE>
		<CODENTE>COPI</CODENTE>
		<TIPOCODENTE>1</TIPOCODENTE>
		<TARGATELAIO>ZZ000ZZ</TARGATELAIO>
		<TIPOVERB>P</TIPOVERB>
		<NUMVERB>1</NUMVERB>
		<ANNOVERB>2006</ANNOVERB>
		<DATAVERB>2006-01-07</DATAVERB>
		<TIPONOTIFPAG>Q</TIPONOTIFPAG>
		<PROGRESSIVO>1</PROGRESSIVO>
		<IMPMULTA>1995</IMPMULTA>
		<IMPMULTAREG>
			<TIPOIMPORTO>R</TIPOIMPORTO>
		</IMPMULTAREG>
		<IMPTOTALE>2245</IMPTOTALE>
		<IMPCOMMISSIONI>250</IMPCOMMISSIONI>
		<ATTESTAZIONE>
			<MODALITA>1</MODALITA>
			<EMAIL>pagante@provider.it</EMAIL>
		</ATTESTAZIONE>
		<CANALE>WEB</CANALE>
		<STATO>1</STATO>
		<DATIPAGAMENTO>
			<SISTEMA>BPASS</SISTEMA>
			<METODO>CMAST</METODO>
			<IDORDINE>O20070828095646681YQ</IDORDINE>
			<DATAORDINE>2007-08-28T09:59:51</DATAORDINE>
			<IDTRANS>8032180310SL370080Q4427F0</IDTRANS>
			<DATATRANS>2007-08-28T10:02:25</DATATRANS>
			<IDAUT>215944</IDAUT>
			<DATAAUT>2007-08-28T10:02:28</DATAAUT>
		</DATIPAGAMENTO>
	</DATIFORNITI>
</MSG>


L'xml di risposta applicativa di GestoreIncassi al richiedente sar il seguente.
<?xml version="1.0" encoding="ISO-8859-1"?>
<MSG xmlns="urn:it.regulus.gestoreincassi.b200.pagamenti.wm_finepaymentnotifyresp" VersioneMessaggio='2.0.000' NomeFunzione='FinePaymentNotify' CodiceFunzione='FinePaymentNotify'>
	<TITOLO>Notifica pagamento contravvenzione</TITOLO>
	<RISPOSTA IdentificativoRisposta='20070828100235' DataRisposta='2007-08-28T10:02:35' />
	<ESITO RC='0' RCADD='0' TIPOM='0'>FinePaymentNotify</ESITO>
<DATIOUTPUT>OK</DATIOUTPUT>
</MSG>


5. Bibliografia
---------------------------------------
Documenti rilasciati dal Centro Nazionale per lInformatica nella Pubblica
Amministrazione (AIPA-CNIPA):
[AP1] AIPA, "Servizio di cooperazione applicativa basata su eventi", Quaderni 
AIPA Dicembre 1999 

Documenti rilasciati dal W3C:
[W1] D. Box, D. Ehnebuske, G. Kakivaya, A. Layman, N. Mendelsohn, H. F. Nielsen,
S. Thatte, D. Winer, Simple Object Access Protocolo (SOAP) 1.1, W3C, 8 Maggio
2000 
[W2] E. Christensen, F. Curbera, G. Meredith, S. Weerawarena, Web Services
Description Language (WSDL) 1.1, W3C, 15 Marzo 200
[W3] C. M. Sperberg-McQueen and Henry Thompson, XML Schema 1.1, W3C, Aprile 2000


