
=====================================================================
                 ISDOC XML schema for invoice exchange
=====================================================================

                       Version 5.3 from 2011-02-14
                       
                        (c) 2010, 2011 ICT UNIE o.s.
   Association for Information Technologies and Telecommunications
                             http://www.ictu.cz/
  (c) 2009 Association for Information Society, http://www.spis.cz/

=====================================================================

Invoice exchange format is formally defined in the attached
schema. Format was created and it is further maintained by Working
Group for Electronic Data Interchange Standards of Association for
Information Society (SPIS).

Content of distribution:
------------------------

xsd/*    - schemas in W3C XML Schema

           isdoc-invoice-5.3.xsd       - base schema

           isdoc-invoice-dsig-5.3.xsd  - schema validating also structure
	   			         of an embeded digital signature

           xmldsig-core-schema.xsd     - XML Signature schema

doc-cs/* - hypertext schema documentation with Czech comments

doc-en/* - hypertext schema documentation with English comments

Note:
-----

Use isdoc-invoice-5.3.xsd schema when validating invoice without
a digital signature. Use isdoc-invoice-dsig-5.3.xsd schema for
validation of invoice with a digital signature. This schema
automatically imports other two schemas necessary for validation.

Schema limitations:
-------------------

In its version 5.3 the schema does not define very strict constraints,
it merely defines basic structure and datatypes of invoice. It is
likely that in a future the schema will be augmented in order to
provide more precise data validation.

Changes since version 5.2.3 from 2011-02-14:
--------------------------------------------

* added new document type simplified tax document
  (DocumentType = 7)

  * AccountingCustomerParty and Details elements are optional in
    simplified tax document

  * added new mandatory element AnonymousCustomerParty for simplified
    tax document

* added new element Preformatted which can hold precomposed
  identification of registration in the Commercial Register in
  situations where it is not possible to identify specific fields
  (RegisterKeptAt, RegisterFileRef, RegisterDate)

* added new element OriginalDocumentReferences which can contain
  multiple references to original documents
  (OriginalDocumentReference); for maintaining backwards-compatibility
  it is still possible to reference single document without enveloping
  it with OriginalDocumentReferences

* added optional UUID subelement to OrderReference, DeliveryNoteReference and
  OriginalDocumentReference; IssuDate subelement made optional

* UUIDType value space has been aligned with RFC 4122 -- it is now
  possible to use lowercase letters 'a'-'f' in values

* added new optional VATApplicable element which indicates whether VAT
  is applicable (please note that element is optional in the schema for
  retaining backwards-compatibility, but documents since version 5.3
  must specify this element)

* added new optional VATApplicable element which indicates whether VAT
  is applicable to invoice line

* added new optional VATApplicable element which indicates whether VAT
  is applicable to line in VAT summary

* added new optional VATNote element for legislation citation defining
  VAT exception

* added new optional ElectronicPossibilityAgreementReference element
  containing reference to agreement about acceptance of electronic
  invoices (please note that element is optional in the schema for
  retaining backwards-compatibility, but documents since version 5.3
  must specify this element)

* added new optional elements LineExtensionAmountBeforeDiscount
  and LineExtensionAmountTaxInclusiveBeforeDiscount

* element Item changed to optional

Changes since version 5.2.2 from 2010-12-07:
--------------------------------------------

* added new payment code for postgiro (element PaymentMeansCode)
  50 - payment by postgiro

Changes since version 5.2.1 from 2010-03-18:
--------------------------------------------

* more then one Signature element allowed

Changes since version 5.2 from 2009-10-25:
------------------------------------------

* schema can be used also for validation of documents using older versions
  of ISDOC because validation of version attribute was relaxed

Changes since version 5.2 from 2009-07-07:
------------------------------------------

* schema was not changed, only English comments were added

* hypertext schema documentation is now available in two version --
  with Czech or English comments

* schema diagrams in the hypertext documentation now use PNG format to
  decrease volume of documentation

Changes since previous version 5.1:
-----------------------------------

* UserID and CatalogFirmIdentification elements are now optional

* data type for ZIP code (PostalZoneType) was changed from xs:integer
  to xs:string

* more strict validation of UUID datatype (UUIDType). Now value must
  conform to the following pattern
  [0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}

* identification of issuing system can be stored inside newly added
  IssuingSystem element

* identifier of an invoice line (ID element inside InvoiceLine
  element) is now limited in its length to 36 characters

* ExternalOrderID element made optional inside OrderLineReference
  element


Contact: info@isdoc.cz, www.isdoc.cz
