my_data 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.rspec +3 -0
- data/.rubocop.yml +32 -0
- data/Gemfile +15 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/Rakefile +12 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/my_data.rb +24 -0
- data/lib/my_data/client.rb +42 -0
- data/lib/my_data/resource.rb +191 -0
- data/lib/my_data/resources.rb +10 -0
- data/lib/my_data/resources/ecls.rb +7 -0
- data/lib/my_data/resources/ecls/expenses_classification_type.rb +7 -0
- data/lib/my_data/resources/ecls/invoice_expenses_classification_type.rb +7 -0
- data/lib/my_data/resources/ecls/invoices_expenses_classification_detail_type.rb +7 -0
- data/lib/my_data/resources/error_type.rb +8 -0
- data/lib/my_data/resources/icls.rb +7 -0
- data/lib/my_data/resources/icls/income_classification_type.rb +7 -0
- data/lib/my_data/resources/icls/invoice_income_classification_type.rb +7 -0
- data/lib/my_data/resources/icls/invoices_income_classification_detail_type.rb +7 -0
- data/lib/my_data/resources/inv.rb +14 -0
- data/lib/my_data/resources/inv/aade_book_invoice_type.rb +7 -0
- data/lib/my_data/resources/inv/address_type.rb +7 -0
- data/lib/my_data/resources/inv/invoice_header_type.rb +7 -0
- data/lib/my_data/resources/inv/invoice_row_type.rb +7 -0
- data/lib/my_data/resources/inv/invoice_summary_type.rb +7 -0
- data/lib/my_data/resources/inv/invoices_doc.rb +17 -0
- data/lib/my_data/resources/inv/party_type.rb +7 -0
- data/lib/my_data/resources/inv/payment_method_detail_type.rb +7 -0
- data/lib/my_data/resources/inv/ship_type.rb +7 -0
- data/lib/my_data/resources/inv/tax_totals_type.rb +7 -0
- data/lib/my_data/resources/response_type.rb +19 -0
- data/lib/my_data/resources/responses_doc.rb +8 -0
- data/lib/my_data/type_caster.rb +58 -0
- data/lib/my_data/version.rb +5 -0
- data/lib/my_data/xml_generator.rb +80 -0
- data/lib/my_data/xml_parser.rb +96 -0
- data/lib/my_data/xsd.rb +7 -0
- data/lib/my_data/xsd/complex_type.rb +24 -0
- data/lib/my_data/xsd/docs/InvoicesDoc-v1.0.2.xsd +1088 -0
- data/lib/my_data/xsd/docs/RequestedProviderDoc-v1.0.2.xsd +44 -0
- data/lib/my_data/xsd/docs/expensesClassification-v1.0.2.xsd +193 -0
- data/lib/my_data/xsd/docs/incomeClassification-v1.0.2.xsd +141 -0
- data/lib/my_data/xsd/docs/requestDoc-v1.0.2.xsd +66 -0
- data/lib/my_data/xsd/docs/requestedInvoicesDoc-v1.0.2.xsd +66 -0
- data/lib/my_data/xsd/docs/response-v1.0.2.xsd +80 -0
- data/lib/my_data/xsd/element.rb +49 -0
- data/lib/my_data/xsd/resource_generator.rb +37 -0
- data/lib/my_data/xsd/structure.rb +80 -0
- data/my_data.gemspec +36 -0
- metadata +153 -0
data/lib/my_data/xsd.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class MyData::Xsd::ComplexType
|
4
|
+
attr_reader :doc, :namespace
|
5
|
+
|
6
|
+
def initialize(doc, namespace:)
|
7
|
+
@doc = doc
|
8
|
+
@namespace = namespace
|
9
|
+
end
|
10
|
+
|
11
|
+
def name
|
12
|
+
@name ||= doc.attributes["name"].value
|
13
|
+
end
|
14
|
+
|
15
|
+
def elements
|
16
|
+
@elements ||= doc.xpath("xs:sequence/xs:element").map do |element|
|
17
|
+
MyData::Xsd::Element.new(element)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def inspect
|
22
|
+
"ComplexType: { name: #{name.to_json}, elements: #{elements} }"
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,1088 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:inv="http://www.aade.gr/myDATA/invoice/v1.0" xmlns:icls="https://www.aade.gr/myDATA/incomeClassificaton/v1.0" xmlns:ecls="https://www.aade.gr/myDATA/expensesClassificaton/v1.0" targetNamespace="http://www.aade.gr/myDATA/invoice/v1.0" elementFormDefault="qualified" version="1.0.2">
|
3
|
+
<xs:import namespace="https://www.aade.gr/myDATA/incomeClassificaton/v1.0" schemaLocation="incomeClassification-v1.0.2.xsd"/>
|
4
|
+
<xs:import namespace="https://www.aade.gr/myDATA/expensesClassificaton/v1.0" schemaLocation="expensesClassification-v1.0.2.xsd"/>
|
5
|
+
<xs:element name="InvoicesDoc">
|
6
|
+
<xs:annotation>
|
7
|
+
<xs:documentation>Παραστατικό ΑΑΔΕ</xs:documentation>
|
8
|
+
</xs:annotation>
|
9
|
+
<xs:complexType>
|
10
|
+
<xs:sequence maxOccurs="unbounded">
|
11
|
+
<xs:element name="invoice" type="inv:AadeBookInvoiceType"/>
|
12
|
+
</xs:sequence>
|
13
|
+
</xs:complexType>
|
14
|
+
</xs:element>
|
15
|
+
<xs:complexType name="AadeBookInvoiceType">
|
16
|
+
<xs:sequence>
|
17
|
+
<xs:element name="uid" type="xs:string" minOccurs="0">
|
18
|
+
<xs:annotation>
|
19
|
+
<xs:documentation>Αναγνωριστικό Παραστατικού</xs:documentation>
|
20
|
+
</xs:annotation>
|
21
|
+
</xs:element>
|
22
|
+
<xs:element name="mark" type="xs:long" minOccurs="0">
|
23
|
+
<xs:annotation>
|
24
|
+
<xs:documentation>Μοναδικός Αριθμός Καταχώρησης Παραστατικού</xs:documentation>
|
25
|
+
</xs:annotation>
|
26
|
+
</xs:element>
|
27
|
+
<xs:element name="cancelledByMark" type="xs:long" minOccurs="0">
|
28
|
+
<xs:annotation>
|
29
|
+
<xs:documentation>Μοναδικός Αριθμός Καταχώρησης Ακυρωτικού</xs:documentation>
|
30
|
+
</xs:annotation>
|
31
|
+
</xs:element>
|
32
|
+
<xs:element name="authenticationCode" type="xs:string" minOccurs="0">
|
33
|
+
<xs:annotation>
|
34
|
+
<xs:documentation>Συμβολοσειρά Αυθεντικοποίησης Παρόχου</xs:documentation>
|
35
|
+
</xs:annotation>
|
36
|
+
</xs:element>
|
37
|
+
<xs:element name="transmissionFailure" minOccurs="0">
|
38
|
+
<xs:annotation>
|
39
|
+
<xs:documentation>Αδυναμία Επικοινωνίας Παρόχου</xs:documentation>
|
40
|
+
</xs:annotation>
|
41
|
+
<xs:simpleType>
|
42
|
+
<xs:restriction base="xs:byte">
|
43
|
+
<xs:minInclusive value="1"/>
|
44
|
+
<xs:maxInclusive value="2"/>
|
45
|
+
</xs:restriction>
|
46
|
+
</xs:simpleType>
|
47
|
+
</xs:element>
|
48
|
+
<xs:element name="issuer" type="inv:PartyType" minOccurs="0">
|
49
|
+
<xs:annotation>
|
50
|
+
<xs:documentation>Στοιχεία Εκδότη</xs:documentation>
|
51
|
+
</xs:annotation>
|
52
|
+
</xs:element>
|
53
|
+
<xs:element name="counterpart" type="inv:PartyType" minOccurs="0">
|
54
|
+
<xs:annotation>
|
55
|
+
<xs:documentation>Στοιχεία Λήπτη</xs:documentation>
|
56
|
+
</xs:annotation>
|
57
|
+
</xs:element>
|
58
|
+
<xs:element name="invoiceHeader" type="inv:InvoiceHeaderType">
|
59
|
+
<xs:annotation>
|
60
|
+
<xs:documentation>Γενικά Στοιχεία</xs:documentation>
|
61
|
+
</xs:annotation>
|
62
|
+
</xs:element>
|
63
|
+
<xs:element name="paymentMethods" minOccurs="0">
|
64
|
+
<xs:annotation>
|
65
|
+
<xs:documentation>Πληρωμές</xs:documentation>
|
66
|
+
</xs:annotation>
|
67
|
+
<xs:complexType>
|
68
|
+
<xs:sequence>
|
69
|
+
<xs:element name="paymentMethodDetails" type="inv:PaymentMethodDetailType" maxOccurs="unbounded">
|
70
|
+
<xs:annotation>
|
71
|
+
<xs:documentation>Στοιχεία Πληρωμών</xs:documentation>
|
72
|
+
</xs:annotation>
|
73
|
+
</xs:element>
|
74
|
+
</xs:sequence>
|
75
|
+
</xs:complexType>
|
76
|
+
</xs:element>
|
77
|
+
<xs:element name="invoiceDetails" type="inv:InvoiceRowType" maxOccurs="unbounded">
|
78
|
+
<xs:annotation>
|
79
|
+
<xs:documentation>Λεπτομέρειες Παραστατικού</xs:documentation>
|
80
|
+
</xs:annotation>
|
81
|
+
</xs:element>
|
82
|
+
<xs:element name="taxesTotals" minOccurs="0">
|
83
|
+
<xs:annotation>
|
84
|
+
<xs:documentation>Σύνολα Φόρων</xs:documentation>
|
85
|
+
</xs:annotation>
|
86
|
+
<xs:complexType>
|
87
|
+
<xs:sequence>
|
88
|
+
<xs:element name="taxes" type="inv:TaxTotalsType" maxOccurs="unbounded"/>
|
89
|
+
</xs:sequence>
|
90
|
+
</xs:complexType>
|
91
|
+
</xs:element>
|
92
|
+
<xs:element name="invoiceSummary" type="inv:InvoiceSummaryType">
|
93
|
+
<xs:annotation>
|
94
|
+
<xs:documentation>Συγκεντρωτικά Στοιχεία</xs:documentation>
|
95
|
+
</xs:annotation>
|
96
|
+
</xs:element>
|
97
|
+
</xs:sequence>
|
98
|
+
</xs:complexType>
|
99
|
+
<xs:complexType name="InvoiceHeaderType">
|
100
|
+
<xs:sequence>
|
101
|
+
<xs:element name="series">
|
102
|
+
<xs:annotation>
|
103
|
+
<xs:documentation>Σειρά Παραστατικού</xs:documentation>
|
104
|
+
</xs:annotation>
|
105
|
+
<xs:simpleType>
|
106
|
+
<xs:restriction base="xs:string">
|
107
|
+
<xs:maxLength value="50"/>
|
108
|
+
</xs:restriction>
|
109
|
+
</xs:simpleType>
|
110
|
+
</xs:element>
|
111
|
+
<xs:element name="aa">
|
112
|
+
<xs:annotation>
|
113
|
+
<xs:documentation>ΑΑ Παραστατικού</xs:documentation>
|
114
|
+
</xs:annotation>
|
115
|
+
<xs:simpleType>
|
116
|
+
<xs:restriction base="xs:string">
|
117
|
+
<xs:maxLength value="50"/>
|
118
|
+
</xs:restriction>
|
119
|
+
</xs:simpleType>
|
120
|
+
</xs:element>
|
121
|
+
<xs:element name="issueDate" type="xs:date">
|
122
|
+
<xs:annotation>
|
123
|
+
<xs:documentation>Ημερομηνία Έκδοσης</xs:documentation>
|
124
|
+
</xs:annotation>
|
125
|
+
</xs:element>
|
126
|
+
<xs:element name="invoiceType" type="inv:InvoiceType">
|
127
|
+
<xs:annotation>
|
128
|
+
<xs:documentation>Είδος Παραστατικού</xs:documentation>
|
129
|
+
</xs:annotation>
|
130
|
+
</xs:element>
|
131
|
+
<xs:element name="vatPaymentSuspension" type="xs:boolean" minOccurs="0">
|
132
|
+
<xs:annotation>
|
133
|
+
<xs:documentation>Αναστολή Καταβολής ΦΠΑ</xs:documentation>
|
134
|
+
</xs:annotation>
|
135
|
+
</xs:element>
|
136
|
+
<xs:element name="currency" type="inv:CurrencyType" minOccurs="0">
|
137
|
+
<xs:annotation>
|
138
|
+
<xs:documentation>Νόμισμα</xs:documentation>
|
139
|
+
</xs:annotation>
|
140
|
+
</xs:element>
|
141
|
+
<xs:element name="exchangeRate" type="inv:ExchangeRateType" minOccurs="0">
|
142
|
+
<xs:annotation>
|
143
|
+
<xs:documentation>Ισοτιμία</xs:documentation>
|
144
|
+
</xs:annotation>
|
145
|
+
</xs:element>
|
146
|
+
<xs:element name="correlatedInvoices" type="xs:long" minOccurs="0" maxOccurs="unbounded">
|
147
|
+
<xs:annotation>
|
148
|
+
<xs:documentation>Συσχετιζόμενα Παραστατικά</xs:documentation>
|
149
|
+
</xs:annotation>
|
150
|
+
</xs:element>
|
151
|
+
<xs:element name="selfPricing" type="xs:boolean" minOccurs="0">
|
152
|
+
<xs:annotation>
|
153
|
+
<xs:documentation>Ένδειξη Αυτοτιμολόγησης</xs:documentation>
|
154
|
+
</xs:annotation>
|
155
|
+
</xs:element>
|
156
|
+
<xs:element name="dispatchDate" type="xs:date" minOccurs="0">
|
157
|
+
<xs:annotation>
|
158
|
+
<xs:documentation>Ημερομηνία Έναρξης Αποστολής</xs:documentation>
|
159
|
+
</xs:annotation>
|
160
|
+
</xs:element>
|
161
|
+
<xs:element name="dispatchTime" type="xs:time" minOccurs="0">
|
162
|
+
<xs:annotation>
|
163
|
+
<xs:documentation>Ώρα Έναρξης Αποστολής</xs:documentation>
|
164
|
+
</xs:annotation>
|
165
|
+
</xs:element>
|
166
|
+
<xs:element name="vehicleNumber" minOccurs="0">
|
167
|
+
<xs:annotation>
|
168
|
+
<xs:documentation>Αριθμός Οχήματος</xs:documentation>
|
169
|
+
</xs:annotation>
|
170
|
+
<xs:simpleType>
|
171
|
+
<xs:annotation>
|
172
|
+
<xs:documentation>Αριθμός Μεταφορικού Μέσου</xs:documentation>
|
173
|
+
</xs:annotation>
|
174
|
+
<xs:restriction base="xs:string">
|
175
|
+
<xs:maxLength value="150"/>
|
176
|
+
</xs:restriction>
|
177
|
+
</xs:simpleType>
|
178
|
+
</xs:element>
|
179
|
+
<xs:element name="movePurpose" minOccurs="0">
|
180
|
+
<xs:annotation>
|
181
|
+
<xs:documentation>Σκοπός Διακίνησης</xs:documentation>
|
182
|
+
</xs:annotation>
|
183
|
+
<xs:simpleType>
|
184
|
+
<xs:restriction base="xs:int">
|
185
|
+
<xs:minInclusive value="1"/>
|
186
|
+
<xs:maxInclusive value="8"/>
|
187
|
+
</xs:restriction>
|
188
|
+
</xs:simpleType>
|
189
|
+
</xs:element>
|
190
|
+
</xs:sequence>
|
191
|
+
</xs:complexType>
|
192
|
+
<xs:complexType name="InvoiceRowType">
|
193
|
+
<xs:sequence>
|
194
|
+
<xs:element name="lineNumber">
|
195
|
+
<xs:annotation>
|
196
|
+
<xs:documentation>ΑΑ Γραμμής</xs:documentation>
|
197
|
+
</xs:annotation>
|
198
|
+
<xs:simpleType>
|
199
|
+
<xs:restriction base="xs:int">
|
200
|
+
<xs:minInclusive value="1"/>
|
201
|
+
</xs:restriction>
|
202
|
+
</xs:simpleType>
|
203
|
+
</xs:element>
|
204
|
+
<xs:element name="recType" minOccurs="0">
|
205
|
+
<xs:annotation>
|
206
|
+
<xs:documentation>Είδος Γραμμής</xs:documentation>
|
207
|
+
</xs:annotation>
|
208
|
+
<xs:simpleType>
|
209
|
+
<xs:restriction base="xs:int">
|
210
|
+
<xs:minInclusive value="1"/>
|
211
|
+
<xs:maxInclusive value="6"/>
|
212
|
+
</xs:restriction>
|
213
|
+
</xs:simpleType>
|
214
|
+
</xs:element>
|
215
|
+
<xs:element name="quantity" minOccurs="0">
|
216
|
+
<xs:annotation>
|
217
|
+
<xs:documentation>Ποσότητα</xs:documentation>
|
218
|
+
</xs:annotation>
|
219
|
+
<xs:simpleType>
|
220
|
+
<xs:restriction base="xs:decimal">
|
221
|
+
<xs:minExclusive value="0"/>
|
222
|
+
</xs:restriction>
|
223
|
+
</xs:simpleType>
|
224
|
+
</xs:element>
|
225
|
+
<xs:element name="measurementUnit" type="inv:QuantityType" minOccurs="0">
|
226
|
+
<xs:annotation>
|
227
|
+
<xs:documentation>Είδος Ποσότητας</xs:documentation>
|
228
|
+
</xs:annotation>
|
229
|
+
</xs:element>
|
230
|
+
<xs:element name="invoiceDetailType" type="inv:InvoiceDetailType" minOccurs="0">
|
231
|
+
<xs:annotation>
|
232
|
+
<xs:documentation>Επισήμανση</xs:documentation>
|
233
|
+
</xs:annotation>
|
234
|
+
</xs:element>
|
235
|
+
<xs:element name="netValue" type="inv:AmountType">
|
236
|
+
<xs:annotation>
|
237
|
+
<xs:documentation>Καθαρή Αξία</xs:documentation>
|
238
|
+
</xs:annotation>
|
239
|
+
</xs:element>
|
240
|
+
<xs:element name="vatCategory" type="inv:VatType">
|
241
|
+
<xs:annotation>
|
242
|
+
<xs:documentation>Κατηγορία ΦΠΑ</xs:documentation>
|
243
|
+
</xs:annotation>
|
244
|
+
</xs:element>
|
245
|
+
<xs:element name="vatAmount" type="inv:AmountType">
|
246
|
+
<xs:annotation>
|
247
|
+
<xs:documentation>Ποσό ΦΠΑ</xs:documentation>
|
248
|
+
</xs:annotation>
|
249
|
+
</xs:element>
|
250
|
+
<xs:element name="vatExemptionCategory" type="inv:VatExemptionType" minOccurs="0">
|
251
|
+
<xs:annotation>
|
252
|
+
<xs:documentation>Κατηγορία Αιτίας Εξαίρεσης ΦΠΑ</xs:documentation>
|
253
|
+
</xs:annotation>
|
254
|
+
</xs:element>
|
255
|
+
<xs:element name="dienergia" type="inv:ShipType" minOccurs="0">
|
256
|
+
<xs:annotation>
|
257
|
+
<xs:documentation>ΠΟΛ 1177/2018 Αρ. 27</xs:documentation>
|
258
|
+
</xs:annotation>
|
259
|
+
</xs:element>
|
260
|
+
<xs:element name="discountOption" type="xs:boolean" minOccurs="0">
|
261
|
+
<xs:annotation>
|
262
|
+
<xs:documentation>Δικαίωμα Έκπτωσης</xs:documentation>
|
263
|
+
</xs:annotation>
|
264
|
+
</xs:element>
|
265
|
+
<xs:element name="withheldAmount" type="inv:AmountType" minOccurs="0">
|
266
|
+
<xs:annotation>
|
267
|
+
<xs:documentation>Ποσό Παρ. Φόρου</xs:documentation>
|
268
|
+
</xs:annotation>
|
269
|
+
</xs:element>
|
270
|
+
<xs:element name="withheldPercentCategory" type="inv:WithheldType" minOccurs="0">
|
271
|
+
<xs:annotation>
|
272
|
+
<xs:documentation>Κατηγορία Συντελεστή Παρ. Φόρου</xs:documentation>
|
273
|
+
</xs:annotation>
|
274
|
+
</xs:element>
|
275
|
+
<xs:element name="stampDutyAmount" type="inv:AmountType" minOccurs="0">
|
276
|
+
<xs:annotation>
|
277
|
+
<xs:documentation>Ποσό Χαρτοσήμου</xs:documentation>
|
278
|
+
</xs:annotation>
|
279
|
+
</xs:element>
|
280
|
+
<xs:element name="stampDutyPercentCategory" type="inv:StampDutyType" minOccurs="0">
|
281
|
+
<xs:annotation>
|
282
|
+
<xs:documentation>Κατηγορία Συντελεστή Χαρτοσήμου</xs:documentation>
|
283
|
+
</xs:annotation>
|
284
|
+
</xs:element>
|
285
|
+
<xs:element name="feesAmount" type="inv:AmountType" minOccurs="0">
|
286
|
+
<xs:annotation>
|
287
|
+
<xs:documentation>Ποσό Τελών</xs:documentation>
|
288
|
+
</xs:annotation>
|
289
|
+
</xs:element>
|
290
|
+
<xs:element name="feesPercentCategory" type="inv:FeesType" minOccurs="0">
|
291
|
+
<xs:annotation>
|
292
|
+
<xs:documentation>Κατηγορία Συντελεστή Τελών</xs:documentation>
|
293
|
+
</xs:annotation>
|
294
|
+
</xs:element>
|
295
|
+
<xs:element name="otherTaxesPercentCategory" type="inv:OtherTaxesType" minOccurs="0">
|
296
|
+
<xs:annotation>
|
297
|
+
<xs:documentation>Κατηγορία Συντελεστή Λοιπών Φόρων</xs:documentation>
|
298
|
+
</xs:annotation>
|
299
|
+
</xs:element>
|
300
|
+
<xs:element name="otherTaxesAmount" type="inv:AmountType" minOccurs="0">
|
301
|
+
<xs:annotation>
|
302
|
+
<xs:documentation>Ποσό Φόρου Διαμονης</xs:documentation>
|
303
|
+
</xs:annotation>
|
304
|
+
</xs:element>
|
305
|
+
<xs:element name="deductionsAmount" type="inv:AmountType" minOccurs="0">
|
306
|
+
<xs:annotation>
|
307
|
+
<xs:documentation>Ποσό Κρατήσεων</xs:documentation>
|
308
|
+
</xs:annotation>
|
309
|
+
</xs:element>
|
310
|
+
<xs:element name="lineComments" minOccurs="0">
|
311
|
+
<xs:annotation>
|
312
|
+
<xs:documentation>Σχόλια Γραμμής</xs:documentation>
|
313
|
+
</xs:annotation>
|
314
|
+
<xs:simpleType>
|
315
|
+
<xs:annotation>
|
316
|
+
<xs:documentation>Σχόλια</xs:documentation>
|
317
|
+
</xs:annotation>
|
318
|
+
<xs:restriction base="xs:string">
|
319
|
+
<xs:maxLength value="150"/>
|
320
|
+
</xs:restriction>
|
321
|
+
</xs:simpleType>
|
322
|
+
</xs:element>
|
323
|
+
<xs:element name="incomeClassification" type="icls:IncomeClassificationType" minOccurs="0" maxOccurs="unbounded">
|
324
|
+
<xs:annotation>
|
325
|
+
<xs:documentation>Λίστα Χαρακτηρισμών Εσόδων</xs:documentation>
|
326
|
+
</xs:annotation>
|
327
|
+
</xs:element>
|
328
|
+
<xs:element name="expensesClassification" type="ecls:ExpensesClassificationType" minOccurs="0" maxOccurs="unbounded">
|
329
|
+
<xs:annotation>
|
330
|
+
<xs:documentation>Λίστα Χαρακτηρισμού Εξόδων</xs:documentation>
|
331
|
+
</xs:annotation>
|
332
|
+
</xs:element>
|
333
|
+
</xs:sequence>
|
334
|
+
</xs:complexType>
|
335
|
+
<xs:complexType name="InvoiceSummaryType">
|
336
|
+
<xs:sequence>
|
337
|
+
<xs:element name="totalNetValue" type="inv:AmountType">
|
338
|
+
<xs:annotation>
|
339
|
+
<xs:documentation>Σύνολο Καθαρής Αξίας</xs:documentation>
|
340
|
+
</xs:annotation>
|
341
|
+
</xs:element>
|
342
|
+
<xs:element name="totalVatAmount" type="inv:AmountType">
|
343
|
+
<xs:annotation>
|
344
|
+
<xs:documentation>Σύνολο ΦΠΑ</xs:documentation>
|
345
|
+
</xs:annotation>
|
346
|
+
</xs:element>
|
347
|
+
<xs:element name="totalWithheldAmount" type="inv:AmountType">
|
348
|
+
<xs:annotation>
|
349
|
+
<xs:documentation>Σύνολο Παρ. Φόρων</xs:documentation>
|
350
|
+
</xs:annotation>
|
351
|
+
</xs:element>
|
352
|
+
<xs:element name="totalFeesAmount" type="inv:AmountType">
|
353
|
+
<xs:annotation>
|
354
|
+
<xs:documentation>Σύνολο Τελών</xs:documentation>
|
355
|
+
</xs:annotation>
|
356
|
+
</xs:element>
|
357
|
+
<xs:element name="totalStampDutyAmount" type="inv:AmountType">
|
358
|
+
<xs:annotation>
|
359
|
+
<xs:documentation>Σύνολο Χαρτοσήμου</xs:documentation>
|
360
|
+
</xs:annotation>
|
361
|
+
</xs:element>
|
362
|
+
<xs:element name="totalOtherTaxesAmount" type="inv:AmountType">
|
363
|
+
<xs:annotation>
|
364
|
+
<xs:documentation>Σύνολο Λοιπών Φόρων</xs:documentation>
|
365
|
+
</xs:annotation>
|
366
|
+
</xs:element>
|
367
|
+
<xs:element name="totalDeductionsAmount" type="inv:AmountType">
|
368
|
+
<xs:annotation>
|
369
|
+
<xs:documentation>Σύνολο Κρατήσεων</xs:documentation>
|
370
|
+
</xs:annotation>
|
371
|
+
</xs:element>
|
372
|
+
<xs:element name="totalGrossValue" type="inv:AmountType">
|
373
|
+
<xs:annotation>
|
374
|
+
<xs:documentation>Συνολική Αξία</xs:documentation>
|
375
|
+
</xs:annotation>
|
376
|
+
</xs:element>
|
377
|
+
<xs:element name="incomeClassification" type="icls:IncomeClassificationType" minOccurs="0" maxOccurs="unbounded">
|
378
|
+
<xs:annotation>
|
379
|
+
<xs:documentation>Λίστα Χαρακτηρισμών Εσόδων</xs:documentation>
|
380
|
+
</xs:annotation>
|
381
|
+
</xs:element>
|
382
|
+
<xs:element name="expensesClassification" type="ecls:ExpensesClassificationType" minOccurs="0" maxOccurs="unbounded"/>
|
383
|
+
</xs:sequence>
|
384
|
+
</xs:complexType>
|
385
|
+
<xs:complexType name="PartyType">
|
386
|
+
<xs:sequence>
|
387
|
+
<xs:element name="vatNumber" type="xs:string">
|
388
|
+
<xs:annotation>
|
389
|
+
<xs:documentation>ΑΦΜ</xs:documentation>
|
390
|
+
</xs:annotation>
|
391
|
+
</xs:element>
|
392
|
+
<xs:element name="country" type="inv:CountryType">
|
393
|
+
<xs:annotation>
|
394
|
+
<xs:documentation>Κωδ, Χώρας</xs:documentation>
|
395
|
+
</xs:annotation>
|
396
|
+
</xs:element>
|
397
|
+
<xs:element name="branch" type="xs:int">
|
398
|
+
<xs:annotation>
|
399
|
+
<xs:documentation>Αρ. Εγκατάστασης</xs:documentation>
|
400
|
+
</xs:annotation>
|
401
|
+
</xs:element>
|
402
|
+
<xs:element name="name" minOccurs="0">
|
403
|
+
<xs:annotation>
|
404
|
+
<xs:documentation>Επωνυμία</xs:documentation>
|
405
|
+
</xs:annotation>
|
406
|
+
<xs:simpleType>
|
407
|
+
<xs:annotation>
|
408
|
+
<xs:documentation>Επωνυμία</xs:documentation>
|
409
|
+
</xs:annotation>
|
410
|
+
<xs:restriction base="xs:string">
|
411
|
+
<xs:maxLength value="150"/>
|
412
|
+
</xs:restriction>
|
413
|
+
</xs:simpleType>
|
414
|
+
</xs:element>
|
415
|
+
<xs:element name="address" type="inv:AddressType" minOccurs="0">
|
416
|
+
<xs:annotation>
|
417
|
+
<xs:documentation>Διεύθυνση</xs:documentation>
|
418
|
+
</xs:annotation>
|
419
|
+
</xs:element>
|
420
|
+
</xs:sequence>
|
421
|
+
</xs:complexType>
|
422
|
+
<xs:complexType name="AddressType">
|
423
|
+
<xs:sequence>
|
424
|
+
<xs:element name="street" minOccurs="0">
|
425
|
+
<xs:simpleType>
|
426
|
+
<xs:annotation>
|
427
|
+
<xs:documentation>Επωνυμία</xs:documentation>
|
428
|
+
</xs:annotation>
|
429
|
+
<xs:restriction base="xs:string">
|
430
|
+
<xs:maxLength value="150"/>
|
431
|
+
</xs:restriction>
|
432
|
+
</xs:simpleType>
|
433
|
+
</xs:element>
|
434
|
+
<xs:element name="number" type="xs:string" minOccurs="0">
|
435
|
+
<xs:annotation>
|
436
|
+
<xs:documentation>Αριθμός</xs:documentation>
|
437
|
+
</xs:annotation>
|
438
|
+
</xs:element>
|
439
|
+
<xs:element name="postalCode" type="xs:string">
|
440
|
+
<xs:annotation>
|
441
|
+
<xs:documentation>ΤΚ</xs:documentation>
|
442
|
+
</xs:annotation>
|
443
|
+
</xs:element>
|
444
|
+
<xs:element name="city">
|
445
|
+
<xs:simpleType>
|
446
|
+
<xs:annotation>
|
447
|
+
<xs:documentation>Πόλη</xs:documentation>
|
448
|
+
</xs:annotation>
|
449
|
+
<xs:restriction base="xs:string">
|
450
|
+
<xs:maxLength value="150"/>
|
451
|
+
</xs:restriction>
|
452
|
+
</xs:simpleType>
|
453
|
+
</xs:element>
|
454
|
+
</xs:sequence>
|
455
|
+
</xs:complexType>
|
456
|
+
<xs:complexType name="ShipType">
|
457
|
+
<xs:sequence>
|
458
|
+
<xs:element name="applicationId" type="xs:string">
|
459
|
+
<xs:annotation>
|
460
|
+
<xs:documentation>Αριθμός Δήλωσης διενέργειας δραστηριότητας</xs:documentation>
|
461
|
+
</xs:annotation>
|
462
|
+
</xs:element>
|
463
|
+
<xs:element name="applicationDate" type="xs:date">
|
464
|
+
<xs:annotation>
|
465
|
+
<xs:documentation>Ημερομηνία Δήλωσης</xs:documentation>
|
466
|
+
</xs:annotation>
|
467
|
+
</xs:element>
|
468
|
+
<xs:element name="doy" minOccurs="0">
|
469
|
+
<xs:simpleType>
|
470
|
+
<xs:annotation>
|
471
|
+
<xs:documentation>ΔΟΥ Δήλωσης</xs:documentation>
|
472
|
+
</xs:annotation>
|
473
|
+
<xs:restriction base="xs:string">
|
474
|
+
<xs:maxLength value="150"/>
|
475
|
+
</xs:restriction>
|
476
|
+
</xs:simpleType>
|
477
|
+
</xs:element>
|
478
|
+
<xs:element name="shipId" type="xs:string">
|
479
|
+
<xs:annotation>
|
480
|
+
<xs:documentation>Στοιχεία Πλοίου</xs:documentation>
|
481
|
+
</xs:annotation>
|
482
|
+
</xs:element>
|
483
|
+
</xs:sequence>
|
484
|
+
</xs:complexType>
|
485
|
+
<xs:complexType name="PaymentMethodDetailType">
|
486
|
+
<xs:sequence>
|
487
|
+
<xs:element name="type">
|
488
|
+
<xs:annotation>
|
489
|
+
<xs:documentation>Τύπος Πληρωμής</xs:documentation>
|
490
|
+
</xs:annotation>
|
491
|
+
<xs:simpleType>
|
492
|
+
<xs:restriction base="xs:int">
|
493
|
+
<xs:minInclusive value="1"/>
|
494
|
+
<xs:maxInclusive value="5"/>
|
495
|
+
</xs:restriction>
|
496
|
+
</xs:simpleType>
|
497
|
+
</xs:element>
|
498
|
+
<xs:element name="amount" type="inv:AmountType">
|
499
|
+
<xs:annotation>
|
500
|
+
<xs:documentation>Αναλογούν Ποσό</xs:documentation>
|
501
|
+
</xs:annotation>
|
502
|
+
</xs:element>
|
503
|
+
<xs:element name="paymentMethodInfo" type="xs:string" minOccurs="0">
|
504
|
+
<xs:annotation>
|
505
|
+
<xs:documentation>Λοιπές Πληροφορίες</xs:documentation>
|
506
|
+
</xs:annotation>
|
507
|
+
</xs:element>
|
508
|
+
</xs:sequence>
|
509
|
+
</xs:complexType>
|
510
|
+
<xs:complexType name="TaxTotalsType">
|
511
|
+
<xs:sequence>
|
512
|
+
<xs:element name="taxType">
|
513
|
+
<xs:annotation>
|
514
|
+
<xs:documentation>Είδος Φόρου</xs:documentation>
|
515
|
+
</xs:annotation>
|
516
|
+
<xs:simpleType>
|
517
|
+
<xs:restriction base="xs:byte">
|
518
|
+
<xs:minInclusive value="1"/>
|
519
|
+
<xs:maxInclusive value="5"/>
|
520
|
+
</xs:restriction>
|
521
|
+
</xs:simpleType>
|
522
|
+
</xs:element>
|
523
|
+
<xs:element name="taxCategory" minOccurs="0">
|
524
|
+
<xs:annotation>
|
525
|
+
<xs:documentation>Κατηγορία Φόρου</xs:documentation>
|
526
|
+
</xs:annotation>
|
527
|
+
<xs:simpleType>
|
528
|
+
<xs:restriction base="xs:byte">
|
529
|
+
<xs:minInclusive value="1"/>
|
530
|
+
</xs:restriction>
|
531
|
+
</xs:simpleType>
|
532
|
+
</xs:element>
|
533
|
+
<xs:element name="underlyingValue" type="inv:AmountType" minOccurs="0">
|
534
|
+
<xs:annotation>
|
535
|
+
<xs:documentation>Υποκείμενη Αξία</xs:documentation>
|
536
|
+
</xs:annotation>
|
537
|
+
</xs:element>
|
538
|
+
<xs:element name="taxAmount">
|
539
|
+
<xs:annotation>
|
540
|
+
<xs:documentation>Ποσό Φόρου</xs:documentation>
|
541
|
+
</xs:annotation>
|
542
|
+
<xs:simpleType>
|
543
|
+
<xs:restriction base="inv:AmountType"/>
|
544
|
+
</xs:simpleType>
|
545
|
+
</xs:element>
|
546
|
+
<xs:element name="id" type="xs:byte" minOccurs="0"/>
|
547
|
+
</xs:sequence>
|
548
|
+
</xs:complexType>
|
549
|
+
<xs:simpleType name="CountryType">
|
550
|
+
<xs:restriction base="xs:string">
|
551
|
+
<xs:enumeration value="AD"/>
|
552
|
+
<xs:enumeration value="AE"/>
|
553
|
+
<xs:enumeration value="AF"/>
|
554
|
+
<xs:enumeration value="AG"/>
|
555
|
+
<xs:enumeration value="AI"/>
|
556
|
+
<xs:enumeration value="AL"/>
|
557
|
+
<xs:enumeration value="AM"/>
|
558
|
+
<xs:enumeration value="AN"/>
|
559
|
+
<xs:enumeration value="AO"/>
|
560
|
+
<xs:enumeration value="AQ"/>
|
561
|
+
<xs:enumeration value="AR"/>
|
562
|
+
<xs:enumeration value="AS"/>
|
563
|
+
<xs:enumeration value="AT"/>
|
564
|
+
<xs:enumeration value="AU"/>
|
565
|
+
<xs:enumeration value="AW"/>
|
566
|
+
<xs:enumeration value="AX"/>
|
567
|
+
<xs:enumeration value="AZ"/>
|
568
|
+
<xs:enumeration value="BA"/>
|
569
|
+
<xs:enumeration value="BB"/>
|
570
|
+
<xs:enumeration value="BD"/>
|
571
|
+
<xs:enumeration value="BE"/>
|
572
|
+
<xs:enumeration value="BF"/>
|
573
|
+
<xs:enumeration value="BG"/>
|
574
|
+
<xs:enumeration value="BH"/>
|
575
|
+
<xs:enumeration value="BI"/>
|
576
|
+
<xs:enumeration value="BJ"/>
|
577
|
+
<xs:enumeration value="BL"/>
|
578
|
+
<xs:enumeration value="BM"/>
|
579
|
+
<xs:enumeration value="BN"/>
|
580
|
+
<xs:enumeration value="BO"/>
|
581
|
+
<xs:enumeration value="BR"/>
|
582
|
+
<xs:enumeration value="BS"/>
|
583
|
+
<xs:enumeration value="BT"/>
|
584
|
+
<xs:enumeration value="BV"/>
|
585
|
+
<xs:enumeration value="BW"/>
|
586
|
+
<xs:enumeration value="BY"/>
|
587
|
+
<xs:enumeration value="BZ"/>
|
588
|
+
<xs:enumeration value="CA"/>
|
589
|
+
<xs:enumeration value="CC"/>
|
590
|
+
<xs:enumeration value="CD"/>
|
591
|
+
<xs:enumeration value="CF"/>
|
592
|
+
<xs:enumeration value="CG"/>
|
593
|
+
<xs:enumeration value="CH"/>
|
594
|
+
<xs:enumeration value="CI"/>
|
595
|
+
<xs:enumeration value="CK"/>
|
596
|
+
<xs:enumeration value="CL"/>
|
597
|
+
<xs:enumeration value="CM"/>
|
598
|
+
<xs:enumeration value="CN"/>
|
599
|
+
<xs:enumeration value="CO"/>
|
600
|
+
<xs:enumeration value="CR"/>
|
601
|
+
<xs:enumeration value="CU"/>
|
602
|
+
<xs:enumeration value="CV"/>
|
603
|
+
<xs:enumeration value="CX"/>
|
604
|
+
<xs:enumeration value="CY"/>
|
605
|
+
<xs:enumeration value="CZ"/>
|
606
|
+
<xs:enumeration value="DE"/>
|
607
|
+
<xs:enumeration value="DJ"/>
|
608
|
+
<xs:enumeration value="DK"/>
|
609
|
+
<xs:enumeration value="DM"/>
|
610
|
+
<xs:enumeration value="DO"/>
|
611
|
+
<xs:enumeration value="DZ"/>
|
612
|
+
<xs:enumeration value="EC"/>
|
613
|
+
<xs:enumeration value="EE"/>
|
614
|
+
<xs:enumeration value="EG"/>
|
615
|
+
<xs:enumeration value="EH"/>
|
616
|
+
<xs:enumeration value="ER"/>
|
617
|
+
<xs:enumeration value="ES"/>
|
618
|
+
<xs:enumeration value="ET"/>
|
619
|
+
<xs:enumeration value="FI"/>
|
620
|
+
<xs:enumeration value="FJ"/>
|
621
|
+
<xs:enumeration value="FK"/>
|
622
|
+
<xs:enumeration value="FM"/>
|
623
|
+
<xs:enumeration value="FO"/>
|
624
|
+
<xs:enumeration value="FR"/>
|
625
|
+
<xs:enumeration value="GA"/>
|
626
|
+
<xs:enumeration value="GB"/>
|
627
|
+
<xs:enumeration value="GD"/>
|
628
|
+
<xs:enumeration value="GE"/>
|
629
|
+
<xs:enumeration value="GF"/>
|
630
|
+
<xs:enumeration value="GG"/>
|
631
|
+
<xs:enumeration value="GH"/>
|
632
|
+
<xs:enumeration value="GI"/>
|
633
|
+
<xs:enumeration value="GL"/>
|
634
|
+
<xs:enumeration value="GM"/>
|
635
|
+
<xs:enumeration value="GN"/>
|
636
|
+
<xs:enumeration value="GP"/>
|
637
|
+
<xs:enumeration value="GQ"/>
|
638
|
+
<xs:enumeration value="GR"/>
|
639
|
+
<xs:enumeration value="GS"/>
|
640
|
+
<xs:enumeration value="GT"/>
|
641
|
+
<xs:enumeration value="GU"/>
|
642
|
+
<xs:enumeration value="GW"/>
|
643
|
+
<xs:enumeration value="GY"/>
|
644
|
+
<xs:enumeration value="HK"/>
|
645
|
+
<xs:enumeration value="HM"/>
|
646
|
+
<xs:enumeration value="HN"/>
|
647
|
+
<xs:enumeration value="HR"/>
|
648
|
+
<xs:enumeration value="HT"/>
|
649
|
+
<xs:enumeration value="HU"/>
|
650
|
+
<xs:enumeration value="ID"/>
|
651
|
+
<xs:enumeration value="IE"/>
|
652
|
+
<xs:enumeration value="IL"/>
|
653
|
+
<xs:enumeration value="IM"/>
|
654
|
+
<xs:enumeration value="IN"/>
|
655
|
+
<xs:enumeration value="IO"/>
|
656
|
+
<xs:enumeration value="IQ"/>
|
657
|
+
<xs:enumeration value="IR"/>
|
658
|
+
<xs:enumeration value="IS"/>
|
659
|
+
<xs:enumeration value="IT"/>
|
660
|
+
<xs:enumeration value="JE"/>
|
661
|
+
<xs:enumeration value="JM"/>
|
662
|
+
<xs:enumeration value="JO"/>
|
663
|
+
<xs:enumeration value="JP"/>
|
664
|
+
<xs:enumeration value="KE"/>
|
665
|
+
<xs:enumeration value="KG"/>
|
666
|
+
<xs:enumeration value="KH"/>
|
667
|
+
<xs:enumeration value="KI"/>
|
668
|
+
<xs:enumeration value="KM"/>
|
669
|
+
<xs:enumeration value="KN"/>
|
670
|
+
<xs:enumeration value="KP"/>
|
671
|
+
<xs:enumeration value="KR"/>
|
672
|
+
<xs:enumeration value="KW"/>
|
673
|
+
<xs:enumeration value="KY"/>
|
674
|
+
<xs:enumeration value="KZ"/>
|
675
|
+
<xs:enumeration value="LA"/>
|
676
|
+
<xs:enumeration value="LB"/>
|
677
|
+
<xs:enumeration value="LC"/>
|
678
|
+
<xs:enumeration value="LI"/>
|
679
|
+
<xs:enumeration value="LK"/>
|
680
|
+
<xs:enumeration value="LR"/>
|
681
|
+
<xs:enumeration value="LS"/>
|
682
|
+
<xs:enumeration value="LT"/>
|
683
|
+
<xs:enumeration value="LU"/>
|
684
|
+
<xs:enumeration value="LV"/>
|
685
|
+
<xs:enumeration value="LY"/>
|
686
|
+
<xs:enumeration value="MA"/>
|
687
|
+
<xs:enumeration value="MC"/>
|
688
|
+
<xs:enumeration value="MD"/>
|
689
|
+
<xs:enumeration value="ME"/>
|
690
|
+
<xs:enumeration value="MF"/>
|
691
|
+
<xs:enumeration value="MG"/>
|
692
|
+
<xs:enumeration value="MH"/>
|
693
|
+
<xs:enumeration value="MK"/>
|
694
|
+
<xs:enumeration value="ML"/>
|
695
|
+
<xs:enumeration value="MM"/>
|
696
|
+
<xs:enumeration value="MN"/>
|
697
|
+
<xs:enumeration value="MO"/>
|
698
|
+
<xs:enumeration value="MP"/>
|
699
|
+
<xs:enumeration value="MQ"/>
|
700
|
+
<xs:enumeration value="MR"/>
|
701
|
+
<xs:enumeration value="MS"/>
|
702
|
+
<xs:enumeration value="MT"/>
|
703
|
+
<xs:enumeration value="MU"/>
|
704
|
+
<xs:enumeration value="MV"/>
|
705
|
+
<xs:enumeration value="MW"/>
|
706
|
+
<xs:enumeration value="MX"/>
|
707
|
+
<xs:enumeration value="MY"/>
|
708
|
+
<xs:enumeration value="MZ"/>
|
709
|
+
<xs:enumeration value="NA"/>
|
710
|
+
<xs:enumeration value="NC"/>
|
711
|
+
<xs:enumeration value="NE"/>
|
712
|
+
<xs:enumeration value="NF"/>
|
713
|
+
<xs:enumeration value="NG"/>
|
714
|
+
<xs:enumeration value="NI"/>
|
715
|
+
<xs:enumeration value="NL"/>
|
716
|
+
<xs:enumeration value="NO"/>
|
717
|
+
<xs:enumeration value="NP"/>
|
718
|
+
<xs:enumeration value="NR"/>
|
719
|
+
<xs:enumeration value="NU"/>
|
720
|
+
<xs:enumeration value="NZ"/>
|
721
|
+
<xs:enumeration value="OM"/>
|
722
|
+
<xs:enumeration value="PA"/>
|
723
|
+
<xs:enumeration value="PE"/>
|
724
|
+
<xs:enumeration value="PF"/>
|
725
|
+
<xs:enumeration value="PG"/>
|
726
|
+
<xs:enumeration value="PH"/>
|
727
|
+
<xs:enumeration value="PK"/>
|
728
|
+
<xs:enumeration value="PL"/>
|
729
|
+
<xs:enumeration value="PM"/>
|
730
|
+
<xs:enumeration value="PN"/>
|
731
|
+
<xs:enumeration value="PR"/>
|
732
|
+
<xs:enumeration value="PS"/>
|
733
|
+
<xs:enumeration value="PT"/>
|
734
|
+
<xs:enumeration value="PW"/>
|
735
|
+
<xs:enumeration value="PY"/>
|
736
|
+
<xs:enumeration value="QA"/>
|
737
|
+
<xs:enumeration value="RE"/>
|
738
|
+
<xs:enumeration value="RO"/>
|
739
|
+
<xs:enumeration value="RS"/>
|
740
|
+
<xs:enumeration value="RU"/>
|
741
|
+
<xs:enumeration value="RW"/>
|
742
|
+
<xs:enumeration value="SA"/>
|
743
|
+
<xs:enumeration value="SB"/>
|
744
|
+
<xs:enumeration value="SC"/>
|
745
|
+
<xs:enumeration value="SD"/>
|
746
|
+
<xs:enumeration value="SE"/>
|
747
|
+
<xs:enumeration value="SG"/>
|
748
|
+
<xs:enumeration value="SH"/>
|
749
|
+
<xs:enumeration value="SI"/>
|
750
|
+
<xs:enumeration value="SJ"/>
|
751
|
+
<xs:enumeration value="SK"/>
|
752
|
+
<xs:enumeration value="SL"/>
|
753
|
+
<xs:enumeration value="SM"/>
|
754
|
+
<xs:enumeration value="SN"/>
|
755
|
+
<xs:enumeration value="SO"/>
|
756
|
+
<xs:enumeration value="SR"/>
|
757
|
+
<xs:enumeration value="ST"/>
|
758
|
+
<xs:enumeration value="SV"/>
|
759
|
+
<xs:enumeration value="SY"/>
|
760
|
+
<xs:enumeration value="SZ"/>
|
761
|
+
<xs:enumeration value="TC"/>
|
762
|
+
<xs:enumeration value="TD"/>
|
763
|
+
<xs:enumeration value="TF"/>
|
764
|
+
<xs:enumeration value="TG"/>
|
765
|
+
<xs:enumeration value="TH"/>
|
766
|
+
<xs:enumeration value="TJ"/>
|
767
|
+
<xs:enumeration value="TK"/>
|
768
|
+
<xs:enumeration value="TL"/>
|
769
|
+
<xs:enumeration value="TM"/>
|
770
|
+
<xs:enumeration value="TN"/>
|
771
|
+
<xs:enumeration value="TO"/>
|
772
|
+
<xs:enumeration value="TR"/>
|
773
|
+
<xs:enumeration value="TT"/>
|
774
|
+
<xs:enumeration value="TV"/>
|
775
|
+
<xs:enumeration value="TW"/>
|
776
|
+
<xs:enumeration value="TZ"/>
|
777
|
+
<xs:enumeration value="UA"/>
|
778
|
+
<xs:enumeration value="UG"/>
|
779
|
+
<xs:enumeration value="UM"/>
|
780
|
+
<xs:enumeration value="US"/>
|
781
|
+
<xs:enumeration value="UY"/>
|
782
|
+
<xs:enumeration value="UZ"/>
|
783
|
+
<xs:enumeration value="VA"/>
|
784
|
+
<xs:enumeration value="VC"/>
|
785
|
+
<xs:enumeration value="VE"/>
|
786
|
+
<xs:enumeration value="VG"/>
|
787
|
+
<xs:enumeration value="VI"/>
|
788
|
+
<xs:enumeration value="VN"/>
|
789
|
+
<xs:enumeration value="VU"/>
|
790
|
+
<xs:enumeration value="WF"/>
|
791
|
+
<xs:enumeration value="WS"/>
|
792
|
+
<xs:enumeration value="YE"/>
|
793
|
+
<xs:enumeration value="YT"/>
|
794
|
+
<xs:enumeration value="ZA"/>
|
795
|
+
<xs:enumeration value="ZM"/>
|
796
|
+
<xs:enumeration value="ZW"/>
|
797
|
+
</xs:restriction>
|
798
|
+
</xs:simpleType>
|
799
|
+
<xs:simpleType name="InvoiceType">
|
800
|
+
<xs:restriction base="xs:string">
|
801
|
+
<xs:enumeration value="1.1"/>
|
802
|
+
<xs:enumeration value="1.2"/>
|
803
|
+
<xs:enumeration value="1.3"/>
|
804
|
+
<xs:enumeration value="1.4"/>
|
805
|
+
<xs:enumeration value="1.5"/>
|
806
|
+
<xs:enumeration value="1.6"/>
|
807
|
+
<xs:enumeration value="2.1"/>
|
808
|
+
<xs:enumeration value="2.2"/>
|
809
|
+
<xs:enumeration value="2.3"/>
|
810
|
+
<xs:enumeration value="2.4"/>
|
811
|
+
<xs:enumeration value="3.1"/>
|
812
|
+
<xs:enumeration value="3.2"/>
|
813
|
+
<xs:enumeration value="4"/>
|
814
|
+
<xs:enumeration value="5.1"/>
|
815
|
+
<xs:enumeration value="5.2"/>
|
816
|
+
<xs:enumeration value="6.1"/>
|
817
|
+
<xs:enumeration value="6.2"/>
|
818
|
+
<xs:enumeration value="7.1"/>
|
819
|
+
<xs:enumeration value="8.1"/>
|
820
|
+
<xs:enumeration value="8.2"/>
|
821
|
+
<xs:enumeration value="11.1"/>
|
822
|
+
<xs:enumeration value="11.2"/>
|
823
|
+
<xs:enumeration value="11.3"/>
|
824
|
+
<xs:enumeration value="11.4"/>
|
825
|
+
<xs:enumeration value="11.5"/>
|
826
|
+
<xs:enumeration value="12"/>
|
827
|
+
<xs:enumeration value="13.1"/>
|
828
|
+
<xs:enumeration value="13.2"/>
|
829
|
+
<xs:enumeration value="13.3"/>
|
830
|
+
<xs:enumeration value="13.4"/>
|
831
|
+
<xs:enumeration value="13.30"/>
|
832
|
+
<xs:enumeration value="13.31"/>
|
833
|
+
<xs:enumeration value="14.1"/>
|
834
|
+
<xs:enumeration value="14.2"/>
|
835
|
+
<xs:enumeration value="14.3"/>
|
836
|
+
<xs:enumeration value="14.4"/>
|
837
|
+
<xs:enumeration value="14.5"/>
|
838
|
+
<xs:enumeration value="14.30"/>
|
839
|
+
<xs:enumeration value="14.31"/>
|
840
|
+
<xs:enumeration value="15.1"/>
|
841
|
+
<xs:enumeration value="16.1"/>
|
842
|
+
<xs:enumeration value="17.1"/>
|
843
|
+
<xs:enumeration value="17.2"/>
|
844
|
+
<xs:enumeration value="17.3"/>
|
845
|
+
<xs:enumeration value="17.4"/>
|
846
|
+
<xs:enumeration value="17.5"/>
|
847
|
+
<xs:enumeration value="17.6"/>
|
848
|
+
</xs:restriction>
|
849
|
+
</xs:simpleType>
|
850
|
+
<xs:simpleType name="CurrencyType">
|
851
|
+
<xs:restriction base="xs:string">
|
852
|
+
<xs:enumeration value="AED"/>
|
853
|
+
<xs:enumeration value="AFN"/>
|
854
|
+
<xs:enumeration value="ALL"/>
|
855
|
+
<xs:enumeration value="AMD"/>
|
856
|
+
<xs:enumeration value="ANG"/>
|
857
|
+
<xs:enumeration value="AOA"/>
|
858
|
+
<xs:enumeration value="ARS"/>
|
859
|
+
<xs:enumeration value="AUD"/>
|
860
|
+
<xs:enumeration value="AWG"/>
|
861
|
+
<xs:enumeration value="AZN"/>
|
862
|
+
<xs:enumeration value="BAM"/>
|
863
|
+
<xs:enumeration value="BBD"/>
|
864
|
+
<xs:enumeration value="BDT"/>
|
865
|
+
<xs:enumeration value="BGN"/>
|
866
|
+
<xs:enumeration value="BHD"/>
|
867
|
+
<xs:enumeration value="BIF"/>
|
868
|
+
<xs:enumeration value="BMD"/>
|
869
|
+
<xs:enumeration value="BND"/>
|
870
|
+
<xs:enumeration value="BOB"/>
|
871
|
+
<xs:enumeration value="BOV"/>
|
872
|
+
<xs:enumeration value="BRL"/>
|
873
|
+
<xs:enumeration value="BSD"/>
|
874
|
+
<xs:enumeration value="BTN"/>
|
875
|
+
<xs:enumeration value="BWP"/>
|
876
|
+
<xs:enumeration value="BYR"/>
|
877
|
+
<xs:enumeration value="BZD"/>
|
878
|
+
<xs:enumeration value="CAD"/>
|
879
|
+
<xs:enumeration value="CDF"/>
|
880
|
+
<xs:enumeration value="CHF"/>
|
881
|
+
<xs:enumeration value="CLF"/>
|
882
|
+
<xs:enumeration value="CLP"/>
|
883
|
+
<xs:enumeration value="CNY"/>
|
884
|
+
<xs:enumeration value="COP"/>
|
885
|
+
<xs:enumeration value="COU"/>
|
886
|
+
<xs:enumeration value="CRC"/>
|
887
|
+
<xs:enumeration value="CUC"/>
|
888
|
+
<xs:enumeration value="CUP"/>
|
889
|
+
<xs:enumeration value="CVE"/>
|
890
|
+
<xs:enumeration value="CZK"/>
|
891
|
+
<xs:enumeration value="DJF"/>
|
892
|
+
<xs:enumeration value="DKK"/>
|
893
|
+
<xs:enumeration value="DOP"/>
|
894
|
+
<xs:enumeration value="DZD"/>
|
895
|
+
<xs:enumeration value="EEK"/>
|
896
|
+
<xs:enumeration value="EGP"/>
|
897
|
+
<xs:enumeration value="ERN"/>
|
898
|
+
<xs:enumeration value="ETB"/>
|
899
|
+
<xs:enumeration value="EUR"/>
|
900
|
+
<xs:enumeration value="FJD"/>
|
901
|
+
<xs:enumeration value="FKP"/>
|
902
|
+
<xs:enumeration value="GBP"/>
|
903
|
+
<xs:enumeration value="GEL"/>
|
904
|
+
<xs:enumeration value="GHS"/>
|
905
|
+
<xs:enumeration value="GIP"/>
|
906
|
+
<xs:enumeration value="GMD"/>
|
907
|
+
<xs:enumeration value="GNF"/>
|
908
|
+
<xs:enumeration value="GTQ"/>
|
909
|
+
<xs:enumeration value="GWP"/>
|
910
|
+
<xs:enumeration value="GYD"/>
|
911
|
+
<xs:enumeration value="HKD"/>
|
912
|
+
<xs:enumeration value="HNL"/>
|
913
|
+
<xs:enumeration value="HRK"/>
|
914
|
+
<xs:enumeration value="HTG"/>
|
915
|
+
<xs:enumeration value="HUF"/>
|
916
|
+
<xs:enumeration value="IDR"/>
|
917
|
+
<xs:enumeration value="ILS"/>
|
918
|
+
<xs:enumeration value="INR"/>
|
919
|
+
<xs:enumeration value="IQD"/>
|
920
|
+
<xs:enumeration value="IRR"/>
|
921
|
+
<xs:enumeration value="ISK"/>
|
922
|
+
<xs:enumeration value="JMD"/>
|
923
|
+
<xs:enumeration value="JOD"/>
|
924
|
+
<xs:enumeration value="JPY"/>
|
925
|
+
<xs:enumeration value="KES"/>
|
926
|
+
<xs:enumeration value="KGS"/>
|
927
|
+
<xs:enumeration value="KHR"/>
|
928
|
+
<xs:enumeration value="KMF"/>
|
929
|
+
<xs:enumeration value="KPW"/>
|
930
|
+
<xs:enumeration value="KRW"/>
|
931
|
+
<xs:enumeration value="KWD"/>
|
932
|
+
<xs:enumeration value="KYD"/>
|
933
|
+
<xs:enumeration value="KZT"/>
|
934
|
+
<xs:enumeration value="LAK"/>
|
935
|
+
<xs:enumeration value="LBP"/>
|
936
|
+
<xs:enumeration value="LKR"/>
|
937
|
+
<xs:enumeration value="LRD"/>
|
938
|
+
<xs:enumeration value="LSL"/>
|
939
|
+
<xs:enumeration value="LTL"/>
|
940
|
+
<xs:enumeration value="LVL"/>
|
941
|
+
<xs:enumeration value="LYD"/>
|
942
|
+
<xs:enumeration value="MAD"/>
|
943
|
+
<xs:enumeration value="MDL"/>
|
944
|
+
<xs:enumeration value="MGA"/>
|
945
|
+
<xs:enumeration value="MKD"/>
|
946
|
+
<xs:enumeration value="MMK"/>
|
947
|
+
<xs:enumeration value="MNT"/>
|
948
|
+
<xs:enumeration value="MOP"/>
|
949
|
+
<xs:enumeration value="MRO"/>
|
950
|
+
<xs:enumeration value="MUR"/>
|
951
|
+
<xs:enumeration value="MVR"/>
|
952
|
+
<xs:enumeration value="MWK"/>
|
953
|
+
<xs:enumeration value="MXN"/>
|
954
|
+
<xs:enumeration value="MXV"/>
|
955
|
+
<xs:enumeration value="MYR"/>
|
956
|
+
<xs:enumeration value="MZN"/>
|
957
|
+
<xs:enumeration value="NAD"/>
|
958
|
+
<xs:enumeration value="NGN"/>
|
959
|
+
<xs:enumeration value="NIO"/>
|
960
|
+
<xs:enumeration value="NOK"/>
|
961
|
+
<xs:enumeration value="NPR"/>
|
962
|
+
<xs:enumeration value="NZD"/>
|
963
|
+
<xs:enumeration value="OMR"/>
|
964
|
+
<xs:enumeration value="PAB"/>
|
965
|
+
<xs:enumeration value="PEN"/>
|
966
|
+
<xs:enumeration value="PGK"/>
|
967
|
+
<xs:enumeration value="PHP"/>
|
968
|
+
<xs:enumeration value="PKR"/>
|
969
|
+
<xs:enumeration value="PLN"/>
|
970
|
+
<xs:enumeration value="PYG"/>
|
971
|
+
<xs:enumeration value="QAR"/>
|
972
|
+
<xs:enumeration value="RON"/>
|
973
|
+
<xs:enumeration value="RSD"/>
|
974
|
+
<xs:enumeration value="RUB"/>
|
975
|
+
<xs:enumeration value="RWF"/>
|
976
|
+
<xs:enumeration value="SAR"/>
|
977
|
+
<xs:enumeration value="SBD"/>
|
978
|
+
<xs:enumeration value="SCR"/>
|
979
|
+
<xs:enumeration value="SDG"/>
|
980
|
+
<xs:enumeration value="SEK"/>
|
981
|
+
<xs:enumeration value="SGD"/>
|
982
|
+
<xs:enumeration value="SHP"/>
|
983
|
+
<xs:enumeration value="SLL"/>
|
984
|
+
<xs:enumeration value="SOS"/>
|
985
|
+
<xs:enumeration value="SRD"/>
|
986
|
+
<xs:enumeration value="STD"/>
|
987
|
+
<xs:enumeration value="SVC"/>
|
988
|
+
<xs:enumeration value="SYP"/>
|
989
|
+
<xs:enumeration value="SZL"/>
|
990
|
+
<xs:enumeration value="THB"/>
|
991
|
+
<xs:enumeration value="TJS"/>
|
992
|
+
<xs:enumeration value="TMT"/>
|
993
|
+
<xs:enumeration value="TND"/>
|
994
|
+
<xs:enumeration value="TOP"/>
|
995
|
+
<xs:enumeration value="TRY"/>
|
996
|
+
<xs:enumeration value="TTD"/>
|
997
|
+
<xs:enumeration value="TVD"/>
|
998
|
+
<xs:enumeration value="TWD"/>
|
999
|
+
<xs:enumeration value="TZS"/>
|
1000
|
+
<xs:enumeration value="UAH"/>
|
1001
|
+
<xs:enumeration value="UGX"/>
|
1002
|
+
<xs:enumeration value="USD"/>
|
1003
|
+
<xs:enumeration value="UYU"/>
|
1004
|
+
<xs:enumeration value="UZS"/>
|
1005
|
+
<xs:enumeration value="VEF"/>
|
1006
|
+
<xs:enumeration value="VND"/>
|
1007
|
+
<xs:enumeration value="VUV"/>
|
1008
|
+
<xs:enumeration value="WST"/>
|
1009
|
+
<xs:enumeration value="XAF"/>
|
1010
|
+
<xs:enumeration value="XCD"/>
|
1011
|
+
<xs:enumeration value="XOF"/>
|
1012
|
+
<xs:enumeration value="XPD"/>
|
1013
|
+
<xs:enumeration value="XPF"/>
|
1014
|
+
<xs:enumeration value="YER"/>
|
1015
|
+
<xs:enumeration value="ZAR"/>
|
1016
|
+
<xs:enumeration value="ZMK"/>
|
1017
|
+
<xs:enumeration value="ZWL"/>
|
1018
|
+
</xs:restriction>
|
1019
|
+
</xs:simpleType>
|
1020
|
+
<xs:simpleType name="ExchangeRateType">
|
1021
|
+
<xs:restriction base="xs:decimal">
|
1022
|
+
<xs:minExclusive value="0"/>
|
1023
|
+
<xs:fractionDigits value="5"/>
|
1024
|
+
<xs:maxInclusive value="50000"/>
|
1025
|
+
</xs:restriction>
|
1026
|
+
</xs:simpleType>
|
1027
|
+
<xs:simpleType name="InvoiceDetailType">
|
1028
|
+
<xs:restriction base="xs:int">
|
1029
|
+
<xs:minInclusive value="1"/>
|
1030
|
+
<xs:maxInclusive value="2"/>
|
1031
|
+
</xs:restriction>
|
1032
|
+
</xs:simpleType>
|
1033
|
+
<xs:simpleType name="QuantityType">
|
1034
|
+
<xs:restriction base="xs:int">
|
1035
|
+
<xs:minInclusive value="1"/>
|
1036
|
+
<xs:maxInclusive value="3"/>
|
1037
|
+
</xs:restriction>
|
1038
|
+
</xs:simpleType>
|
1039
|
+
<xs:simpleType name="VatType">
|
1040
|
+
<xs:restriction base="xs:int">
|
1041
|
+
<xs:minInclusive value="1"/>
|
1042
|
+
<xs:maxInclusive value="8"/>
|
1043
|
+
</xs:restriction>
|
1044
|
+
</xs:simpleType>
|
1045
|
+
<xs:simpleType name="VatExemptionType">
|
1046
|
+
<xs:restriction base="xs:int">
|
1047
|
+
<xs:minInclusive value="1"/>
|
1048
|
+
<xs:maxInclusive value="24"/>
|
1049
|
+
</xs:restriction>
|
1050
|
+
</xs:simpleType>
|
1051
|
+
<xs:simpleType name="WithheldType">
|
1052
|
+
<xs:restriction base="xs:int">
|
1053
|
+
<xs:minInclusive value="1"/>
|
1054
|
+
<xs:maxInclusive value="15"/>
|
1055
|
+
</xs:restriction>
|
1056
|
+
</xs:simpleType>
|
1057
|
+
<xs:simpleType name="StampDutyType">
|
1058
|
+
<xs:restriction base="xs:int">
|
1059
|
+
<xs:minInclusive value="1"/>
|
1060
|
+
<xs:maxInclusive value="3"/>
|
1061
|
+
</xs:restriction>
|
1062
|
+
</xs:simpleType>
|
1063
|
+
<xs:simpleType name="FeesType">
|
1064
|
+
<xs:restriction base="xs:int">
|
1065
|
+
<xs:minInclusive value="1"/>
|
1066
|
+
<xs:maxInclusive value="9"/>
|
1067
|
+
</xs:restriction>
|
1068
|
+
</xs:simpleType>
|
1069
|
+
<xs:simpleType name="OtherTaxesType">
|
1070
|
+
<xs:restriction base="xs:int">
|
1071
|
+
<xs:minInclusive value="1"/>
|
1072
|
+
<xs:maxInclusive value="14"/>
|
1073
|
+
</xs:restriction>
|
1074
|
+
</xs:simpleType>
|
1075
|
+
<xs:simpleType name="DeductionsType">
|
1076
|
+
<xs:restriction base="xs:decimal">
|
1077
|
+
<xs:minInclusive value="0"/>
|
1078
|
+
<xs:maxInclusive value="100"/>
|
1079
|
+
<xs:fractionDigits value="2"/>
|
1080
|
+
</xs:restriction>
|
1081
|
+
</xs:simpleType>
|
1082
|
+
<xs:simpleType name="AmountType">
|
1083
|
+
<xs:restriction base="xs:decimal">
|
1084
|
+
<xs:fractionDigits value="2"/>
|
1085
|
+
<xs:minInclusive value="0"/>
|
1086
|
+
</xs:restriction>
|
1087
|
+
</xs:simpleType>
|
1088
|
+
</xs:schema>
|