<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:tns="https://izi.cloud/iiko/create/salesDocument" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="https://izi.cloud/iiko/create/salesDocument" attributeFormDefault="unqualified" elementFormDefault="qualified"> <xs:complexType name="args"> <xs:sequence> <xs:element name="document" type="tns:documentType"/> </xs:sequence> </xs:complexType> <xs:complexType name="documentType"> <xs:sequence> <xs:element name="revenueAccount" type="tns:refType"/> <xs:element name="revenueDebitAccount" type="tns:refType" minOccurs="0"/> <xs:element name="accountTo" type="tns:refType"/> <xs:element name="discountsAccount" type="tns:refType" minOccurs="0"/> <xs:element name="defaultStore" type="tns:refType"/> <xs:element name="items" type="tns:itemsType"/> <xs:element name="dateIncoming" type="xs:string"/> <xs:element name="documentNumber" type="xs:string"/> <xs:element name="status" type="xs:string"/> <xs:element name="comment" type="xs:string"/> <xs:element name="conception" type="tns:refType"/> <xs:element name="id" type="tns:refType"/> </xs:sequence> <xs:attribute name="eid" type="tns:refType" use="required"/> <xs:attribute name="cls" type="xs:string" default="SalesDocument"/> </xs:complexType> <xs:complexType name="iType"> <xs:sequence> <xs:element name="num" type="xs:decimal"/> <xs:element name="store" type="tns:refType" minOccurs="0"/> <xs:element name="code" type="xs:string"/> <xs:element name="price" type="xs:decimal" minOccurs="0"/> <xs:element name="sum" type="xs:decimal" minOccurs="0"/> <xs:element name="ndsPercent" type="xs:decimal" minOccurs="0"/> <xs:element name="sumWithoutNds" type="xs:decimal" minOccurs="0"/> <xs:element name="amountUnit" type="tns:refType"/> <xs:element name="amount" type="xs:decimal"/> <xs:element name="amountFactor" type="xs:decimal"/> <xs:element name="discountSum" type="xs:decimal"/> <xs:element name="invoice" type="tns:invoiceType"/> <xs:element name="product" type="tns:refType"/> <xs:element name="id" type="tns:refType"/> </xs:sequence> <xs:attribute name="eid" type="tns:refType" use="required"/> <xs:attribute name="cls" type="xs:string" default="SalesDocument"/> </xs:complexType> <xs:complexType name="invoiceType"> <xs:attribute name="cls" type="xs:string" default="SalesDocument"/> <xs:attribute name="eid" type="tns:refType" use="required"/> </xs:complexType> <xs:complexType name="itemsType"> <xs:choice> <xs:element name="i" type="tns:iType" minOccurs="0" maxOccurs="unbounded"/> </xs:choice> </xs:complexType> <xs:simpleType name="refType"> <xs:restriction base="xs:string"> <xs:length value="36"/> </xs:restriction> </xs:simpleType> </xs:schema>
1 комментарий к “Акт реализации”
Комментарии закрыты.
Уведомление: Типы документов – IZI Cloud