money_s3 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +5 -0
  5. data/Gemfile +6 -0
  6. data/Gemfile.lock +47 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +56 -0
  9. data/Rakefile +6 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +8 -0
  12. data/lib/money_s3/adresa_type.rb +27 -0
  13. data/lib/money_s3/bank_spojeni_type.rb +23 -0
  14. data/lib/money_s3/base_element.rb +33 -0
  15. data/lib/money_s3/castky.rb +63 -0
  16. data/lib/money_s3/dalsi_sazba.rb +27 -0
  17. data/lib/money_s3/def_sub_pol_type.rb +18 -0
  18. data/lib/money_s3/definice_ceny.rb +7 -0
  19. data/lib/money_s3/dodavka_type.rb +23 -0
  20. data/lib/money_s3/dokl_ref_type.rb +30 -0
  21. data/lib/money_s3/doklad.rb +39 -0
  22. data/lib/money_s3/doklad_firma_type.rb +131 -0
  23. data/lib/money_s3/dokumenty.rb +11 -0
  24. data/lib/money_s3/eet_type.rb +97 -0
  25. data/lib/money_s3/eshop.rb +35 -0
  26. data/lib/money_s3/faktura_type.rb +449 -0
  27. data/lib/money_s3/firma_type.rb +238 -0
  28. data/lib/money_s3/import.rb +7 -0
  29. data/lib/money_s3/isdoc.rb +7 -0
  30. data/lib/money_s3/km_karta_type.rb +182 -0
  31. data/lib/money_s3/komponenta_type.rb +32 -0
  32. data/lib/money_s3/konec_prij_firma_type.rb +102 -0
  33. data/lib/money_s3/konfigurace.rb +7 -0
  34. data/lib/money_s3/kurz_rozd.rb +30 -0
  35. data/lib/money_s3/mena_type.rb +19 -0
  36. data/lib/money_s3/moje_firma_type.rb +109 -0
  37. data/lib/money_s3/money_data.rb +19 -0
  38. data/lib/money_s3/nep_platba_type.rb +22 -0
  39. data/lib/money_s3/nep_platidlo_type.rb +19 -0
  40. data/lib/money_s3/neskl_polozka.rb +82 -0
  41. data/lib/money_s3/osoba_type.rb +99 -0
  42. data/lib/money_s3/parametr_karta_type.rb +22 -0
  43. data/lib/money_s3/parametr_type.rb +35 -0
  44. data/lib/money_s3/pol_faktury_type.rb +111 -0
  45. data/lib/money_s3/pol_objedn_type.rb +132 -0
  46. data/lib/money_s3/pol_skl_dokl_type.rb +134 -0
  47. data/lib/money_s3/prepr_dopln_udaj_type.rb +19 -0
  48. data/lib/money_s3/prepr_seznamsluzeb.rb +14 -0
  49. data/lib/money_s3/prepravce_type.rb +23 -0
  50. data/lib/money_s3/seznam_bank_spojeni.rb +14 -0
  51. data/lib/money_s3/seznam_dodavek.rb +14 -0
  52. data/lib/money_s3/seznam_nep_plateb.rb +14 -0
  53. data/lib/money_s3/seznam_parametru_karty.rb +14 -0
  54. data/lib/money_s3/seznam_vc.rb +14 -0
  55. data/lib/money_s3/seznam_zal_polozek.rb +14 -0
  56. data/lib/money_s3/sklad_type.rb +100 -0
  57. data/lib/money_s3/skupina_firem_type.rb +19 -0
  58. data/lib/money_s3/slozeni.rb +14 -0
  59. data/lib/money_s3/souhrn_dph_pol_type.rb +30 -0
  60. data/lib/money_s3/souhrn_dph_type.rb +39 -0
  61. data/lib/money_s3/stav_zasoby_type.rb +19 -0
  62. data/lib/money_s3/telefon_type.rb +19 -0
  63. data/lib/money_s3/typ_zasilky_type.rb +19 -0
  64. data/lib/money_s3/ucty_pohybu_type.rb +39 -0
  65. data/lib/money_s3/uhrada_pduhrada.rb +51 -0
  66. data/lib/money_s3/uhrada_type.rb +89 -0
  67. data/lib/money_s3/valuty.rb +25 -0
  68. data/lib/money_s3/valuty_hraz.rb +18 -0
  69. data/lib/money_s3/valuty_uhr.rb +18 -0
  70. data/lib/money_s3/vazba_type.rb +22 -0
  71. data/lib/money_s3/vlajka_type.rb +39 -0
  72. data/lib/money_s3/vlajky.rb +21 -0
  73. data/lib/money_s3/vyrobni_cislo_type.rb +19 -0
  74. data/lib/money_s3/vysledek_odesl.rb +7 -0
  75. data/lib/money_s3.rb +21 -0
  76. data/money_s3.gemspec +29 -0
  77. data/xsd/Dochazka/Dochazka.xsd +295 -0
  78. data/xsd/Dochazka/Zamestnanci.xsd +202 -0
  79. data/xsd/EPO/EPO_Error.xsd +61 -0
  80. data/xsd/EPO/EPO_Success.xsd +183 -0
  81. data/xsd/_Document.xsd +912 -0
  82. data/xsd/_Export.xsd +45 -0
  83. data/xsd/_Import.xsd +94 -0
  84. data/xsd/_Report.xsd +793 -0
  85. data/xsd/__Comtypes.xsd +706 -0
  86. data/xsd/__Faktura.xsd +1097 -0
  87. data/xsd/__Firma.xsd +1705 -0
  88. data/xsd/__IntDokl.xsd +397 -0
  89. data/xsd/__InvDokl.xsd +150 -0
  90. data/xsd/__Mzda.xsd +240 -0
  91. data/xsd/__Objedn.xsd +865 -0
  92. data/xsd/__Seznamy.xsd +1721 -0
  93. data/xsd/__SklDokl.xsd +674 -0
  94. data/xsd/__UcDokl.xsd +1869 -0
  95. data/xsd/__Uhrady.xsd +230 -0
  96. data/xsd/__Vyroba.xsd +193 -0
  97. data/xsd/__Zakazka.xsd +165 -0
  98. data/xsd/__Zamestnanec.xsd +145 -0
  99. data/xsd/__Zasoba.xsd +1317 -0
  100. metadata +226 -0
data/xsd/__Objedn.xsd ADDED
@@ -0,0 +1,865 @@
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:include schemaLocation="__Firma.xsd"/>
4
+ <xs:include schemaLocation="__Zasoba.xsd"/>
5
+ <xs:include schemaLocation="__Comtypes.xsd"/>
6
+ <xs:complexType name="objednavkaType">
7
+ <xs:sequence>
8
+ <xs:element name="Doklad" minOccurs="0">
9
+ <xs:annotation>
10
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
11
+ </xs:annotation>
12
+ <xs:simpleType>
13
+ <xs:restriction base="xs:string">
14
+ <xs:maxLength value="10"/>
15
+ </xs:restriction>
16
+ </xs:simpleType>
17
+ </xs:element>
18
+ <xs:element name="Popis" type="popisType" minOccurs="0">
19
+ <xs:annotation>
20
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
21
+ </xs:annotation>
22
+ </xs:element>
23
+ <xs:element name="Poznamka" minOccurs="0">
24
+ <xs:annotation>
25
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
26
+ </xs:annotation>
27
+ </xs:element>
28
+ <xs:element name="TextPredPo" minOccurs="0">
29
+ <xs:annotation>
30
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
31
+ </xs:annotation>
32
+ </xs:element>
33
+ <xs:element name="TextZaPol" minOccurs="0">
34
+ <xs:annotation>
35
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:element>
38
+ <xs:element name="Vystaveno" type="xs:date" minOccurs="0">
39
+ <xs:annotation>
40
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
41
+ </xs:annotation>
42
+ </xs:element>
43
+ <xs:element name="Vyridit_do" type="xs:date" minOccurs="0">
44
+ <xs:annotation>
45
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
46
+ </xs:annotation>
47
+ </xs:element>
48
+ <xs:element name="Vyrizeno" type="xs:date" minOccurs="0">
49
+ <xs:annotation>
50
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:element>
53
+ <xs:element name="DodOdb" type="dokladFirmaType" minOccurs="0"/>
54
+ <xs:element name="KonecPrij" type="konecPrijFirmaType" minOccurs="0"/>
55
+ <xs:element name="KPFromOdb" type="xs:boolean" minOccurs="0">
56
+ <xs:annotation>
57
+ <xs:documentation>Import: ANO,Export: ANO </xs:documentation>
58
+ </xs:annotation>
59
+ </xs:element>
60
+ <xs:element name="SazbaDPH1" type="procentoType" minOccurs="0">
61
+ <xs:annotation>
62
+ <xs:documentation>Snížená sazba DPH IMPORT: ANO
63
+ EXPORT: ANO</xs:documentation>
64
+ </xs:annotation>
65
+ </xs:element>
66
+ <xs:element name="SazbaDPH2" type="procentoType" minOccurs="0">
67
+ <xs:annotation>
68
+ <xs:documentation>Základní sazba DPH IMPORT: ANO
69
+ EXPORT: ANO</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:element>
72
+ <xs:sequence minOccurs="0">
73
+ <xs:element name="SouhrnDPH" type="souhrnDPHType">
74
+ <xs:annotation>
75
+ <xs:documentation>Doklady v domácí měně: IMPORT: ANO
76
+ EXPORT: ANO</xs:documentation>
77
+ </xs:annotation>
78
+ </xs:element>
79
+ <xs:element name="Celkem" type="castkaType">
80
+ <xs:annotation>
81
+ <xs:documentation>Celkiem s DPH (POUZE EXPORT)</xs:documentation>
82
+ </xs:annotation>
83
+ </xs:element>
84
+ </xs:sequence>
85
+ <xs:element name="Valuty" minOccurs="0">
86
+ <xs:annotation>
87
+ <xs:documentation>Doklad v cizí měně
88
+ IMPORT: ANO
89
+ EXPORT: ANO</xs:documentation>
90
+ </xs:annotation>
91
+ <xs:complexType>
92
+ <xs:sequence>
93
+ <xs:element name="Mena" type="menaType">
94
+ <xs:annotation>
95
+ <xs:documentation>Identifikace cizí měny</xs:documentation>
96
+ </xs:annotation>
97
+ </xs:element>
98
+ <xs:element name="SouhrnDPH" type="souhrnDPHType">
99
+ <xs:annotation>
100
+ <xs:documentation>Souhrn DPH
101
+ IMPORT: ANO
102
+ EXPORT: ANO</xs:documentation>
103
+ </xs:annotation>
104
+ </xs:element>
105
+ <xs:element name="Celkem" type="castkaType">
106
+ <xs:annotation>
107
+ <xs:documentation>Celkem s DPH ve valutách (POUZE EXPORT)</xs:documentation>
108
+ </xs:annotation>
109
+ </xs:element>
110
+ </xs:sequence>
111
+ </xs:complexType>
112
+ </xs:element>
113
+ <xs:element name="DRada" minOccurs="0">
114
+ <xs:annotation>
115
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
116
+ </xs:annotation>
117
+ <xs:simpleType>
118
+ <xs:restriction base="xs:string">
119
+ <xs:maxLength value="5"/>
120
+ </xs:restriction>
121
+ </xs:simpleType>
122
+ </xs:element>
123
+ <xs:element name="DCislo" minOccurs="0">
124
+ <xs:annotation>
125
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
126
+ </xs:annotation>
127
+ <xs:simpleType>
128
+ <xs:restriction base="xs:decimal">
129
+ <xs:totalDigits value="11"/>
130
+ <xs:fractionDigits value="0"/>
131
+ </xs:restriction>
132
+ </xs:simpleType>
133
+ </xs:element>
134
+ <xs:element name="Stredisko" minOccurs="0">
135
+ <xs:annotation>
136
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
137
+ </xs:annotation>
138
+ <xs:simpleType>
139
+ <xs:restriction base="xs:string">
140
+ <xs:maxLength value="10"/>
141
+ </xs:restriction>
142
+ </xs:simpleType>
143
+ </xs:element>
144
+ <xs:element name="Zakazka" minOccurs="0">
145
+ <xs:annotation>
146
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
147
+ </xs:annotation>
148
+ <xs:simpleType>
149
+ <xs:restriction base="xs:string">
150
+ <xs:maxLength value="10"/>
151
+ </xs:restriction>
152
+ </xs:simpleType>
153
+ </xs:element>
154
+ <xs:element name="Cinnost" minOccurs="0">
155
+ <xs:annotation>
156
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
157
+ </xs:annotation>
158
+ <xs:simpleType>
159
+ <xs:restriction base="xs:string">
160
+ <xs:maxLength value="10"/>
161
+ </xs:restriction>
162
+ </xs:simpleType>
163
+ </xs:element>
164
+ <xs:element name="Vystavil" minOccurs="0">
165
+ <xs:annotation>
166
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
167
+ </xs:annotation>
168
+ <xs:simpleType>
169
+ <xs:restriction base="xs:string">
170
+ <xs:maxLength value="50"/>
171
+ </xs:restriction>
172
+ </xs:simpleType>
173
+ </xs:element>
174
+ <xs:element name="NeRezervov" type="xs:boolean" minOccurs="0">
175
+ <xs:annotation>
176
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
177
+ </xs:annotation>
178
+ </xs:element>
179
+ <xs:element name="PevneCeny" type="xs:boolean" minOccurs="0">
180
+ <xs:annotation>
181
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
182
+ </xs:annotation>
183
+ </xs:element>
184
+ <xs:element name="PlatPodm" minOccurs="0">
185
+ <xs:annotation>
186
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
187
+ </xs:annotation>
188
+ <xs:simpleType>
189
+ <xs:restriction base="xs:string">
190
+ <xs:maxLength value="20"/>
191
+ </xs:restriction>
192
+ </xs:simpleType>
193
+ </xs:element>
194
+ <xs:element name="Doprava" minOccurs="0">
195
+ <xs:annotation>
196
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
197
+ </xs:annotation>
198
+ <xs:simpleType>
199
+ <xs:restriction base="xs:string">
200
+ <xs:maxLength value="20"/>
201
+ </xs:restriction>
202
+ </xs:simpleType>
203
+ </xs:element>
204
+ <xs:element name="CasVystave" type="xs:time" minOccurs="0">
205
+ <xs:annotation>
206
+ <xs:documentation>Čas vystavení dokladu</xs:documentation>
207
+ </xs:annotation>
208
+ </xs:element>
209
+ <xs:element name="DatumVysta" type="xs:date" minOccurs="0">
210
+ <xs:annotation>
211
+ <xs:documentation>Datum vystavení dokladu</xs:documentation>
212
+ </xs:annotation>
213
+ </xs:element>
214
+ <xs:element name="Nadpis" minOccurs="0">
215
+ <xs:annotation>
216
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
217
+ </xs:annotation>
218
+ <xs:simpleType>
219
+ <xs:restriction base="xs:string">
220
+ <xs:maxLength value="50"/>
221
+ </xs:restriction>
222
+ </xs:simpleType>
223
+ </xs:element>
224
+ <xs:element name="VyriditNej" type="xs:date" minOccurs="0">
225
+ <xs:annotation>
226
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
227
+ </xs:annotation>
228
+ </xs:element>
229
+ <xs:element name="ZkratkaTyp" minOccurs="0">
230
+ <xs:annotation>
231
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
232
+ </xs:annotation>
233
+ <xs:simpleType>
234
+ <xs:restriction base="xs:string">
235
+ <xs:maxLength value="10"/>
236
+ </xs:restriction>
237
+ </xs:simpleType>
238
+ </xs:element>
239
+ <xs:element name="PrimDoklad" minOccurs="0">
240
+ <xs:annotation>
241
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
242
+ </xs:annotation>
243
+ <xs:simpleType>
244
+ <xs:restriction base="xs:string">
245
+ <xs:maxLength value="20"/>
246
+ </xs:restriction>
247
+ </xs:simpleType>
248
+ </xs:element>
249
+ <xs:element name="VarSymbol" minOccurs="0">
250
+ <xs:annotation>
251
+ <xs:documentation>Variabilní symbol Import:ANO, Export:ANO</xs:documentation>
252
+ </xs:annotation>
253
+ <xs:simpleType>
254
+ <xs:restriction base="xs:string">
255
+ <xs:maxLength value="20"/>
256
+ </xs:restriction>
257
+ </xs:simpleType>
258
+ </xs:element>
259
+ <xs:element name="NeVyrizova" type="xs:boolean" minOccurs="0">
260
+ <xs:annotation>
261
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
262
+ </xs:annotation>
263
+ </xs:element>
264
+ <xs:element name="SizDecDPH" minOccurs="0">
265
+ <xs:annotation>
266
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
267
+ </xs:annotation>
268
+ <xs:simpleType>
269
+ <xs:restriction base="xs:decimal">
270
+ <xs:totalDigits value="3"/>
271
+ <xs:fractionDigits value="0"/>
272
+ </xs:restriction>
273
+ </xs:simpleType>
274
+ </xs:element>
275
+ <xs:element name="SizDecCelk" minOccurs="0">
276
+ <xs:annotation>
277
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
278
+ </xs:annotation>
279
+ <xs:simpleType>
280
+ <xs:restriction base="xs:decimal">
281
+ <xs:totalDigits value="3"/>
282
+ <xs:fractionDigits value="0"/>
283
+ </xs:restriction>
284
+ </xs:simpleType>
285
+ </xs:element>
286
+ <xs:element name="ZobrPoznVy" type="xs:boolean" minOccurs="0">
287
+ <xs:annotation>
288
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
289
+ </xs:annotation>
290
+ </xs:element>
291
+ <xs:element name="StatMOSS" minOccurs="0">
292
+ <xs:annotation>
293
+ <xs:documentation>Kód státu MOSS (Mini One Stop Shop). Jen objednávky přijaté, nabídky vydané a poptávky přijaté.
294
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
295
+ </xs:annotation>
296
+ <xs:simpleType>
297
+ <xs:restriction base="xs:string">
298
+ <xs:length value="2"/>
299
+ </xs:restriction>
300
+ </xs:simpleType>
301
+ </xs:element>
302
+ <xs:element name="TypTransakce" minOccurs="0">
303
+ <xs:annotation>
304
+ <xs:documentation>Hodnota pro Intrastat. Údaj je na hlavičkách i na položkách. </xs:documentation>
305
+ </xs:annotation>
306
+ <xs:simpleType>
307
+ <xs:restriction base="xs:string">
308
+ <xs:length value="2"/>
309
+ <xs:whiteSpace value="replace"/>
310
+ </xs:restriction>
311
+ </xs:simpleType>
312
+ </xs:element>
313
+ <xs:element name="DodaciPodm" minOccurs="0">
314
+ <xs:annotation>
315
+ <xs:documentation>Hodnota pro Intrastat. Údaj je jenom na hlavičkách dokladů.</xs:documentation>
316
+ </xs:annotation>
317
+ <xs:simpleType>
318
+ <xs:restriction base="xs:string">
319
+ <xs:length value="3"/>
320
+ <xs:whiteSpace value="replace"/>
321
+ </xs:restriction>
322
+ </xs:simpleType>
323
+ </xs:element>
324
+ <xs:element name="DruhDopravy" minOccurs="0">
325
+ <xs:annotation>
326
+ <xs:documentation>Hodnota pro Intrastat. Údaj se vyskytuje pouze na hlavičkách dokladů. </xs:documentation>
327
+ </xs:annotation>
328
+ <xs:simpleType>
329
+ <xs:restriction base="xs:string">
330
+ <xs:length value="1"/>
331
+ <xs:whiteSpace value="replace"/>
332
+ </xs:restriction>
333
+ </xs:simpleType>
334
+ </xs:element>
335
+ <xs:element name="StOdeslUrc" minOccurs="0">
336
+ <xs:annotation>
337
+ <xs:documentation>Hodnota pro Intrastat. Při nákupu zboží z jiného členského státu EU se jedná o „Stát odeslání“ (objednávka vydaná, nabídka přijatá, poptávka vydaná), při prodeji zboží do jiného členského státu EU se jedná o „Stát určení“ (objednávka přiatá, nabídka vydaná, poptávka přijatá). Údaj se vyskytuje pouze na hlavičkách dokladů.</xs:documentation>
338
+ </xs:annotation>
339
+ </xs:element>
340
+ <xs:element name="Sleva" type="castkaType" minOccurs="0">
341
+ <xs:annotation>
342
+ <xs:documentation>Sleva na doklad
343
+ Import: ANO, Export: ANO</xs:documentation>
344
+ </xs:annotation>
345
+ </xs:element>
346
+ <xs:element name="eshop" minOccurs="0">
347
+ <xs:annotation>
348
+ <xs:documentation>Pouze pro objednávky přijaté určené pro internetový obchod (tj. IN_Export je různo od 0)
349
+
350
+ IMPORT: ANO,
351
+ EXPORT: ANO
352
+ </xs:documentation>
353
+ </xs:annotation>
354
+ <xs:complexType>
355
+ <xs:sequence>
356
+ <xs:element name="IN_Export" type="xs:unsignedByte">
357
+ <xs:annotation>
358
+ <xs:documentation>Typ internetového obchodu:
359
+
360
+ 0 = bez obchodování na internetu
361
+ 1 = inShop (verze 1)
362
+ 2 = Vltava 2000
363
+ 3 = inShop 2000
364
+ 4 = MůjObchod
365
+ 5 = Store OnLine
366
+ 6 = E-shop konektor
367
+
368
+ IMPORT:ANO,
369
+ EXPORT:ANO </xs:documentation>
370
+ </xs:annotation>
371
+ </xs:element>
372
+ <xs:element name="IN_Changed" type="xs:boolean" minOccurs="0">
373
+ <xs:annotation>
374
+ <xs:documentation>Příznak změny objednávky v Money nebo v internetovém obchodě
375
+
376
+ IMPORT:NE,
377
+ EXPORT:ANO </xs:documentation>
378
+ </xs:annotation>
379
+ </xs:element>
380
+ <xs:element name="IN_ObjCis" type="xs:long" minOccurs="0">
381
+ <xs:annotation>
382
+ <xs:documentation>ID (číslo) objednávky na internetovém obchodě
383
+
384
+ IMPORT:ANO,
385
+ EXPORT:ANO </xs:documentation>
386
+ </xs:annotation>
387
+ </xs:element>
388
+ <xs:element name="IN_Stav" type="xs:unsignedByte" minOccurs="0">
389
+ <xs:annotation>
390
+ <xs:documentation>Stav objednávky na internetovém obchodě
391
+
392
+ Pro E-shop konektor (IN_Export = 6) platí:
393
+ 0 = přijatá
394
+ 1 = vyřizuje se
395
+ 2 = částečně vyřízená
396
+ 3 = vyřízená (expedovaná)
397
+ 4 = nelze vyřídit
398
+
399
+ IMPORT:ANO,
400
+ EXPORT:ANO</xs:documentation>
401
+ </xs:annotation>
402
+ </xs:element>
403
+ <xs:element name="IN_ReqStor" type="xs:boolean" minOccurs="0">
404
+ <xs:annotation>
405
+ <xs:documentation>Zákazník internetového obchodu požaduje storno objednávky
406
+
407
+ IMPORT:ANO,
408
+ EXPORT:NE</xs:documentation>
409
+ </xs:annotation>
410
+ </xs:element>
411
+ <xs:element name="IN_YesStor" type="xs:boolean" minOccurs="0">
412
+ <xs:annotation>
413
+ <xs:documentation>Potvrzení storna objednávky z Money
414
+
415
+ IMPORT:NE,
416
+ EXPORT:ANO</xs:documentation>
417
+ </xs:annotation>
418
+ </xs:element>
419
+ <xs:element name="IN_ShopID" type="xs:string" minOccurs="0">
420
+ <xs:annotation>
421
+ <xs:documentation>Číslo XML obchodu v notaci "nn" (char*2). Základní prodejna (00) se ukládá jako " " (mezery). Určeno pouze pro E-shop konektor.
422
+
423
+ EXPORT:ANO, IMPORT:NE (plní program dle importu)</xs:documentation>
424
+ </xs:annotation>
425
+ </xs:element>
426
+ <xs:element name="IN_Poznamk" minOccurs="0">
427
+ <xs:annotation>
428
+ <xs:documentation>Poznámka k objednávce v internetovém obchodě
429
+
430
+ IMPORT:ANO,
431
+ EXPORT:ANO</xs:documentation>
432
+ </xs:annotation>
433
+ <xs:simpleType>
434
+ <xs:restriction base="xs:string">
435
+ <xs:maxLength value="100"/>
436
+ </xs:restriction>
437
+ </xs:simpleType>
438
+ </xs:element>
439
+ </xs:sequence>
440
+ </xs:complexType>
441
+ </xs:element>
442
+ <xs:element name="Pojisteno" type="castkaType" minOccurs="0">
443
+ <xs:annotation>
444
+ <xs:documentation>Expedice - pojistné (pouze objednávky přijaté a pouze SK verze)</xs:documentation>
445
+ </xs:annotation>
446
+ </xs:element>
447
+ <xs:element name="Prepravce" type="prepravceType" minOccurs="0">
448
+ <xs:annotation>
449
+ <xs:documentation>Expedice - přepravce (pouze objednávky přijaté)</xs:documentation>
450
+ </xs:annotation>
451
+ </xs:element>
452
+ <xs:element name="TypZasillky" type="typZasilkyType" minOccurs="0">
453
+ <xs:annotation>
454
+ <xs:documentation>Expedice - typ zásilky (pouze objednávky přijaté)</xs:documentation>
455
+ </xs:annotation>
456
+ </xs:element>
457
+ <xs:element name="Prepr_Vyplatne" type="preprDoplnUdajType" minOccurs="0">
458
+ <xs:annotation>
459
+ <xs:documentation>Expedice - doplňkový údaj - výplatné (pouze objednávky přijaté a pouze SK verze)</xs:documentation>
460
+ </xs:annotation>
461
+ </xs:element>
462
+ <xs:element name="Prepr_UhradaDobirky" type="preprDoplnUdajType" minOccurs="0">
463
+ <xs:annotation>
464
+ <xs:documentation>Expedice - doplňkový údaj - úhrada dobírky (pouze objednávky přijaté a pouze SK verze)</xs:documentation>
465
+ </xs:annotation>
466
+ </xs:element>
467
+ <xs:element name="Prepr_Trida" type="preprDoplnUdajType" minOccurs="0">
468
+ <xs:annotation>
469
+ <xs:documentation>Expedice - doplňkový údaj - třída (pouze objednávky přijaté a pouze SK verze)</xs:documentation>
470
+ </xs:annotation>
471
+ </xs:element>
472
+ <xs:element name="Prepr_SeznamSluzeb" minOccurs="0">
473
+ <xs:annotation>
474
+ <xs:documentation>Expedice - doplňkový údaj - seznam služeb (pouze objednávky přijaté a pouze SK verze)</xs:documentation>
475
+ </xs:annotation>
476
+ <xs:complexType>
477
+ <xs:sequence>
478
+ <xs:element name="Prepr_Sluzba" type="preprDoplnUdajType" maxOccurs="unbounded">
479
+ <xs:annotation>
480
+ <xs:documentation>Doplňkový údaj - služba</xs:documentation>
481
+ </xs:annotation>
482
+ </xs:element>
483
+ </xs:sequence>
484
+ </xs:complexType>
485
+ </xs:element>
486
+ <xs:element name="Polozka" type="polObjednType" minOccurs="0" maxOccurs="unbounded"/>
487
+ <xs:element name="MojeFirma" type="mojeFirmaType" minOccurs="0">
488
+ <xs:annotation>
489
+ <xs:documentation>Import: NE, Export: ANO</xs:documentation>
490
+ </xs:annotation>
491
+ </xs:element>
492
+ <xs:element name="Vlajky" minOccurs="0">
493
+ <xs:complexType>
494
+ <xs:sequence>
495
+ <xs:element name="Global" type="VlajkaType" minOccurs="0"/>
496
+ <xs:element name="User" type="VlajkaType" minOccurs="0"/>
497
+ </xs:sequence>
498
+ </xs:complexType>
499
+ </xs:element>
500
+ <xs:element name="Dokumenty" minOccurs="0">
501
+ <xs:annotation>
502
+ <xs:documentation>Seznam připojených dokumentů
503
+ IMPORT: ANO
504
+ EXPORT: NE</xs:documentation>
505
+ </xs:annotation>
506
+ <xs:complexType>
507
+ <xs:sequence>
508
+ <xs:element name="Dokument" type="xs:string" maxOccurs="unbounded">
509
+ <xs:annotation>
510
+ <xs:documentation>Jméno souboru (bez cesty). Soubor se musí nacházet ve stejném adresáři (ZIP souboru) jako importovaný XML dokument.</xs:documentation>
511
+ </xs:annotation>
512
+ </xs:element>
513
+ </xs:sequence>
514
+ </xs:complexType>
515
+ </xs:element>
516
+ </xs:sequence>
517
+ <xs:attribute name="command" use="optional">
518
+ <xs:annotation>
519
+ <xs:documentation source='Pouze pro OP: Pokud je command="UpdateHd", jde o update hlavičky OP pro XML el.obchody'/>
520
+ </xs:annotation>
521
+ <xs:simpleType>
522
+ <xs:restriction base="xs:string">
523
+ <xs:enumeration value="UpdateHd"/>
524
+ </xs:restriction>
525
+ </xs:simpleType>
526
+ </xs:attribute>
527
+ </xs:complexType>
528
+ <xs:complexType name="polObjednType">
529
+ <xs:sequence>
530
+ <xs:element name="Popis" type="popisType" minOccurs="0">
531
+ <xs:annotation>
532
+ <xs:documentation>Popis IMPORT: ANO, Export: ANO</xs:documentation>
533
+ </xs:annotation>
534
+ </xs:element>
535
+ <xs:element name="Poznamka" minOccurs="0">
536
+ <xs:annotation>
537
+ <xs:documentation>Poznámka Import: Ano Export: ANO</xs:documentation>
538
+ </xs:annotation>
539
+ </xs:element>
540
+ <xs:element name="PocetMJ" type="mnozstviType" minOccurs="0">
541
+ <xs:annotation>
542
+ <xs:documentation>Počet množstevních jednotek IMPORT: ANO, Export: ANO</xs:documentation>
543
+ </xs:annotation>
544
+ </xs:element>
545
+ <xs:element name="ZbyvaMJ" type="mnozstviType" minOccurs="0">
546
+ <xs:annotation>
547
+ <xs:documentation>Počet zbývajících nevyříízených m.j. IMPORT: ANO, Export: ANO</xs:documentation>
548
+ </xs:annotation>
549
+ </xs:element>
550
+ <xs:element name="Cena" type="castkaType" minOccurs="0">
551
+ <xs:annotation>
552
+ <xs:documentation>Cena IMPORT: ANO, Export: ANO</xs:documentation>
553
+ </xs:annotation>
554
+ </xs:element>
555
+ <xs:element name="SouhrnDPH" type="souhrnDPHPolType" minOccurs="0">
556
+ <xs:annotation>
557
+ <xs:documentation>Rozpis částek DPH (POUZE ISDOC EXPORT)</xs:documentation>
558
+ </xs:annotation>
559
+ </xs:element>
560
+ <xs:element name="SazbaDPH" type="procentoType" minOccurs="0">
561
+ <xs:annotation>
562
+ <xs:documentation>Sazba DPH IMPORT: ANO, Export: ANO</xs:documentation>
563
+ </xs:annotation>
564
+ </xs:element>
565
+ <xs:element name="TypCeny" minOccurs="0">
566
+ <xs:annotation>
567
+ <xs:documentation>Typ ceny 0=bez DPH, 1=s DPH, 2=jen DPH, 3=jen základ, IMPORT: ANO, EXPORT: ANO </xs:documentation>
568
+ </xs:annotation>
569
+ <xs:simpleType>
570
+ <xs:restriction base="xs:decimal">
571
+ <xs:totalDigits value="3"/>
572
+ <xs:fractionDigits value="0"/>
573
+ </xs:restriction>
574
+ </xs:simpleType>
575
+ </xs:element>
576
+ <xs:element name="Sleva" type="castkaType" minOccurs="0">
577
+ <xs:annotation>
578
+ <xs:documentation>Sleva na položku</xs:documentation>
579
+ </xs:annotation>
580
+ </xs:element>
581
+ <xs:element name="Vystaveno" type="xs:date" minOccurs="0">
582
+ <xs:annotation>
583
+ <xs:documentation>Datum vystavení Import: NE, Export: ANO</xs:documentation>
584
+ </xs:annotation>
585
+ </xs:element>
586
+ <xs:element name="VyriditNej" type="xs:date" minOccurs="0">
587
+ <xs:annotation>
588
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
589
+ </xs:annotation>
590
+ </xs:element>
591
+ <xs:element name="Vyridit_do" type="xs:date" minOccurs="0">
592
+ <xs:annotation>
593
+ <xs:documentation>Datum, do kdy se má vyřídit Import: ANO, Export: ANO</xs:documentation>
594
+ </xs:annotation>
595
+ </xs:element>
596
+ <xs:element name="Vyrizeno" type="xs:date" minOccurs="0">
597
+ <xs:annotation>
598
+ <xs:documentation>Datum vyřízení Import: NE, Export: ANO</xs:documentation>
599
+ </xs:annotation>
600
+ </xs:element>
601
+ <xs:element name="Poradi" type="cisloType" minOccurs="0">
602
+ <xs:annotation>
603
+ <xs:documentation>Pořadí položek při tisku IMPORT: ANO, Export: ANO</xs:documentation>
604
+ </xs:annotation>
605
+ </xs:element>
606
+ <xs:element name="Stredisko" minOccurs="0">
607
+ <xs:annotation>
608
+ <xs:documentation>Střadisko IMPORT: ANO, Export: ANO</xs:documentation>
609
+ </xs:annotation>
610
+ <xs:simpleType>
611
+ <xs:restriction base="xs:string">
612
+ <xs:maxLength value="10"/>
613
+ </xs:restriction>
614
+ </xs:simpleType>
615
+ </xs:element>
616
+ <xs:element name="Zakazka" minOccurs="0">
617
+ <xs:annotation>
618
+ <xs:documentation>Zakázka IMPORT: ANO, Export: ANO</xs:documentation>
619
+ </xs:annotation>
620
+ <xs:simpleType>
621
+ <xs:restriction base="xs:string">
622
+ <xs:maxLength value="10"/>
623
+ </xs:restriction>
624
+ </xs:simpleType>
625
+ </xs:element>
626
+ <xs:element name="Cinnost" minOccurs="0">
627
+ <xs:annotation>
628
+ <xs:documentation>Činnost IMPORT: ANO, Export: ANO</xs:documentation>
629
+ </xs:annotation>
630
+ <xs:simpleType>
631
+ <xs:restriction base="xs:string">
632
+ <xs:maxLength value="10"/>
633
+ </xs:restriction>
634
+ </xs:simpleType>
635
+ </xs:element>
636
+ <xs:element name="CenovaHlad" minOccurs="0">
637
+ <xs:annotation>
638
+ <xs:documentation>Cenová hladina IMPORT: ANO, Export: ANO</xs:documentation>
639
+ </xs:annotation>
640
+ <xs:simpleType>
641
+ <xs:restriction base="xs:string">
642
+ <xs:maxLength value="10"/>
643
+ </xs:restriction>
644
+ </xs:simpleType>
645
+ </xs:element>
646
+ <xs:element name="Valuty" type="castkaType" minOccurs="0">
647
+ <xs:annotation>
648
+ <xs:documentation>Cena ve valutách u dokladů v cizí měně . IMPORT: ANO, Export: ANO</xs:documentation>
649
+ </xs:annotation>
650
+ </xs:element>
651
+ <xs:element name="KodStatuPuv" minOccurs="0">
652
+ <xs:annotation>
653
+ <xs:documentation>Údaj pro Intrastat. Vyskytuje se jen na položkách. Pokud není zadán, přebírá se z km. karty.</xs:documentation>
654
+ </xs:annotation>
655
+ <xs:simpleType>
656
+ <xs:restriction base="xs:string">
657
+ <xs:length value="2"/>
658
+ <xs:whiteSpace value="replace"/>
659
+ </xs:restriction>
660
+ </xs:simpleType>
661
+ </xs:element>
662
+ <xs:element name="TypTransakce" minOccurs="0">
663
+ <xs:annotation>
664
+ <xs:documentation>Hodnota pro Intrastat. Údaj je na hlavičkách i na položkách. </xs:documentation>
665
+ </xs:annotation>
666
+ <xs:simpleType>
667
+ <xs:restriction base="xs:string">
668
+ <xs:length value="2"/>
669
+ <xs:whiteSpace value="replace"/>
670
+ </xs:restriction>
671
+ </xs:simpleType>
672
+ </xs:element>
673
+ <xs:element name="Hmotnost" minOccurs="0">
674
+ <xs:annotation>
675
+ <xs:documentation>Hmotnost: Import ANO, Export ANO (od verze 14.000 na skl. i neskl. položkách)</xs:documentation>
676
+ </xs:annotation>
677
+ <xs:simpleType>
678
+ <xs:restriction base="xs:float">
679
+ <xs:whiteSpace value="replace"/>
680
+ </xs:restriction>
681
+ </xs:simpleType>
682
+ </xs:element>
683
+ <xs:element name="CenaPoSleve" type="xs:boolean" minOccurs="0">
684
+ <xs:annotation>
685
+ <xs:documentation>Indikace, zda se jedná o cenu po slevě</xs:documentation>
686
+ </xs:annotation>
687
+ </xs:element>
688
+ <xs:element name="ZvlRezim" type="xs:byte" minOccurs="0">
689
+ <xs:annotation>
690
+ <xs:documentation>Zvláštní režim DPH:
691
+ 0 = neurčeno
692
+ 1 = použité zboží
693
+ 2 = umělecké dílo
694
+ 3 = sběratelský předmět, starožitnost
695
+ 4 = cestovní služba IMPORT: ANO, EXPORT: ANO</xs:documentation>
696
+ </xs:annotation>
697
+ </xs:element>
698
+ <xs:element name="ZvlDPH" type="procentoType" minOccurs="0">
699
+ <xs:annotation>
700
+ <xs:documentation>Sazba DPH pro zvláštní režim
701
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
702
+ </xs:annotation>
703
+ </xs:element>
704
+ <xs:element name="RezimEET" type="xs:byte" minOccurs="0">
705
+ <xs:annotation>
706
+ <xs:documentation>Režim EET:
707
+ 0 = neurčeno
708
+ 1 = poukaz
709
+ 2 = vratná záloha
710
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
711
+ </xs:annotation>
712
+ </xs:element>
713
+ <xs:element name="PredPC" type="castkaType" minOccurs="0">
714
+ <xs:annotation>
715
+ <xs:documentation>Předpokádaná pořizovací cena: (jen pro přijaté objednávky, přijaté poptávky, vystavené nabídky, zálohové faktury vystavené) IMPORT: ANO, Export: ANO</xs:documentation>
716
+ </xs:annotation>
717
+ </xs:element>
718
+ <xs:choice>
719
+ <xs:sequence minOccurs="0">
720
+ <xs:element name="Sklad" type="skladType"/>
721
+ <xs:element name="KmKarta" type="kmKartaType"/>
722
+ </xs:sequence>
723
+ <xs:element name="NesklPolozka" minOccurs="0">
724
+ <xs:complexType>
725
+ <xs:sequence>
726
+ <xs:element name="Zkrat" minOccurs="0">
727
+ <xs:annotation>
728
+ <xs:documentation>Zkratka: IMPORT: ANO, Export: ANO</xs:documentation>
729
+ </xs:annotation>
730
+ <xs:simpleType>
731
+ <xs:restriction base="xs:string">
732
+ <xs:maxLength value="20"/>
733
+ </xs:restriction>
734
+ </xs:simpleType>
735
+ </xs:element>
736
+ <xs:element name="MJ" minOccurs="0">
737
+ <xs:annotation>
738
+ <xs:documentation>Měrná jednotka IMPORT: ANO, Export: ANO</xs:documentation>
739
+ </xs:annotation>
740
+ <xs:simpleType>
741
+ <xs:restriction base="xs:string">
742
+ <xs:maxLength value="10"/>
743
+ </xs:restriction>
744
+ </xs:simpleType>
745
+ </xs:element>
746
+ <xs:element name="UzivCode" minOccurs="0">
747
+ <xs:annotation>
748
+ <xs:documentation>Užívatelský kód (PLU) Import: ANO, Export: ANO</xs:documentation>
749
+ </xs:annotation>
750
+ <xs:simpleType>
751
+ <xs:restriction base="xs:string">
752
+ <xs:maxLength value="6"/>
753
+ </xs:restriction>
754
+ </xs:simpleType>
755
+ </xs:element>
756
+ <xs:element name="Katalog" minOccurs="0">
757
+ <xs:annotation>
758
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
759
+ </xs:annotation>
760
+ <xs:simpleType>
761
+ <xs:restriction base="xs:string">
762
+ <xs:maxLength value="20"/>
763
+ </xs:restriction>
764
+ </xs:simpleType>
765
+ </xs:element>
766
+ <xs:element name="BarCode" minOccurs="0">
767
+ <xs:annotation>
768
+ <xs:documentation>Čarový kód Import: ANO, Export: ANO</xs:documentation>
769
+ </xs:annotation>
770
+ <xs:simpleType>
771
+ <xs:restriction base="xs:string">
772
+ <xs:maxLength value="20"/>
773
+ </xs:restriction>
774
+ </xs:simpleType>
775
+ </xs:element>
776
+ <xs:element name="TypZarDoby" minOccurs="0">
777
+ <xs:annotation>
778
+ <xs:documentation>typ záruční doby: N=není,D=ve dnech,M=v měsících,R=v rocích,S=doživotní Import: ANO, Export: ANO</xs:documentation>
779
+ </xs:annotation>
780
+ <xs:simpleType>
781
+ <xs:restriction base="xs:string">
782
+ <xs:maxLength value="1"/>
783
+ </xs:restriction>
784
+ </xs:simpleType>
785
+ </xs:element>
786
+ <xs:element name="ZarDoba" minOccurs="0">
787
+ <xs:annotation>
788
+ <xs:documentation>Záruční doba (ignoruje se když TypZarDoby=N,S) Import: ANO, Export: ANO</xs:documentation>
789
+ </xs:annotation>
790
+ <xs:simpleType>
791
+ <xs:restriction base="xs:decimal">
792
+ <xs:totalDigits value="5"/>
793
+ <xs:fractionDigits value="0"/>
794
+ </xs:restriction>
795
+ </xs:simpleType>
796
+ </xs:element>
797
+ <xs:element name="VyrobniCis" minOccurs="0">
798
+ <xs:annotation>
799
+ <xs:documentation>Výrobní číslo, Import:ANO, Export: ANO</xs:documentation>
800
+ </xs:annotation>
801
+ <xs:simpleType>
802
+ <xs:restriction base="xs:string">
803
+ <xs:maxLength value="50"/>
804
+ </xs:restriction>
805
+ </xs:simpleType>
806
+ </xs:element>
807
+ <xs:element name="DatExp" type="xs:date" minOccurs="0">
808
+ <xs:annotation>
809
+ <xs:documentation>Datum exspirace Import: ANO, Export:ANO</xs:documentation>
810
+ </xs:annotation>
811
+ </xs:element>
812
+ <xs:element name="DatNakupu" type="xs:date" minOccurs="0">
813
+ <xs:annotation>
814
+ <xs:documentation>Datum nákupu: Import: ANO, Export:ANO</xs:documentation>
815
+ </xs:annotation>
816
+ </xs:element>
817
+ <xs:element name="Dodavatel" type="firmaType" minOccurs="0">
818
+ <xs:annotation>
819
+ <xs:documentation>Dodavatel (pouze prodejní objednávky), Export:ANO, Import:ANO</xs:documentation>
820
+ </xs:annotation>
821
+ </xs:element>
822
+ </xs:sequence>
823
+ </xs:complexType>
824
+ </xs:element>
825
+ </xs:choice>
826
+ <xs:element name="SeznamVC" minOccurs="0">
827
+ <xs:annotation>
828
+ <xs:documentation>Import: Ne, Export: Ne</xs:documentation>
829
+ </xs:annotation>
830
+ <xs:complexType>
831
+ <xs:sequence>
832
+ <xs:element name="VyrobniCislo" type="vyrobniCisloType" maxOccurs="unbounded"/>
833
+ </xs:sequence>
834
+ </xs:complexType>
835
+ </xs:element>
836
+ <xs:element name="Slozeni" minOccurs="0">
837
+ <xs:annotation>
838
+ <xs:documentation>Import: NE Export: ANO</xs:documentation>
839
+ </xs:annotation>
840
+ <xs:complexType>
841
+ <xs:sequence>
842
+ <xs:element name="SubPolozka" type="subPolObjType" maxOccurs="unbounded"/>
843
+ </xs:sequence>
844
+ </xs:complexType>
845
+ </xs:element>
846
+ </xs:sequence>
847
+ </xs:complexType>
848
+ <xs:complexType name="subPolObjType">
849
+ <xs:sequence>
850
+ <xs:element name="MJNaSadu">
851
+ <xs:simpleType>
852
+ <xs:restriction base="mnozstviType">
853
+ <xs:minExclusive value="0"/>
854
+ </xs:restriction>
855
+ </xs:simpleType>
856
+ </xs:element>
857
+ <xs:element name="Polozka" type="polObjednType"/>
858
+ </xs:sequence>
859
+ </xs:complexType>
860
+ <xs:complexType name="partnerType">
861
+ <xs:sequence>
862
+ <xs:element name="Partner" type="firmaType"/>
863
+ </xs:sequence>
864
+ </xs:complexType>
865
+ </xs:schema>