Πεπιγπαθή Διαδικηςακών Υπηπεζιών ΟΤΑ Ειζαγωγή Σηο ζύζηεµα ζα δεµηοςπγεζούν ηπεηρ δηαδηθηςαθέρ ςπεπεζίερ. Οη δςο ςπεπεζίερ αθοπούν ηεν πηζηοποίεζε ηος σπήζηε θαη αναθέπονηαη ζηε ζύνδεζε θαη αποζύνδεζή ηος από ηο ζύζηεµα. Η ηπίηε ςπεπεζία αθοπά ηεν αποζηοιή ηυν ζηοησείυν ηυν αναθοπών. Η ςπεπεζία ανάιογα µε όπηζµα πος ζα δέσεηαη ζα επηζηπέθεη ηεν θαηάιιειε αναθοπά. Σςνοπηηθά οη ηύποη ηυν αναθοπών µε ηοςρ θυδηθούρ ηοςρ είναη οη εξήρ: Κωδικόρ Αναθοπά 1 Αποιογηζηηθά ζηοησεία 2 Σηοησεία ηζοδςγίος 3 Μενηαία ζηοησεία εγθςθιίος 4 Μεηπώο δεζµεύζευν 5 Σηοησεία ποπείαρ είζππαξερ εζόδυν Παπαθάηυ αναθέπονηαη αναιςηηθά οη πποδηαγπαθέρ ηυν δηαδηθηςαθών ςπεπεζηών πος ζα αναπηςσζούν. 1. Σύνδεζη ζηο ζύζηηµα Η ςπεπεζία δέσεηαη υρ όπηζµα, ζε µοπθή xml απσείος, ηο αναγνυπηζηηθό θαη ηον θυδηθό σπήζηε θαη επηζηπέθεη, ζε µοπθή xml απσείος, ηο αναγνυπηζηηθό ζύνδεζερ γηα ηο σπήζηε. public String login(string data) throws RemoteException Δπηζηπέθεη ηο αναγνυπηζηηθό ζύνδεζερ γηα ηο ζςγθεθπηµένο σπήζηε Λαµβάνεη υρ όπηζµα ένα string µε ηο πεπηεσόµενα ενόρ xml θεηµένος. To xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> <xs:element name="arguments"> <xs:attribute name="username" type="xs:string" use="required" <xs:attribute name="password" type="xs: string " use="required" Δπηζηπεθόµενε <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> Παπαηεπήζεηρ 1
2. Απολογιζηικά Σηοισεία Η ςπεπεζία δέσεηαη υρ οπίζµαηα ένα xml απσείο, ηο οποίο πεπηέσεη ηο έηορ ηερ οηθονοµηθήρ σπήζερ, ηον µήνα γηα ηον οποίο δεηά αποιογηζηηθά ζηοησεία θαη ηο αναγνυπηζηηθό ζύνδεζερ πος έσεη πάπεη µέζυ ηερ ςπεπεζίαρ login, θαη έναν αθέπαηο απηζµό πος πποζδηοπίδεη ηον ηύπο ηερ αναθοπάρ. Ο ηύπορ ηερ αναθοπάρ γηα ηα αποιογηζηηθά ζηοησεία ππέπεη να είναη 1. Δάν ο µήναρ είναη θενόρ ε ςπεπεζία επηζηπέθεη ηα αποιογηζηηθά ζηοησεία όιος ηος έηοςρ. Η ςπεπεζία επηζηπέθεη ένα xml απσείο πος πεπηέσεη όια ηα ζηοησεία ηος αποιογηζµού. public String getreportdata(string data, int type) throws RemoteException Η µέζοδορ επηζηπέθεη ηα αποιογηζηηθά ζηοησεία. Το ππώηο όπηζµα είναη ένα string µε ηο πεπηεσόµενα ενόρ xml θεηµένος. To xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> <xs:element name="arguments"> <xs:attribute name="year" type="xs:integer" use="required" <xs:attribute name="μοντη" type="xs:integer" use="required" Το δεύηεπο όπηζµα αναθέπεηαη ζηον ηύπο ηερ αναθοπάρ θαη γηα ηον αποιογηζηηθό πίναθα ππέπεη να έσεη πάνηα ηεν 1. Δπηζηπεθόµενε Δπηζηπέθεη ένα string µε ηο πεπηεσόµενο ενόρ xml θεηµένος. Το xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema"> <xs:element name="accounts_review"> <xs:element ref="expenses" minoccurs="1" maxoccurs="1" <xs:element ref="incomes" minoccurs="1" maxoccurs="1" <xs:attribute name="year" type="year_type" use="required" <xs:attribute name="month" type="month_type" use="required" <xs:element name="expenses"> <xs:element ref="expense_account" minoccurs="1" maxoccurs="unbounded" <xs:element name="incomes"> <xs:element ref="income_account" minoccurs="1" maxoccurs="unbounded" <xs:element name="expense_account"> <xs:attribute name="kae" type="kae_type" use="required" <xs:attribute name="approved" type="decimal15_2" use="required" <xs:attribute name="formatted" type="decimal15_2" use="required" <xs:attribute name="bounded" type="decimal15_2" use="required" <xs:attribute name="invoiced" type="decimal15_2" use="required" <xs:attribute name="payed" type="decimal15_2" use="required" <xs:element name="income_account"> 2
<xs:attribute name="kae" type="kae_type" use="required" <xs:attribute name="approved" type="decimal15_2" use="required" <xs:attribute name="formatted" type="decimal15_2" use="required" <xs:attribute name="confirmed" type="decimal15_2" use="required" <xs:attribute name="collected" type="decimal15_2" use="required" <xs:simpletype name="year_type"> <xs:pattern value="[0-9]{4}" <xs:simpletype name="month_type"> <xs:pattern value="[0-1][0-9]" <xs:simpletype name="kae_type"> <xs:restriction base="xs:string"> <xs:maxlength value="32" <xs:simpletype name="decimal15_2"> <xs:restriction base="xs:decimal"> <xs:fractiondigits value="2" <xs:totaldigits value="15" Παπαηεπήζεηρ YEAR Έηορ (1.1.1 1.2.1) MONTH Μήναρ (1.1.2 1.2.2) KAE ΚΑΔ (1.1.3 1.2.3) APPROVED Δγθεθπηµένορ Π/Υ (1.1.4 1.2.4) FORMATTED Γηαµοπθυµένορ Π/Υ (1.1.5 1.2.5) BOUNDED Γεζµεςζένηα (1.1.6) INVOICED Δνηαιζένηα (1.1.7) PAYED Πιεπυζένηα (1.1.8) CONFIRMED Βεβαηυζένηα (1.2.6) COLLECTED Δηζππασζένηα (1.2.7) 3
3. Σηοισεία Ιζοζςγίος Γενικού Καθολικού Η ςπεπεζία δέσεηαη υρ οπίζµαηα ένα xml απσείο, ηο οποίο πεπηέσεη ηο έηορ ηερ οηθονοµηθήρ σπήζερ, ηον µήνα γηα ηον οποίο δεηά ζηοησ εία ηζοδςγίος θαη ηο αναγνυπηζηηθό ζύνδεζερ πος έσεη πάπεη µέζυ ηερ ςπεπεζίαρ login, θαη έναν αθέπαηο απηζµό πος πποζδηοπίδεη ηον ηύπο ηερ αναθοπάρ. Ο ηύπορ ηερ αναθοπάρ γηα ηα ζηοησεία ηζοδςγίος ππέπεη να είναη 2. Η ςπεπεζία επηζηπέθεη ένα xml απσείο πος πεπηέσεη όια ηα ζηοησεία ηος ηζοδςγίος. public String getreportdata(string data, int type) throws RemoteException Δπηζηπέθεη ηα ζηοησεία ηος ηζοδςγίος γενηθού θαζοιηθού Το ππώηο όπηζµα είναη ένα string µε ηο πεπηεσόµενα ενόρ xml θεηµένος. To xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> <xs:element name="arguments"> <xs:attribute name="year" type="xs:integer" use="required" <xs:attribute name="μοντη" type="xs:integer" use="required" Το δεύηεπο όπηζµα αναθέπεηαη ζηον ηύπο ηερ αναθοπάρ θαη γηα ηα ζηοησεία ηζοδςγίος ππέπεη να έσεη πάνηα ηεν 2. Δπηζηπεθόµενε Δπηζηπέθεη ένα string µε ηο πεπηεσόµενο ενόρ xml θεηµένος. Το xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema"> <xs:element name="accounts_balance"> <xs:element ref="account" minoccurs="1" maxoccurs="unbounded" <xs:attribute name="year" type="year_type" use="required" <xs:attribute name="month" type="month_type" use="required" <xs:element name="account"> <xs:attribute name="kgl" type="kgl_type" use="required" <xs:attribute name="ex_year_debit" type="decimal15_2" use="required" <xs:attribute name="ex_year_credit" type="decimal15_2" use="required" <xs:attribute name="previous_debit" type="decimal15_2" use="required" <xs:attribute name="previous_credit" type="decimal15_2" use="required" <xs:attribute name="period_debit" type="decimal15_2" use="required" <xs:attribute name="period_credit" type="decimal15_2" use="required" <xs:simpletype name="year_type"> <xs:pattern value="[0-9]{4}" <xs:simpletype name="month_type"> <xs:pattern value="[0-1][0-9]" <xs:simpletype name="kgl_type"> <xs:restriction base="xs:string"> <xs:maxlength value="8" <xs:simpletype name="decimal15_2"> <xs:restriction base="xs:decimal"> 4
<xs:fractiondigits value="2" <xs:totaldigits value="15" Παπαηεπήζεηρ YEAR Έηορ (2.1) MONTH Μήναρ (2.2) KGL Κυδηθόρ Λογαπηαζµού (2.3) EX_YEAR_DEBIT Φπέυζε απογπαθήρ (2.4) EX_YEAR_CREDIT Πίζηυζε απογπαθήρ (2.5) PREVIOUS_DEBIT Φπέυζε πποεγούµενερ πεπηόδος (2.6) PREVIOUS_CREDIT Πίζηυζε πποεγούµενερ πεπηόδος (2.7) PERIOD_DEBIT Φπέυζε πεπηόδος (2.8) PERIOD_CREDIT Πίζηυζε πεπηόδος (2.9) 5
4. Μηνιαία Σηοισεία Εγκςκλίος 2/61968/0094/17-9-2010 Η ςπεπεζία δέσεηαη υρ οπίζµαηα ένα xml απσείο, ηο οποίο πεπηέσεη ηο έηορ ηερ οηθονοµηθήρ σπήζερ, ηον µήνα γηα ηον οποίο δεηά ηα µενηαία ζηοησεία ηερ εγθςθιίος θαη ηο αναγνυπηζηηθό ζύνδεζερ πος έσεη πάπεη µέζυ ηερ ςπεπεζίαρ login, θαη έναν αθέπαηο απηζµό πος πποζδηοπίδεη ηον ηύπο ηερ αναθοπάρ. Ο ηύπορ ηερ αναθοπάρ γηα ηα ζηοησεία ηερ εγθςθιίος ππέπεη να είναη 3. Η ςπεπεζία επηζηπέθεη ένα xml απσείο πος πεπηέσεη όια ηα ζηοησεία ηερ εγθςθιίος. public String getreportdata(string data, int type) throws RemoteException Δπηζηπέθεη ηα µενηαία ζηοησεία ηερ εγθςθιίος Το ππώηο όπηζµα είναη ένα string µε ηο πεπηεσόµενα ενόρ xml θεηµένος. To xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> <xs:element name="arguments"> <xs:attribute name="year" type="xs:integer" use="required" <xs:attribute name="μοντη" type="xs:integer" use="required" Το δεύηεπο όπηζµα αναθέπεηαη ζηον ηύπο ηερ αναθοπάρ θαη γηα ηα ζηοησεία ηερ εγθςθιίος ππέπεη να έσεη πάνηα ηεν 3. Δπηζηπεθόµενε Δπηζηπέθεη ένα string µε ηο πεπηεσόµενο ενόρ xml θεηµένος. Το xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema"> <xs:element name="stats_data"> <xs:attribute name="year" type="year_type" use="required" <xs:attribute name="month" type="month_type" use="required" <xs:attribute name="cash" type="decimal15_2" use="required" <xs:attribute name="bog" type="decimal15_2" use="required" <xs:attribute name="other_banks" type="decimal15_2" use="required" <xs:attribute name="gov_securities" type="decimal15_2" use="required" <xs:attribute name="other_securities" type="decimal15_2" use="required" <xs:attribute name="stocks" type="decimal15_2" use="required" <xs:attribute name="loans_to_others" type="decimal15_2" use="required" <xs:attribute name="loans_from_cr_found" type="decimal15_2" use="required" <xs:attribute name="liabil_third" type="decimal15_2" use="required" <xs:attribute name="liabil_gov" type="decimal15_2" use="required" <xs:simpletype name="year_type"> <xs:pattern value="[0-9]{4}" <xs:simpletype name="month_type"> <xs:pattern value="[0-1][0-9]" <xs:simpletype name="decimal15_2"> <xs:restriction base="xs:decimal"> <xs:fractiondigits value="2" <xs:totaldigits value="15" Παπαηεπήζεηρ YEAR Έηορ (3.1) MONTH Μήναρ (3.2) 6
CASH Ταµείο (3.3) BOG Καηαζέζεηρ ζηεν ΤηΔ (3.4) OTHER_BANKS Καηαζέζεηρ ζε ιοηπέρ Τπάπεδερ (3.5) GOV_SECURITIES Τίηιοη Διιενηθού Γεµοζίος (3.6) OTHER_SECURITIES Λοηπά Οµόιογα (3.7) STOCKS Μεηοσέρ (3.8) LOANS_TO_OTHERS Γάνεηα ππορ ηπίηοςρ (3.9) LOANS_FROM_CR_FOUND Γάνεηα από πηζηυηηθά ηδπύµαηα θαη οπγανηζµούρ (3.10) LIABIL_THIRD Υποσπεώζεηρ ζε θοπείρ εθηόρ γενηθήρ θςβέπνεζερ (3.11) LIABIL_GOV Υποσπεώζεηρ ζε θοπείρ ηερ γενηθήρ θςβέπνεζερ (3.13) 7
5. Μηηπώο Δεζµεύζεων Η ςπεπεζία δέσεηαη υρ οπίζµαηα ένα xml απσείο, ηο οποίο πεπηέσεη ηο έηορ ηερ οηθονοµηθήρ σπήζερ, ηον µήνα γηα ηον οποίο δεηά ηα ζηοησεία ηος µεηπώος δεζµεύζευν θαη ηο αναγνυπηζηηθό ζύνδεζερ πος έσεη πάπεη µέζυ ηερ ςπεπεζίαρ login, θαη έναν αθέπαηο απηζµό πος πποζδηοπίδεη ηον ηύπο ηερ αναθοπάρ. Ο ηύπορ ηερ αναθοπάρ γηα ηα ζηοησεία ηος µεηπώος ππέπεη να είναη 4. Η ςπεπεζία επηζηπέθεη ένα xml απσείο πος πεπηέσεη όια ηα ζηοησεία ηος µεηπώος. public String getreportdata(string data, int type) throws RemoteException Δπηζηπέθεη ηα ζηοησεία ηος µεηπώος δεζµεύζευν Το ππώηο όπηζµα είναη ένα string µε ηο πεπηεσόµενα ενόρ xml θεηµένος. To xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> <xs:element name="arguments"> <xs:attribute name="year" type="xs:integer" use="required" <xs:attribute name="μοντη" type="xs:integer" use="required" Το δεύηεπο όπηζµα αναθέπεηαη ζηον ηύπο ηερ αναθοπάρ θαη γηα ηα ζηοησεία ηος µεηπώος ππέπεη να έσεη πάνηα ηεν 4. Δπηζηπεθόµενε Δπηζηπέθεη ένα string µε ηο πεπηεσόµενο ενόρ xml θεηµένος. Το xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema"> <xs:element name="bounds_record"> <xs:element ref="account_record" minoccurs="1" maxoccurs="unbounded" <xs:attribute name="year" type="year_type" use="required" <xs:attribute name="month" type="month_type" use="required" <xs:element name="account_record"> <xs:element ref="bound_records" minoccurs="1" maxoccurs="unbounded" <xs:attribute name="kae" type="kae_type" use="required" <xs:attribute name="approved" type="decimal15_2" use="required" <xs:element name="bound_records"> <xs:element ref="bound_invoices" minoccurs="0" maxoccurs="unbounded" <xs:attribute name="trans_date" type="date_type" use="required" <xs:attribute name="kae_reform_until" type="decimal15_2" use="required" <xs:attribute name="kae_formatted_until" type="decimal15_2" use="required" <xs:attribute name="kae_serviced_until" type="decimal15_2" use="required" <xs:attribute name="bound_code" type="xs:string" use="required" <xs:attribute name="bound_date" type="date_type" use="required" <xs:attribute name="bound_value" type="decimal15_2" use="required" <xs:attribute name="rest_kae_value" type="decimal15_2" use="required" 8
<xs:element name="bound_invoices"> <xs:attribute name="invoice_code" type="xs:string" use="required" <xs:attribute name="invoice_seira" type="xs:string" use="required" <xs:attribute name="invoice_date" type="date_type" use="required" <xs:attribute name="afm" type="xs:string" use="required" <xs:attribute name="invoice_value" type="decimal15_2" use="required" <xs:attribute name="ental_code" type="xs:string" use="required" <xs:attribute name="pay_value" type="decimal15_2" use="required" <xs:attribute name="pay_date" type="date_type" use="required" <xs:attribute name="pay_type" type="xs:string" use="required" <xs:attribute name="pending_bounds" type="decimal15_2" use="required" <xs:attribute name="unpayed_invoices" type="decimal15_2" use="required" <xs:attribute name="unpayed_gov" type="decimal15_2" use="required" <xs:attribute name="unpayed_third" type="decimal15_2" use="required" <xs:attribute name="paydue_date" type="date_type" use="required" <xs:attribute name="unpayed_gov_30" type="decimal15_2" use="required" <xs:attribute name="unpayed_third_30" type="decimal15_2" use="required" <xs:attribute name="unpayed_gov_60" type="decimal15_2" use="required" <xs:attribute name="unpayed_third_60" type="decimal15_2" use="required" <xs:attribute name="unpayed_gov_90" type="decimal15_2" use="required" <xs:attribute name="unpayed_third_90" type="decimal15_2" use="required" <xs:attribute name="unpayed_gov_overdue" type="decimal15_2" use="required" <xs:attribute name="unpayed_third_overdue" type="decimal15_2" use="required" <xs:simpletype name="year_type"> <xs:pattern value="[0-9]{4}" <xs:simpletype name="month_type"> <xs:pattern value="[0-1][0-9]" <xs:simpletype name="kae_type"> <xs:restriction base="xs:string"> <xs:maxlength value="32" <xs:simpletype name="date_type"> <xs:restriction base="xs:date"> <xs:pattern value="dd/mm/yyyy" <xs:simpletype name="decimal15_2"> <xs:restriction base="xs:decimal"> <xs:fractiondigits value="2" <xs:totaldigits value="15" Παπαηεπήζεηρ YEAR Έηορ (4.1) MONTH Μήναρ (4.2) KAE ΚΑΔ (4.3) APPROVED Δγθεθπηµένορ Π/Υ (4.4) TRANS_DATE Ηµεποµενία Δγγπαθήρ (4.5.1) KAE_REFORM_UNTIL Αναµοπθώζεηρ Π/Υ (4.5.2) KAE_FORMATTED_UNTIL Γηαµοπθυµένορ Π/Υ (4.5.3) 9
KAE_SERVICED_UNTIL Ποζοζηό δηάζεζερ πίζηυζερ (4.5.4) BOUND_CODE Απηζµόρ απόθαζερ ανάιετερ ςποσπέυζερ (4.5.5) BOUND_DATE Ηµεποµενία ανάιετερ ςποσπέυζερ (4.5.6) BOUND_VALUE Ποζό δέζµεςζερ (4.5.7) REST_KAE_VALUE Υποιεηπόµενε ππορ δηάζεζε πίζηυζε (4.5.8) INVOICE_CODE Απηζµόρ ηηµοιογίος (4.5.9) INVOICE_SEIRA Σεηπά ηηµοιογίος (4.5.10) INVOICE_DATE Ηµεποµενία ηηµοιογίος (4.5.11) AFM ΑΦΜ (4.5.12) INVOICE_VALUE Ποζό ηηµοιογίος (4.5.13) ENTAL_CODE Απηζµόρ ενηάιµαηορ πιεπυµήρ (4.5.14) PAY_VALUE Ποζό πιεπυµήρ (4.5.15) PAY_DATE Ηµεποµενία εξόθιεζερ (4.5.16) PAY_TYPE Δίδορ παπαζηαηηθού πιεπυµήρ (4.5.17) PENDING_BOUNDS Δθθπεµείρ δεζµεύζεηρ (4.5.18) UNPAYED_INVOICES Απιήπυηερ ςποσπεώζεηρ (4.5.19) UNPAYED_GOV Απιήπυηερ ςποσπεώζεηρ ππορ γενηθή θςβέπνεζε (4.5.19.1) UNPAYED_THIRD Απιήπυηερ ςποσπεώζεηρ ππορ ηπίηοςρ (4.5.19.2) PAYDUE_DATE Ηµεποµενία ςποσπέυζερ εξόθιεζερ (4.5.20) UNPAYED_GOV_30 UNPAYED_THIRD_30 UNPAYED_GOV_60 UNPAYED_THIRD_60 UNPAYED_GOV_90 UNPAYED_THIRD_90 UNPAYED_GOV_OVERDUE UNPAYED_THIRD_OVERDUE Δθθπεµείρ οθεηιέρ από 1 έυρ 30 εµέπερ ππορ Γενηθή Κςβέπνεζε (4.5.21) Δθθπεµείρ οθεηιέρ από 1 έυρ 30 εµέπερ ππορ ηπίηοςρ (4.5.22) Δθθπεµείρ οθεηιέρ από 31 έυρ 60 εµέπερ ππορ Γενηθή Κςβέπνεζε (4.5.23) Δθθπεµείρ οθεηιέρ από 31 έυρ 60 εµέπερ ππορ ηπίηοςρ (4.5.24) Δθθπεµείρ οθεηιέρ από 61 έυρ 90 εµέπερ ππορ Γενηθή Κςβέπνεζε (4.5.25) Δθθπεµείρ οθεηιέρ από 61 έυρ 90 εµέπερ ππορ ηπίηοςρ (4.5.26) Λεξηππόζεζµερ οθεηιέρ άνυ ηυν 90 εµεπών ππορ Γενηθή Κςβέπνεζε (4.5.27) Λεξηππόζεζµερ οθεηιέρ άνυ ηυν 90 εµεπών ππορ ηπίηοςρ (4.5.28) 10
6. Σηοισεία Ποπείαρ Είζππαξηρ Εζόδων Η ςπεπεζία δέσεηαη υρ οπίζµαηα ένα xml απσείο, ηο οποίο πεπηέσεη ηο έηορ ηερ οηθονοµηθήρ σπήζερ, ηον µήνα γηα ηον οποίο δεηά ζηοησεία ποπείαρ είζππαξερ εζόδυν θαη ηο αναγνυπηζηηθό ζύνδεζερ πος έσεη πάπεη µέζυ ηερ ςπεπεζίαρ login, θαη έναν αθέπαηο απηζµό πος πποζδηοπίδεη ηον ηύπο ηερ αναθοπάρ. Ο ηύπορ ηερ αναθοπάρ γηα ηα ζηοησεία είζππαξερ ππέπεη να είναη 5. Η ςπεπεζία επηζηπέθεη ένα xml απσείο πος πεπηέσεη όια ηα ζηοησεία ποπείαρ είζππαξερ εζόδυν. public String getreportdata(string data, int type) throws RemoteException Δπηζηπέθεη ηα ζηοησεία ποπείαρ είζππαξερ εζόδυν Το ππώηο όπηζµα είναη ένα string µε ηο πεπηεσόµενα ενόρ xml θεηµένος. To xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> <xs:element name="arguments"> <xs:attribute name="year" type="xs:integer" use="required" <xs:attribute name="μοντη" type="xs:integer" use="required" Το δεύηεπο όπηζµα αναθέπεηαη ζηον ηύπο ηερ αναθοπάρ θαη γηα ηα ζηοησεία είζππαξερ εζόδυν ππέπεη να έσεη πάνηα ηεν 5. Δπηζηπεθόµενε Δπηζηπέθεη ένα string µε ηο πεπηεσόµενο ενόρ xml θεηµένος. Το xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema"> <xs:element name="incomes_collection"> <xs:element ref="account" minoccurs="1" maxoccurs="unbounded" <xs:attribute name="year" type="year_type" use="required" <xs:attribute name="month" type="month_type" use="required" <xs:element name="account"> <xs:attribute name="kae" type="kae_type" use="required" <xs:attribute name="approved" type="decimal15_2" use="required" <xs:attribute name="formatted" type="decimal15_2" use="required" <xs:attribute name="not_confirmed_lists" type="decimal15_2" use="required" <xs:attribute name="confirmed_lists" type="decimal15_2" use="required" <xs:attribute name="home_confirmed" type="decimal15_2" use="required" <xs:attribute name="other_confirmed" type="decimal15_2" use="required" <xs:attribute name="sum_confirmed" type="decimal15_2" use="required" <xs:attribute name="overdue_debts" type="decimal15_2" use="required" <xs:attribute name="overdue_debts_dtc" type="decimal15_2" use="required" <xs:attribute name="overdue_debts_cm" type="decimal15_2" use="required" <xs:attribute name="overdue_debts_dtc_ao_cm" type="decimal15_2" use="required" <xs:attribute name="collected" type="decimal15_2" use="required" <xs:attribute name="overdue_collected" type="decimal15_2" use="required" <xs:simpletype name="year_type"> 11
<xs:pattern value="[0-9]{4}" <xs:simpletype name="month_type"> <xs:pattern value="[0-1][0-9]" <xs:simpletype name="kae_type"> <xs:restriction base="xs:string"> <xs:maxlength value="32" <xs:simpletype name="decimal15_2"> <xs:restriction base="xs:decimal"> <xs:fractiondigits value="2" <xs:totaldigits value="15" Παπαηεπήζεηρ YEAR Έηορ (5.1) MONTH Μήναρ (5.2) KAE ΚΑΔ (5.3) APPROVED Δγθεθπηµένορ Π/Υ (5.4) FORMATTED Γηαµοπθυµένορ Π/Υ (5.5) NOT_CONFIRMED_LISTS Αβεβαίυηοη Φπεµαηηθοί Καηάιογοη (5.6) CONFIRMED_LISTS Βεβαηώζεηρ Φπεµαηηθών Καηαιόγυν (5.7) HOME_CONFIRMED Οίθοζεν Βεβαηώζεηρ (5.8) OTHER_CONFIRMED Λοηπέρ Βεβαηώζεηρ (5.9) SUM_CONFIRMED Σύνοιο Βεβαηώζευν (5.10) OVERDUE_DEBTS Λεξηππόζεζµερ οθεηιέρ (5.11) OVERDUE_DEBTS_DTC OVERDUE_DEBTS_CM OVERDUE_DEBTS_DTC_AO_CM COLLECTED Δηζππάξεηρ (5.15) Λεξηππόζεζµερ οθεηιέρ γηα ηηρ οποίερ έγηνε ζηέπεζε θοποιογηθήρ ενεµεπόηεηαρ (5.12) Λεξηππόζεζµερ οθεηιέρ γηα ηηρ οποίερ έσοςν ιεθζεί µέηπα είζππαξερ (5.13) Λεξηππόζεζµερ οθεηιέρ γηα ηηρ οποίερ έσοςν ιεθζεί µέηπα επηδίυξερ είζππαξερ ή/θαη έγηνε ζηέπεζε θοποιογηθήρ ενεµεπόηεηαρ (5.14) OVERDUE_COLLECTED Δηζππάξεηρ Λεξηππόζεζµυν (5.16) 12
7. Αποζύνδεζη σπήζηη Δπηζηπεθόµενε Παπαηεπήζεηρ public void logout(string data) throws RemoteException Αποζςνδέεη ηο σπήζηε από ηο ζύζηεµα Λαµβάνεη υρ όπηζµα ένα string µε ηο πεπηεσόµενα ενόρ xml θεηµένος. To xml θείµενο έσεη ηεν αθόιοςζε δοµή: <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified"> 13