https://crystals.atlassian.net/browse/SLS-1290
https://crystals.atlassian.net/browse/SLS-1295
Эта страница/секция является составной частью статей: |
Включение экспорта:
Информация по управлению версиями веб-сервисов.
Модуль | Название параметра | Номер версии |
---|---|---|
SET_ERP_INTEGRATION | export.file.loyalty.version | 1.6 |
SET_ERP_INTEGRATION | export.file.purchases.version | 1.10 |
SET_ERP_INTEGRATION | export.set10wsclient.purchases.version | 1.19 |
SET_ERP_INTEGRATION | fiscal.info.export.purchase.discount.document.schema.version | 1.6 |
SET_ERP_INTEGRATION | fiscal.info.export.discounts.document.schema.version | 1.6 |
/purchases/purchase/coupons/coupon | |||
---|---|---|---|
Наименование элемента | Тип данных | Описание | Обязательное |
coupons | Комплексный | Выданные купоны | Нет |
coupon | Комплексный | Выданный купон | Да |
Наименования атрибута | Тип данных | Описание | Обязательное |
number | String | Номер купона | Нет |
status | String | Статус купона
| Нет |
typeGuid | Long | Id категории | Нет |
typeName | String | Название категории | Нет |
startDate | DateTime | Дата выдачи | Нет |
finishate | DateTime | Срок окончания | Нет |
Пример экспорта чека:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <purchases count="1"> <purchase tabNumber="1" userName="Администраторов Администратор Администраторович" operationType="true" cashOperation="INCOME" operDay="2021-10-05+03:00" shop="1331" cash="1" shift="2" number="9" saletime="2021-10-06T00:52:59.497+03:00" begintime="2021-10-06T00:52:53.916+03:00" amount="120.70" discountAmount="0.00" inn="7802781104" clientGuid="1" qrcode="t=20211006T0052&s=120.70&fn=00a81bdf-19eb-4037-914e-9e6cd4ea79b1&i=13&fp=0&n=1" fiscalDocNum="13;9" status="REGISTERED"> <plugin-property key="FISCAL_DOC_ID" value="13"/> <plugin-property key="UID_PURCHASE" value="697091fc-c3ef-41e0-95b6-5ae3bf500b86"/> <positions> <position order="1" departNumber="1" goodsCode="00919" barCode="4600919000007" count="1.000" cost="120.70" nds="20.0" ndsSum="20.12" discountValue="0.00" costWithDiscount="120.70" amount="120.70" dateCommit="2021-10-06T00:52:55.886+03:00" insertType="1"> <plugin-property key="countryName" value="Россия"/> </position> </positions> <payments> <payment typeClass="CashPaymentEntity" amount="130.00" description="Оплата наличными"/> <payment typeClass="CashChangePaymentEntity" amount="9.30" description=""/> </payments> <discountCards> <discountCard>22020000</discountCard> </discountCards> <card type="INTERNAL" number="22020000" addedBy="HAND"/> <coupons> <coupon number="320001003013610170311" status="Issued" typeGuid="100" typeName="xxssww" startDate="2021-10-06T00:00:54.233+03:00" finishDate="2021-12-12T00:00:54.233+03:00"/> </coupons> <bonuses/> </purchase> </purchases> |
Пример экспорта карты в addedBy
с типом ECOUPON
:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <purchases count="1"> <purchase tabNumber="1" userName="Администраторов Администратор Администраторович" operationType="true" cashOperation="INCOME" operDay="2021-10-05+03:00" shop="1331" cash="1" shift="2" number="5" saletime="2021-10-05T17:53:02.949+03:00" begintime="2021-10-05T17:52:51.698+03:00" amount="109.70" discountAmount="11.00" inn="7802781104" clientGuid="1" qrcode="t=20211005T1753&s=109.70&fn=00a81bdf-19eb-4037-914e-9e6cd4ea79b1&i=9&fp=0&n=1" fiscalDocNum="9;5" status="REGISTERED"> <plugin-property key="FISCAL_DOC_ID" value="9"/> <plugin-property key="UID_PURCHASE" value="51cf0060-9edd-4c67-9c5f-5615f8aab4a1"/> <positions> <position order="1" departNumber="1" goodsCode="00919" barCode="4600919000007" count="1.000" cost="120.70" nds="20.0" ndsSum="18.28" discountValue="11.00" costWithDiscount="109.70" amount="109.70" dateCommit="2021-10-05T17:52:54.861+03:00" insertType="1"> <plugin-property key="countryName" value="Россия"/> </position> </positions> <payments> <payment typeClass="CashPaymentEntity" amount="110.00" description="Оплата наличными"/> <payment typeClass="CashChangePaymentEntity" amount="0.30" description=""/> </payments> <discountCards> <discountCard>22020000</discountCard> <discountCard>320009002000000000001</discountCard> <discountCard>320009002000000000002</discountCard> </discountCards> <card type="INTERNAL" number="22020000" addedBy="HAND"/> <card type="COUPON_CARD" number="320009002000000000001" addedBy="ECOUPON"/> <card type="COUPON_CARD" number="320009002000000000002" addedBy="ECOUPON"/> </purchase> </purchases> |