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.
Files changed (41) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile.lock +24 -0
  3. data/README.md +17 -7
  4. data/lib/money_xml_validator.rb +1 -1
  5. data/lib/money_xml_validator/money_xsd/README.md +10 -2
  6. data/lib/money_xml_validator/money_xsd/examples/basic_invoice.xml +56 -0
  7. data/lib/money_xml_validator/money_xsd/examples/credit_note.xml +58 -0
  8. data/lib/money_xml_validator/money_xsd/{Dochazka → schemas/Dochazka}/Dochazka.xsd +24 -20
  9. data/lib/money_xml_validator/money_xsd/{Dochazka → schemas/Dochazka}/Zamestnanci.xsd +13 -7
  10. data/lib/money_xml_validator/money_xsd/{EPO → schemas/EPO}/EPO_Error.xsd +11 -11
  11. data/lib/money_xml_validator/money_xsd/{EPO → schemas/EPO}/EPO_Success.xsd +1 -1
  12. data/lib/money_xml_validator/money_xsd/schemas/Readme.txt +4 -0
  13. data/lib/money_xml_validator/money_xsd/{_Document.xsd → schemas/_Document.xsd} +35 -51
  14. data/lib/money_xml_validator/money_xsd/{_Export.xsd → schemas/_Export.xsd} +7 -3
  15. data/lib/money_xml_validator/money_xsd/schemas/_Import.xsd +176 -0
  16. data/lib/money_xml_validator/money_xsd/{_Report.xsd → schemas/_Report.xsd} +41 -134
  17. data/lib/money_xml_validator/money_xsd/schemas/__Comtypes.xsd +742 -0
  18. data/lib/money_xml_validator/money_xsd/{__Faktura.xsd → schemas/__Faktura.xsd} +577 -566
  19. data/lib/money_xml_validator/money_xsd/{__Firma.xsd → schemas/__Firma.xsd} +197 -96
  20. data/lib/money_xml_validator/money_xsd/schemas/__IntDokl.xsd +427 -0
  21. data/lib/money_xml_validator/money_xsd/{__InvDokl.xsd → schemas/__InvDokl.xsd} +11 -8
  22. data/lib/money_xml_validator/money_xsd/{__Mzda.xsd → schemas/__Mzda.xsd} +10 -6
  23. data/lib/money_xml_validator/money_xsd/schemas/__Objedn.xsd +896 -0
  24. data/lib/money_xml_validator/money_xsd/schemas/__Seznamy.xsd +1755 -0
  25. data/lib/money_xml_validator/money_xsd/schemas/__SklDokl.xsd +685 -0
  26. data/lib/money_xml_validator/money_xsd/{__UcDokl.xsd → schemas/__UcDokl.xsd} +1019 -925
  27. data/lib/money_xml_validator/money_xsd/{__Uhrady.xsd → schemas/__Uhrady.xsd} +92 -92
  28. data/lib/money_xml_validator/money_xsd/{__Vyroba.xsd → schemas/__Vyroba.xsd} +0 -0
  29. data/lib/money_xml_validator/money_xsd/{__Zakazka.xsd → schemas/__Zakazka.xsd} +5 -31
  30. data/lib/money_xml_validator/money_xsd/{__Zamestnanec.xsd → schemas/__Zamestnanec.xsd} +6 -6
  31. data/lib/money_xml_validator/money_xsd/schemas/__Zasoba.xsd +1319 -0
  32. data/money_xml_validator.gemspec +1 -1
  33. metadata +30 -28
  34. data/lib/money_xml_validator/money_xsd/_Import.xsd +0 -94
  35. data/lib/money_xml_validator/money_xsd/__Comtypes.xsd +0 -706
  36. data/lib/money_xml_validator/money_xsd/__IntDokl.xsd +0 -397
  37. data/lib/money_xml_validator/money_xsd/__Objedn.xsd +0 -865
  38. data/lib/money_xml_validator/money_xsd/__Seznamy.xsd +0 -1721
  39. data/lib/money_xml_validator/money_xsd/__SklDokl.xsd +0 -674
  40. data/lib/money_xml_validator/money_xsd/__Zasoba.xsd +0 -1317
  41. data/lib/money_xml_validator/money_xsd/all_schemas.zip +0 -0
@@ -1,674 +0,0 @@
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="__Firma.xsd"/>
5
- <xs:include schemaLocation="__Zasoba.xsd"/>
6
- <xs:include schemaLocation="_Report.xsd"/>
7
- <xs:complexType name="sklDoklType">
8
- <xs:sequence>
9
- <xs:element name="CisloDokla" minOccurs="0">
10
- <xs:annotation>
11
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
12
- </xs:annotation>
13
- <xs:simpleType>
14
- <xs:restriction base="xs:string">
15
- <xs:maxLength value="10"/>
16
- </xs:restriction>
17
- </xs:simpleType>
18
- </xs:element>
19
- <xs:element name="EET" type="EETType" minOccurs="0">
20
- <xs:annotation>
21
- <xs:documentation>Údaje týkající se EET (pouze prodejky a pouze CZ verze)
22
-
23
- IMPORT: ANO,
24
- EXPORT: ANO
25
- </xs:documentation>
26
- </xs:annotation>
27
- </xs:element>
28
- <xs:element name="ZpusobUctovani" type="xs:byte" minOccurs="0">
29
- <xs:annotation>
30
- <xs:documentation>Způsob účtování dokladu:
31
- 0 = účtování dokladu proběhne podle nastavení v konfiguraci (default)
32
- 1 = doklad se nezaúčtuje
33
- IMPORT: ANO, EXPORT: ANO</xs:documentation>
34
- </xs:annotation>
35
- </xs:element>
36
- <xs:element name="CObjednavk" type="xs:string" minOccurs="0">
37
- <xs:annotation>
38
- <xs:documentation>Číslo objednávky (pouze DLV, Prodejka) IMPORT:ANO, EXPORT:ANO</xs:documentation>
39
- </xs:annotation>
40
- </xs:element>
41
- <xs:element name="KPFromOdb" type="xs:boolean" minOccurs="0">
42
- <xs:annotation>
43
- <xs:documentation>Příznak toho, že se adresa konečného příjemce přebírá z odběratele Import: ANO, Export: ANO</xs:documentation>
44
- </xs:annotation>
45
- </xs:element>
46
- <xs:element name="Datum" type="xs:date" minOccurs="0">
47
- <xs:annotation>
48
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
49
- </xs:annotation>
50
- </xs:element>
51
- <xs:element name="Sleva" type="castkaType" minOccurs="0">
52
- <xs:annotation>
53
- <xs:documentation>Sleva v procentech Import: Ano, Export: ANO</xs:documentation>
54
- </xs:annotation>
55
- </xs:element>
56
- <xs:element name="DRada" minOccurs="0">
57
- <xs:annotation>
58
- <xs:documentation>Zkratka číselné řady Import: ANO, Export: ANO</xs:documentation>
59
- </xs:annotation>
60
- <xs:simpleType>
61
- <xs:restriction base="xs:string">
62
- <xs:maxLength value="5"/>
63
- </xs:restriction>
64
- </xs:simpleType>
65
- </xs:element>
66
- <xs:element name="Stredisko" minOccurs="0">
67
- <xs:annotation>
68
- <xs:documentation>Středisko Import: ANO, Export: ANO</xs:documentation>
69
- </xs:annotation>
70
- <xs:simpleType>
71
- <xs:restriction base="xs:string">
72
- <xs:maxLength value="10"/>
73
- </xs:restriction>
74
- </xs:simpleType>
75
- </xs:element>
76
- <xs:element name="Zakazka" minOccurs="0">
77
- <xs:annotation>
78
- <xs:documentation>Zakázka Import: ANO, Export: ANO</xs:documentation>
79
- </xs:annotation>
80
- <xs:simpleType>
81
- <xs:restriction base="xs:string">
82
- <xs:maxLength value="10"/>
83
- </xs:restriction>
84
- </xs:simpleType>
85
- </xs:element>
86
- <xs:element name="Cinnost" minOccurs="0">
87
- <xs:annotation>
88
- <xs:documentation>Činnost Import: ANO, Export: ANO</xs:documentation>
89
- </xs:annotation>
90
- <xs:simpleType>
91
- <xs:restriction base="xs:string">
92
- <xs:maxLength value="10"/>
93
- </xs:restriction>
94
- </xs:simpleType>
95
- </xs:element>
96
- <xs:element name="Popis" minOccurs="0">
97
- <xs:annotation>
98
- <xs:documentation>Poznámka Import: ANO, Export: ANO</xs:documentation>
99
- </xs:annotation>
100
- </xs:element>
101
- <xs:element name="Vystavil" minOccurs="0">
102
- <xs:annotation>
103
- <xs:documentation>Import: NE, Export: ANO</xs:documentation>
104
- </xs:annotation>
105
- <xs:simpleType>
106
- <xs:restriction base="xs:string">
107
- <xs:maxLength value="50"/>
108
- </xs:restriction>
109
- </xs:simpleType>
110
- </xs:element>
111
- <xs:element name="VyrizFaktu" minOccurs="0">
112
- <xs:annotation>
113
- <xs:documentation>Import: NE, Export: NE</xs:documentation>
114
- </xs:annotation>
115
- <xs:simpleType>
116
- <xs:restriction base="xs:string">
117
- <xs:maxLength value="10"/>
118
- </xs:restriction>
119
- </xs:simpleType>
120
- </xs:element>
121
- <xs:element name="TextPredPo" minOccurs="0">
122
- <xs:annotation>
123
- <xs:documentation>Text před položkami Import: ANO, Export: ANO</xs:documentation>
124
- </xs:annotation>
125
- </xs:element>
126
- <xs:element name="TextZaPol" minOccurs="0">
127
- <xs:annotation>
128
- <xs:documentation>Text za položkami Import: ANO, Export: ANO</xs:documentation>
129
- </xs:annotation>
130
- </xs:element>
131
- <xs:element name="Nadpis" type="popisType" minOccurs="0">
132
- <xs:annotation>
133
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
134
- </xs:annotation>
135
- </xs:element>
136
- <xs:element name="ZkratTypuD" type="zkratkaType" minOccurs="0">
137
- <xs:annotation>
138
- <xs:documentation>Zkratka typu dokladu Import: ANO, Export: ANO</xs:documentation>
139
- </xs:annotation>
140
- </xs:element>
141
- <xs:element name="PorizCena" type="castkaType" minOccurs="0">
142
- <xs:annotation>
143
- <xs:documentation>Import: NE, Export: ANO</xs:documentation>
144
- </xs:annotation>
145
- </xs:element>
146
- <xs:element name="PopisX" type="popisType" minOccurs="0">
147
- <xs:annotation>
148
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
149
- </xs:annotation>
150
- </xs:element>
151
- <xs:element name="Fiskal" type="xs:boolean" minOccurs="0">
152
- <xs:annotation>
153
- <xs:documentation>Příznak toho, že prošlo fiskálem Import: NE, Export: ANO</xs:documentation>
154
- </xs:annotation>
155
- </xs:element>
156
- <xs:element name="FisDoklad" type="cisloType" minOccurs="0">
157
- <xs:annotation>
158
- <xs:documentation>Číslo fiskálního dokladu Import: NE, Export: ANO</xs:documentation>
159
- </xs:annotation>
160
- </xs:element>
161
- <xs:element name="DatSkPoh" type="xs:date" minOccurs="0">
162
- <xs:annotation>
163
- <xs:documentation>Datum skladového pohybu Import: ANO, Export: ANO</xs:documentation>
164
- </xs:annotation>
165
- </xs:element>
166
- <xs:element name="StatMOSS" minOccurs="0">
167
- <xs:annotation>
168
- <xs:documentation>Kód státu MOSS (Mini One Stop Shop). Jen dodací listy vydané, prodejky a výdejky.
169
- IMPORT: ANO, EXPORT: ANO</xs:documentation>
170
- </xs:annotation>
171
- <xs:simpleType>
172
- <xs:restriction base="xs:string">
173
- <xs:length value="2"/>
174
- </xs:restriction>
175
- </xs:simpleType>
176
- </xs:element>
177
- <xs:element name="SazbaDPH1" type="procentoType" minOccurs="0">
178
- <xs:annotation>
179
- <xs:documentation>Snížená sazba DPH IMPORT: ANO
180
- EXPORT: ANO</xs:documentation>
181
- </xs:annotation>
182
- </xs:element>
183
- <xs:element name="SazbaDPH2" type="procentoType" minOccurs="0">
184
- <xs:annotation>
185
- <xs:documentation>Základní sazba DPH IMPORT: ANO
186
- EXPORT: ANO</xs:documentation>
187
- </xs:annotation>
188
- </xs:element>
189
- <xs:sequence minOccurs="0">
190
- <xs:element name="SouhrnDPH" type="souhrnDPHType">
191
- <xs:annotation>
192
- <xs:documentation>Doklady v domácí měně: IMPORT: ANO
193
- EXPORT: ANO</xs:documentation>
194
- </xs:annotation>
195
- </xs:element>
196
- <xs:element name="Celkem" type="castkaType">
197
- <xs:annotation>
198
- <xs:documentation>Celkiem s DPH (POUZE EXPORT)</xs:documentation>
199
- </xs:annotation>
200
- </xs:element>
201
- </xs:sequence>
202
- <xs:element name="Valuty" minOccurs="0">
203
- <xs:annotation>
204
- <xs:documentation>Doklad v cizí měně
205
- IMPORT: ANO
206
- EXPORT: ANO</xs:documentation>
207
- </xs:annotation>
208
- <xs:complexType>
209
- <xs:sequence>
210
- <xs:element name="Mena" type="menaType">
211
- <xs:annotation>
212
- <xs:documentation>Identifikace cizí měny</xs:documentation>
213
- </xs:annotation>
214
- </xs:element>
215
- <xs:element name="SouhrnDPH" type="souhrnDPHType">
216
- <xs:annotation>
217
- <xs:documentation>Souhrn DPH
218
- IMPORT: ANO
219
- EXPORT: ANO</xs:documentation>
220
- </xs:annotation>
221
- </xs:element>
222
- <xs:element name="Celkem" type="castkaType">
223
- <xs:annotation>
224
- <xs:documentation>Celkem s DPH ve valutách (POUZE EXPORT)</xs:documentation>
225
- </xs:annotation>
226
- </xs:element>
227
- </xs:sequence>
228
- </xs:complexType>
229
- </xs:element>
230
- <xs:element name="PrimDoklad" minOccurs="0">
231
- <xs:annotation>
232
- <xs:documentation>Doklad došlý Import: ANO, Export: ANO</xs:documentation>
233
- </xs:annotation>
234
- <xs:simpleType>
235
- <xs:restriction base="xs:string">
236
- <xs:maxLength value="20"/>
237
- </xs:restriction>
238
- </xs:simpleType>
239
- </xs:element>
240
- <xs:element name="VarSymbol" minOccurs="0">
241
- <xs:annotation>
242
- <xs:documentation>Variabilní symbol Import:ANO, Export:ANO</xs:documentation>
243
- </xs:annotation>
244
- <xs:simpleType>
245
- <xs:restriction base="xs:string">
246
- <xs:maxLength value="20"/>
247
- </xs:restriction>
248
- </xs:simpleType>
249
- </xs:element>
250
- <xs:element name="ParSymbol" minOccurs="0">
251
- <xs:annotation>
252
- <xs:documentation>Párovací symbol Import: ANO, Export: ANO</xs:documentation>
253
- </xs:annotation>
254
- <xs:simpleType>
255
- <xs:restriction base="xs:string">
256
- <xs:maxLength value="20"/>
257
- </xs:restriction>
258
- </xs:simpleType>
259
- </xs:element>
260
- <xs:element name="DodOdb" type="skDokladFirmaType" minOccurs="0"/>
261
- <xs:element name="KonecPrij" type="konecPrijFirmaType" minOccurs="0"/>
262
- <xs:element name="TypTransakce" minOccurs="0">
263
- <xs:annotation>
264
- <xs:documentation>Hodnota pro Intrastat. Údaj je na hlavičkách i na položkách. </xs:documentation>
265
- </xs:annotation>
266
- <xs:simpleType>
267
- <xs:restriction base="xs:string">
268
- <xs:length value="2"/>
269
- <xs:whiteSpace value="replace"/>
270
- </xs:restriction>
271
- </xs:simpleType>
272
- </xs:element>
273
- <xs:element name="DodaciPodm" minOccurs="0">
274
- <xs:annotation>
275
- <xs:documentation>Hodnota pro Intrastat. Údaj je jenom na hlavičkách dokladů.</xs:documentation>
276
- </xs:annotation>
277
- <xs:simpleType>
278
- <xs:restriction base="xs:string">
279
- <xs:whiteSpace value="replace"/>
280
- <xs:maxLength value="3"/>
281
- </xs:restriction>
282
- </xs:simpleType>
283
- </xs:element>
284
- <xs:element name="DruhDopravy" minOccurs="0">
285
- <xs:annotation>
286
- <xs:documentation>Hodnota pro Intrastat. Údaj se vyskytuje pouze na hlavičkách dokladů. </xs:documentation>
287
- </xs:annotation>
288
- <xs:simpleType>
289
- <xs:restriction base="xs:string">
290
- <xs:length value="1"/>
291
- <xs:whiteSpace value="replace"/>
292
- </xs:restriction>
293
- </xs:simpleType>
294
- </xs:element>
295
- <xs:element name="StOdeslUrc" minOccurs="0">
296
- <xs:annotation>
297
- <xs:documentation>Hodnota pro Intrastat. Při přijetí zboží z jiného členského státu EU se jedná o „Stát odeslání“ (dodací list přijatý, příjemka), při odeslání zboží do jiného členského státu EU se jedná o „Stát určení“ (dodací list vydaný, výdejka, prodejka). Údaj se vyskytuje pouze na hlavičkách dokladů.</xs:documentation>
298
- </xs:annotation>
299
- </xs:element>
300
- <xs:element name="DopravTuz" type="castkaType" minOccurs="0">
301
- <xs:annotation>
302
- <xs:documentation>Doprava tuzemsko</xs:documentation>
303
- </xs:annotation>
304
- </xs:element>
305
- <xs:element name="DopravZahr" type="castkaType" minOccurs="0">
306
- <xs:annotation>
307
- <xs:documentation>Doprava zahraničí</xs:documentation>
308
- </xs:annotation>
309
- </xs:element>
310
- <xs:element name="DatumITS" type="xs:date" minOccurs="0">
311
- <xs:annotation>
312
- <xs:documentation>Datum pro Intrastat</xs:documentation>
313
- </xs:annotation>
314
- </xs:element>
315
- <!-- <xs:element name="Sleva" type="castkaType" minOccurs="0"> -->
316
- <!-- <xs:annotation> -->
317
- <!-- <xs:documentation>Sleva celkem za doklad (pouze u dokladů s položkami) - implicitně 0 IMPORT: NE (případná sleva dokladu musí být zohledněna přímo v cenách položek), EXPORT: ANO</xs:documentation> -->
318
- <!-- </xs:annotation> -->
319
- <!-- </xs:element> -->
320
- <xs:element name="iDokladID" minOccurs="0">
321
- <xs:annotation>
322
- <xs:documentation>Pouze pro interní potřebu (iDoklad)</xs:documentation>
323
- </xs:annotation>
324
- </xs:element>
325
- <xs:element name="iDoklAgend" minOccurs="0">
326
- <xs:annotation>
327
- <xs:documentation>Pouze pro interní potřebu (iDoklad)</xs:documentation>
328
- </xs:annotation>
329
- </xs:element>
330
- <xs:element name="Import" minOccurs="0">
331
- <xs:annotation>
332
- <xs:documentation>Přesměrování importované prodejky do Reportu. Pouze pro interní potřebu (iDoklad).</xs:documentation>
333
- </xs:annotation>
334
- <xs:complexType>
335
- <xs:complexContent>
336
- <xs:extension base="messageType">
337
- <xs:sequence minOccurs="0">
338
- <xs:element name="DodOdb" type="msgFirmaType" minOccurs="0"/>
339
- <xs:element name="KonecPrij" type="msgFirmaType" minOccurs="0"/>
340
- <xs:element name="Polozka" type="msgPolozType" minOccurs="0" maxOccurs="unbounded"/>
341
- <xs:element name="NepPlatba" type="messageType" minOccurs="0" maxOccurs="unbounded">
342
- <xs:annotation>
343
- <xs:documentation>Nepeněžní platidla na prodejce</xs:documentation>
344
- </xs:annotation>
345
- </xs:element>
346
- <xs:element name="Data" type="sklDoklType" minOccurs="0"/>
347
- </xs:sequence>
348
- <xs:attribute name="Exported" type="xs:boolean" use="optional">
349
- <xs:annotation>
350
- <xs:documentation>Atribut informující o tom, zda se má provést odeslání příznaku Exported do iDokladu. Používá se pouze pro interní potřebu při komunikaci s iDokladem.</xs:documentation>
351
- </xs:annotation>
352
- </xs:attribute>
353
- </xs:extension>
354
- </xs:complexContent>
355
- </xs:complexType>
356
- </xs:element>
357
- <xs:element name="SkladProPr" type="skladType" minOccurs="0">
358
- <xs:annotation>
359
- <xs:documentation>Sklad pro převod Tento tag je zde pro případ, že by se implemetovaly převodky Import: Ne Export: NE </xs:documentation>
360
- </xs:annotation>
361
- </xs:element>
362
- <xs:element name="Polozka" type="polSklDoklType" minOccurs="0" maxOccurs="unbounded"/>
363
- <xs:element name="MojeFirma" type="mojeFirmaType" minOccurs="0">
364
- <xs:annotation>
365
- <xs:documentation>Import: NE, Export: ANO</xs:documentation>
366
- </xs:annotation>
367
- </xs:element>
368
- <xs:element name="SeznamNepPlateb" minOccurs="0">
369
- <xs:annotation>
370
- <xs:documentation>Seznam nepeněžních plateb na prodejkách
371
- Import: ANO, Export ANO</xs:documentation>
372
- </xs:annotation>
373
- <xs:complexType>
374
- <xs:sequence>
375
- <xs:element name="NepPlatba" type="nepPlatbaType" minOccurs="0" maxOccurs="unbounded"/>
376
- </xs:sequence>
377
- </xs:complexType>
378
- </xs:element>
379
- <xs:element name="Vlajky" minOccurs="0">
380
- <xs:complexType>
381
- <xs:sequence>
382
- <xs:element name="Global" type="VlajkaType" minOccurs="0"/>
383
- <xs:element name="User" type="VlajkaType" minOccurs="0"/>
384
- </xs:sequence>
385
- </xs:complexType>
386
- </xs:element>
387
- <xs:element name="Dokumenty" minOccurs="0">
388
- <xs:annotation>
389
- <xs:documentation>Seznam připojených dokumentů
390
- IMPORT: ANO
391
- EXPORT: NE</xs:documentation>
392
- </xs:annotation>
393
- <xs:complexType>
394
- <xs:sequence>
395
- <xs:element name="Dokument" type="xs:string" maxOccurs="unbounded">
396
- <xs:annotation>
397
- <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>
398
- </xs:annotation>
399
- </xs:element>
400
- </xs:sequence>
401
- </xs:complexType>
402
- </xs:element>
403
- </xs:sequence>
404
- </xs:complexType>
405
- <xs:complexType name="polSklDoklType">
406
- <xs:sequence>
407
- <xs:element name="Nazev" type="popisType" minOccurs="0">
408
- <xs:annotation>
409
- <xs:documentation>Název položky Import: ANO, Export: ANO</xs:documentation>
410
- </xs:annotation>
411
- </xs:element>
412
- <xs:element name="PocetMJ" type="mnozstviType" minOccurs="0">
413
- <xs:annotation>
414
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
415
- </xs:annotation>
416
- </xs:element>
417
- <xs:element name="Cena" type="castkaType" minOccurs="0">
418
- <xs:annotation>
419
- <xs:documentation>Příjmové doklady: nákupní cena. Výdajové doklady: dodací list a prodejka - prodejní cena, výdejka -implicitně rovná pořizovací ceně.</xs:documentation>
420
- </xs:annotation>
421
- </xs:element>
422
- <xs:element name="Valuty" type="castkaType" minOccurs="0">
423
- <xs:annotation>
424
- <xs:documentation>částka v cizí měně</xs:documentation>
425
- </xs:annotation>
426
- </xs:element>
427
- <xs:element name="DPH" type="procentoType" minOccurs="0">
428
- <xs:annotation>
429
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
430
- </xs:annotation>
431
- </xs:element>
432
- <xs:element name="CenaTyp" minOccurs="0">
433
- <xs:annotation>
434
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
435
- </xs:annotation>
436
- <xs:simpleType>
437
- <xs:restriction base="xs:decimal">
438
- <xs:totalDigits value="3"/>
439
- <xs:fractionDigits value="0"/>
440
- </xs:restriction>
441
- </xs:simpleType>
442
- </xs:element>
443
- <xs:element name="Sleva" type="castkaType" minOccurs="0">
444
- <xs:annotation>
445
- <xs:documentation>Sleva na položku</xs:documentation>
446
- </xs:annotation>
447
- </xs:element>
448
- <xs:element name="Cinnost" minOccurs="0">
449
- <xs:annotation>
450
- <xs:documentation>Činnost Import: ANO, Export: ANO</xs:documentation>
451
- </xs:annotation>
452
- <xs:simpleType>
453
- <xs:restriction base="xs:string">
454
- <xs:maxLength value="10"/>
455
- </xs:restriction>
456
- </xs:simpleType>
457
- </xs:element>
458
- <xs:element name="Zakazka" minOccurs="0">
459
- <xs:annotation>
460
- <xs:documentation>Zakázka Import: ANO, Export: ANO</xs:documentation>
461
- </xs:annotation>
462
- <xs:simpleType>
463
- <xs:restriction base="xs:string">
464
- <xs:maxLength value="10"/>
465
- </xs:restriction>
466
- </xs:simpleType>
467
- </xs:element>
468
- <xs:element name="Stredisko" minOccurs="0">
469
- <xs:annotation>
470
- <xs:documentation>Středisko Import: ANO, Export: ANO</xs:documentation>
471
- </xs:annotation>
472
- <xs:simpleType>
473
- <xs:restriction base="xs:string">
474
- <xs:maxLength value="10"/>
475
- </xs:restriction>
476
- </xs:simpleType>
477
- </xs:element>
478
- <xs:element name="CenovaHlad" type="zkratkaType" minOccurs="0">
479
- <xs:annotation>
480
- <xs:documentation>Cenová hladina Import: ANO, Export: ANO</xs:documentation>
481
- </xs:annotation>
482
- </xs:element>
483
- <xs:element name="Poznamka" minOccurs="0">
484
- <xs:annotation>
485
- <xs:documentation>Poznámka Import: ANO, Export: ANO</xs:documentation>
486
- </xs:annotation>
487
- </xs:element>
488
- <xs:element name="Vratka" type="xs:boolean" minOccurs="0">
489
- <xs:annotation>
490
- <xs:documentation>Příznak vratky Import: ANO, Export: ANO</xs:documentation>
491
- </xs:annotation>
492
- </xs:element>
493
- <xs:element name="UcetMD" type="ucetType" minOccurs="0">
494
- <xs:annotation>
495
- <xs:documentation>Účet má dáti Import: ANO, Export: ANO</xs:documentation>
496
- </xs:annotation>
497
- </xs:element>
498
- <xs:element name="UcetD" type="ucetType" minOccurs="0">
499
- <xs:annotation>
500
- <xs:documentation>Účet dal Import: ANO, Export: ANO</xs:documentation>
501
- </xs:annotation>
502
- </xs:element>
503
- <xs:element name="KodStatuPuv" minOccurs="0">
504
- <xs:annotation>
505
- <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>
506
- </xs:annotation>
507
- <xs:simpleType>
508
- <xs:restriction base="xs:string">
509
- <xs:length value="2"/>
510
- <xs:whiteSpace value="replace"/>
511
- </xs:restriction>
512
- </xs:simpleType>
513
- </xs:element>
514
- <xs:element name="TypTransakce" minOccurs="0">
515
- <xs:annotation>
516
- <xs:documentation>Hodnota pro Intrastat. Údaj je na hlavičkách i na položkách. </xs:documentation>
517
- </xs:annotation>
518
- <xs:simpleType>
519
- <xs:restriction base="xs:string">
520
- <xs:length value="2"/>
521
- <xs:whiteSpace value="replace"/>
522
- </xs:restriction>
523
- </xs:simpleType>
524
- </xs:element>
525
- <xs:element name="Hmotnost" minOccurs="0">
526
- <xs:annotation>
527
- <xs:documentation>Hodnota pro Intrastat. Údaj se vyskytuje jenom na položkách. </xs:documentation>
528
- </xs:annotation>
529
- <xs:simpleType>
530
- <xs:restriction base="xs:float">
531
- <xs:whiteSpace value="replace"/>
532
- </xs:restriction>
533
- </xs:simpleType>
534
- </xs:element>
535
- <xs:element name="PorizCena" minOccurs="0">
536
- <xs:annotation>
537
- <xs:documentation>Pořizovací cena: Pro výdejové doklady (výdejka, vyst.dod.list a prodejka) je ignorována: a) při importu určuje pořizovací cenu sklad Money b) při exportu se neexportuje, viz. též proměnná "Cena" </xs:documentation>
538
- </xs:annotation>
539
- </xs:element>
540
- <xs:element name="CenaPoSleve" type="xs:boolean" minOccurs="0">
541
- <xs:annotation>
542
- <xs:documentation>Indikace, zda se jedná o cenu po slevě</xs:documentation>
543
- </xs:annotation>
544
- </xs:element>
545
- <xs:element name="ZvlRezim" type="xs:byte" minOccurs="0">
546
- <xs:annotation>
547
- <xs:documentation>Zvláštní režim DPH:
548
- 0 = neurčeno
549
- 1 = použité zboží
550
- 2 = umělecké dílo
551
- 3 = sběratelský předmět, starožitnost
552
- 4 = cestovní služba IMPORT: ANO, EXPORT: ANO</xs:documentation>
553
- </xs:annotation>
554
- </xs:element>
555
- <xs:element name="ZvlDPH" type="procentoType" minOccurs="0">
556
- <xs:annotation>
557
- <xs:documentation>Sazba DPH pro zvláštní režim
558
- IMPORT: ANO, EXPORT: ANO</xs:documentation>
559
- </xs:annotation>
560
- </xs:element>
561
- <xs:element name="RezimEET" type="xs:byte" minOccurs="0">
562
- <xs:annotation>
563
- <xs:documentation>Režim EET:
564
- 0 = neurčeno
565
- 1 = poukaz
566
- 2 = vratná záloha
567
- IMPORT: ANO, EXPORT: ANO</xs:documentation>
568
- </xs:annotation>
569
- </xs:element>
570
- <xs:element name="SeznamVC" minOccurs="0">
571
- <xs:annotation>
572
- <xs:documentation>Seznam výrobních čísel Import: ANO, Export: ANO</xs:documentation>
573
- </xs:annotation>
574
- <xs:complexType>
575
- <xs:sequence>
576
- <xs:element name="VyrobniCislo" type="vyrobniCisloType" maxOccurs="unbounded"/>
577
- </xs:sequence>
578
- </xs:complexType>
579
- </xs:element>
580
- <xs:element name="SeznamDodavek" minOccurs="0">
581
- <xs:annotation>
582
- <xs:documentation>U prijmu muze obsahovat 1 element Dodavka. Export (podle konfigurace) a import elementu Oznaceni (označení dodávky) a DatExp (datum exspirace).
583
- U vydeje se volitelne (podle nastaveni v konfiguraci) muze exportovat seznam dodavek, ze kterych byl vydej odepsany. Kazda dodavka obsahuje Oznaceni, DatExp, PocetMJ (mnozstvi odepsane z teto dodavky) a Cena (cena z dodavky). Pokud je vydej odepsany z jedne dodavky, nemusi byt obsazen PocetMJ ani Cena.
584
- U VYDEJU SE DODAVKY NEIMPORTUJI!!!</xs:documentation>
585
- </xs:annotation>
586
- <xs:complexType>
587
- <xs:sequence>
588
- <xs:element name="Dodavka" type="dodavkaType" maxOccurs="unbounded"/>
589
- </xs:sequence>
590
- </xs:complexType>
591
- </xs:element>
592
- <xs:element name="Sklad" type="skladType"/>
593
- <xs:element name="KmKarta" type="kmKartaType"/>
594
- <xs:element name="Slozeni" minOccurs="0">
595
- <xs:complexType>
596
- <xs:sequence>
597
- <xs:element name="SubPolozka" type="defSubPolType" maxOccurs="unbounded"/>
598
- </xs:sequence>
599
- </xs:complexType>
600
- </xs:element>
601
- </xs:sequence>
602
- </xs:complexType>
603
- <xs:complexType name="defSubPolType">
604
- <xs:sequence>
605
- <xs:element name="MJNaSadu">
606
- <xs:simpleType>
607
- <xs:restriction base="mnozstviType">
608
- <xs:minExclusive value="0"/>
609
- </xs:restriction>
610
- </xs:simpleType>
611
- </xs:element>
612
- <xs:element name="Polozka" type="polSklDoklType"/>
613
- </xs:sequence>
614
- </xs:complexType>
615
- <xs:complexType name="nepPlatidloType">
616
- <xs:sequence>
617
- <xs:element name="Kod">
618
- <xs:annotation>
619
- <xs:documentation>Kód nepeněžního platidla
620
- Import: ANO (pouze existující), Export ANO</xs:documentation>
621
- </xs:annotation>
622
- <xs:simpleType>
623
- <xs:restriction base="xs:string">
624
- <xs:maxLength value="10"/>
625
- </xs:restriction>
626
- </xs:simpleType>
627
- </xs:element>
628
- <xs:element name="Popis" minOccurs="0">
629
- <xs:annotation>
630
- <xs:documentation>Popis nepeněžního platidla
631
- Import: NE, Export ANO</xs:documentation>
632
- </xs:annotation>
633
- <xs:simpleType>
634
- <xs:restriction base="xs:string">
635
- <xs:maxLength value="50"/>
636
- </xs:restriction>
637
- </xs:simpleType>
638
- </xs:element>
639
- <xs:element name="VarSymb" minOccurs="0">
640
- <xs:annotation>
641
- <xs:documentation>Variabilní symbol, který byl určen vystavitelem platidla (např. u platebních karet se jedná o variabilní symbol, pod kterým jsou evidovány kreditní pohyby z těchto plateb na bankovním účtu).
642
- Import: NE, Export ANO</xs:documentation>
643
- </xs:annotation>
644
- <xs:simpleType>
645
- <xs:restriction base="xs:string">
646
- <xs:maxLength value="20"/>
647
- </xs:restriction>
648
- </xs:simpleType>
649
- </xs:element>
650
- </xs:sequence>
651
- </xs:complexType>
652
- <xs:complexType name="nepPlatbaType">
653
- <xs:sequence>
654
- <xs:element name="Platidlo" type="nepPlatidloType" minOccurs="0">
655
- <xs:annotation>
656
- <xs:documentation>Identifikace nepeněžního platidla. Není-li uvedeno, jedná se o hotovost.
657
- Import: ANO, Export ANO</xs:documentation>
658
- </xs:annotation>
659
- </xs:element>
660
- <xs:element name="MnozstviMJ" minOccurs="0">
661
- <xs:annotation>
662
- <xs:documentation>Počet měrných jednotek nepeněžního platidla na prodejce
663
- Import: ANO (pouze je-li uvedeno Platidlo - nehotovostní platba), Export ANO</xs:documentation>
664
- </xs:annotation>
665
- </xs:element>
666
- <xs:element name="Castka" minOccurs="0">
667
- <xs:annotation>
668
- <xs:documentation>Celková peněžní částka platidla v domácí měně
669
- Import: ANO (pouze při hotovostní platbě), Export ANO</xs:documentation>
670
- </xs:annotation>
671
- </xs:element>
672
- </xs:sequence>
673
- </xs:complexType>
674
- </xs:schema>