money_xml_validator 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +24 -0
- data/README.md +17 -7
- data/lib/money_xml_validator.rb +1 -1
- data/lib/money_xml_validator/money_xsd/README.md +10 -2
- data/lib/money_xml_validator/money_xsd/examples/basic_invoice.xml +56 -0
- data/lib/money_xml_validator/money_xsd/examples/credit_note.xml +58 -0
- data/lib/money_xml_validator/money_xsd/{Dochazka → schemas/Dochazka}/Dochazka.xsd +24 -20
- data/lib/money_xml_validator/money_xsd/{Dochazka → schemas/Dochazka}/Zamestnanci.xsd +13 -7
- data/lib/money_xml_validator/money_xsd/{EPO → schemas/EPO}/EPO_Error.xsd +11 -11
- data/lib/money_xml_validator/money_xsd/{EPO → schemas/EPO}/EPO_Success.xsd +1 -1
- data/lib/money_xml_validator/money_xsd/schemas/Readme.txt +4 -0
- data/lib/money_xml_validator/money_xsd/{_Document.xsd → schemas/_Document.xsd} +35 -51
- data/lib/money_xml_validator/money_xsd/{_Export.xsd → schemas/_Export.xsd} +7 -3
- data/lib/money_xml_validator/money_xsd/schemas/_Import.xsd +176 -0
- data/lib/money_xml_validator/money_xsd/{_Report.xsd → schemas/_Report.xsd} +41 -134
- data/lib/money_xml_validator/money_xsd/schemas/__Comtypes.xsd +742 -0
- data/lib/money_xml_validator/money_xsd/{__Faktura.xsd → schemas/__Faktura.xsd} +577 -566
- data/lib/money_xml_validator/money_xsd/{__Firma.xsd → schemas/__Firma.xsd} +197 -96
- data/lib/money_xml_validator/money_xsd/schemas/__IntDokl.xsd +427 -0
- data/lib/money_xml_validator/money_xsd/{__InvDokl.xsd → schemas/__InvDokl.xsd} +11 -8
- data/lib/money_xml_validator/money_xsd/{__Mzda.xsd → schemas/__Mzda.xsd} +10 -6
- data/lib/money_xml_validator/money_xsd/schemas/__Objedn.xsd +896 -0
- data/lib/money_xml_validator/money_xsd/schemas/__Seznamy.xsd +1755 -0
- data/lib/money_xml_validator/money_xsd/schemas/__SklDokl.xsd +685 -0
- data/lib/money_xml_validator/money_xsd/{__UcDokl.xsd → schemas/__UcDokl.xsd} +1019 -925
- data/lib/money_xml_validator/money_xsd/{__Uhrady.xsd → schemas/__Uhrady.xsd} +92 -92
- data/lib/money_xml_validator/money_xsd/{__Vyroba.xsd → schemas/__Vyroba.xsd} +0 -0
- data/lib/money_xml_validator/money_xsd/{__Zakazka.xsd → schemas/__Zakazka.xsd} +5 -31
- data/lib/money_xml_validator/money_xsd/{__Zamestnanec.xsd → schemas/__Zamestnanec.xsd} +6 -6
- data/lib/money_xml_validator/money_xsd/schemas/__Zasoba.xsd +1319 -0
- data/money_xml_validator.gemspec +1 -1
- metadata +30 -28
- data/lib/money_xml_validator/money_xsd/_Import.xsd +0 -94
- data/lib/money_xml_validator/money_xsd/__Comtypes.xsd +0 -706
- data/lib/money_xml_validator/money_xsd/__IntDokl.xsd +0 -397
- data/lib/money_xml_validator/money_xsd/__Objedn.xsd +0 -865
- data/lib/money_xml_validator/money_xsd/__Seznamy.xsd +0 -1721
- data/lib/money_xml_validator/money_xsd/__SklDokl.xsd +0 -674
- data/lib/money_xml_validator/money_xsd/__Zasoba.xsd +0 -1317
- data/lib/money_xml_validator/money_xsd/all_schemas.zip +0 -0
@@ -0,0 +1,742 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
3
|
+
<xs:complexType name="souhrnDPHType">
|
4
|
+
<xs:annotation>
|
5
|
+
<xs:documentation>souhrn DPH za doklad</xs:documentation>
|
6
|
+
</xs:annotation>
|
7
|
+
<xs:all>
|
8
|
+
<xs:element name="Zaklad0" type="castkaType" minOccurs="0">
|
9
|
+
<xs:annotation>
|
10
|
+
<xs:documentation>Částka v nulové sazbě daně</xs:documentation>
|
11
|
+
</xs:annotation>
|
12
|
+
</xs:element>
|
13
|
+
<xs:element name="Zaklad5" type="castkaType" minOccurs="0">
|
14
|
+
<xs:annotation>
|
15
|
+
<xs:documentation>Základ ve standardní snížené sazbě DPH</xs:documentation>
|
16
|
+
</xs:annotation>
|
17
|
+
</xs:element>
|
18
|
+
<xs:element name="Zaklad22" type="castkaType" minOccurs="0">
|
19
|
+
<xs:annotation>
|
20
|
+
<xs:documentation>Základ ve standardní základní sazbě DPH</xs:documentation>
|
21
|
+
</xs:annotation>
|
22
|
+
</xs:element>
|
23
|
+
<xs:element name="DPH5" type="castkaType" minOccurs="0">
|
24
|
+
<xs:annotation>
|
25
|
+
<xs:documentation>Daň ve standardní snížené sazbě</xs:documentation>
|
26
|
+
</xs:annotation>
|
27
|
+
</xs:element>
|
28
|
+
<xs:element name="DPH22" type="castkaType" minOccurs="0">
|
29
|
+
<xs:annotation>
|
30
|
+
<xs:documentation>Daň ve standardní základní sazbě</xs:documentation>
|
31
|
+
</xs:annotation>
|
32
|
+
</xs:element>
|
33
|
+
<xs:element name="SeznamDalsiSazby" minOccurs="0">
|
34
|
+
<xs:annotation>
|
35
|
+
<xs:documentation>Seznam dalších sazeb DPH
|
36
|
+
|
37
|
+
Poznámka: seznam dalších sazeb může standardně obsahovat max. 4 sazby. Pokud však není uveden žádný z elementů určený pro nulovou, standardní sníženou a standardní základní sazbu, tak se nulová sazba a standardní sazby importují z tohoto seznamu a počet elementů DalsiSazba se rozšiřuje na max. 7.
|
38
|
+
</xs:documentation>
|
39
|
+
</xs:annotation>
|
40
|
+
<xs:complexType>
|
41
|
+
<xs:sequence>
|
42
|
+
<xs:element name="DalsiSazba" maxOccurs="6">
|
43
|
+
<xs:annotation>
|
44
|
+
<xs:documentation>Další sazba</xs:documentation>
|
45
|
+
</xs:annotation>
|
46
|
+
<xs:complexType>
|
47
|
+
<xs:all>
|
48
|
+
<xs:element name="Popis" minOccurs="0">
|
49
|
+
<xs:annotation>
|
50
|
+
<xs:documentation>Popis</xs:documentation>
|
51
|
+
</xs:annotation>
|
52
|
+
</xs:element>
|
53
|
+
<xs:element name="HladinaDPH" minOccurs="0">
|
54
|
+
<xs:annotation>
|
55
|
+
<xs:documentation>Hladina:
|
56
|
+
0 = nulová sazba
|
57
|
+
1 = snížená
|
58
|
+
2 = základní</xs:documentation>
|
59
|
+
</xs:annotation>
|
60
|
+
<xs:simpleType>
|
61
|
+
<xs:restriction base="xs:byte">
|
62
|
+
<xs:enumeration value="0"/>
|
63
|
+
<xs:enumeration value="1"/>
|
64
|
+
<xs:enumeration value="2"/>
|
65
|
+
</xs:restriction>
|
66
|
+
</xs:simpleType>
|
67
|
+
</xs:element>
|
68
|
+
<xs:element name="Sazba" type="procentoType" minOccurs="0">
|
69
|
+
<xs:annotation>
|
70
|
+
<xs:documentation>Procentní sazba daně</xs:documentation>
|
71
|
+
</xs:annotation>
|
72
|
+
</xs:element>
|
73
|
+
<xs:element name="Zaklad" type="castkaType" minOccurs="0">
|
74
|
+
<xs:annotation>
|
75
|
+
<xs:documentation>Základ v sazbě</xs:documentation>
|
76
|
+
</xs:annotation>
|
77
|
+
</xs:element>
|
78
|
+
<xs:element name="DPH" type="castkaType" minOccurs="0">
|
79
|
+
<xs:annotation>
|
80
|
+
<xs:documentation>Daň v sazbě</xs:documentation>
|
81
|
+
</xs:annotation>
|
82
|
+
</xs:element>
|
83
|
+
</xs:all>
|
84
|
+
</xs:complexType>
|
85
|
+
</xs:element>
|
86
|
+
</xs:sequence>
|
87
|
+
</xs:complexType>
|
88
|
+
</xs:element>
|
89
|
+
</xs:all>
|
90
|
+
</xs:complexType>
|
91
|
+
<xs:complexType name="souhrnDPHPolType">
|
92
|
+
<xs:annotation>
|
93
|
+
<xs:documentation>souhrn DPH za položku dokladu</xs:documentation>
|
94
|
+
</xs:annotation>
|
95
|
+
<xs:all>
|
96
|
+
<xs:element name="Zaklad_MJ" type="castkaType" minOccurs="0">
|
97
|
+
<xs:annotation>
|
98
|
+
<xs:documentation>Jednotková cena bez DPH</xs:documentation>
|
99
|
+
</xs:annotation>
|
100
|
+
</xs:element>
|
101
|
+
<xs:element name="DPH_MJ" type="castkaType" minOccurs="0">
|
102
|
+
<xs:annotation>
|
103
|
+
<xs:documentation>DPH za jednotku</xs:documentation>
|
104
|
+
</xs:annotation>
|
105
|
+
</xs:element>
|
106
|
+
<xs:element name="Zaklad" type="castkaType" minOccurs="0">
|
107
|
+
<xs:annotation>
|
108
|
+
<xs:documentation>Celkem bez DPH</xs:documentation>
|
109
|
+
</xs:annotation>
|
110
|
+
</xs:element>
|
111
|
+
<xs:element name="DPH" type="castkaType" minOccurs="0">
|
112
|
+
<xs:annotation>
|
113
|
+
<xs:documentation>DPH</xs:documentation>
|
114
|
+
</xs:annotation>
|
115
|
+
</xs:element>
|
116
|
+
<xs:element name="Valuty" minOccurs="0">
|
117
|
+
<xs:annotation>
|
118
|
+
<xs:documentation>Částky ve valutách</xs:documentation>
|
119
|
+
</xs:annotation>
|
120
|
+
<xs:complexType>
|
121
|
+
<xs:all>
|
122
|
+
<xs:element name="Zaklad_MJ" type="castkaType" minOccurs="0">
|
123
|
+
<xs:annotation>
|
124
|
+
<xs:documentation>Jednotková cena bez DPH ve valutách</xs:documentation>
|
125
|
+
</xs:annotation>
|
126
|
+
</xs:element>
|
127
|
+
<xs:element name="DPH_MJ" type="castkaType" minOccurs="0">
|
128
|
+
<xs:annotation>
|
129
|
+
<xs:documentation>DPH za jednotku ve valutách</xs:documentation>
|
130
|
+
</xs:annotation>
|
131
|
+
</xs:element>
|
132
|
+
<xs:element name="Zaklad" type="castkaType" minOccurs="0">
|
133
|
+
<xs:annotation>
|
134
|
+
<xs:documentation>Celkem bez DPH ve valutách</xs:documentation>
|
135
|
+
</xs:annotation>
|
136
|
+
</xs:element>
|
137
|
+
<xs:element name="DPH" type="castkaType" minOccurs="0">
|
138
|
+
<xs:annotation>
|
139
|
+
<xs:documentation>DPH ve valutách</xs:documentation>
|
140
|
+
</xs:annotation>
|
141
|
+
</xs:element>
|
142
|
+
</xs:all>
|
143
|
+
</xs:complexType>
|
144
|
+
</xs:element>
|
145
|
+
</xs:all>
|
146
|
+
</xs:complexType>
|
147
|
+
<xs:complexType name="EETType">
|
148
|
+
<xs:annotation>
|
149
|
+
<xs:documentation>údaje týkající se EET (Elektronické evidence tržeb)
|
150
|
+
</xs:documentation>
|
151
|
+
</xs:annotation>
|
152
|
+
<xs:all>
|
153
|
+
<xs:element name="EETOdesl" type="xs:byte" minOccurs="0">
|
154
|
+
<xs:annotation>
|
155
|
+
<xs:documentation>Informace o tom, zda doklad podléhá EET:
|
156
|
+
|
157
|
+
0 = doklad nepodléhá EET. Z programu Money S3 lze doklad dodatečně odeslat.
|
158
|
+
|
159
|
+
1 = doklad podléhá EET (je evidovanou tržbou) a odeslání dokladu provádí program Money S3. Doklad již může mít přiřazen PKP a BKP.
|
160
|
+
|
161
|
+
2 = doklad podléhá EET a jeho odeslání probíhá z jiného systému. Z programu Money S3 nelze doklad odeslat ani stornovat e-tržbu.
|
162
|
+
|
163
|
+
3 = doklad nepodléhá EET. Z programu Money S3 nelze doklad odeslat. Na kartě dokladu se zobrazuje informace o tom, že doklad není evidovanou tržbou a odeslání do systému EET může provést pouze externí pokladní zařízení.
|
164
|
+
|
165
|
+
4 = doklad nepodléhá EET. Z programu Money S3 nelze doklad odeslat. Na kartě dokladu se nezobrazuje žádný informační panel. Určeno pro interní potřebu při generování pokladních a interních dokladů v rámci zaúčtování prodejek, zaúčtování mezd, zaúčtování majetku a vzájemných zápočtech.</xs:documentation>
|
166
|
+
</xs:annotation>
|
167
|
+
</xs:element>
|
168
|
+
<xs:element name="ProdMisto" minOccurs="0">
|
169
|
+
<xs:annotation>
|
170
|
+
<xs:documentation>Zkratka prodejního místa</xs:documentation>
|
171
|
+
</xs:annotation>
|
172
|
+
<xs:simpleType>
|
173
|
+
<xs:restriction base="xs:string">
|
174
|
+
<xs:maxLength value="10"/>
|
175
|
+
</xs:restriction>
|
176
|
+
</xs:simpleType>
|
177
|
+
</xs:element>
|
178
|
+
<xs:element name="UUID" minOccurs="0">
|
179
|
+
<xs:annotation>
|
180
|
+
<xs:documentation>UUID zprávy</xs:documentation>
|
181
|
+
</xs:annotation>
|
182
|
+
<xs:simpleType>
|
183
|
+
<xs:restriction base="xs:string"/>
|
184
|
+
</xs:simpleType>
|
185
|
+
</xs:element>
|
186
|
+
<xs:element name="DatOdesl" type="xs:date" minOccurs="0">
|
187
|
+
<xs:annotation>
|
188
|
+
<xs:documentation>Datum odeslání zprávy</xs:documentation>
|
189
|
+
</xs:annotation>
|
190
|
+
</xs:element>
|
191
|
+
<xs:element name="CasOdesl" type="xs:time" minOccurs="0">
|
192
|
+
<xs:annotation>
|
193
|
+
<xs:documentation>Čas odeslání zprávy</xs:documentation>
|
194
|
+
</xs:annotation>
|
195
|
+
</xs:element>
|
196
|
+
<xs:element name="PrvniZasl" type="xs:boolean" minOccurs="0">
|
197
|
+
<xs:annotation>
|
198
|
+
<xs:documentation>Příznak prvního zaslání do systému EET:
|
199
|
+
"prázdné" = doposud nedošlo k zaslání (default)
|
200
|
+
1 = první zaslání
|
201
|
+
0 = opakované zaslání</xs:documentation>
|
202
|
+
</xs:annotation>
|
203
|
+
</xs:element>
|
204
|
+
<xs:element name="DICPopl" minOccurs="0">
|
205
|
+
<xs:annotation>
|
206
|
+
<xs:documentation>DIČ poplatníka</xs:documentation>
|
207
|
+
</xs:annotation>
|
208
|
+
<xs:simpleType>
|
209
|
+
<xs:restriction base="xs:string">
|
210
|
+
<xs:maxLength value="20"/>
|
211
|
+
</xs:restriction>
|
212
|
+
</xs:simpleType>
|
213
|
+
</xs:element>
|
214
|
+
<xs:element name="DICPover" minOccurs="0">
|
215
|
+
<xs:annotation>
|
216
|
+
<xs:documentation>DIČ poplatníka, za kterého se eviduje tržba</xs:documentation>
|
217
|
+
</xs:annotation>
|
218
|
+
<xs:simpleType>
|
219
|
+
<xs:restriction base="xs:string">
|
220
|
+
<xs:maxLength value="20"/>
|
221
|
+
<xs:pattern value="^CZ[0-9]{8,10}$"/>
|
222
|
+
</xs:restriction>
|
223
|
+
</xs:simpleType>
|
224
|
+
</xs:element>
|
225
|
+
<xs:element name="Provozovna" minOccurs="0">
|
226
|
+
<xs:annotation>
|
227
|
+
<xs:documentation>Číselný kód provozovny</xs:documentation>
|
228
|
+
</xs:annotation>
|
229
|
+
<xs:simpleType>
|
230
|
+
<xs:restriction base="xs:long"/>
|
231
|
+
</xs:simpleType>
|
232
|
+
</xs:element>
|
233
|
+
<xs:element name="PoklZariz" minOccurs="0">
|
234
|
+
<xs:annotation>
|
235
|
+
<xs:documentation>Označení pokladního zařízení</xs:documentation>
|
236
|
+
</xs:annotation>
|
237
|
+
<xs:simpleType>
|
238
|
+
<xs:restriction base="xs:string">
|
239
|
+
<xs:maxLength value="20"/>
|
240
|
+
</xs:restriction>
|
241
|
+
</xs:simpleType>
|
242
|
+
</xs:element>
|
243
|
+
<xs:element name="PoradCis" minOccurs="0">
|
244
|
+
<xs:annotation>
|
245
|
+
<xs:documentation>Pořadové číslo účtenky</xs:documentation>
|
246
|
+
</xs:annotation>
|
247
|
+
<xs:simpleType>
|
248
|
+
<xs:restriction base="xs:string">
|
249
|
+
<xs:maxLength value="25"/>
|
250
|
+
</xs:restriction>
|
251
|
+
</xs:simpleType>
|
252
|
+
</xs:element>
|
253
|
+
<xs:element name="DatTrzby" type="xs:date" minOccurs="0">
|
254
|
+
<xs:annotation>
|
255
|
+
<xs:documentation>Datum evidované tržby</xs:documentation>
|
256
|
+
</xs:annotation>
|
257
|
+
</xs:element>
|
258
|
+
<xs:element name="CasTrzby" type="xs:time" minOccurs="0">
|
259
|
+
<xs:annotation>
|
260
|
+
<xs:documentation>Čas evidované tržby</xs:documentation>
|
261
|
+
</xs:annotation>
|
262
|
+
</xs:element>
|
263
|
+
<xs:element name="Castky" minOccurs="0">
|
264
|
+
<xs:annotation>
|
265
|
+
<xs:documentation>Částky EET</xs:documentation>
|
266
|
+
</xs:annotation>
|
267
|
+
<xs:complexType>
|
268
|
+
<xs:all>
|
269
|
+
<xs:element name="Celkem" type="castkaType" minOccurs="0">
|
270
|
+
<xs:annotation>
|
271
|
+
<xs:documentation>Celková částka tržby</xs:documentation>
|
272
|
+
</xs:annotation>
|
273
|
+
</xs:element>
|
274
|
+
<xs:element name="Zaklad_0" type="castkaType" minOccurs="0">
|
275
|
+
<xs:annotation>
|
276
|
+
<xs:documentation>Celkový základ u nulové sazby DPH</xs:documentation>
|
277
|
+
</xs:annotation>
|
278
|
+
</xs:element>
|
279
|
+
<xs:element name="Zaklad_1" type="castkaType" minOccurs="0">
|
280
|
+
<xs:annotation>
|
281
|
+
<xs:documentation>Celkový základ u první snížené sazby DPH</xs:documentation>
|
282
|
+
</xs:annotation>
|
283
|
+
</xs:element>
|
284
|
+
<xs:element name="Zaklad_2" type="castkaType" minOccurs="0">
|
285
|
+
<xs:annotation>
|
286
|
+
<xs:documentation>Celkový základ u základní sazby DPH</xs:documentation>
|
287
|
+
</xs:annotation>
|
288
|
+
</xs:element>
|
289
|
+
<xs:element name="Zaklad_3" type="castkaType" minOccurs="0">
|
290
|
+
<xs:annotation>
|
291
|
+
<xs:documentation>Celkový základ u druhé snížené sazby DPH</xs:documentation>
|
292
|
+
</xs:annotation>
|
293
|
+
</xs:element>
|
294
|
+
<xs:element name="DPH_1" type="castkaType" minOccurs="0">
|
295
|
+
<xs:annotation>
|
296
|
+
<xs:documentation>DPH u první snížené sazby</xs:documentation>
|
297
|
+
</xs:annotation>
|
298
|
+
</xs:element>
|
299
|
+
<xs:element name="DPH_2" type="castkaType" minOccurs="0">
|
300
|
+
<xs:annotation>
|
301
|
+
<xs:documentation>DPH u základní sazby</xs:documentation>
|
302
|
+
</xs:annotation>
|
303
|
+
</xs:element>
|
304
|
+
<xs:element name="DPH_3" type="castkaType" minOccurs="0">
|
305
|
+
<xs:annotation>
|
306
|
+
<xs:documentation>DPH u druhé snížené sazby</xs:documentation>
|
307
|
+
</xs:annotation>
|
308
|
+
</xs:element>
|
309
|
+
<xs:element name="CestSluzba" type="castkaType" minOccurs="0">
|
310
|
+
<xs:annotation>
|
311
|
+
<xs:documentation>Celková částka včetně DPH pro cestovní službu</xs:documentation>
|
312
|
+
</xs:annotation>
|
313
|
+
</xs:element>
|
314
|
+
<xs:element name="PouzZbozi" type="castkaType" minOccurs="0">
|
315
|
+
<xs:annotation>
|
316
|
+
<xs:documentation>Celková částka včetně DPH pro použité zboží</xs:documentation>
|
317
|
+
</xs:annotation>
|
318
|
+
</xs:element>
|
319
|
+
<xs:element name="PouzZb_0" type="castkaType" minOccurs="0">
|
320
|
+
<xs:annotation>
|
321
|
+
<xs:documentation>Celková částka včetně DPH pro použité zboží v nulové sazbě</xs:documentation>
|
322
|
+
</xs:annotation>
|
323
|
+
</xs:element>
|
324
|
+
<xs:element name="PouzZb_1" type="castkaType" minOccurs="0">
|
325
|
+
<xs:annotation>
|
326
|
+
<xs:documentation>Celková částka včetně DPH pro použité zboží v první snížené sazbě</xs:documentation>
|
327
|
+
</xs:annotation>
|
328
|
+
</xs:element>
|
329
|
+
<xs:element name="PouzZb_2" type="castkaType" minOccurs="0">
|
330
|
+
<xs:annotation>
|
331
|
+
<xs:documentation>Celková částka včetně DPH pro použité zboží v základní sazbě</xs:documentation>
|
332
|
+
</xs:annotation>
|
333
|
+
</xs:element>
|
334
|
+
<xs:element name="PouzZb_3" type="castkaType" minOccurs="0">
|
335
|
+
<xs:annotation>
|
336
|
+
<xs:documentation>Celková částka včetně DPH pro použité zboží v druhé snížené sazbě</xs:documentation>
|
337
|
+
</xs:annotation>
|
338
|
+
</xs:element>
|
339
|
+
<xs:element name="UrcCerpZct" type="castkaType" minOccurs="0">
|
340
|
+
<xs:annotation>
|
341
|
+
<xs:documentation>Celková částka plateb určená k následnému čerpání nebo zúčtování</xs:documentation>
|
342
|
+
</xs:annotation>
|
343
|
+
</xs:element>
|
344
|
+
<xs:element name="CerpZuct" type="castkaType" minOccurs="0">
|
345
|
+
<xs:annotation>
|
346
|
+
<xs:documentation>Celková částka plateb, které jsou následným čerpáním nebo zúčtováním platby</xs:documentation>
|
347
|
+
</xs:annotation>
|
348
|
+
</xs:element>
|
349
|
+
</xs:all>
|
350
|
+
</xs:complexType>
|
351
|
+
</xs:element>
|
352
|
+
<xs:element name="Rezim" type="xs:boolean" minOccurs="0">
|
353
|
+
<xs:annotation>
|
354
|
+
<xs:documentation>Režim EET:
|
355
|
+
0 = běžný
|
356
|
+
1 = zjednodušený</xs:documentation>
|
357
|
+
</xs:annotation>
|
358
|
+
</xs:element>
|
359
|
+
<xs:element name="PKP" minOccurs="0">
|
360
|
+
<xs:annotation>
|
361
|
+
<xs:documentation>Podpisový kód poplatníka ve formátu Base64</xs:documentation>
|
362
|
+
</xs:annotation>
|
363
|
+
<xs:simpleType>
|
364
|
+
<xs:restriction base="xs:string">
|
365
|
+
<xs:length value="344"/>
|
366
|
+
</xs:restriction>
|
367
|
+
</xs:simpleType>
|
368
|
+
</xs:element>
|
369
|
+
<xs:element name="BKP" minOccurs="0">
|
370
|
+
<xs:annotation>
|
371
|
+
<xs:documentation>Bezpečnostní kód poplatníka</xs:documentation>
|
372
|
+
</xs:annotation>
|
373
|
+
<xs:simpleType>
|
374
|
+
<xs:restriction base="xs:string">
|
375
|
+
<xs:length value="44"/>
|
376
|
+
</xs:restriction>
|
377
|
+
</xs:simpleType>
|
378
|
+
</xs:element>
|
379
|
+
<xs:element name="FIK" minOccurs="0">
|
380
|
+
<xs:annotation>
|
381
|
+
<xs:documentation>Fiskální identifikační kód</xs:documentation>
|
382
|
+
</xs:annotation>
|
383
|
+
<xs:simpleType>
|
384
|
+
<xs:restriction base="xs:string">
|
385
|
+
<xs:length value="39"/>
|
386
|
+
</xs:restriction>
|
387
|
+
</xs:simpleType>
|
388
|
+
</xs:element>
|
389
|
+
<xs:element name="CertPKP" minOccurs="0">
|
390
|
+
<xs:annotation>
|
391
|
+
<xs:documentation>Sériové číslo certifikátu použitého při tvorbě PKP</xs:documentation>
|
392
|
+
</xs:annotation>
|
393
|
+
<xs:simpleType>
|
394
|
+
<xs:restriction base="xs:string">
|
395
|
+
<xs:maxLength value="64"/>
|
396
|
+
</xs:restriction>
|
397
|
+
</xs:simpleType>
|
398
|
+
</xs:element>
|
399
|
+
<xs:element name="CertEET" minOccurs="0">
|
400
|
+
<xs:annotation>
|
401
|
+
<xs:documentation>Sériové číslo certifikátu použitého při tvorbě datové věty EET</xs:documentation>
|
402
|
+
</xs:annotation>
|
403
|
+
<xs:simpleType>
|
404
|
+
<xs:restriction base="xs:string">
|
405
|
+
<xs:maxLength value="64"/>
|
406
|
+
</xs:restriction>
|
407
|
+
</xs:simpleType>
|
408
|
+
</xs:element>
|
409
|
+
<xs:element name="VysledekOdesl" minOccurs="0">
|
410
|
+
<xs:annotation>
|
411
|
+
<xs:documentation>Návratová chyba nebo varování při odesílání e-tržby do systému EET</xs:documentation>
|
412
|
+
</xs:annotation>
|
413
|
+
<xs:complexType>
|
414
|
+
<xs:choice>
|
415
|
+
<xs:element name="Chyba">
|
416
|
+
<xs:complexType>
|
417
|
+
<xs:simpleContent>
|
418
|
+
<xs:extension base="xs:string">
|
419
|
+
<xs:attribute name="Kod" type="cisloType" use="required"/>
|
420
|
+
</xs:extension>
|
421
|
+
</xs:simpleContent>
|
422
|
+
</xs:complexType>
|
423
|
+
</xs:element>
|
424
|
+
<xs:element name="Varovani" maxOccurs="unbounded">
|
425
|
+
<xs:complexType>
|
426
|
+
<xs:simpleContent>
|
427
|
+
<xs:extension base="xs:string">
|
428
|
+
<xs:attribute name="Kod" type="cisloType" use="required"/>
|
429
|
+
</xs:extension>
|
430
|
+
</xs:simpleContent>
|
431
|
+
</xs:complexType>
|
432
|
+
</xs:element>
|
433
|
+
</xs:choice>
|
434
|
+
</xs:complexType>
|
435
|
+
</xs:element>
|
436
|
+
</xs:all>
|
437
|
+
</xs:complexType>
|
438
|
+
<xs:complexType name="menaType">
|
439
|
+
<xs:annotation>
|
440
|
+
<xs:documentation>měna dokladu</xs:documentation>
|
441
|
+
</xs:annotation>
|
442
|
+
<xs:all>
|
443
|
+
<xs:element name="Kod">
|
444
|
+
<xs:annotation>
|
445
|
+
<xs:documentation>Kód měny, kontrola na Seznam Cizích měn IMPORT: ANO, EXPORT: ANO </xs:documentation>
|
446
|
+
</xs:annotation>
|
447
|
+
<xs:simpleType>
|
448
|
+
<xs:restriction base="xs:string">
|
449
|
+
<xs:maxLength value="4"/>
|
450
|
+
</xs:restriction>
|
451
|
+
</xs:simpleType>
|
452
|
+
</xs:element>
|
453
|
+
<xs:element name="Mnozstvi" default="1" minOccurs="0">
|
454
|
+
<xs:annotation>
|
455
|
+
<xs:documentation>Množství měny pro zadaný kurs. Default=1 IMPORT: ANO, EXPORT: ANO </xs:documentation>
|
456
|
+
</xs:annotation>
|
457
|
+
<xs:simpleType>
|
458
|
+
<xs:restriction base="xs:decimal">
|
459
|
+
<xs:totalDigits value="11"/>
|
460
|
+
<xs:fractionDigits value="0"/>
|
461
|
+
</xs:restriction>
|
462
|
+
</xs:simpleType>
|
463
|
+
</xs:element>
|
464
|
+
<xs:element name="Kurs" type="castkaType" minOccurs="0">
|
465
|
+
<xs:annotation>
|
466
|
+
<xs:documentation>Kurs měny IMPORT: ANO, EXPORT: ANO </xs:documentation>
|
467
|
+
</xs:annotation>
|
468
|
+
</xs:element>
|
469
|
+
</xs:all>
|
470
|
+
</xs:complexType>
|
471
|
+
<xs:complexType name="VlajkaType">
|
472
|
+
<xs:annotation>
|
473
|
+
<xs:documentation>vlajka</xs:documentation>
|
474
|
+
</xs:annotation>
|
475
|
+
<xs:all>
|
476
|
+
<xs:element name="IDUser" type="xs:integer">
|
477
|
+
<xs:annotation>
|
478
|
+
<xs:documentation>ID uživatele, u globálních vlajek=0. IMPORT: NE, EXPORT: ANO </xs:documentation>
|
479
|
+
</xs:annotation>
|
480
|
+
</xs:element>
|
481
|
+
<xs:element name="NameUser" minOccurs="0">
|
482
|
+
<xs:annotation>
|
483
|
+
<xs:documentation>Jméno uživatele. u globáních vlajek se neexportuje, IMPORT: NE, EXPORT: ANO </xs:documentation>
|
484
|
+
</xs:annotation>
|
485
|
+
</xs:element>
|
486
|
+
<xs:element name="IDFlag" type="xs:integer">
|
487
|
+
<xs:annotation>
|
488
|
+
<xs:documentation>ID vlajky. IMPORT: NE, EXPORT: ANO </xs:documentation>
|
489
|
+
</xs:annotation>
|
490
|
+
</xs:element>
|
491
|
+
<xs:element name="Title" type="xs:string">
|
492
|
+
<xs:annotation>
|
493
|
+
<xs:documentation>Popis příznaku. IMPORT: NE, EXPORT: ANO </xs:documentation>
|
494
|
+
</xs:annotation>
|
495
|
+
</xs:element>
|
496
|
+
<xs:element name="Enabled" type="xs:boolean">
|
497
|
+
<xs:annotation>
|
498
|
+
<xs:documentation>Povolení příznaku (přítomnost v nabídce). IMPORT: NE, EXPORT: ANO </xs:documentation>
|
499
|
+
</xs:annotation>
|
500
|
+
</xs:element>
|
501
|
+
<xs:element name="Remark" type="xs:string" minOccurs="0">
|
502
|
+
<xs:annotation>
|
503
|
+
<xs:documentation>Komentář příznaku. Pouze u globálních příznaků.(existence) IMPORT: NE, EXPORT: ANO </xs:documentation>
|
504
|
+
</xs:annotation>
|
505
|
+
</xs:element>
|
506
|
+
<xs:element name="RFWidth" type="xs:integer" minOccurs="0">
|
507
|
+
<xs:annotation>
|
508
|
+
<xs:documentation>šířka komentáře (v pixelech). IMPORT: NE, EXPORT: ANO </xs:documentation>
|
509
|
+
</xs:annotation>
|
510
|
+
</xs:element>
|
511
|
+
<xs:element name="RFHeight" type="xs:integer" minOccurs="0">
|
512
|
+
<xs:annotation>
|
513
|
+
<xs:documentation>výška komentáře (v pixelech). IMPORT: NE, EXPORT: ANO </xs:documentation>
|
514
|
+
</xs:annotation>
|
515
|
+
</xs:element>
|
516
|
+
</xs:all>
|
517
|
+
</xs:complexType>
|
518
|
+
<xs:complexType name="doklRefType">
|
519
|
+
<xs:annotation>
|
520
|
+
<xs:documentation>úhrada dokladu</xs:documentation>
|
521
|
+
</xs:annotation>
|
522
|
+
<xs:all>
|
523
|
+
<xs:element name="IDDokladu" type="xs:long">
|
524
|
+
<xs:annotation>
|
525
|
+
<xs:documentation>Jedinečný identifikátor dokladu</xs:documentation>
|
526
|
+
</xs:annotation>
|
527
|
+
</xs:element>
|
528
|
+
<xs:element name="CisloDokladu" minOccurs="0">
|
529
|
+
<xs:annotation>
|
530
|
+
<xs:documentation>Uživatelské číslo dokladu</xs:documentation>
|
531
|
+
</xs:annotation>
|
532
|
+
<xs:simpleType>
|
533
|
+
<xs:restriction base="xs:string">
|
534
|
+
<xs:maxLength value="10"/>
|
535
|
+
</xs:restriction>
|
536
|
+
</xs:simpleType>
|
537
|
+
</xs:element>
|
538
|
+
<xs:element name="DruhDokladu" minOccurs="0">
|
539
|
+
<xs:annotation>
|
540
|
+
<xs:documentation>Druh dokladu:
|
541
|
+
|
542
|
+
1) Hradící doklady:
|
543
|
+
B = bankovní
|
544
|
+
P = pokladní
|
545
|
+
I = interní doklad
|
546
|
+
H = pohledávka
|
547
|
+
Z = závazek
|
548
|
+
|
549
|
+
2) Hrazené doklady
|
550
|
+
FV = faktura vydaná
|
551
|
+
FP = faktura přijatá
|
552
|
+
KP = pohledávka
|
553
|
+
KZ = závazek
|
554
|
+
ID = interní doklad</xs:documentation>
|
555
|
+
</xs:annotation>
|
556
|
+
<xs:simpleType>
|
557
|
+
<xs:restriction base="xs:NMTOKEN">
|
558
|
+
<xs:maxLength value="3"/>
|
559
|
+
</xs:restriction>
|
560
|
+
</xs:simpleType>
|
561
|
+
</xs:element>
|
562
|
+
<xs:element name="Rok">
|
563
|
+
<xs:annotation>
|
564
|
+
<xs:documentation>Rok, do kterého doklad spadá</xs:documentation>
|
565
|
+
</xs:annotation>
|
566
|
+
<xs:simpleType>
|
567
|
+
<xs:restriction base="xs:string">
|
568
|
+
<xs:maxLength value="4"/>
|
569
|
+
</xs:restriction>
|
570
|
+
</xs:simpleType>
|
571
|
+
</xs:element>
|
572
|
+
<xs:element name="EET" type="EETType" minOccurs="0">
|
573
|
+
<xs:annotation>
|
574
|
+
<xs:documentation>Údaje týkající se EET (pouze hradící doklad a pouze CZ verze)
|
575
|
+
|
576
|
+
EXPORT: ANO,
|
577
|
+
IMPORT: ANO (Pouze hradicí pohledávka nebo pokladní doklad, které jsou automaticky generovány při importu faktury. V elementu DruhDokladu musí být nastavena správná hodnota (H nebo P). Ostatní elementy týkající se úhrady jsou při importu ignorovány.)</xs:documentation>
|
578
|
+
</xs:annotation>
|
579
|
+
</xs:element>
|
580
|
+
</xs:all>
|
581
|
+
</xs:complexType>
|
582
|
+
<xs:complexType name="vazbaType">
|
583
|
+
<xs:annotation>
|
584
|
+
<xs:documentation>vazba mezi doklady</xs:documentation>
|
585
|
+
</xs:annotation>
|
586
|
+
<xs:all>
|
587
|
+
<xs:element name="Typ" minOccurs="0">
|
588
|
+
<xs:annotation>
|
589
|
+
<xs:documentation>Typ vazby:
|
590
|
+
|
591
|
+
PR = aparát přebírání dokladů (vyřizované objednávky)
|
592
|
+
IMPORT: ANO
|
593
|
+
EXPORT: ANO
|
594
|
+
|
595
|
+
ZL = zálohová faktura k odpočtové položce (vazba se vyskytuje pouze u odpočtové položky)
|
596
|
+
IMPORT: ANO
|
597
|
+
EXPORT: ANO
|
598
|
+
|
599
|
+
DD = souvztažné doklady pro daňový doklad k přijaté platbě
|
600
|
+
IMPORT: ANO
|
601
|
+
EXPORT: ANO
|
602
|
+
|
603
|
+
ST = související doklad storna
|
604
|
+
IMPORT: NE
|
605
|
+
EXPORT: ANO</xs:documentation>
|
606
|
+
</xs:annotation>
|
607
|
+
</xs:element>
|
608
|
+
<xs:element name="PodTyp" minOccurs="0">
|
609
|
+
<xs:annotation>
|
610
|
+
<xs:documentation>Podtyp vazby
|
611
|
+
|
612
|
+
pro Typ = DD:
|
613
|
+
HR = hradicí doklad
|
614
|
+
ZF = zálohová faktura
|
615
|
+
|
616
|
+
pro Typ = ST:
|
617
|
+
SC = stornující protidoklad
|
618
|
+
SZ = stornovaný doklad</xs:documentation>
|
619
|
+
</xs:annotation>
|
620
|
+
</xs:element>
|
621
|
+
<xs:element name="Doklad">
|
622
|
+
<xs:annotation>
|
623
|
+
<xs:documentation>Identifikace vazebního dokladu
|
624
|
+
|
625
|
+
</xs:documentation>
|
626
|
+
</xs:annotation>
|
627
|
+
<xs:complexType>
|
628
|
+
<xs:all>
|
629
|
+
<xs:element name="Druh" minOccurs="0">
|
630
|
+
<xs:annotation>
|
631
|
+
<xs:documentation>Druh dokladu - viz standardní tabulka typů z XML:
|
632
|
+
OP = objednávka přijatá
|
633
|
+
OV = objednávka vydaná
|
634
|
+
FV = faktura vydaná
|
635
|
+
FP = faktura přijatá
|
636
|
+
atd.</xs:documentation>
|
637
|
+
</xs:annotation>
|
638
|
+
</xs:element>
|
639
|
+
<xs:element name="Cislo" minOccurs="0">
|
640
|
+
<xs:annotation>
|
641
|
+
<xs:documentation>Číslo dokladu</xs:documentation>
|
642
|
+
</xs:annotation>
|
643
|
+
</xs:element>
|
644
|
+
<xs:element name="GUID" minOccurs="0">
|
645
|
+
<xs:annotation>
|
646
|
+
<xs:documentation>GUID</xs:documentation>
|
647
|
+
</xs:annotation>
|
648
|
+
</xs:element>
|
649
|
+
<xs:element name="PrijatDokl" minOccurs="0">
|
650
|
+
<xs:annotation>
|
651
|
+
<xs:documentation>Číslo přijatého dokladu (dokladu došlého)
|
652
|
+
(pouze u přijatých dokladů)</xs:documentation>
|
653
|
+
</xs:annotation>
|
654
|
+
</xs:element>
|
655
|
+
<xs:element name="VarSymbol" minOccurs="0">
|
656
|
+
<xs:annotation>
|
657
|
+
<xs:documentation>Variabilní symbol</xs:documentation>
|
658
|
+
</xs:annotation>
|
659
|
+
</xs:element>
|
660
|
+
<xs:element name="Vystaveno" minOccurs="0">
|
661
|
+
<xs:annotation>
|
662
|
+
<xs:documentation>Datum vystavení</xs:documentation>
|
663
|
+
</xs:annotation>
|
664
|
+
</xs:element>
|
665
|
+
<xs:element name="DatUcPr" minOccurs="0">
|
666
|
+
<xs:annotation>
|
667
|
+
<xs:documentation>Datum účetního případu</xs:documentation>
|
668
|
+
</xs:annotation>
|
669
|
+
</xs:element>
|
670
|
+
<xs:element name="PlnenoDPH" minOccurs="0">
|
671
|
+
<xs:annotation>
|
672
|
+
<xs:documentation>Datum zdanitelného plnění</xs:documentation>
|
673
|
+
</xs:annotation>
|
674
|
+
</xs:element>
|
675
|
+
</xs:all>
|
676
|
+
</xs:complexType>
|
677
|
+
</xs:element>
|
678
|
+
</xs:all>
|
679
|
+
</xs:complexType>
|
680
|
+
<xs:complexType name="uzivatelskePoleType">
|
681
|
+
<xs:annotation>
|
682
|
+
<xs:documentation>uživatelské pole</xs:documentation>
|
683
|
+
</xs:annotation>
|
684
|
+
<xs:sequence>
|
685
|
+
<xs:any processContents="lax" maxOccurs="unbounded">
|
686
|
+
<xs:annotation>
|
687
|
+
<xs:documentation>Uživatelské pole. Název XML elementu se nastavuje v definici uživatelských polí v programu Money S3.</xs:documentation>
|
688
|
+
</xs:annotation>
|
689
|
+
</xs:any>
|
690
|
+
</xs:sequence>
|
691
|
+
</xs:complexType>
|
692
|
+
<xs:simpleType name="castkaType">
|
693
|
+
<xs:restriction base="xs:decimal">
|
694
|
+
<xs:totalDigits value="15"/>
|
695
|
+
<xs:fractionDigits value="4"/>
|
696
|
+
</xs:restriction>
|
697
|
+
</xs:simpleType>
|
698
|
+
<xs:simpleType name="mnozstviType">
|
699
|
+
<xs:restriction base="xs:decimal">
|
700
|
+
<xs:totalDigits value="15"/>
|
701
|
+
<xs:fractionDigits value="4"/>
|
702
|
+
</xs:restriction>
|
703
|
+
</xs:simpleType>
|
704
|
+
<xs:simpleType name="procentoType">
|
705
|
+
<xs:restriction base="xs:decimal">
|
706
|
+
<xs:totalDigits value="15"/>
|
707
|
+
<xs:fractionDigits value="4"/>
|
708
|
+
</xs:restriction>
|
709
|
+
</xs:simpleType>
|
710
|
+
<xs:simpleType name="cisloType">
|
711
|
+
<xs:restriction base="xs:decimal">
|
712
|
+
<xs:totalDigits value="15"/>
|
713
|
+
<xs:fractionDigits value="4"/>
|
714
|
+
</xs:restriction>
|
715
|
+
</xs:simpleType>
|
716
|
+
<xs:simpleType name="celeCisloType">
|
717
|
+
<xs:restriction base="xs:decimal">
|
718
|
+
<xs:totalDigits value="15"/>
|
719
|
+
<xs:fractionDigits value="0"/>
|
720
|
+
</xs:restriction>
|
721
|
+
</xs:simpleType>
|
722
|
+
<xs:simpleType name="zkratkaType">
|
723
|
+
<xs:restriction base="xs:string">
|
724
|
+
<xs:maxLength value="10"/>
|
725
|
+
</xs:restriction>
|
726
|
+
</xs:simpleType>
|
727
|
+
<xs:simpleType name="popisType">
|
728
|
+
<xs:restriction base="xs:string">
|
729
|
+
<xs:maxLength value="50"/>
|
730
|
+
</xs:restriction>
|
731
|
+
</xs:simpleType>
|
732
|
+
<xs:simpleType name="vycetType">
|
733
|
+
<xs:restriction base="xs:string">
|
734
|
+
<xs:maxLength value="255"/>
|
735
|
+
</xs:restriction>
|
736
|
+
</xs:simpleType>
|
737
|
+
<xs:simpleType name="ucetType">
|
738
|
+
<xs:restriction base="xs:string">
|
739
|
+
<xs:maxLength value="9"/>
|
740
|
+
</xs:restriction>
|
741
|
+
</xs:simpleType>
|
742
|
+
</xs:schema>
|