money_xml_validator 0.0.1

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.
Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.gitmodules +3 -0
  4. data/.rspec +3 -0
  5. data/.travis.yml +5 -0
  6. data/Gemfile +6 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +39 -0
  9. data/Rakefile +6 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +8 -0
  12. data/lib/money_xml_validator.rb +18 -0
  13. data/lib/money_xml_validator/money_xsd/Dochazka/Dochazka.xsd +295 -0
  14. data/lib/money_xml_validator/money_xsd/Dochazka/Zamestnanci.xsd +202 -0
  15. data/lib/money_xml_validator/money_xsd/EPO/EPO_Error.xsd +61 -0
  16. data/lib/money_xml_validator/money_xsd/EPO/EPO_Success.xsd +183 -0
  17. data/lib/money_xml_validator/money_xsd/README.md +5 -0
  18. data/lib/money_xml_validator/money_xsd/_Document.xsd +912 -0
  19. data/lib/money_xml_validator/money_xsd/_Export.xsd +45 -0
  20. data/lib/money_xml_validator/money_xsd/_Import.xsd +94 -0
  21. data/lib/money_xml_validator/money_xsd/_Report.xsd +793 -0
  22. data/lib/money_xml_validator/money_xsd/__Comtypes.xsd +706 -0
  23. data/lib/money_xml_validator/money_xsd/__Faktura.xsd +1097 -0
  24. data/lib/money_xml_validator/money_xsd/__Firma.xsd +1705 -0
  25. data/lib/money_xml_validator/money_xsd/__IntDokl.xsd +397 -0
  26. data/lib/money_xml_validator/money_xsd/__InvDokl.xsd +150 -0
  27. data/lib/money_xml_validator/money_xsd/__Mzda.xsd +240 -0
  28. data/lib/money_xml_validator/money_xsd/__Objedn.xsd +865 -0
  29. data/lib/money_xml_validator/money_xsd/__Seznamy.xsd +1721 -0
  30. data/lib/money_xml_validator/money_xsd/__SklDokl.xsd +674 -0
  31. data/lib/money_xml_validator/money_xsd/__UcDokl.xsd +1869 -0
  32. data/lib/money_xml_validator/money_xsd/__Uhrady.xsd +230 -0
  33. data/lib/money_xml_validator/money_xsd/__Vyroba.xsd +193 -0
  34. data/lib/money_xml_validator/money_xsd/__Zakazka.xsd +165 -0
  35. data/lib/money_xml_validator/money_xsd/__Zamestnanec.xsd +145 -0
  36. data/lib/money_xml_validator/money_xsd/__Zasoba.xsd +1317 -0
  37. data/lib/money_xml_validator/money_xsd/all_schemas.zip +0 -0
  38. data/money_xml_validator.gemspec +25 -0
  39. metadata +123 -0
@@ -0,0 +1,240 @@
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="__Comtypes.xsd"/>
4
+ <xs:include schemaLocation="__Seznamy.xsd"/>
5
+ <xs:include schemaLocation="__Zamestnanec.xsd"/>
6
+ <xs:complexType name="mzdaType">
7
+ <xs:annotation>
8
+ <xs:documentation>Specifikace mzdy</xs:documentation>
9
+ </xs:annotation>
10
+ <xs:sequence>
11
+ <xs:element name="Zamestnanec" type="zamestnanecType">
12
+ <xs:annotation>
13
+ <xs:documentation>Zaměstnanec</xs:documentation>
14
+ </xs:annotation>
15
+ </xs:element>
16
+ <xs:element name="Mesic">
17
+ <xs:annotation>
18
+ <xs:documentation>Měsíc zpracování mzdy</xs:documentation>
19
+ </xs:annotation>
20
+ <xs:simpleType>
21
+ <xs:restriction base="xs:string">
22
+ <xs:minLength value="1"/>
23
+ <xs:maxLength value="2"/>
24
+ </xs:restriction>
25
+ </xs:simpleType>
26
+ </xs:element>
27
+ <xs:element name="Rok" type="xs:gYear">
28
+ <xs:annotation>
29
+ <xs:documentation>Rok zpracování mzdy</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:element>
32
+ <xs:element name="PracDnu" type="celeCisloType" minOccurs="0">
33
+ <xs:annotation>
34
+ <xs:documentation>Pracovní fond - dnů (bez svátků připadajících na pracovní den)</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:element>
37
+ <xs:element name="PracHod" type="cisloType" minOccurs="0">
38
+ <xs:annotation>
39
+ <xs:documentation>Pracovní fond - hodin (bez svátků připadajících na pracovní den)</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:element>
42
+ <xs:element name="OdprDnu" type="cisloType" minOccurs="0">
43
+ <xs:annotation>
44
+ <xs:documentation>Odpracováno dnů (bez svátků připadajících na pracovní den)</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:element>
47
+ <xs:element name="OdprHod" type="cisloType" minOccurs="0">
48
+ <xs:annotation>
49
+ <xs:documentation>Odpracováno hodin (bez svátků připadajících na pracovní den)</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:element>
52
+ <xs:element name="OdprSvDnu" type="cisloType" minOccurs="0">
53
+ <xs:annotation>
54
+ <xs:documentation>Počet odpracovaných dnů ve svátcích (svatky připadající na pracovní den, ve kterých zaměstnanec pracoval)</xs:documentation>
55
+ </xs:annotation>
56
+ </xs:element>
57
+ <xs:element name="OdprSvHod" type="cisloType" minOccurs="0">
58
+ <xs:annotation>
59
+ <xs:documentation>Počet odpracovaných hodin ve svátcích (svatky připadající na pracovní den, ve kterých zaměstnanec pracoval)</xs:documentation>
60
+ </xs:annotation>
61
+ </xs:element>
62
+ <xs:element name="SeznamNepritomnosti" minOccurs="0">
63
+ <xs:annotation>
64
+ <xs:documentation>Seznam nepřítomností spadajících do mzdového období (viz Mesic a Rok)</xs:documentation>
65
+ </xs:annotation>
66
+ <xs:complexType>
67
+ <xs:sequence>
68
+ <xs:element name="Nepritomnost" type="nepritomnostType" maxOccurs="unbounded">
69
+ <xs:annotation>
70
+ <xs:documentation>Nepřítomnost</xs:documentation>
71
+ </xs:annotation>
72
+ </xs:element>
73
+ </xs:sequence>
74
+ </xs:complexType>
75
+ </xs:element>
76
+ <xs:element name="SeznamMzPriplatku" minOccurs="0">
77
+ <xs:annotation>
78
+ <xs:documentation>Seznam mzdových přípllatků</xs:documentation>
79
+ </xs:annotation>
80
+ <xs:complexType>
81
+ <xs:sequence>
82
+ <xs:element name="MzPriplatek" maxOccurs="8">
83
+ <xs:annotation>
84
+ <xs:documentation>Mzdový příplatek</xs:documentation>
85
+ </xs:annotation>
86
+ <xs:complexType>
87
+ <xs:sequence>
88
+ <xs:element name="TypPriplatku" type="typPriplatkuType">
89
+ <xs:annotation>
90
+ <xs:documentation>Typ příplatku</xs:documentation>
91
+ </xs:annotation>
92
+ </xs:element>
93
+ <xs:element name="PripHodin" type="cisloType" minOccurs="0">
94
+ <xs:annotation>
95
+ <xs:documentation>Počet odpracovaných hodin</xs:documentation>
96
+ </xs:annotation>
97
+ </xs:element>
98
+ </xs:sequence>
99
+ </xs:complexType>
100
+ </xs:element>
101
+ </xs:sequence>
102
+ </xs:complexType>
103
+ </xs:element>
104
+ </xs:sequence>
105
+ </xs:complexType>
106
+ <xs:complexType name="nepritomnostType">
107
+ <xs:annotation>
108
+ <xs:documentation>Specifikace nepřítomnosti</xs:documentation>
109
+ </xs:annotation>
110
+ <xs:sequence>
111
+ <xs:element name="Typ">
112
+ <xs:annotation>
113
+ <xs:documentation>Typ nepřítomnosti:
114
+
115
+ P = Plánovaná dovolená
116
+ D = Dovolená
117
+ G = Paragraf
118
+ V = Neplacené volno
119
+ A = Neomluvená absence
120
+ N = Nemoc
121
+ K = Karanténa
122
+ O = OČR
123
+ M = Mateřská dovolená (PPM)
124
+ R = Další mateřská dovolená (RP)
125
+ J = Voj., civilní služba
126
+ E = Dny před nástupem</xs:documentation>
127
+ </xs:annotation>
128
+ <xs:simpleType>
129
+ <xs:restriction base="xs:string">
130
+ <xs:length value="1"/>
131
+ <xs:enumeration value="P"/>
132
+ <xs:enumeration value="D"/>
133
+ <xs:enumeration value="G"/>
134
+ <xs:enumeration value="V"/>
135
+ <xs:enumeration value="A"/>
136
+ <xs:enumeration value="N"/>
137
+ <xs:enumeration value="K"/>
138
+ <xs:enumeration value="O"/>
139
+ <xs:enumeration value="M"/>
140
+ <xs:enumeration value="R"/>
141
+ <xs:enumeration value="J"/>
142
+ <xs:enumeration value="E"/>
143
+ </xs:restriction>
144
+ </xs:simpleType>
145
+ </xs:element>
146
+ <xs:element name="Zacatek">
147
+ <xs:annotation>
148
+ <xs:documentation>Začátek nepřítomnosti.
149
+
150
+ Poznámka: v elementu je možné uvést skutečný začátek nepřítomnosti, který může spadat do jiného období, než je období zpracování mzdy. Pokud je při importu této nepřítomnosti nalezena časově předcházející nepřítomnost, tak se automaticky zaškrtne přepínač "Pokračování minulé nepřítomnosti".</xs:documentation>
151
+ </xs:annotation>
152
+ <xs:simpleType>
153
+ <xs:restriction base="xs:date"/>
154
+ </xs:simpleType>
155
+ </xs:element>
156
+ <xs:element name="Konec" minOccurs="0">
157
+ <xs:annotation>
158
+ <xs:documentation>Konec nepřítomnosti
159
+
160
+ Poznámka: pokud není známý konec nepřítomnost (např. nepřítomnost stále pokračuje), tak je možné element vynechat. Program automaticky dosadí poslední den v měsíci.</xs:documentation>
161
+ </xs:annotation>
162
+ <xs:simpleType>
163
+ <xs:restriction base="xs:date"/>
164
+ </xs:simpleType>
165
+ </xs:element>
166
+ <xs:element name="DatPorodu" type="xs:date" minOccurs="0">
167
+ <xs:annotation>
168
+ <xs:documentation>Datum porodu u mateřské dovolené (PPM)
169
+
170
+ Element se prozatím neexportuje ani neimportuje.</xs:documentation>
171
+ </xs:annotation>
172
+ </xs:element>
173
+ <xs:element name="OdpHodZ" type="cisloType" minOccurs="0">
174
+ <xs:annotation>
175
+ <xs:documentation>Odpracováno hodin v den začátku nepřítomnosti</xs:documentation>
176
+ </xs:annotation>
177
+ </xs:element>
178
+ <xs:element name="OdpHodK" type="cisloType" minOccurs="0">
179
+ <xs:annotation>
180
+ <xs:documentation>Odpracováno hodin v den konce nepřítomnosti</xs:documentation>
181
+ </xs:annotation>
182
+ </xs:element>
183
+ <xs:element name="KalDnu" type="cisloType" minOccurs="0">
184
+ <xs:annotation>
185
+ <xs:documentation>Počet kalendářních dnů nepřítomnosti</xs:documentation>
186
+ </xs:annotation>
187
+ </xs:element>
188
+ <xs:element name="PracDnu" type="cisloType" minOccurs="0">
189
+ <xs:annotation>
190
+ <xs:documentation>Fond pracovních dnů nepřítomnosti</xs:documentation>
191
+ </xs:annotation>
192
+ </xs:element>
193
+ <xs:element name="Hodin" type="cisloType" minOccurs="0">
194
+ <xs:annotation>
195
+ <xs:documentation>Fond pracovních hodin nepřítomnosti</xs:documentation>
196
+ </xs:annotation>
197
+ </xs:element>
198
+ <xs:element name="SvatDnu" type="cisloType" minOccurs="0">
199
+ <xs:annotation>
200
+ <xs:documentation>Počet dnů svátků v nepřítomnosti připadajících na pracovní den</xs:documentation>
201
+ </xs:annotation>
202
+ </xs:element>
203
+ <xs:element name="SvatHod" type="cisloType" minOccurs="0">
204
+ <xs:annotation>
205
+ <xs:documentation>Počet pracovních hodin ve svátcích nepřítomnosti připadajících na pracovní den</xs:documentation>
206
+ </xs:annotation>
207
+ </xs:element>
208
+ <xs:element name="PokracNepr" type="xs:boolean" minOccurs="0">
209
+ <xs:annotation>
210
+ <xs:documentation>Element určuje, zda je nepřítomnost pokračováním časově předcházející nepřítomnosti téhož typu.
211
+
212
+ Element se prozatím neexportuje ani neimportuje.</xs:documentation>
213
+ </xs:annotation>
214
+ </xs:element>
215
+ <xs:element name="NahrMzdy" type="xs:boolean" minOccurs="0">
216
+ <xs:annotation>
217
+ <xs:documentation>Element určuje, zda se bude pro nepřítomnost počítat náhrada mzdy za nemoc (karanténu).
218
+
219
+ Element se prozatím neexportuje ani neimportuje.</xs:documentation>
220
+ </xs:annotation>
221
+ </xs:element>
222
+ <xs:element name="PrepocDny" type="xs:boolean" minOccurs="0">
223
+ <xs:annotation>
224
+ <xs:documentation>Element určuje, zda se u nepřítomnosti typu "dovolená" přepočítává Fond pracovních dnů z Fondu pracovních hodin a Počet dnů svátků z Počtu pracovních hodin ve svátcích.
225
+
226
+ Poznámka k importu: pokud jsou na vstupu uvedeny dny i hodiny a element nabývá hodnoty 0, tak se tyto údaje převezmou ze vstupního souboru. Pokud je element roven hodnotě 1, tak program vypočítá dny na základě hodin a ignoruje dny na vstupu. V současném stavu je přepínač na dovolené vždy odkšrtnutý.
227
+
228
+ Element se prozatím neexportuje ani neimportuje.</xs:documentation>
229
+ </xs:annotation>
230
+ </xs:element>
231
+ <xs:element name="Pozn" type="xs:string" minOccurs="0">
232
+ <xs:annotation>
233
+ <xs:documentation>Poznámka
234
+
235
+ Element se prozatím neexportuje ani neimportuje.</xs:documentation>
236
+ </xs:annotation>
237
+ </xs:element>
238
+ </xs:sequence>
239
+ </xs:complexType>
240
+ </xs:schema>
@@ -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>