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
@@ -11,10 +11,12 @@
11
11
  <xs:annotation>
12
12
  <xs:documentation>Obecně platí:IMPORT: nová ANO, oprava NE, EXPORT: ANO Podrobnosti pro jednotlivé proměbnné jsou uvedeny přímo u komkrétních tagů</xs:documentation>
13
13
  </xs:annotation>
14
- <xs:sequence>
14
+ <xs:all>
15
15
  <xs:element name="Doklad" minOccurs="0">
16
16
  <xs:annotation>
17
- <xs:documentation>Číslo dokladu v Money - u přijatého dokladu interní číslo, u vydaného dokladu interní a zároveň i externí číslo. Klíčová položka. IMPORT: nová ANO, oprava NE, EXPORT: ANO</xs:documentation>
17
+ <xs:documentation>Číslo dokladu
18
+ IMPORT: nová ANO, oprava NE
19
+ EXPORT: ANO</xs:documentation>
18
20
  </xs:annotation>
19
21
  <xs:simpleType>
20
22
  <xs:restriction base="xs:string">
@@ -24,7 +26,7 @@
24
26
  </xs:element>
25
27
  <xs:element name="EvCisDokl" minOccurs="0">
26
28
  <xs:annotation>
27
- <xs:documentation>Evidenční číslo daňového dokladu pro kontrolní hlášení (pouze faktury vydané)
29
+ <xs:documentation>Evidenční číslo daňového dokladu pro Kontrolní hlášení DPH (pouze faktury vydané)
28
30
  IMPORT. ANO
29
31
  EXPORT: ANO</xs:documentation>
30
32
  </xs:annotation>
@@ -39,7 +41,28 @@
39
41
  <xs:documentation>Způsob účtování dokladu:
40
42
  0 = účtování dokladu proběhne podle nastavení v konfiguraci (default)
41
43
  1 = doklad se nezaúčtuje
42
- IMPORT: nová ANO, oprava NE, EXPORT: ANO</xs:documentation>
44
+
45
+ IMPORT: nová ANO, oprava NE
46
+ EXPORT: ANO</xs:documentation>
47
+ </xs:annotation>
48
+ </xs:element>
49
+ <xs:element name="Storno" type="xs:byte" minOccurs="0">
50
+ <xs:annotation>
51
+ <xs:documentation>Informace o stornu dokladu:
52
+ 0 = normální doklad bez vlivu na storno
53
+ 1 = stornovaný doklad
54
+ 2 = stornující protidoklad
55
+ IMPORT: NE
56
+ EXPORT: ANO</xs:documentation>
57
+ </xs:annotation>
58
+ </xs:element>
59
+ <xs:element name="Del" type="xs:boolean" minOccurs="0">
60
+ <xs:annotation>
61
+ <xs:documentation>Informace o smazaném dokladu:
62
+ 0 = normální nesmazaný doklad
63
+ 1 = smazaný doklad
64
+ IMPORT: NE
65
+ EXPORT: ANO</xs:documentation>
43
66
  </xs:annotation>
44
67
  </xs:element>
45
68
  <xs:element name="GUID" minOccurs="0">
@@ -114,6 +137,11 @@
114
137
  <xs:documentation>Datum skl.pohybu IMPORT: ANO, EXPORT: ANO</xs:documentation>
115
138
  </xs:annotation>
116
139
  </xs:element>
140
+ <xs:element name="DobrDUZP" minOccurs="0">
141
+ <xs:annotation>
142
+ <xs:documentation>Datum uskutečnění zdanitelného plnění dobropisovaného dokladu</xs:documentation>
143
+ </xs:annotation>
144
+ </xs:element>
117
145
  <xs:element name="KonstSym" minOccurs="0">
118
146
  <xs:annotation>
119
147
  <xs:documentation> IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
@@ -166,7 +194,8 @@
166
194
  </xs:element>
167
195
  <xs:element name="PrijatDokl" minOccurs="0">
168
196
  <xs:annotation>
169
- <xs:documentation>Číslo Dokladu přijatého- pouze u FP, IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
197
+ <xs:documentation>Číslo přijatého dokladu - pouze faktury přijaté
198
+ IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
170
199
  </xs:annotation>
171
200
  <xs:simpleType>
172
201
  <xs:restriction base="xs:string">
@@ -222,12 +251,12 @@
222
251
  <xs:element name="Druh" minOccurs="0">
223
252
  <xs:annotation>
224
253
  <xs:documentation>Druh faktury:
225
- N - normální(default),
226
- Z = zálohová,
227
- P = proforma,
228
- L = zálohová-objednávková, F = proforma-objednávková
254
+ N - normální (default)
255
+ L = zálohová
256
+ F = proforma
229
257
  D = daňový doklad
230
258
  k přijaté platbě
259
+
231
260
  IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
232
261
  </xs:annotation>
233
262
  <xs:simpleType>
@@ -247,11 +276,6 @@
247
276
  <xs:documentation>Příznak dobropisu (default=False) IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
248
277
  </xs:annotation>
249
278
  </xs:element>
250
- <xs:element name="DobrDUZP" minOccurs="0">
251
- <xs:annotation>
252
- <xs:documentation>Datum uskutečnění zdanitelného plnění dobropisovaného dokladu</xs:documentation>
253
- </xs:annotation>
254
- </xs:element>
255
279
  <xs:element name="ZpDopravy" minOccurs="0">
256
280
  <xs:annotation>
257
281
  <xs:documentation>Způsob dopravy (pouze FV) IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
@@ -293,9 +317,21 @@
293
317
  </xs:restriction>
294
318
  </xs:simpleType>
295
319
  </xs:element>
296
- <xs:element name="ZpVypDPH" minOccurs="0">
320
+ <xs:element name="ZpVypDPH" type="xs:byte" minOccurs="0">
297
321
  <xs:annotation>
298
- <xs:documentation>Způsob výpočtu DPH na státu MOSS (1 = matematicky, 2 = koeficient). IMPORT: ne, EXPORT: pouze pro potřeby periodické fakturace</xs:documentation>
322
+ <xs:documentation>Způsob výpočtu DPH (1 = matematicky, 2 = koeficient). IMPORT: ANO, EXPORT: ANO</xs:documentation>
323
+ </xs:annotation>
324
+ </xs:element>
325
+ <xs:element name="SazbaDPH1" type="procentoType" minOccurs="0">
326
+ <xs:annotation>
327
+ <xs:documentation>Snížená sazba DPH IMPORT: ANO
328
+ EXPORT: ANO</xs:documentation>
329
+ </xs:annotation>
330
+ </xs:element>
331
+ <xs:element name="SazbaDPH2" type="procentoType" minOccurs="0">
332
+ <xs:annotation>
333
+ <xs:documentation>Základní sazba DPH IMPORT: ANO
334
+ EXPORT: ANO</xs:documentation>
299
335
  </xs:annotation>
300
336
  </xs:element>
301
337
  <xs:element name="Proplatit" type="castkaType" minOccurs="0">
@@ -308,31 +344,17 @@
308
344
  <xs:documentation>Příznak vyúčtování (odpočtu) u zálohových faktur IMPORT: NE, EXPORT: ANO</xs:documentation>
309
345
  </xs:annotation>
310
346
  </xs:element>
311
- <xs:element name="SazbaDPH1" type="procentoType" minOccurs="0">
347
+ <xs:element name="SouhrnDPH" type="souhrnDPHType">
312
348
  <xs:annotation>
313
- <xs:documentation>Snížená sazba DPH IMPORT: ANO
349
+ <xs:documentation>Doklady v domácí měně: IMPORT: ANO
314
350
  EXPORT: ANO</xs:documentation>
315
351
  </xs:annotation>
316
352
  </xs:element>
317
- <xs:element name="SazbaDPH2" type="procentoType" minOccurs="0">
353
+ <xs:element name="Celkem" type="castkaType">
318
354
  <xs:annotation>
319
- <xs:documentation>Základní sazba DPH IMPORT: ANO
320
- EXPORT: ANO</xs:documentation>
355
+ <xs:documentation>Celkiem s DPH (POUZE EXPORT)</xs:documentation>
321
356
  </xs:annotation>
322
357
  </xs:element>
323
- <xs:sequence minOccurs="0">
324
- <xs:element name="SouhrnDPH" type="souhrnDPHType">
325
- <xs:annotation>
326
- <xs:documentation>Doklady v domácí měně: IMPORT: ANO
327
- EXPORT: ANO</xs:documentation>
328
- </xs:annotation>
329
- </xs:element>
330
- <xs:element name="Celkem" type="castkaType">
331
- <xs:annotation>
332
- <xs:documentation>Celkiem s DPH (POUZE EXPORT)</xs:documentation>
333
- </xs:annotation>
334
- </xs:element>
335
- </xs:sequence>
336
358
  <xs:element name="Valuty" minOccurs="0">
337
359
  <xs:annotation>
338
360
  <xs:documentation>Doklad v cizí měně
@@ -340,7 +362,7 @@
340
362
  EXPORT: ANO</xs:documentation>
341
363
  </xs:annotation>
342
364
  <xs:complexType>
343
- <xs:sequence>
365
+ <xs:all>
344
366
  <xs:element name="Mena" type="menaType">
345
367
  <xs:annotation>
346
368
  <xs:documentation>Identifikace cizí měny</xs:documentation>
@@ -358,7 +380,7 @@
358
380
  <xs:documentation>Celkem s DPH ve valutách (POUZE EXPORT)</xs:documentation>
359
381
  </xs:annotation>
360
382
  </xs:element>
361
- </xs:sequence>
383
+ </xs:all>
362
384
  </xs:complexType>
363
385
  </xs:element>
364
386
  <xs:element name="Typ" type="zkratkaType" minOccurs="0">
@@ -396,14 +418,27 @@
396
418
  <xs:documentation> IMPORT: ANO, EXPORT: ANO</xs:documentation>
397
419
  </xs:annotation>
398
420
  </xs:element>
421
+ <xs:element name="DateUpom1" type="xs:date" minOccurs="0">
422
+ <xs:annotation>
423
+ <xs:documentation> IMPORT: NE, EXPORT: ANO </xs:documentation>
424
+ </xs:annotation>
425
+ </xs:element>
426
+ <xs:element name="DateUpom2" type="xs:date" minOccurs="0">
427
+ <xs:annotation>
428
+ <xs:documentation>IMPORT: NE, EXPORT: ANO </xs:documentation>
429
+ </xs:annotation>
430
+ </xs:element>
431
+ <xs:element name="DateUpomL" type="xs:date" minOccurs="0">
432
+ <xs:annotation>
433
+ <xs:documentation>IMPORT: NE, EXPORT: ANO </xs:documentation>
434
+ </xs:annotation>
435
+ </xs:element>
399
436
  <xs:element name="TextPredFa" minOccurs="0">
400
437
  <xs:annotation>
401
438
  <xs:documentation>jen FV:Memo položka: Text před položkami pro tisk IMPORT: ANO, EXPORT: ANO </xs:documentation>
402
439
  </xs:annotation>
403
440
  <xs:simpleType>
404
- <xs:restriction base="xs:string">
405
- <xs:maxLength value="255"/>
406
- </xs:restriction>
441
+ <xs:restriction base="xs:string"/>
407
442
  </xs:simpleType>
408
443
  </xs:element>
409
444
  <xs:element name="TextZaFa" minOccurs="0">
@@ -411,9 +446,7 @@
411
446
  <xs:documentation>jen FV:Memo položka: Text za položkami pro tisk IMPORT: ANO, EXPORT: ANO </xs:documentation>
412
447
  </xs:annotation>
413
448
  <xs:simpleType>
414
- <xs:restriction base="xs:string">
415
- <xs:maxLength value="255"/>
416
- </xs:restriction>
449
+ <xs:restriction base="xs:string"/>
417
450
  </xs:simpleType>
418
451
  </xs:element>
419
452
  <xs:element name="TextPredDL" minOccurs="0">
@@ -421,9 +454,7 @@
421
454
  <xs:documentation>jen FV:Memo položka: Text před položkami pro tisk IMPORT: ANO, EXPORT: ANO </xs:documentation>
422
455
  </xs:annotation>
423
456
  <xs:simpleType>
424
- <xs:restriction base="xs:string">
425
- <xs:maxLength value="255"/>
426
- </xs:restriction>
457
+ <xs:restriction base="xs:string"/>
427
458
  </xs:simpleType>
428
459
  </xs:element>
429
460
  <xs:element name="TextZaDL" minOccurs="0">
@@ -431,26 +462,9 @@
431
462
  <xs:documentation>jen FV:Memo položka: Text za položkami pro tisk IMPORT: ANO, EXPORT: ANO </xs:documentation>
432
463
  </xs:annotation>
433
464
  <xs:simpleType>
434
- <xs:restriction base="xs:string">
435
- <xs:maxLength value="255"/>
436
- </xs:restriction>
465
+ <xs:restriction base="xs:string"/>
437
466
  </xs:simpleType>
438
467
  </xs:element>
439
- <xs:element name="DateUpom1" type="xs:date" minOccurs="0">
440
- <xs:annotation>
441
- <xs:documentation> IMPORT: NE, EXPORT: ANO </xs:documentation>
442
- </xs:annotation>
443
- </xs:element>
444
- <xs:element name="DateUpom2" type="xs:date" minOccurs="0">
445
- <xs:annotation>
446
- <xs:documentation>IMPORT: NE, EXPORT: ANO </xs:documentation>
447
- </xs:annotation>
448
- </xs:element>
449
- <xs:element name="DateUpomL" type="xs:date" minOccurs="0">
450
- <xs:annotation>
451
- <xs:documentation>IMPORT: NE, EXPORT: ANO </xs:documentation>
452
- </xs:annotation>
453
- </xs:element>
454
468
  <xs:element name="ValutyProp" type="castkaType" minOccurs="0">
455
469
  <xs:annotation>
456
470
  <xs:documentation>Zbývá proplatit ve valutách IMPORT: NE, EXPORT: ANO </xs:documentation>
@@ -567,14 +581,6 @@
567
581
  <xs:element name="KonecPrij" type="msgFirmaType" minOccurs="0"/>
568
582
  <xs:element name="Polozka" type="msgFaktPolozType" minOccurs="0" maxOccurs="unbounded"/>
569
583
  <xs:element name="Uhrada" type="messageType" minOccurs="0" maxOccurs="unbounded"/>
570
- <xs:element name="Data" minOccurs="0">
571
- <xs:complexType>
572
- <xs:choice>
573
- <xs:element name="FaktVyd" type="fakturaType"/>
574
- <xs:element name="FaktPrij" type="fakturaType"/>
575
- </xs:choice>
576
- </xs:complexType>
577
- </xs:element>
578
584
  </xs:sequence>
579
585
  <xs:attribute name="Exported" type="xs:boolean" use="optional">
580
586
  <xs:annotation>
@@ -591,507 +597,512 @@
591
597
 
592
598
  IMPORT: ANO,
593
599
  EXPORT: ANO
594
- </xs:documentation>
595
- </xs:annotation>
596
- <xs:complexType>
597
- <xs:sequence>
598
- <xs:element name="IN_Export" type="xs:unsignedByte">
599
- <xs:annotation>
600
- <xs:documentation>Typ internetového obchodu:
600
+ </xs:documentation>
601
+ </xs:annotation>
602
+ <xs:complexType>
603
+ <xs:all>
604
+ <xs:element name="IN_Export" type="xs:unsignedByte">
605
+ <xs:annotation>
606
+ <xs:documentation>Typ internetového obchodu:
601
607
 
602
- 0 = bez obchodování na internetu
603
- 6 = E-shop konektor
608
+ 0 = bez obchodování na internetu
609
+ 6 = E-shop konektor
604
610
 
605
- IMPORT:ANO,
606
- EXPORT:ANO </xs:documentation>
607
- </xs:annotation>
608
- </xs:element>
609
- <xs:element name="IN_Changed" type="xs:boolean" minOccurs="0">
610
- <xs:annotation>
611
- <xs:documentation>Příznak změny faktury v Money nebo v internetovém obchodě
611
+ IMPORT:ANO,
612
+ EXPORT:ANO </xs:documentation>
613
+ </xs:annotation>
614
+ </xs:element>
615
+ <xs:element name="IN_Changed" type="xs:boolean" minOccurs="0">
616
+ <xs:annotation>
617
+ <xs:documentation>Příznak změny faktury v Money nebo v internetovém obchodě
612
618
 
613
- IMPORT:NE,
614
- EXPORT:ANO </xs:documentation>
615
- </xs:annotation>
616
- </xs:element>
617
- <xs:element name="IN_FakCis" type="xs:long" minOccurs="0">
618
- <xs:annotation>
619
- <xs:documentation>ID (číslo) faktury v internetovém obchodě
619
+ IMPORT:NE,
620
+ EXPORT:ANO </xs:documentation>
621
+ </xs:annotation>
622
+ </xs:element>
623
+ <xs:element name="IN_FakCis" type="xs:long" minOccurs="0">
624
+ <xs:annotation>
625
+ <xs:documentation>ID (číslo) faktury v internetovém obchodě
620
626
 
621
- IMPORT:ANO,
622
- EXPORT:ANO </xs:documentation>
623
- </xs:annotation>
624
- </xs:element>
625
- <xs:element name="IN_ReqStor" type="xs:boolean" minOccurs="0">
626
- <xs:annotation>
627
- <xs:documentation>Požadaek storna faktury v internetovém obchodě
627
+ IMPORT:ANO,
628
+ EXPORT:ANO </xs:documentation>
629
+ </xs:annotation>
630
+ </xs:element>
631
+ <xs:element name="IN_ReqStor" type="xs:boolean" minOccurs="0">
632
+ <xs:annotation>
633
+ <xs:documentation>Požadaek storna faktury v internetovém obchodě
628
634
 
629
- IMPORT:ANO,
630
- EXPORT:NE</xs:documentation>
631
- </xs:annotation>
632
- </xs:element>
633
- <xs:element name="IN_YesStor" type="xs:boolean" minOccurs="0">
634
- <xs:annotation>
635
- <xs:documentation>Potvrzení storna faktury z Money
635
+ IMPORT:ANO,
636
+ EXPORT:NE</xs:documentation>
637
+ </xs:annotation>
638
+ </xs:element>
639
+ <xs:element name="IN_YesStor" type="xs:boolean" minOccurs="0">
640
+ <xs:annotation>
641
+ <xs:documentation>Potvrzení storna faktury z Money
636
642
 
637
- IMPORT:NE,
638
- EXPORT:ANO</xs:documentation>
639
- </xs:annotation>
640
- </xs:element>
641
- <xs:element name="IN_ShopID" type="xs:string" minOccurs="0">
642
- <xs:annotation>
643
- <xs:documentation>Číslo XML obchodu v notaci "nn" (char*2). Základní prodejna (00) se ukládá jako " " (mezery).
643
+ IMPORT:NE,
644
+ EXPORT:ANO</xs:documentation>
645
+ </xs:annotation>
646
+ </xs:element>
647
+ <xs:element name="IN_ShopID" type="xs:string" minOccurs="0">
648
+ <xs:annotation>
649
+ <xs:documentation>Číslo XML obchodu v notaci "nn" (char*2). Základní prodejna (00) se ukládá jako " " (mezery).
644
650
 
645
- EXPORT:ANO, IMPORT:NE (plní program dle importu)</xs:documentation>
646
- </xs:annotation>
647
- </xs:element>
648
- <xs:element name="IN_Poznamk" minOccurs="0">
649
- <xs:annotation>
650
- <xs:documentation>Poznámka k faktuře v internetovém obchodě
651
+ EXPORT:ANO, IMPORT:NE (plní program dle importu)</xs:documentation>
652
+ </xs:annotation>
653
+ </xs:element>
654
+ <xs:element name="IN_Poznamk" minOccurs="0">
655
+ <xs:annotation>
656
+ <xs:documentation>Poznámka k faktuře v internetovém obchodě
651
657
 
652
- IMPORT:ANO,
653
- EXPORT:ANO</xs:documentation>
654
- </xs:annotation>
655
- <xs:simpleType>
656
- <xs:restriction base="xs:string">
657
- <xs:maxLength value="100"/>
658
- </xs:restriction>
659
- </xs:simpleType>
660
- </xs:element>
661
- </xs:sequence>
662
- </xs:complexType>
663
- </xs:element>
664
- <xs:element name="Pojisteno" type="castkaType" minOccurs="0">
665
- <xs:annotation>
666
- <xs:documentation>Expedice - pojistné (pouze faktury vydané a pouze SK verze)</xs:documentation>
667
- </xs:annotation>
668
- </xs:element>
669
- <xs:element name="Prepravce" type="prepravceType" minOccurs="0">
670
- <xs:annotation>
671
- <xs:documentation>Expedice - přepravce (pouze faktury vydané)</xs:documentation>
672
- </xs:annotation>
673
- </xs:element>
674
- <xs:element name="TypZasillky" type="typZasilkyType" minOccurs="0">
675
- <xs:annotation>
676
- <xs:documentation>Expedice - typ zásilky (pouze faktury vydané)</xs:documentation>
677
- </xs:annotation>
678
- </xs:element>
679
- <xs:element name="Prepr_Vyplatne" type="preprDoplnUdajType" minOccurs="0">
680
- <xs:annotation>
681
- <xs:documentation>Expedice - doplňkový údaj - výplatné (pouze faktury vydané a pouze SK verze)</xs:documentation>
682
- </xs:annotation>
683
- </xs:element>
684
- <xs:element name="Prepr_UhradaDobirky" type="preprDoplnUdajType" minOccurs="0">
685
- <xs:annotation>
686
- <xs:documentation>Expedice - doplňkový údaj - úhrada dobírky (pouze faktury vydané a pouze SK verze)</xs:documentation>
687
- </xs:annotation>
688
- </xs:element>
689
- <xs:element name="Prepr_Trida" type="preprDoplnUdajType" minOccurs="0">
690
- <xs:annotation>
691
- <xs:documentation>Expedice - doplňkový údaj - třída (pouze faktury vydané a pouze SK verze)</xs:documentation>
692
- </xs:annotation>
693
- </xs:element>
694
- <xs:element name="Prepr_SeznamSluzeb" minOccurs="0">
695
- <xs:annotation>
696
- <xs:documentation>Expedice - doplňkový údaj - seznam služeb (pouze faktury vydané a pouze SK verze)</xs:documentation>
697
- </xs:annotation>
698
- <xs:complexType>
699
- <xs:sequence>
700
- <xs:element name="Prepr_Sluzba" type="preprDoplnUdajType" maxOccurs="unbounded">
701
- <xs:annotation>
702
- <xs:documentation>Doplňkový údaj - služba</xs:documentation>
703
- </xs:annotation>
704
- </xs:element>
705
- </xs:sequence>
706
- </xs:complexType>
707
- </xs:element>
708
- <xs:element name="SeznamPolozek" minOccurs="0">
709
- <xs:annotation>
710
- <xs:documentation>Seznam položek normálních faktur</xs:documentation>
711
- </xs:annotation>
712
- <xs:complexType>
713
- <xs:sequence>
714
- <xs:element name="Polozka" type="polFakturyType" minOccurs="0" maxOccurs="unbounded"/>
715
- </xs:sequence>
716
- </xs:complexType>
717
- </xs:element>
718
- <xs:element name="SeznamZalPolozek" minOccurs="0">
719
- <xs:annotation>
720
- <xs:documentation>Seznam položek zálohových (objednávkových) faktur</xs:documentation>
721
- </xs:annotation>
722
- <xs:complexType>
723
- <xs:sequence>
724
- <xs:element name="Polozka" type="polObjednType" minOccurs="0" maxOccurs="unbounded"/>
725
- </xs:sequence>
726
- </xs:complexType>
727
- </xs:element>
728
- <xs:element name="SeznamUhrad" minOccurs="0">
729
- <xs:annotation>
730
- <xs:documentation>Seznam úhrad</xs:documentation>
731
- </xs:annotation>
732
- <xs:complexType>
733
- <xs:sequence>
734
- <xs:element name="Uhrada" type="uhradaType" minOccurs="0" maxOccurs="unbounded"/>
735
- </xs:sequence>
736
- </xs:complexType>
737
- </xs:element>
738
- <xs:element name="MojeFirma" type="mojeFirmaType" minOccurs="0">
739
- <xs:annotation>
740
- <xs:documentation>IMPORT: NE, EXPORT: ANO (pouze u FV se importují údaje Banka, Ucet, KodBanky)</xs:documentation>
741
- </xs:annotation>
742
- </xs:element>
743
- <xs:element name="SeznamNepPlateb" minOccurs="0">
744
- <xs:annotation>
745
- <xs:documentation>Seznam nepeněžních plateb na fakturách vydaných (pouze CZ verze)
746
- Import: ANO, Export ANO</xs:documentation>
747
- </xs:annotation>
748
- <xs:complexType>
749
- <xs:sequence>
750
- <xs:element name="NepPlatba" type="nepPlatbaType" minOccurs="0" maxOccurs="unbounded"/>
751
- </xs:sequence>
752
- </xs:complexType>
753
- </xs:element>
754
- <xs:element name="Vlajky" minOccurs="0">
755
- <xs:complexType>
756
- <xs:sequence>
757
- <xs:element name="Global" type="VlajkaType" minOccurs="0"/>
758
- <xs:element name="User" type="VlajkaType" minOccurs="0"/>
759
- </xs:sequence>
760
- </xs:complexType>
761
- </xs:element>
762
- <xs:element name="SeznamVazeb" minOccurs="0">
763
- <xs:annotation>
764
- <xs:documentation>Sezenam vazebních dokladů</xs:documentation>
765
- </xs:annotation>
766
- <xs:complexType>
767
- <xs:sequence>
768
- <xs:element name="Vazba" type="vazbaType" maxOccurs="unbounded">
769
- <xs:annotation>
770
- <xs:documentation>Vazba</xs:documentation>
771
- </xs:annotation>
772
- </xs:element>
773
- </xs:sequence>
774
- </xs:complexType>
775
- </xs:element>
776
- <xs:element name="Dokumenty" minOccurs="0">
777
- <xs:annotation>
778
- <xs:documentation>Seznam připojených dokumentů
779
- IMPORT: ANO
780
- EXPORT: NE</xs:documentation>
781
- </xs:annotation>
782
- <xs:complexType>
783
- <xs:sequence>
784
- <xs:element name="Dokument" type="xs:string" maxOccurs="unbounded">
785
- <xs:annotation>
786
- <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>
787
- </xs:annotation>
788
- </xs:element>
789
- </xs:sequence>
790
- </xs:complexType>
791
- </xs:element>
792
- </xs:sequence>
793
- </xs:complexType>
794
- <xs:complexType name="polFakturyType">
795
- <xs:sequence>
796
- <xs:element name="Popis" type="popisType" minOccurs="0">
797
- <xs:annotation>
798
- <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
799
- </xs:annotation>
800
- </xs:element>
801
- <xs:element name="Poznamka" minOccurs="0">
802
- <xs:annotation>
803
- <xs:documentation>Memo položka: IMPORT: ANO, EXPORT: ANO </xs:documentation>
804
- </xs:annotation>
805
- </xs:element>
806
- <xs:element name="PocetMJ" type="mnozstviType" minOccurs="0">
807
- <xs:annotation>
808
- <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
809
- </xs:annotation>
810
- </xs:element>
811
- <xs:element name="SazbaDPH" type="procentoType" minOccurs="0">
812
- <xs:annotation>
813
- <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
814
- </xs:annotation>
815
- </xs:element>
816
- <xs:element name="Cena" type="castkaType" minOccurs="0">
817
- <xs:annotation>
818
- <xs:documentation>Cena za Mj. Typ ceny určuje proměnná CenaTyp: doklad v domácí měně: IMPORT: ANO, EXPORT: ANO doklad v cizí měně: IMPORT: NE (kalkuluje se z Valuty), EXPORT: ANO </xs:documentation>
819
- </xs:annotation>
820
- </xs:element>
821
- <xs:element name="SouhrnDPH" type="souhrnDPHPolType" minOccurs="0">
822
- <xs:annotation>
823
- <xs:documentation>Rozpis částek DPH (POUZE ISDOC EXPORT)</xs:documentation>
824
- </xs:annotation>
825
- </xs:element>
826
- <xs:element name="CenaTyp" minOccurs="0">
827
- <xs:annotation>
828
- <xs:documentation>0=bez DPH, 1=s DPH, 2=jen DPH, 3=jen základ, skladové položky pouze hodnoty 0,1 IMPORT: ANO, EXPORT: ANO </xs:documentation>
829
- </xs:annotation>
830
- <xs:simpleType>
831
- <xs:restriction base="xs:decimal">
832
- <xs:totalDigits value="3"/>
833
- <xs:fractionDigits value="0"/>
834
- <xs:enumeration value="0"/>
835
- <xs:enumeration value="1"/>
836
- <xs:enumeration value="2"/>
837
- <xs:enumeration value="3"/>
838
- </xs:restriction>
839
- </xs:simpleType>
840
- </xs:element>
841
- <xs:element name="Sleva" type="castkaType" minOccurs="0">
842
- <xs:annotation>
843
- <xs:documentation>Sleva na položku</xs:documentation>
844
- </xs:annotation>
845
- </xs:element>
846
- <xs:element name="Cinnost" minOccurs="0">
847
- <xs:annotation>
848
- <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
849
- </xs:annotation>
850
- <xs:simpleType>
851
- <xs:restriction base="xs:string">
852
- <xs:maxLength value="10"/>
853
- </xs:restriction>
854
- </xs:simpleType>
855
- </xs:element>
856
- <xs:element name="Poradi" type="cisloType" minOccurs="0">
857
- <xs:annotation>
858
- <xs:documentation>Pořadí položek při tisku IMPORT: ANO, EXPORT: ANO </xs:documentation>
859
- </xs:annotation>
860
- </xs:element>
861
- <xs:element name="KodDPH" minOccurs="0">
862
- <xs:annotation>
863
- <xs:documentation>Členění DPH IMPORT: ANO, EXPORT: ANO </xs:documentation>
864
- </xs:annotation>
865
- <xs:simpleType>
866
- <xs:restriction base="xs:string">
867
- <xs:maxLength value="10"/>
868
- </xs:restriction>
869
- </xs:simpleType>
870
- </xs:element>
871
- <xs:element name="Stredisko" minOccurs="0">
872
- <xs:annotation>
873
- <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
874
- </xs:annotation>
875
- <xs:simpleType>
876
- <xs:restriction base="xs:string">
877
- <xs:maxLength value="10"/>
878
- </xs:restriction>
879
- </xs:simpleType>
880
- </xs:element>
881
- <xs:element name="Zakazka" minOccurs="0">
882
- <xs:annotation>
883
- <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
884
- </xs:annotation>
885
- <xs:simpleType>
886
- <xs:restriction base="xs:string">
887
- <xs:maxLength value="10"/>
888
- </xs:restriction>
889
- </xs:simpleType>
890
- </xs:element>
891
- <xs:element name="Predkontac" minOccurs="0">
892
- <xs:annotation>
893
- <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
894
- </xs:annotation>
895
- <xs:simpleType>
896
- <xs:restriction base="xs:string">
897
- <xs:maxLength value="10"/>
898
- </xs:restriction>
899
- </xs:simpleType>
900
- </xs:element>
901
- <xs:element name="Valuty" type="castkaType" minOccurs="0">
902
- <xs:annotation>
903
- <xs:documentation>Cena ve valutách u dokladů v cizí měně IMPORT: ANO, EXPORT: ANO </xs:documentation>
904
- </xs:annotation>
905
- </xs:element>
906
- <xs:element name="NesklPolozka" minOccurs="0">
907
- <xs:complexType>
908
- <xs:sequence>
909
- <xs:element name="Zkrat" minOccurs="0">
910
- <xs:annotation>
911
- <xs:documentation>Zkratka: IMPORT: ANO, Export: ANO</xs:documentation>
912
- </xs:annotation>
913
- <xs:simpleType>
914
- <xs:restriction base="xs:string">
915
- <xs:maxLength value="20"/>
916
- </xs:restriction>
917
- </xs:simpleType>
918
- </xs:element>
919
- <xs:element name="MJ" minOccurs="0">
920
- <xs:annotation>
921
- <xs:documentation>Měrná jednotka IMPORT: ANO, EXPORT: ANO </xs:documentation>
922
- </xs:annotation>
923
- <xs:simpleType>
924
- <xs:restriction base="xs:string">
925
- <xs:maxLength value="10"/>
926
- </xs:restriction>
927
- </xs:simpleType>
928
- </xs:element>
929
- <xs:element name="UzivCode" minOccurs="0">
930
- <xs:annotation>
931
- <xs:documentation>Užívatelský kód (PLU) Import: ANO, Export: ANO</xs:documentation>
932
- </xs:annotation>
933
- <xs:simpleType>
934
- <xs:restriction base="xs:string">
935
- <xs:maxLength value="6"/>
936
- </xs:restriction>
937
- </xs:simpleType>
938
- </xs:element>
939
- <xs:element name="Katalog" minOccurs="0">
940
- <xs:annotation>
941
- <xs:documentation>Číslo katalogu IMPORT: ANO, EXPORT: ANO </xs:documentation>
942
- </xs:annotation>
943
- <xs:simpleType>
944
- <xs:restriction base="xs:string">
945
- <xs:maxLength value="20"/>
946
- </xs:restriction>
947
- </xs:simpleType>
948
- </xs:element>
949
- <xs:element name="BarCode" minOccurs="0">
950
- <xs:annotation>
951
- <xs:documentation>Čarový kód Import: ANO, Export: ANO</xs:documentation>
952
- </xs:annotation>
953
- <xs:simpleType>
954
- <xs:restriction base="xs:string">
955
- <xs:maxLength value="20"/>
956
- </xs:restriction>
957
- </xs:simpleType>
958
- </xs:element>
959
- <xs:element name="Zaloha" type="xs:boolean" minOccurs="0">
960
- <xs:annotation>
961
- <xs:documentation>Příznak odpočtu zálohy. Default:false, true=položka je typu odpočet zálohy IMPORT: ANO, EXPORT: ANO </xs:documentation>
962
- </xs:annotation>
963
- </xs:element>
964
- <xs:element name="ZdanZaloha" type="xs:boolean" minOccurs="0">
965
- <xs:annotation>
966
- <xs:documentation>Příznak, zda se v případě odpočtu zálohy jedná o zdaněnou zálohu.
967
- IMPORT: ANO, EXPORT: ANO </xs:documentation>
968
- </xs:annotation>
969
- </xs:element>
970
- <xs:element name="KonecOdpocet" type="xs:boolean" minOccurs="0">
971
- <xs:annotation>
972
- <xs:documentation>Příznak, zda se jedná o konečný odpočet zálohy.
973
- IMPORT: ANO, EXPORT: ANO </xs:documentation>
974
- </xs:annotation>
975
- </xs:element>
976
- <xs:element name="TypZarDoby" minOccurs="0">
977
- <xs:annotation>
978
- <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>
979
- </xs:annotation>
980
- <xs:simpleType>
981
- <xs:restriction base="xs:string">
982
- <xs:maxLength value="1"/>
983
- </xs:restriction>
984
- </xs:simpleType>
985
- </xs:element>
986
- <xs:element name="ZarDoba" minOccurs="0">
987
- <xs:annotation>
988
- <xs:documentation>IMPORT: ANO (ignoruje se když TypZarDoby=N,S) EXPORT: ANO </xs:documentation>
989
- </xs:annotation>
990
- <xs:simpleType>
991
- <xs:restriction base="xs:decimal">
992
- <xs:totalDigits value="5"/>
993
- <xs:fractionDigits value="0"/>
994
- </xs:restriction>
995
- </xs:simpleType>
996
- </xs:element>
997
- <xs:element name="Protizapis">
998
- <xs:annotation>
999
- <xs:documentation>Příznak pro zaúčtování odpočtu zálohy.TRUE=účtuje se kladnou částkou, FALSE=zápornou částkou.IMPORT:ANO,EXPORT:ANO </xs:documentation>
1000
- </xs:annotation>
1001
- </xs:element>
1002
- <xs:element name="PlnenoDPH" type="xs:date" minOccurs="0">
1003
- <xs:annotation>
1004
- <xs:documentation>Datum zdanitelného plnění DPH odpočtové položky (pouze CZ verze).</xs:documentation>
1005
- </xs:annotation>
1006
- </xs:element>
1007
- <xs:element name="Hmotnost" minOccurs="0">
1008
- <xs:annotation>
1009
- <xs:documentation>Hmotnost Export:ANO, Import:ANO.</xs:documentation>
1010
- </xs:annotation>
1011
- <xs:simpleType>
1012
- <xs:restriction base="xs:float">
1013
- <xs:whiteSpace value="replace"/>
1014
- </xs:restriction>
1015
- </xs:simpleType>
1016
- </xs:element>
1017
- <xs:element name="VyrobniCis" minOccurs="0">
1018
- <xs:annotation>
1019
- <xs:documentation>Výrobní číslo, Import:ANO, Export: ANO</xs:documentation>
1020
- </xs:annotation>
1021
- <xs:simpleType>
1022
- <xs:restriction base="xs:string">
1023
- <xs:maxLength value="50"/>
1024
- </xs:restriction>
1025
- </xs:simpleType>
1026
- </xs:element>
1027
- <xs:element name="DatExp" type="xs:date" minOccurs="0">
1028
- <xs:annotation>
1029
- <xs:documentation>Datum exspirace Import: ANO, Export:ANO</xs:documentation>
1030
- </xs:annotation>
1031
- </xs:element>
1032
- <xs:element name="DatNakupu" type="xs:date" minOccurs="0">
1033
- <xs:annotation>
1034
- <xs:documentation>Datum nákupu: Import: ANO, Export:ANO</xs:documentation>
1035
- </xs:annotation>
1036
- </xs:element>
1037
- <xs:element name="Dodavatel" type="firmaType" minOccurs="0">
1038
- <xs:annotation>
1039
- <xs:documentation>Dodavatel (pouze prodejní objednávky), Export:ANO, Import:ANO</xs:documentation>
1040
- </xs:annotation>
1041
- </xs:element>
1042
- <xs:element name="PredmPln" type="xs:string" minOccurs="0">
1043
- <xs:annotation>
1044
- <xs:documentation>Předmět plnění pro režim přenesení daňové povinnosti Import: ANO, Export: ANO</xs:documentation>
1045
- </xs:annotation>
1046
- </xs:element>
1047
- </xs:sequence>
1048
- </xs:complexType>
1049
- </xs:element>
1050
- <xs:element name="CenaPoSleve" type="xs:boolean" minOccurs="0">
1051
- <xs:annotation>
1052
- <xs:documentation>Indikace, zda je cena po slevě</xs:documentation>
1053
- </xs:annotation>
1054
- </xs:element>
1055
- <xs:element name="ZvlRezim" type="xs:byte" minOccurs="0">
1056
- <xs:annotation>
1057
- <xs:documentation>Zvláštní režim DPH:
1058
- 0 = neurčeno
1059
- 1 = použité zboží
1060
- 2 = umělecké dílo
1061
- 3 = sběratelský předmět, starožitnost
1062
- 4 = cestovní služba IMPORT: ANO, EXPORT: ANO</xs:documentation>
1063
- </xs:annotation>
1064
- </xs:element>
1065
- <xs:element name="ZvlDPH" type="procentoType" minOccurs="0">
1066
- <xs:annotation>
1067
- <xs:documentation>Sazba DPH pro zvláštní režim
1068
- IMPORT: ANO, EXPORT: ANO</xs:documentation>
1069
- </xs:annotation>
1070
- </xs:element>
1071
- <xs:element name="RezimEET" type="xs:byte" minOccurs="0">
1072
- <xs:annotation>
1073
- <xs:documentation>Režim EET:
1074
- 0 = neurčeno
1075
- 1 = poukaz
1076
- 2 = vratná záloha
1077
- IMPORT: ANO, EXPORT: ANO</xs:documentation>
1078
- </xs:annotation>
1079
- </xs:element>
1080
- <xs:element name="SklPolozka" type="polSklDoklType" minOccurs="0"/>
1081
- <xs:element name="SeznamVazeb" minOccurs="0">
1082
- <xs:annotation>
1083
- <xs:documentation>Sezenam vazebních dokladů (pouze u odpočtových položek)</xs:documentation>
1084
- </xs:annotation>
1085
- <xs:complexType>
1086
- <xs:sequence>
1087
- <xs:element name="Vazba" type="vazbaType">
1088
- <xs:annotation>
1089
- <xs:documentation>Vazba</xs:documentation>
1090
- </xs:annotation>
1091
- </xs:element>
1092
- </xs:sequence>
1093
- </xs:complexType>
1094
- </xs:element>
1095
- </xs:sequence>
1096
- </xs:complexType>
658
+ IMPORT:ANO,
659
+ EXPORT:ANO</xs:documentation>
660
+ </xs:annotation>
661
+ <xs:simpleType>
662
+ <xs:restriction base="xs:string">
663
+ <xs:maxLength value="100"/>
664
+ </xs:restriction>
665
+ </xs:simpleType>
666
+ </xs:element>
667
+ </xs:all>
668
+ </xs:complexType>
669
+ </xs:element>
670
+ <xs:element name="Pojisteno" type="castkaType" minOccurs="0">
671
+ <xs:annotation>
672
+ <xs:documentation>Expedice - pojistné (pouze faktury vydané a pouze SK verze)</xs:documentation>
673
+ </xs:annotation>
674
+ </xs:element>
675
+ <xs:element name="Prepravce" type="prepravceType" minOccurs="0">
676
+ <xs:annotation>
677
+ <xs:documentation>Expedice - přepravce (pouze faktury vydané)</xs:documentation>
678
+ </xs:annotation>
679
+ </xs:element>
680
+ <xs:element name="TypZasillky" type="typZasilkyType" minOccurs="0">
681
+ <xs:annotation>
682
+ <xs:documentation>Expedice - typ zásilky (pouze faktury vydané)</xs:documentation>
683
+ </xs:annotation>
684
+ </xs:element>
685
+ <xs:element name="Prepr_Vyplatne" type="preprDoplnUdajType" minOccurs="0">
686
+ <xs:annotation>
687
+ <xs:documentation>Expedice - doplňkový údaj - výplatné (pouze faktury vydané a pouze SK verze)</xs:documentation>
688
+ </xs:annotation>
689
+ </xs:element>
690
+ <xs:element name="Prepr_UhradaDobirky" type="preprDoplnUdajType" minOccurs="0">
691
+ <xs:annotation>
692
+ <xs:documentation>Expedice - doplňkový údaj - úhrada dobírky (pouze faktury vydané a pouze SK verze)</xs:documentation>
693
+ </xs:annotation>
694
+ </xs:element>
695
+ <xs:element name="Prepr_Trida" type="preprDoplnUdajType" minOccurs="0">
696
+ <xs:annotation>
697
+ <xs:documentation>Expedice - doplňkový údaj - třída (pouze faktury vydané a pouze SK verze)</xs:documentation>
698
+ </xs:annotation>
699
+ </xs:element>
700
+ <xs:element name="Prepr_SeznamSluzeb" minOccurs="0">
701
+ <xs:annotation>
702
+ <xs:documentation>Expedice - doplňkový údaj - seznam služeb (pouze faktury vydané a pouze SK verze)</xs:documentation>
703
+ </xs:annotation>
704
+ <xs:complexType>
705
+ <xs:sequence>
706
+ <xs:element name="Prepr_Sluzba" type="preprDoplnUdajType" maxOccurs="unbounded">
707
+ <xs:annotation>
708
+ <xs:documentation>Doplňkový údaj - služba</xs:documentation>
709
+ </xs:annotation>
710
+ </xs:element>
711
+ </xs:sequence>
712
+ </xs:complexType>
713
+ </xs:element>
714
+ <xs:element name="SeznamPolozek" minOccurs="0">
715
+ <xs:annotation>
716
+ <xs:documentation>Seznam položek normálních faktur</xs:documentation>
717
+ </xs:annotation>
718
+ <xs:complexType>
719
+ <xs:sequence>
720
+ <xs:element name="Polozka" type="polFakturyType" minOccurs="0" maxOccurs="unbounded"/>
721
+ </xs:sequence>
722
+ </xs:complexType>
723
+ </xs:element>
724
+ <xs:element name="SeznamZalPolozek" minOccurs="0">
725
+ <xs:annotation>
726
+ <xs:documentation>Seznam položek zálohových (objednávkových) faktur</xs:documentation>
727
+ </xs:annotation>
728
+ <xs:complexType>
729
+ <xs:sequence>
730
+ <xs:element name="Polozka" type="polObjednType" minOccurs="0" maxOccurs="unbounded"/>
731
+ </xs:sequence>
732
+ </xs:complexType>
733
+ </xs:element>
734
+ <xs:element name="SeznamUhrad" minOccurs="0">
735
+ <xs:annotation>
736
+ <xs:documentation>Seznam úhrad</xs:documentation>
737
+ </xs:annotation>
738
+ <xs:complexType>
739
+ <xs:sequence>
740
+ <xs:element name="Uhrada" type="uhradaType" minOccurs="0" maxOccurs="unbounded"/>
741
+ </xs:sequence>
742
+ </xs:complexType>
743
+ </xs:element>
744
+ <xs:element name="MojeFirma" type="mojeFirmaType" minOccurs="0">
745
+ <xs:annotation>
746
+ <xs:documentation>IMPORT: NE, EXPORT: ANO (pouze u FV se importují údaje Banka, Ucet, KodBanky)</xs:documentation>
747
+ </xs:annotation>
748
+ </xs:element>
749
+ <xs:element name="SeznamNepPlateb" minOccurs="0">
750
+ <xs:annotation>
751
+ <xs:documentation>Seznam nepeněžních plateb na fakturách vydaných (pouze CZ verze)
752
+ Import: ANO, Export ANO</xs:documentation>
753
+ </xs:annotation>
754
+ <xs:complexType>
755
+ <xs:sequence>
756
+ <xs:element name="NepPlatba" type="nepPlatbaType" minOccurs="0" maxOccurs="unbounded"/>
757
+ </xs:sequence>
758
+ </xs:complexType>
759
+ </xs:element>
760
+ <xs:element name="Vlajky" minOccurs="0">
761
+ <xs:complexType>
762
+ <xs:sequence>
763
+ <xs:element name="Global" type="VlajkaType" minOccurs="0"/>
764
+ <xs:element name="User" type="VlajkaType" minOccurs="0"/>
765
+ </xs:sequence>
766
+ </xs:complexType>
767
+ </xs:element>
768
+ <xs:element name="SeznamVazeb" minOccurs="0">
769
+ <xs:annotation>
770
+ <xs:documentation>Sezenam vazebních dokladů</xs:documentation>
771
+ </xs:annotation>
772
+ <xs:complexType>
773
+ <xs:sequence>
774
+ <xs:element name="Vazba" type="vazbaType" maxOccurs="unbounded">
775
+ <xs:annotation>
776
+ <xs:documentation>Vazba</xs:documentation>
777
+ </xs:annotation>
778
+ </xs:element>
779
+ </xs:sequence>
780
+ </xs:complexType>
781
+ </xs:element>
782
+ <xs:element name="Dokumenty" minOccurs="0">
783
+ <xs:annotation>
784
+ <xs:documentation>Seznam připojených dokumentů
785
+ IMPORT: ANO
786
+ EXPORT: NE</xs:documentation>
787
+ </xs:annotation>
788
+ <xs:complexType>
789
+ <xs:sequence>
790
+ <xs:element name="Dokument" type="xs:string" maxOccurs="unbounded">
791
+ <xs:annotation>
792
+ <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>
793
+ </xs:annotation>
794
+ </xs:element>
795
+ </xs:sequence>
796
+ </xs:complexType>
797
+ </xs:element>
798
+ <xs:element name="UzivatelskaPole" type="uzivatelskePoleType" minOccurs="0">
799
+ <xs:annotation>
800
+ <xs:documentation>Seznam uživatelských polí
801
+ IMPORT: ANO
802
+ EXPORT: ANO</xs:documentation>
803
+ </xs:annotation>
804
+ </xs:element>
805
+ </xs:all>
806
+ </xs:complexType>
807
+ <xs:complexType name="polFakturyType">
808
+ <xs:all>
809
+ <xs:element name="Popis" type="popisType" minOccurs="0">
810
+ <xs:annotation>
811
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
812
+ </xs:annotation>
813
+ </xs:element>
814
+ <xs:element name="Poznamka" minOccurs="0">
815
+ <xs:annotation>
816
+ <xs:documentation>Memo položka: IMPORT: ANO, EXPORT: ANO </xs:documentation>
817
+ </xs:annotation>
818
+ </xs:element>
819
+ <xs:element name="PocetMJ" type="mnozstviType" minOccurs="0">
820
+ <xs:annotation>
821
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
822
+ </xs:annotation>
823
+ </xs:element>
824
+ <xs:element name="SazbaDPH" type="procentoType" minOccurs="0">
825
+ <xs:annotation>
826
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
827
+ </xs:annotation>
828
+ </xs:element>
829
+ <xs:element name="Cena" type="castkaType" minOccurs="0">
830
+ <xs:annotation>
831
+ <xs:documentation>Cena za Mj. Typ ceny určuje proměnná CenaTyp: doklad v domácí měně: IMPORT: ANO, EXPORT: ANO doklad v cizí měně: IMPORT: NE (kalkuluje se z Valuty), EXPORT: ANO </xs:documentation>
832
+ </xs:annotation>
833
+ </xs:element>
834
+ <xs:element name="SouhrnDPH" type="souhrnDPHPolType" minOccurs="0">
835
+ <xs:annotation>
836
+ <xs:documentation>Rozpis částek DPH (POUZE ISDOC EXPORT)</xs:documentation>
837
+ </xs:annotation>
838
+ </xs:element>
839
+ <xs:element name="CenaTyp" minOccurs="0">
840
+ <xs:annotation>
841
+ <xs:documentation>0=bez DPH, 1=s DPH, 2=jen DPH, 3=jen základ, skladové položky pouze hodnoty 0,1 IMPORT: ANO, EXPORT: ANO </xs:documentation>
842
+ </xs:annotation>
843
+ <xs:simpleType>
844
+ <xs:restriction base="xs:decimal">
845
+ <xs:totalDigits value="3"/>
846
+ <xs:fractionDigits value="0"/>
847
+ <xs:enumeration value="0"/>
848
+ <xs:enumeration value="1"/>
849
+ <xs:enumeration value="2"/>
850
+ <xs:enumeration value="3"/>
851
+ </xs:restriction>
852
+ </xs:simpleType>
853
+ </xs:element>
854
+ <xs:element name="Sleva" type="castkaType" minOccurs="0">
855
+ <xs:annotation>
856
+ <xs:documentation>Sleva na položku</xs:documentation>
857
+ </xs:annotation>
858
+ </xs:element>
859
+ <xs:element name="Cinnost" minOccurs="0">
860
+ <xs:annotation>
861
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
862
+ </xs:annotation>
863
+ <xs:simpleType>
864
+ <xs:restriction base="xs:string">
865
+ <xs:maxLength value="10"/>
866
+ </xs:restriction>
867
+ </xs:simpleType>
868
+ </xs:element>
869
+ <xs:element name="Poradi" type="cisloType" minOccurs="0">
870
+ <xs:annotation>
871
+ <xs:documentation>Pořadí položek při tisku IMPORT: ANO, EXPORT: ANO </xs:documentation>
872
+ </xs:annotation>
873
+ </xs:element>
874
+ <xs:element name="KodDPH" minOccurs="0">
875
+ <xs:annotation>
876
+ <xs:documentation>Členění DPH IMPORT: ANO, EXPORT: ANO </xs:documentation>
877
+ </xs:annotation>
878
+ <xs:simpleType>
879
+ <xs:restriction base="xs:string">
880
+ <xs:maxLength value="10"/>
881
+ </xs:restriction>
882
+ </xs:simpleType>
883
+ </xs:element>
884
+ <xs:element name="Stredisko" minOccurs="0">
885
+ <xs:annotation>
886
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
887
+ </xs:annotation>
888
+ <xs:simpleType>
889
+ <xs:restriction base="xs:string">
890
+ <xs:maxLength value="10"/>
891
+ </xs:restriction>
892
+ </xs:simpleType>
893
+ </xs:element>
894
+ <xs:element name="Zakazka" minOccurs="0">
895
+ <xs:annotation>
896
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
897
+ </xs:annotation>
898
+ <xs:simpleType>
899
+ <xs:restriction base="xs:string">
900
+ <xs:maxLength value="10"/>
901
+ </xs:restriction>
902
+ </xs:simpleType>
903
+ </xs:element>
904
+ <xs:element name="Predkontac" minOccurs="0">
905
+ <xs:annotation>
906
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
907
+ </xs:annotation>
908
+ <xs:simpleType>
909
+ <xs:restriction base="xs:string">
910
+ <xs:maxLength value="10"/>
911
+ </xs:restriction>
912
+ </xs:simpleType>
913
+ </xs:element>
914
+ <xs:element name="Valuty" type="castkaType" minOccurs="0">
915
+ <xs:annotation>
916
+ <xs:documentation>Cena ve valutách u dokladů v cizí měně IMPORT: ANO, EXPORT: ANO </xs:documentation>
917
+ </xs:annotation>
918
+ </xs:element>
919
+ <xs:element name="NesklPolozka" minOccurs="0">
920
+ <xs:complexType>
921
+ <xs:all>
922
+ <xs:element name="MJ" minOccurs="0">
923
+ <xs:annotation>
924
+ <xs:documentation>Měrná jednotka IMPORT: ANO, EXPORT: ANO </xs:documentation>
925
+ </xs:annotation>
926
+ <xs:simpleType>
927
+ <xs:restriction base="xs:string">
928
+ <xs:maxLength value="10"/>
929
+ </xs:restriction>
930
+ </xs:simpleType>
931
+ </xs:element>
932
+ <xs:element name="Katalog" minOccurs="0">
933
+ <xs:annotation>
934
+ <xs:documentation>Číslo katalogu IMPORT: ANO, EXPORT: ANO </xs:documentation>
935
+ </xs:annotation>
936
+ <xs:simpleType>
937
+ <xs:restriction base="xs:string">
938
+ <xs:maxLength value="20"/>
939
+ </xs:restriction>
940
+ </xs:simpleType>
941
+ </xs:element>
942
+ <xs:element name="Zaloha" type="xs:boolean" minOccurs="0">
943
+ <xs:annotation>
944
+ <xs:documentation>Příznak odpočtu zálohy. Default:false, true=položka je typu odpočet zálohy IMPORT: ANO, EXPORT: ANO </xs:documentation>
945
+ </xs:annotation>
946
+ </xs:element>
947
+ <xs:element name="ZdanZaloha" type="xs:boolean" minOccurs="0">
948
+ <xs:annotation>
949
+ <xs:documentation>Příznak, zda se v případě odpočtu zálohy jedná o zdaněnou zálohu.
950
+ IMPORT: ANO, EXPORT: ANO </xs:documentation>
951
+ </xs:annotation>
952
+ </xs:element>
953
+ <xs:element name="TypZarDoby" minOccurs="0">
954
+ <xs:annotation>
955
+ <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>
956
+ </xs:annotation>
957
+ <xs:simpleType>
958
+ <xs:restriction base="xs:string">
959
+ <xs:maxLength value="1"/>
960
+ </xs:restriction>
961
+ </xs:simpleType>
962
+ </xs:element>
963
+ <xs:element name="ZarDoba" minOccurs="0">
964
+ <xs:annotation>
965
+ <xs:documentation>IMPORT: ANO (ignoruje se když TypZarDoby=N,S) EXPORT: ANO </xs:documentation>
966
+ </xs:annotation>
967
+ <xs:simpleType>
968
+ <xs:restriction base="xs:decimal">
969
+ <xs:totalDigits value="5"/>
970
+ <xs:fractionDigits value="0"/>
971
+ </xs:restriction>
972
+ </xs:simpleType>
973
+ </xs:element>
974
+ <xs:element name="Protizapis">
975
+ <xs:annotation>
976
+ <xs:documentation>Příznak pro zaúčtování odpočtu zálohy.TRUE=účtuje se kladnou částkou, FALSE=zápornou částkou.IMPORT:ANO,EXPORT:ANO </xs:documentation>
977
+ </xs:annotation>
978
+ </xs:element>
979
+ <xs:element name="BarCode" minOccurs="0">
980
+ <xs:annotation>
981
+ <xs:documentation>Čarový kód Import: ANO, Export: ANO</xs:documentation>
982
+ </xs:annotation>
983
+ <xs:simpleType>
984
+ <xs:restriction base="xs:string">
985
+ <xs:maxLength value="20"/>
986
+ </xs:restriction>
987
+ </xs:simpleType>
988
+ </xs:element>
989
+ <xs:element name="Zkrat" minOccurs="0">
990
+ <xs:annotation>
991
+ <xs:documentation>Zkratka: IMPORT: ANO, Export: ANO</xs:documentation>
992
+ </xs:annotation>
993
+ <xs:simpleType>
994
+ <xs:restriction base="xs:string">
995
+ <xs:maxLength value="20"/>
996
+ </xs:restriction>
997
+ </xs:simpleType>
998
+ </xs:element>
999
+ <xs:element name="UzivCode" minOccurs="0">
1000
+ <xs:annotation>
1001
+ <xs:documentation>Užívatelský kód (PLU) Import: ANO, Export: ANO</xs:documentation>
1002
+ </xs:annotation>
1003
+ <xs:simpleType>
1004
+ <xs:restriction base="xs:string">
1005
+ <xs:maxLength value="6"/>
1006
+ </xs:restriction>
1007
+ </xs:simpleType>
1008
+ </xs:element>
1009
+ <xs:element name="Hmotnost" minOccurs="0">
1010
+ <xs:annotation>
1011
+ <xs:documentation>Hmotnost Export:ANO, Import:ANO.</xs:documentation>
1012
+ </xs:annotation>
1013
+ <xs:simpleType>
1014
+ <xs:restriction base="xs:float"/>
1015
+ </xs:simpleType>
1016
+ </xs:element>
1017
+ <xs:element name="PlnenoDPH" type="xs:date" minOccurs="0">
1018
+ <xs:annotation>
1019
+ <xs:documentation>Datum zdanitelného plnění DPH odpočtové položky (pouze CZ verze).</xs:documentation>
1020
+ </xs:annotation>
1021
+ </xs:element>
1022
+ <xs:element name="KonecOdpocet" type="xs:boolean" minOccurs="0">
1023
+ <xs:annotation>
1024
+ <xs:documentation>Příznak, zda se jedná o konečný odpočet zálohy.
1025
+ IMPORT: ANO, EXPORT: ANO </xs:documentation>
1026
+ </xs:annotation>
1027
+ </xs:element>
1028
+ <xs:element name="VyrobniCis" minOccurs="0">
1029
+ <xs:annotation>
1030
+ <xs:documentation>Výrobní číslo, Import:ANO, Export: ANO</xs:documentation>
1031
+ </xs:annotation>
1032
+ <xs:simpleType>
1033
+ <xs:restriction base="xs:string">
1034
+ <xs:maxLength value="50"/>
1035
+ </xs:restriction>
1036
+ </xs:simpleType>
1037
+ </xs:element>
1038
+ <xs:element name="DatExp" type="xs:date" minOccurs="0">
1039
+ <xs:annotation>
1040
+ <xs:documentation>Datum exspirace Import: ANO, Export:ANO</xs:documentation>
1041
+ </xs:annotation>
1042
+ </xs:element>
1043
+ <xs:element name="DatNakupu" type="xs:date" minOccurs="0">
1044
+ <xs:annotation>
1045
+ <xs:documentation>Datum nákupu: Import: ANO, Export:ANO</xs:documentation>
1046
+ </xs:annotation>
1047
+ </xs:element>
1048
+ <xs:element name="Dodavatel" type="firmaType" minOccurs="0">
1049
+ <xs:annotation>
1050
+ <xs:documentation>Dodavatel (pouze prodejní objednávky), Export:ANO, Import:ANO</xs:documentation>
1051
+ </xs:annotation>
1052
+ </xs:element>
1053
+ <xs:element name="PredmPln" type="xs:string" minOccurs="0">
1054
+ <xs:annotation>
1055
+ <xs:documentation>Předmět plnění pro režim přenesení daňové povinnosti Import: ANO, Export: ANO</xs:documentation>
1056
+ </xs:annotation>
1057
+ </xs:element>
1058
+ </xs:all>
1059
+ </xs:complexType>
1060
+ </xs:element>
1061
+ <xs:element name="CenaPoSleve" type="xs:boolean" minOccurs="0">
1062
+ <xs:annotation>
1063
+ <xs:documentation>Indikace, zda je cena po slevě</xs:documentation>
1064
+ </xs:annotation>
1065
+ </xs:element>
1066
+ <xs:element name="ZvlRezim" type="xs:byte" minOccurs="0">
1067
+ <xs:annotation>
1068
+ <xs:documentation>Zvláštní režim DPH:
1069
+ 0 = neurčeno
1070
+ 1 = použité zboží
1071
+ 2 = umělecké dílo
1072
+ 3 = sběratelský předmět, starožitnost
1073
+ 4 = cestovní služba IMPORT: ANO, EXPORT: ANO</xs:documentation>
1074
+ </xs:annotation>
1075
+ </xs:element>
1076
+ <xs:element name="ZvlDPH" type="procentoType" minOccurs="0">
1077
+ <xs:annotation>
1078
+ <xs:documentation>Sazba DPH pro zvláštní režim
1079
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
1080
+ </xs:annotation>
1081
+ </xs:element>
1082
+ <xs:element name="RezimEET" type="xs:byte" minOccurs="0">
1083
+ <xs:annotation>
1084
+ <xs:documentation>Režim EET:
1085
+ 0 = neurčeno
1086
+ 1 = poukaz
1087
+ 2 = vratná záloha
1088
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
1089
+ </xs:annotation>
1090
+ </xs:element>
1091
+ <xs:element name="SklPolozka" type="polSklDoklType" minOccurs="0"/>
1092
+ <xs:element name="SeznamVazeb" minOccurs="0">
1093
+ <xs:annotation>
1094
+ <xs:documentation>Sezenam vazebních dokladů (pouze u odpočtových položek)</xs:documentation>
1095
+ </xs:annotation>
1096
+ <xs:complexType>
1097
+ <xs:sequence>
1098
+ <xs:element name="Vazba" type="vazbaType">
1099
+ <xs:annotation>
1100
+ <xs:documentation>Vazba</xs:documentation>
1101
+ </xs:annotation>
1102
+ </xs:element>
1103
+ </xs:sequence>
1104
+ </xs:complexType>
1105
+ </xs:element>
1106
+ </xs:all>
1107
+ </xs:complexType>
1097
1108
  </xs:schema>