...
...
...
Устаревшая версия Jira |
---|
server | System JIRA |
---|
columns | key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution |
---|
serverId | bc8d3685-f9c0-329d-9054-b12aabbcb834 |
---|
key | SRTE-1149 |
---|
|
Реализовано в версии
purchases/purchase/positions/position |
Image RemovedImage Added |
Наименование атрибута | Тип данных | ОбязательноОписаниеОписание | Обязательное |
dateCommit | dateTimeОбязательное | Дата и время добавления позиции |
XSD |
<xs:complexType name="positionType">
<xs:annotation>
<xs:documentation>
Описание позиции в чеке
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="plugin-property" type="plugin-propertyType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
Список "плагинных" (расширенных, не базовых)
свойств этого типа оплаты. Может отсутствовать.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="order" type="xs:long" use="required">
<xs:annotation>
<xs:documentation>
Порядковый номер позиции в чеке
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="departNumber" type="xs:long" use="required">
<xs:annotation>
<xs:documentation>
Номер отдела, в котором продан товар в позиции
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="goodsCode" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
Артикул товара
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="barCode" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
Штрих код товара
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="count" type="xs:double" use="required">
<xs:annotation>
<xs:documentation>
Количество товара, в кг/шт
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="cost" type="xs:double" use="required">
<xs:annotation>
<xs:documentation>
Цена без учёта скидки, в "рублях"
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="nds" type="xs:double" use="required">
<xs:annotation>
<xs:documentation>
НДС, в процентах
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ndsClass" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
Класс-тип налога (НДС)
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ndsSum" type="xs:double" use="required">
<xs:annotation>
<xs:documentation>
Сумма НДС, в "рублях"
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="discountValue" type="xs:double" use="required">
<xs:annotation>
<xs:documentation>
Значение скидки на позицию, в "рублях"
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="costWithDiscount" type="xs:double" use="required">
<xs:annotation>
<xs:documentation>
Цена (с учётом скидок на позицию и размазанной скидки чека, если таковая была), в "рублях"
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="amount" type="xs:double" use="required">
<xs:annotation>
<xs:documentation>
Сумма по позиции, в "рублях"
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="softCheckNumber" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
Номер мягкого чека из которого была добавлена позиция
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="dateCommit" type="xs:dateTime" use="required">
<xs:annotation>
<xs:documentation>
Дата и время добавления позиции в чек
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
Блок кода |
---|
language | xml |
---|
title | Пример XML: |
---|
|
<positions>
<position
order="4"
departNumber="1"
goodsCode="075883_ST"
barCode="4600699502197"
count="2.0" cost="66.39"
nds="18.0" ndsSum="18.74"
discountValue="9.95"
costWithDiscount="61.41"
amount="122.83"
dateСommit="2017-05-22 11:28:58.329"
/>
</positions> |
...