Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Open API (Swagger) Viewer
{"paths":{"/api/v1/import/store/{id}/barcodePrices":{"post":{"operationId":"importBarcodePrices","tags":["routes"],"summary":"Импорт цен, назначенных на штрихкоды товара","description":"Импорт цен, назначенных на штрихкоды товара","parameters":[{"in":"path","name":"id","type":"string","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.BarcodePriceList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/items":{"post":{"operationId":"importItems","tags":["routes"],"summary":"Импорт товаров","description":"Импорт товаров","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.ItemList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/groupItems":{"post":{"operationId":"importGroupItems","tags":["routes"],"summary":"Импорт групп товаров","description":"Импорт групп товаров (товарная иерархия)","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.GroupItemList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/store/{id}/itemPrices":{"post":{"operationId":"importItemPrices","tags":["routes"],"summary":"Импорт цен на товары","description":"Импорт цен на товары","parameters":[{"in":"path","name":"id","type":"string","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.ItemPriceList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/store/{id}/AlternativeItemPrices":{"post":{"operationId":"importAlternativeItemPrices","tags":["routes"],"summary":"Импорт дополнительных цен на товары","description":"Импорт дополнительных цен на товары","parameters":[{"in":"path","name":"id","type":"string","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.AlternativeItemPriceList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/picklists":{"post":{"operationId":"importPicklists","tags":["routes"],"summary":"Импорт picklist","description":"Импорт picklist (произвольные Перечни товаров)","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.PicklistList"}}],"responses":{"200":{"description":"Успешная загрузка"},"schema500":{"$refdescription":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки",""Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/store/{id}/sellers":{"post":{"operationId":"importSellers","tags":["routes"],"summary":"Импорт продавцов и их карт","description":"Импорт продавцов и их карт (индивидуальные продажи)","parameters":[{"in":"path","name":"id","type":"string","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.SellerList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/taxGroups":{"post":{"operationId":"importTaxGroups","tags":["routes"],"summary":"Импорт групп налогов","description":"Импорт групп налогов","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.TaxGroupList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/taxes":{"post":{"operationId":"importTaxes","tags":["routes"],"summary":"Импорт налогов","description":"Импорт налогов","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.TaxList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/store/{id}/users":{"post":{"operationId":"importUsers","tags":["routes"],"summary":"Импорт пользователей","description":"Импорт пользователей касс (кассиров)","parameters":[{"in":"path","name":"id","type":"string","required":true},{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.UserList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/legalEntityItemVendors":{"post":{"operationId":"importLegalEntityItemVendors","tags":["routes"],"summary":"Импорт поставщиков","description":"Импорт поставщиков товаров для магазинов","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.LegalEntityItemVendorList"}}],"responses":{"200":{"description":"Успешная загрузка"},"schema500":{"$refdescription":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки",""Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/legalEntityItemContractors":{"post":{"operationId":"importLegalEntityItemContractors","tags":["routes"],"summary":"Импорт продавцов товаров","description":"Импорт продавцов товаров для магазинов","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.LegalEntityItemContractorList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/legalEntities":{"post":{"operationId":"importLegalEntities","tags":["routes"],"summary":"Импорт юр. лиц","description":"Импорт юридических лиц","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.LegalEntityList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/import/itemProperties":{"post":{"operationId":"importItemProperties","tags":["routes"],"summary":"Импорт свойств товаров","description":"Импорт дополнительных свойств товаров","parameters":[{"in":"body","name":"body","schema":{"$ref":"#/definitions/models.importer.ItemPropertiesList"}}],"responses":{"200":{"description":"Успешная загрузка","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}},"consumes":["application/json"]}},"/api/v1/export/receipt/{storeId}/{date}":{"get":{"operationId":"exportReceipts","tags":["routes"],"summary":"Экспорт чеков по запросу за дату","parameters":[{"in":"path","name":"storeId","description":"Номер магазина во внешней товароучётной системе","type":"string","required":true},{"in":"path","name":"date","description":"Дата закрытия чека в формате `yyyy-MM-dd`","type":"string","required":true}],"responses":{"200":{"description":"success","schema":{"$ref":"#/definitions/models.exporter.ReceiptsList"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}}}},"/api/v1/export/receiptPackage":{"get":{"operationId":"getReceiptPackage","tags":["routes"],"summary":"Запрос очередного пакета чеков","description":"Экспорт пакета чеков с подтверждением обработки пакета чеков","responses":{"200":{"description":"success","schema":{"$ref":"#/definitions/models.exporter.ReceiptsList"}},"404":{"description":"Нет необработанных чеков","schema":{"$reftype":"#/definitions/models.FErrorstring"}},"423":{"description":"Получение пакета блокировано, так как нет подтверждения обработки предыдущего пакета","schema":{"$reftype":"#/definitions/models.FErrorstring"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}}},"delete":{"operationId":"unlockReceiptPackage","tags":["routes"],"summary":"Сброс блокировки повторной выгрузки пакета чеков","description":"Сброс блокировки повторной выгрузки пакета чеков","responses":{"200":{"description":"success"},"schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}}},"put":{"operationId":"confirmReceiptPackage","tags":["routes"],"summary":"Подтверждение обработки пакета чеков","description":"Подтверждение обработки пакета чеков после операции запроса пакета чеков","responses":{"200":{"description":"success","schema":{"$ref":"#/definitions/models.FOk"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}}}},"/api/v1/export/shiftWOReceipts/{storeId}/{date}":{"get":{"operationId":"exportShiftsWOReceipts","tags":["routes"],"summary":"Экспорт смен без чеков по запросу за дату","parameters":[{"in":"path","name":"storeId","description":"Номер магазина во внешней товароучётной системе","type":"string","required":true},{"in":"path","name":"date","description":"Дата закрытия смены в формате `yyyy-MM-dd`","type":"string","required":true}],"responses":{"200":{"description":"success","schema":{"$ref":"#/definitions/models.exporter.ShiftWOReceiptsList"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}}}},"/api/v1/export/shift/{storeId}/{posId}/{date}":{"get":{"operationId":"exportShifts","tags":["routes"],"summary":"Экспорт смены по запросу","description":"Экспорт конкретной смены со всеми имеющимися по ней данными","parameters":[{"in":"path","name":"storeId","description":"Номер магазина во внешней товароучётной системе","type":"string","required":true},{"in":"path","name":"posId","description":"Номер кассы","type":"string","required":true},{"in":"path","name":"date","description":"Дата закрытия смены в формате `yyyy-MM-dd`","type":"string","required":true}],"responses":{"200":{"description":"success","schema":{"$ref":"#/definitions/models.exporter.ShiftWithReceiptsList"}},"404":{"description":"Смена по запрошенным параметрам не найдена","schema":{"$reftype":"#/definitions/models.FErrorstring"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}}}},"/api/v1/export/receipt":{"get":{"operationId":"index","tags":["routes"],"summary":"Экспорт чеков. Этот метод должен быть реализован на внешнем сервере. Тут просто приведена схема","responses":{"200":{"description":"success","schema":{"$ref":"#/definitions/models.exporter.Receipt"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}}}},"/api/v1/export/shift":{"get":{"operationId":"index","tags":["routes"],"summary":"Экспорт смены. Этот метод должен быть реализован на внешнем сервере. Тут просто приведена схема","responses":{"200":{"description":"success","schema":{"$ref":"#/definitions/models.exporter.ShiftWithReceipts"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}}}},"/api/v1/export/moneyOperation":{"get":{"operationId":"index","tags":["routes"],"summary":"Экспорт операций с денежным ящиком. Этот метод должен быть реализован на внешнем сервере. Тут просто приведена схема","responses":{"200":{"description":"success","schema":{"$ref":"#/definitions/models.exporter.MoneyOperation"}},"500":{"description":"Ошибка обработки","schema":{"$reftype":"#/definitions/models.FErrorstring"}}}}}},"produces":["application/json"],"definitions":{"models.importer.ItemPropertiesList":{"properties":{"elements":{"type":"array","items":{"$ref":"#/definitions/models.importer.ItemProperties"}}},"required":["elements"]},"models.exporter.Paymentimporter.TaxRate":{"properties":{"tax":{"description$ref":"Оплата"#/definitions/models.importer.Tax"},"propertiespercent":{"deviceTypeformat":{"int32","description":"ТипНалоговая банковскойставка авторизации для оплат картойв процентах (10 или 20)","type":"stringinteger"}},"amountrequired":{["formattax":"double","description":"Сумма данным средством оплаты","type":"number"},"authorizationCodepercent"]},"ru.servplus.pos.common.models.receipt.common.AgentType":{"description":"Код авторизации для банк.транзакции","type":"string"},"cardTypeproperties":{}},"models.exporter.ShiftWithReceipts":{"description":"ТипОсновная картымодель (visa,Информация МИРо и т.д., если сообщил пин-падсмене (включая чеки)","typeproperties":{"stringreceipts"},"inn":{"descriptiontype":"ИНН продавцаarray","type"items":{"$ref":"string#/definitions/models.exporter.Receipt"}},"amountWithChangecounters":{"format$ref":"double","description":"Сумма данная покупателем (для наличных)","type":"number#/definitions/models.exporter.ShiftCounters"},"shift":{"$ref":"#/definitions/models.exporter.Shift"},"uuidpayments":{"description":"уник.номер транзакции (если сообщил пин-пад)","type":"stringarray"},"rrnitems":{"description$ref":"Номер банк.транзакции (если сообщил пин-пад)","type":"string"#/definitions/models.exporter.ShiftPayment"}},"banknotesfnInfo":{"description$ref":"Список банкнот"#/definitions/models.exporter.ShiftFNInfo"},"typekkmInfo":"array","items":{"$ref":"#/definitions/models.exporter.BanknoteShiftKKMInfo"}},"cardValidTorequired":{["descriptionshift":"Дата действия банк.карты (если сообщил пин-пад),"payments","type":"string"receipts"]},"paymentId":{"format":"int64","models.importer.SellerCard":{"description":"ИДКарта средства оплатыпродавца","typeproperties":"integer"},"name{"number":{"description":"Название средства оплатыКод идентификации, записанный на карте","type":"string","maxLength":40},"pTypedateTill":{"typeformat":"stringdate-time","$refdescription":"#/definitions/ru.servplus.pos.common.models.receipt.common.PaymentTypeДата окончания действия карты","enumtype":["Otherstring","Cardexample","PayCard","Cash","Unknown","Certificate","Prepayment"]},"currencyId:"2018-06-22T08:00:19"},"active":{"type":"boolean"},"dateFrom":{"format":"int64date-time","description":"ИД валютыДата начала действия карты","type":"integerstring"},"cardNumber":{"description":"Номер карты, как его сообщил пин-пад (с маскир.разрядами)","type":"string"}},"required":["paymentId","currencyId","name","pType","deviceType","amount","amountWithChange"example":"2018-06-22T08:00:19"}},"required":["number","active"]},"models.importerexporter.LegalEntityItemContractorShiftCounters":{"description":"продавец товара. для режима многофискальностиИнформация о количестве чеков за смену по данным кассы","properties":{"itemIdposId":{"descriptionformat":"код товараint64","typedescription":"stringИД кассы","maxLengthtype":40"integer"},"deletedshiftId":{"typeformat":"booleanint64"},"stores":{"description":"привязка к магазинамУникальный (в рамках кассы) идентификатор смены","type":"arrayinteger"},"itemsreceiptsReturn":{"$refformat":"#/definitions/models.importer.LegalEntityStore"}},"isGlobal":{"int32","description":"действуетКоличество вочеков всехвозвратов магазинах.за Еслисмену false,по то только из спискаданным кассы","type":"booleaninteger"}},"requiredreceiptsCancel":[{"itemIdformat",:"storesint32","isGlobaldescription","deleted"]},"ru.servplus.pos.common.models.receipt.sale.ItemSeller":{"description":"продавец, привязанный к позиции","properties:"Количество аннулированных чеков за смену по данным кассы","type":"integer"},"moneyboxAmount":{"cardNumformat":{"double","description":"код карты (если регистрировался по карте)сумма наличных в денежном ящике после закрытия смены","type":"stringnumber"},"namecumulativeSale":{"format":"double","description":"ФИО продавцанакопительный итог продаж с начала работы кассы","type":"stringnumber"},"idinsertion":{"format":"int32","description":"код продавцаКоличество внесений в денежный ящик за смену по данным кассы","type":"stringinteger"}},"requiredwithdrawal":[{"idformat",:"nameint32"]},"models.importer.ItemAttribute":{"description":"аттрибутКоличество товара.изъятий Используетсяиз дляденежного ограниченийящика продажиза исмену маркировки.по Возможные значения alcohol, tobacco, egais, markedTobacco, markedGoods, advance, noSellerRequired","properties":{"id":{"данным кассы","type":"string","maxLength":40}}integer"},"requiredstoreId":["id"]},"models.importer.TaxRate":{"propertiesdescription":{"tax":{"$refИД магазина","type":"#/definitions/models.importer.Taxstring"},"percentreceiptsSale":{"format":"int32","description":"НалоговаяКоличество чеков ставкапродаж вза процентахсмену (10по илиданным 20)кассы","type":"integer"}},"required":["posId"tax,"storeId","percentshiftId"]},"ru.servplus.pos.common."cumulativeSale","receiptsSale","receiptsReturn","receiptsCancel","insertion","withdrawal"]},"ru.servplus.pos.common.models.receipt.common.AwardCouponDiscountKind":{"description":"Перечень купонов, выданных в чеке в рамках системы лояльностиmanual-ручная скидка или отсутствует (пусто)","properties":{"expiryDate}},"models.importer.GroupItemList":{"formatproperties":{"date-time","descriptionelements":{"type":"дата окончания действия купонаarray","type"items":{"$ref":"string"#/definitions/models.importer.GroupItem"}}},"examplerequired":"2018-06-22T08:00:19"},"number["elements"]},"ru.servplus.pos.common.models.receipt.common.ReceiptNumber":{"descriptionproperties":"Номер выданного купона (если он был у купона)","type{"posNumber":{"format":"stringint64"},"amounttype":{"formatinteger":},"doubleshiftNumber",:{"descriptionformat":"Номинал купонаint64","type":"numberinteger"},"effectDateglobalDocNumber":{"format":"date-timeint64","descriptiontype":"дата начала действия купона"integer"},"typereceiptNumber":{"string",format"example":"2018-06-22T08:00:19"},"comment":{"int64","type":"stringinteger"}},"required":["number"posNumber","shiftNumber","receiptNumber","commentglobalDocNumber"]},"ru.servplus.pos.common.models.receiptexporter.common.ReceiptIdReceiptDates":{"description":"даты чека","properties":{"posIddateOpen":{"format":"int64date-time","typedescription":"integer"}дата-время начала чека","shiftIdtype":{"formatstring":"int64","typeexample":"integer2018-06-22T08:00:19"},"iddateClose":{"format":"int64date-time","typedescription":"integer"}дата-время окончания чека","storeIdtype":{"formatstring":"int64,"example":"2018-06-22T08:00:19"},"dateSubtotal":{"format":"date-time","description":"ИД магазинадата-время начала оплаты чека (последнего подытога)","type":"string","example":"2018-06-22T08:00:19"}},"required":["storeIddateOpen","posIddateClose"]},"id"]ru.servplus.pos.common.models.receipt.common.DiscountProgramSource":{"properties":{}},"ru.servplus.pos.common.models.receipt.common.AgentTypeOperationMode":{"description":"0 - расчет скидок выполнялся при наличие связи с сервером маркетинга УКМ5, 1 - при отсутствии связи","properties":{}},"models.exporter.importermisc.SellerListAwardCoupon":{"properties":{"elementsexpiryDate":{"format":"date-time","type":"arraystring"},"itemsnumber":{"$reftype":"#/definitions/models.importer.Sellerstring"}}},"requiredamount":[{"elementsformat"]},"models.exporter.ShiftWithReceipts":{"description":"Основная модель Информация о смене (включая чеки)","properties:"double","type":"number"},"effectDate":{"receiptsformat":{"date-time","type":"arraystring"},"itemscomment":{"$reftype":"#/definitions/models.exporter.Receiptstring"}},"countersrequired":{["$refnumber":"#/definitions/models.exporter.ShiftCounters","comment"]},"shiftmodels.importer.LegalEntity":{"$refdescription":"#/definitions/models.exporter.Shift"},"paymentsюр. лицо","properties":{"agentType":{"description":"тип агента","type":"arraystring","itemsenum":{"$ref":"#/definitions/models.exporter.ShiftPayment"}["broker","agent","notSet"]},"fnInfodeleted":{"$reftype":"#/definitions/models.exporter.ShiftFNInfoboolean"},"kkmInfoinn":{"$refdescription":"#/definitions/models.exporter.ShiftKKMInfo"}},"required":["shift","payments","receipts"]},"models.exporter.ReceiptCalculatedParamsИНН. Может быть или юр. лица, или физ. лица","type":"string","maxLength":40},"name":{"description":"Сумма чека, налоги и скидкиназвание","propertiestype":{"amountstring":{,"formatmaxLength":100},"doublepayVat",:{"description":"Сумма чека ДО применения скидокэто платильщик НДС. Если да, то обычне налоги. Если нет, то специальные","type":"numberboolean"}},"discountsrequired":{["inn"description,":name"Скидки, примененные в этом чеке,"payVat","typeagentType":,"arraydeleted"]},"itemsmodels.importer.LegalEntityItemVendorList":{"$refproperties":"#/definitions/{"elements":{"type":"array","items":{"$ref":"#/definitions/models.importer.LegalEntityItemVendor"}}},"required":["elements"]},"ru.servplus.pos.common.models.receipt.common.DiscountInfo"}},"totalDiscountAmount:{"properties":{"amount":{"format":"double","description":"Общая сумма рассчитанных в чеке скидок (таким образом, для вычисления суммы чека с учетом скидок, необходимо из amount вычесть  totalDiscountAmount)сумма скидки","type":"number"},"receiptCurrencyCodecode":{"description":"Название валюты (Рубль)","type":"string"},"taxesprogramSource":{"description":"Налоги, рассчитанные кассой (могут отличаться от налогов в ККТ)","type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.ReceiptTaxDiscountProgramSource"}},"itemsCountcouponNumber":{"formattype":"int32string"},"descriptionkind":"Количество позиций в чеке","type":"integer"}},"required":["receiptCurrencyCode","amount","itemsCount","discounts","taxes"]},"models.importer.SellerCard{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.DiscountKind"},"couponQuantity":{"format":"int32","type":"integer"},"name":{"description":"Картаназвание продавцаскидки","propertiestype":{"number"string"},"discountCard":{"description":"Код идентификации, записанный на картеномер диск.карты (если скидка была предоставлена по диск.карте) это НЕ карта клиента!","type":"string"},"maxLength":40"mechanicId":{"format":"int32","type":"integer"},"dateTillid":{"format":"date-timeint32","description":"Дата окончания действия картыИД скидки","type":"stringinteger"},"exampleefts":"2018-06-22T08:00:19"},"active":{{"format":"int32","description":"код типа скидки","type":"booleaninteger"}},"dateFromrequired":{"format":"date-time","description":"Дата начала действия карты",["id","efts","name","amount"]},"models.importer.LegalEntityItemContractorList":{"properties":{"elements":{"type":"stringarray","exampleitems":"2018-06-22T08:00:19"{"$ref":"#/definitions/models.importer.LegalEntityItemContractor"}}},"required":["numberelements","active"]},"models.exporter.ShiftCountersru.servplus.common.documents.rawreceipt.RawReceiptType":{"description":"Информацияsale - очек количествепродажи, чековrefundOnReceipt за- сменувозврат пона даннымосновании кассычека","properties":{"posId}},"models.exporter.ShiftWOReceipts":{"formatproperties":{"int64shift",:{"description$ref":"ИД кассы"#/definitions/models.exporter.Shift"},"typecounters":{"integer"$ref":"#/definitions/models.exporter.ShiftCounters"},"shiftIdkkmInfo":{"format$ref":"int64"#/definitions/models.exporter.ShiftKKMInfo"},"descriptionfnInfo":"Уникальный (в рамках кассы) идентификатор смены","type":"integer{"$ref":"#/definitions/models.exporter.ShiftFNInfo"},"receiptsReturnpayments":{"format":"int32","description":"Количество чеков возвратов за смену по данным кассы","type":"integerarray"},"receiptsCancelitems":{"format$ref":"int32"#/definitions/models.exporter.ShiftPayment"}}},"descriptionrequired":"Количество аннулированных чеков за смену по данным кассы["shift","type":"integer"payments"]},"moneyboxAmountmodels.importer.GroupAttribute":{"format":"double","description":"суммааттрибут наличныхгруппы. вИспользуется денежномдля ящикеограничений после закрытия смены",продажи и маркировки. Возможные значения alcohol, tobacco, egais, markedTobacco, markedGoods, advance, noSellerRequired, service","properties":{"id":{"type":"numberstring"},"cumulativeSalemaxLength":{"format40}},"required":["doubleid"]},"models.importer.ItemProperty":{"description":"накопительныйдополнительное итог продаж с начала работы кассысвойство товара","typeproperties":{"numbershowToCashier"},"insertion":{"formattype":"int32boolean"},"values":{"description":"Количество внесений в денежный ящик за смену по данным кассывозможные значения свойства. Если не задано, должен ввести кассир. Если задано одно, оно подставляется по умолчанию. Если задан список, кассир выбирает из списка.","type":"integerarray"},"withdrawalitems":{"format$ref":"int32","description":"Количество изъятий из денежного ящика за смену по данным кассы","type":"integer"},"storeId#/definitions/models.importer.ItemPropertyValue"}},"name":{"description":"ИДназвание магазинасвойства","type":"string"},"receiptsSaleprintOnReceipt":{"formattype":"int32boolean"},"id":{"description":"Количество чеков продаж за смену по данным кассыидентификатор свойства","type":"integerstring"}},"required":["posIdid","storeIdname","shiftIdvalues","cumulativeSaleshowToCashier","receiptsSale","receiptsReturn","receiptsCancel","insertion","withdrawal"printOnReceipt"]},"models.importerexporter.ItemListReceiptsList":{"properties":{"elements":{"type":"array","items":{"$ref":"#/definitions/models.importerexporter.ItemReceipt"}}},"required":["elements"]},"ru.servplus.pos.common.models.receipt.common.DiscountKindGift":{"description":"manual-ручная скидка или отсутствует (пусто)Перечень подарков, выданных по чеку в рамках системы лояльности","properties":{}},"models.importer.Item"item":{"description":"ОписаниеКод (артикул) товара, выданного как подарок","propertiestype":{"taxgroupIdstring"},"quantity":{"format$ref":"int64","description":"Код налоговой группы","type":"integer"},"descr#/definitions/ru.servplus.pos.common.models.Quantity"}},"required":["item","quantity"]},"ru.servplus.pos.common.models.receipt.sale.EGAISMark":{"description":"Зарезервировано под дальнейшее развитиемарка ЕГАИС, прочитанная с товара","typeproperties":"string"},"itemGroup{"mark":{"description":"Код узла иерархии, к которому привязан товар (символ 0, если товар не привязан к узлам)марка","type":"string"}},"maxLengthrequired":40["mark"]},"measureru.servplus.pos.common.models.receipt.common.ItemProperty":{"descriptionproperties":"Название единицы измерения (печатается в чеке)",{"showToCashier":{"type":"stringboolean"},"maxLengthvalues":40},"name":{"descriptiontype":"Название товара (печатается в чеке)array","typeitems":{"string$ref","maxLength":255:"#/definitions/ru.servplus.pos.common.models.receipt.common.ItemPropertyValue"}},"attributesname":{"descriptiontype":"Перечень атрибутов товараstring"},"printOnReceipt":{"type":"arrayboolean"},"itemsid":{"$reftype":"#/definitions/models.importer.ItemAttributestring"}},"idrequired":{["descriptionid":"Уникальный код товара,"name","typevalues":,"stringshowToCashier","maxLengthprintOnReceipt":40]},"barcodesmodels.importer.LegalEntityList":{"descriptionproperties":{"Список штрихкодов товара",elements":{"type":"array","items":{"$ref":"#/definitions/models.importer.BarcodeLegalEntity"}}},"required":["elements"]},"deletemodels.importer.Barcode":{"typedescription":"booleanШтрихкод товара"},"properties":{"measprecquantity":{"format":"int32double","description":"Точность ед.измерения. Количество знаков после запятой. (0 - штучный товар, 3 - весовой товарКоличество товара по штрихкоду (в упаковке) (для штучного товара значение 0 трактуется кассой как 1)","type":"integernumber"}},"requiredid":[{"iddescription",:"nameШтрихкод товара","descrtype",:"measurestring","measprecmaxLength":40}},"itemGrouprequired",:["barcodesid","attributes","deletequantity"]},"ru.servplus.pos.common.models.receipt.importersale.GroupItemRequisite":{"description":"Товарная иерархия","properties":{"ownercode":{"description":"Код родительского узла (если отсутствует, то символ 0)","type":"string","maxLength":40},"namerType":{"descriptiontype":"Название узла иерархииinteger","typeformat":"stringint32"}},"maxLengthrequired":80},["attributescode":{,"type":"array","items":{"$ref":"#/definitions/models.importer.GroupAttribute"}},"idrType"]},"ru.servplus.pos.common.models.User":{"description":"кассир","properties":{"roleId":{"format":"int64","description":"код роли кассира","type":"integer"},"name":{"description":"ФИО","type":"string"},"inn":{"description":"КодИНН узла иерархиикассира","type":"string"},"maxLengthid":{"format":40}"int64","deletedescription":{"код кассира","type":"booleaninteger"}},"required":["id","owner","name","attributesroleId","delete"]},"models.importer.GroupItemListTaxGroup":{"description":"Налоговая группа (ее id указывается у товара)","properties":{"elementstaxRates":{"type":"array","items":{"$ref":"#/definitions/models.importer.GroupItemTaxRate"}}},"requiredisPreferential":[{"type"elements:"]boolean"},"ru.servplus.pos.common.models.receipt.common.ReceiptNumberadvanceTaxId":{"properties":{"posNumber":{"format":"int64","type":"integer"},"shiftNumberid":{"format":"int64","description":"Код налоговой группы (с кодом в ККТ не связан напрямую)","type":"integer"},"globalDocNumberdelete":{"format":"int64","type":"integerboolean"},"receiptNumberfpCode":{"formatdescription":"int64Не используется","type":"integer"string","maxLength":20}},"required":["posNumberid","shiftNumberfpCode","receiptNumbertaxRates","globalDocNumberdelete"]},"models.exporter.ReceiptDatesmisc.MarketingResult":{"properties":{"awardCoupons":{"descriptiontype":"даты чекаarray","propertiesitems":{"dateOpen"$ref":"#/definitions/models.exporter.misc.AwardCoupon"}},"discountAmount":{"format":"date-timedouble","descriptiontype":"дата-время начала чека",number"},"transactionTime":{"type":"string"},"exampletransactionID":"2018-06-22T08:00:19{"type":"string"},"dateCloseefts":{"format":"date-timeint32","descriptiontype":"дата-время окончания чека","type":"string","example":"2018-06-22T08:00:19"},"dateSubtotalinteger"},"operationMode":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.OperationMode"},"cardNum":{"type":"string"},"usedBonuses":{"format":"date-timedouble","descriptiontype":"дата-время начала оплаты чека (последнего подытога)","number"},"origTransactionID":{"type":"string"},"exampleusedCoupons":"2018-06-22T08:00:19"}},"required":["dateOpen","dateClose"]},"{"type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.PaymentTypeUsedCoupon"}},"operationType":{"description$ref":"cash-наличные, card-банк.карта, certificate-подар.сертификат/карта, PayCard-платежная карта (не банковская), other-другие средства оплаты","properties":{}},"#/definitions/ru.servplus.pos.common.models.receipt.common.OperationType"},"awardBonuses":{"format":"double","type":"number"},"gifts":{"type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.DiscountProgramSource":{"properties":{}}Gift"}}},"required":["efts","transactionTime","operationType","operationMode","discountAmount","awardBonuses","usedBonuses","awardCoupons","usedCoupons","gifts"]},"ru.servplus.pos.common.models.receipt.commonsale.OperationModeKKTKIZ":{"description":"0информация - расчет скидок выполнялся при наличие связи с сервером маркетинга УКМ5, 1 - при отсутствии связи","properties":{}},"models.FError":{"properties":{"msg":{"type":"string"},"success":{"type":"boolean"},"errorCode":{"format":"int64для маркир.товаров, отправленная в ККТ","properties":{"kizType":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.sale.KIZType"},"kktCode":{"description":"массив байт, который был отправлен в ККТ (тег 1162)","type":"string"},"serial":{"description":"уникальный код маркированного товара","type":"integerstring"},"formErrorsrequisite":{"type$ref":"object#/definitions/ru.servplus.pos.common.models.receipt.sale.Requisite"}},"required":["kktCode"success,"kizType"]},"ru.servplus.pos.common.models.exporterreceipt.miscsale.AwardCouponEGAISReceiptData":{"properties":{"expiryDatesign":{"formatdescription":"date-timeПодпись чека от УТМ","type":"string"},"numberid":{"type":"string"}},"amountrequired":{["formatsign":"double","type":"number"id"]},"effectDateru.servplus.common.documents.rawreceipt.RawReceiptResult":{"formatdescription":"date-time","type":"string"},"comment":{"type":"string"}},"required":["number","comment"]completed - нормально завершенный чек, canceled - отмененный чек","properties":{}},"models.importer.LegalEntityUser":{"description":"юр. лицоПользователь кассы (кассир)","properties":{"agentTypepassword":{"description":"тип агентаПароль кассира (в открытом виде)","type":"string","maxLength":48},"cards":{"enumdescription":["brokerПеречень карт кассира","agenttype",:"notSetarray"]},"deleteditems":{"type$ref":"boolean#/definitions/models.importer.UserCard"}},"innroleId":{"format":"int64","description":"ИНН.Код Можетроли быть или юр. лица, или физ. лица(кассир, ст.кассир и т.д.)","type":"string","maxLength":40integer"},"name":{"description":"названиеИмя (ФИО) кассира","type":"string","maxLength":100},"payVatinn":{"description":"это платильщик НДС. Если да, то обычне налоги. Если нет, то специальныеИНН кассира","type":"booleanstring"}},"requiredmaxLength":[20},"innid",:{"nameformat",:"payVatint64","agentTypedescription",:"deletedКод кассира"]},"models.importer.LegalEntityItemVendorListtype":{"propertiesinteger":{},"elementsdelete":{"type":"arrayboolean"}},"itemsrequired":{"$ref":"#/definitions/models.importer.LegalEntityItemVendor"}}},"required":["elements["id","name","roleId","cards","delete"]},"ru.servplus.pos.common.models.receipt.commonsale.DiscountInfoClient":{"propertiesdescription":{"amount""Клиент системы лояльности. Заполнение зависит от системы лояльноси","properties":{"formatpatronymic":"double",{"description":"суммаОтчество скидкиклиента","type":"numberstring"},"codephone":{"type":"string"},"programSourcesurname":{"$refdescription":"#/definitions/ru.servplus.pos.common.models.receipt.common.DiscountProgramSource"},"couponNumber":{"Фамилия клиента","type":"string"},"kindname":{"$refdescription":"#/definitions/ru.servplus.pos.common.models.receipt.common.DiscountKind"},"couponQuantity":{"format":"int32","Имя клиента","type":"integerstring"},"nameloyalitySysUID":{"description":"название скидкикод (efts) системы лояльности, в которой зарегистрирован клиент","type":"string"},"discountCardcategory":{"description":"номеркатегория диск.картыклиента (если скидкавернула была предоставлена по диск.карте) это НЕ карта клиента!система лояльности)","type":"string"},"mechanicIdcardNumber":{"formatdescription":"int32номер карты клиента","type":"integerstring"}},"idrequired":{["formatsurname":,"int32name","descriptionpatronymic":,"ИД скидкиcardNumber","typecategory":,"integerloyalitySysUID"]},"eftsmodels.exporter.ReceiptAdditionalParams":{"format":"int32","description":"кодпараметры типа скидкичека","typeproperties":{"integer"}},"required":["id","efts","name","amount"]},"models.importer.LegalEntityItemContractorList":{"properties":{"elements":{marketingResults":{"description":"Для каждой системы маркетинга отдельная запись","type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.importercommon.LegalEntityItemContractorMarketingResult"}}},"required":["elements"]},"models.exporter.ExportableReturnReasondiscountCards":{"propertiesdescription":{"code":{"type":"string"},"name":{"type":"string"},"id":{"format":"int64","type":"integer"все диск.карты (не карты клиентов!), которые были введены в чеке через шаблон ввода. Часть из них (которые привели в предоставлению скидки), перечислены  в модели MarketingResult","type":"array","items":{"type":"string"}},"requiredcouponsCodes":["id","code","name"]},"ru.servplus.common.documents.rawreceipt.RawReceiptType":{"description":"sale -все купоны, введенные в чек через продажи,шаблон refundOnReceipt - возврат на основании чекаввода. Примененные/выданные купоны в модели MarketingResult","propertiestype":{}}"array","models.importer.Picklistitems":{"descriptiontype":"Произвольный перечень товаров"string"}},"propertiesreturnReason":{"stores$ref":{"description":"Действует только в указанных магазинах если он не isGlobal","type":"array","items"#/definitions/models.exporter.ExportableReturnReason"},"egaisReceiptData":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.sale.EGAISReceiptData"},"client":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.importersale.PicklistStoreClient"}},"namecustomerContactInfo":{"description":"Название перечня товаровконтактные данные покупателя для отправки чека через ОФД (телефон или почта)","type":"string","maxLength":100},"isGlobalsupervisor":{"description":"trueдля -отмененных Перечень действует во всех магазинахчеков кассир, false - только в магазинах, перечисленных в списке нижеотменивший чек","type$ref":"boolean#/definitions/ru.servplus.pos.common.models.User"},"idproperties":{"exclusiveMaximumdescription":true,"format":"int64","description":"Уникальный идентификатор перечня товаров","maximum":100000000000,"type":"integer"},"items"дополнительные свойства, привязанные к чеку","type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.Property"}},"originalReceiptNumbers":{"description":"Товары, входящие в Переченьдля чеков возврата по чеку номер исходного чека продажи","type$ref":"array","items#/definitions/ru.servplus.pos.common.models.receipt.common.ReceiptNumber"},"originalReceiptId":{"typedescription":"string"}},"delete":{"type":"booleanдля чеков возврата по чеку id исходного чека продажи","$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.ReceiptId"}},"required":["idmarketingResults"]},"name","isGlobal","stores","items","delete"]},"models.exporter.ShiftWOReceiptsmodels.importer.AlternativeItemPrice":{"properties":{"itemId":{"type":"string","maxLength":40},"minprice":{"propertiesformat":{"shiftdouble":{,"$reftype":"#/definitions/models.exporter.Shiftnumber"},"countersprice":{"$refformat":"#/definitions/models.exporter.ShiftCounters"}double","kkmInfotype":{"$ref":"#/definitions/models.exporter.ShiftKKMInfo"number"},"fnInfodescription":{"$reftype":"#/definitions/models.exporter.ShiftFNInfo"string","maxLength":100},"paymentsdelete":{"type":"arrayboolean"}},"itemsrequired":{["$refitemId":"#/definitions/models.exporter.ShiftPayment"}}},"required":["shift,"price","minprice","description","paymentsdelete"]},"ru.servplus.pos.common.models.receipt.sale.AddItemSourceQuantity":{"description":"как позиция была добавлена в чек hand-введена вручную, scanner-введена сканером, hotkey-введена по гор.клавише, picklist-выбрана из пиклиста","properties":{}},"models.importer.GroupAttribute":{"description":"Зарезервировано под маркировку товаров","properties":{"id":{"type":"string","maxLength":40значение количества","properties":{"decimals":{"format":"int32","description":"вспомогательное поле - количество символов в дробной части","type":"integer"},"value":{"format":"double","description":"значение количества","type":"number"}},"required":["value"id,"decimals"]},"models.importerexporter.ItemPropertyShiftFNInfo":{"description":"дополнительное свойство товараИнформация о состоянии ФН на момент закрытия смены","properties":{"showToCashiershiftId":{"format":"int64","description":"Уникальный (в рамках кассы) идентификатор смены","type":"booleaninteger"},"valuesofdQueueLength":{"format":"int32","description":"возможныеКоличество значениядокументов свойства.в Еслиочереди нев задано, должен ввести кассир. Если задано одно, оно подставляется по умолчанию. Если задан список, кассир выбирает из списка.ОФД","type":"integer"},"longWaitOFD":{"description":"Превышено время работы без отправки чеков в ОФД","type":"arrayboolean"},"itemsfirstQueueDocNumber":{"$ref":"#/definitions/models.importer.ItemPropertyValue"}},"name"format":"int32","description":"Номер первого неотправленного в ОФД документа","type":"integer"},"storeId":{"description":"названиеИД свойствамагазина","type":"string"},"printOnReceiptfirstQueueDocDateTime":{"typeformat":"booleandate-time"},"id":{"description":"идентификатор свойстваДата-время первого неотправленного в ОФД документа","type":"string"}},"requiredexample":["id","name","values","showToCashier","printOnReceipt"]},"models.exporter.Shift":{"description":"Информация о смене","properties":{"2018-06-22T08:00:19"},"fiscalDocNumber":{"format":"int32","description":"Номер последнего записанного в ФН документа","type":"integer"},"posId":{"format":"int64","description":"ИД кассы","type":"integer"},"numberneedChangeFN":{"format":"int64","description":"Номер смены по ККТПризнак необходимости замены ФН (по времени). Осталось менее 3 дней","type":"integerboolean"},"dateOpenfnNumber":{"format":"date-time","description":"Дата-времяЗаводской открытияномер сменыФН","type":"string","example":"2018-06-22T08:00:19"},"userIdOpenshiftState":{"format":"int64int32","description":"ИД кассира, открывшего сменусостояние смены в ККТ 0 - смена открыта, 1 - смена закрыта","type":"integer"},"userIdCloseendingResourceFN":{"formatdescription":"int64Приближается необходимость замены ФН (по времени). Осталось 30 дней","descriptiontype":"ИД кассира, закрывшего сменуboolean"},"lifePhase":{"format":"int32","description":"= 2 открыт фискальный режим","type":"integer"},"dateCloselifeTime":{"format":"date-time","description":"Дата-времяСрок закрытиядействия сменыФН","type":"string","example":"2018-06-22T08:00:19"},"idoverflowFN":{"format":"int64","description":"УникальныйПереполнение ФН по памяти (вболее рамках90% кассызаполнено) идентификатор смены","type":"integerboolean"},"storeIdstatus":{"descriptionformat":"ИД магазинаint32","type":"stringinteger"}},"userNameOpenrequired":{["posId"description,":storeId"ФИО кассира, открывшего смену","type":"string"},"userNameClose,"shiftId"]},"models.importer.ItemPriceList":{"properties":{"elements":{"descriptiontype":"ФИО кассира, закрывшего смену","type":"stringarray","items":{"$ref":"#/definitions/models.importer.ItemPrice"}}},"required":["posIdelements"]},"storeId","id","number","userIdOpen","userNameOpen","dateOpen"]},"models.importer.LegalEntityItemVendor":{"description":"поставщик товара. для режима комиссионной торговлиmodels.importer.ItemPrice":{"description":"Цена на товар (на уникальный код)","properties":{"itemId":{"description":"Уникальный код товара","type":"string","maxLength":40},"deletedisPromoPrice":{"description":"Признак, что данная цена акционная (промо)","type":"boolean"},"storesminprice":{"format":"double","description":"привязкаМинимальна к магазинамцена","type":"arraynumber"},"itemsprice":{"$refformat":"#/definitions/models.importer.LegalEntityStore"}},"isGlobal":{"double","description":"действует во всех магазинах. Если false, то только из спискаЦена","type":"booleannumber"}},"requireddateTo":[{"itemIdformat",:"storesdate-time","isGlobaldescription","deleted"]},"models.exporter.ReceiptsList":{"properties":{"elements":{"type":"array","items:"Дата окончания действия цены","type":"string","example":"2018-06-22T08:00:19"},"dateFrom":{"$refformat":"#/definitions/models.exporter.Receipt"}}},"required":["elements"]},"ru.servplus.pos.common.models.receipt.sale.KIZ":{"properties":{"code":{"type":"string"},"kktKIZ":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.sale.KKTKIZdate-time","description":"Дата начала действия цены","type":"string","example":"2018-06-22T08:00:19"},"delete":{"type":"boolean"}},"required":["codeitemId","price","minprice","isPromoPrice","delete"]},"ru.servplus.pos.common.models.receiptimporter.common.AlternativePriceItemProperties":{"description":"цена,список выбраннаядополнительных из доп.прайс-листа (цены на табак)"свойств товара","properties":{"priceitemId":{"format":"double","description":"Цена из альтернативного прайс-листакод товара","type":"numberstring"},"minPricedeleted":{"formattype":"doubleboolean"},"properties":{"description":"мин.цена из альтернативного прайс-листасвойства","type":"numberarray"},"descriptionitems":{"type$ref":"string"#/definitions/models.importer.ItemProperty"}}},"required":["priceitemId","minPriceproperties","descriptiondeleted"]},"ru.servplus.pos.common.models.receiptexporter.commonReceipt.GiftReceiptDates":{"description":"Перечень подарков, выданных по чеку в рамках системы лояльности","properties":{"itemdateOpen":{"descriptiontype":"Код (артикул) товара, выданного как подарок","string"},"dateClose":{"type":"string"},"quantitydateSubtotal":{"$reftype":"#/definitions/ru.servplus.pos.common.models.Quantity"}},"required""string"}},"required":["itemdateOpen","quantitydateClose"]},"ru.servplus.pos.common.models.receipt.sale.EGAISMarkKIZType":{"description":"марка ЕГАИС, прочитанная с товараtobacco-маркированное табачное изделие","properties":{"mark":{"description":"марка","type":"string"}},"required":["mark"]},"ru.servplus.pos.common.models.receipt.common.ItemPropertyReceiptTax":{"description":"налоги по чеку, рассчитанные кассой","properties":{"showToCashieramount":{"typeformat":"booleandouble"},"valuesdescription":{"рассчитанное значение налога","type":"arraynumber"},"itemstaxId":{"$refformat":"#/definitions/ru.servplus.pos.common.models.receipt.common.ItemPropertyValue"}},"name":{int64","description":"ИД налоговой ставки","type":"stringinteger"},"printOnReceipttaxGroupId":{"typeformat":"booleanint64"},"iddescription":{"ИД налоговой группы","type":"stringinteger"}},"requiredname":[{"iddescription",:"nameназвание налога","valuestype",:"showToCashierstring","printOnReceipt"]},"models.importer.LegalEntityListpercent":{"propertiesformat":{"elements":{"int32","description":"ставка налога","type":"arrayinteger"},"itemsfpCode":{"$ref"description":"зарезервировано под дальнейшее развитие","type":"#/definitions/models.importer.LegalEntitystring"}}},"required":["elementstaxId","taxGroupId","name","percent","amount"]},"ru.servplus.pos.common.models.receipt.common.LegalEntityOperationType":{"description":"юр. лицо0 - взаимодействие с системой лояльности выполнялась в чеке Приход (продажа), 1 - в чеке возврата прихода, 2 - взаимодействие было отменено","properties":{"agentType}},"models.importer.Tax":{"description":"типОписание агентаналога","$refproperties":"#/definitions/ru.servplus.pos.common.models.receipt.common.AgentType"},"inn{"name":{"description":"ИНННазвание налога (Например, НДС)","type":"string","maxLength":40},"nameid":{"format":"int64","description":"названиеКод налога (произвольный идентификатор - например, 1)","type":"stringinteger"},"payVatpriority":{"format":"int32","maximum":128,"description":"плательщик НДСПриоритет расчета налога (т.к. сейчас существует только НДС, то константа = 10)","type":"booleaninteger"}},"required":["innid","name","payVatpriority","agentType"]},"models.importer.UserListBarcodePriceList":{"description":"Список пользователей кассы (кассиров)","properties":{"elements":{"type":"array","items":{"$ref":"#/definitions/models.importer.UserBarcodePrice"}}},"required":["elements"]},"ru.servplus.pos.common.models.receiptimporter.common.PropertyLegalEntityStore":{"description":"дополнительные свойства в виде \"код-название\". Используется для привязки доп. параметров к чекам, позициям чека и т.д.привязка юр. лица к магазину","properties":{"showToCashierinn":{"description":"зарезервированоИНН под дальнейшее развитиеюр. лица","type":"boolean"string","maxLength":40},"namestoreId":{"description":"названиеид свойствамагазина","type":"string","maxLength":100},"printOnReceipt},"required":["storeId","inn"]},"models.exporter.Payment":{"description":"Оплата","properties":{"deviceType":{"description":"зарезервировано под дальнейшее развитиеТип банковской авторизации для оплат картой","type":"booleanstring"},"idamount":{"format":"double","description":"ID свойстваСумма данным средством оплаты","type":"stringnumber"},"valueauthorizationCode":{"description":"значение свойстваКод авторизации для банк.транзакции","$reftype":"#/definitions/ru.servplus.pos.common.models.receipt.common.PropertyValue"}},"required":["id","name","showToCashier","printOnReceipt"]},"models.importer.Barcode"string"},"cardType":{"description":"Тип карты (visa, МИР и т.д., если сообщил пин-пад)","type":"string"},"inn":{"description":"ШтрихкодИНН товарапродавца","propertiestype":{"quantity"string"},"amountWithChange":{"format":"double","description":"КоличествоСумма товараданная попокупателем штрихкоду (в упаковке) (для штучного товара значение 0 трактуется кассой как 1для наличных)","type":"number"},"iduuid":{"description":"Штрихкод товарауник.номер транзакции (если сообщил пин-пад)","type":"string"},"maxLengthrrn":40}},"required{"description":["id"Номер банк.транзакции (если сообщил пин-пад)","quantitytype"]},"ru.servplus.pos.common.models.User:"string"},"banknotes":{"description":"кассирСписок банкнот","propertiestype":{"roleId"array","items":{"format$ref":"int64","#/definitions/models.exporter.Banknote"}},"cardValidTo":{"description":"код роли кассираДата действия банк.карты (если сообщил пин-пад)","type":"integerstring"},"namepaymentId":{"format":"int64","description":"ФИОИД средства оплаты","type":"stringinteger"},"innname":{"description":"ИНННазвание средства кассираоплаты","type":"string"},"idpType":{"formattype":"int64string","description$ref":"код кассира#/definitions/ru.servplus.pos.common.models.receipt.common.PaymentType","typeenum":"integer"}},"required":["id["Other","Card","PayCard","Cash","Unknown","nameCertificate","roleIdPrepayment"]},"models.importer.TaxGroupcurrencyId":{"descriptionformat":"Налоговая группа (ее id указывается у товара)"int64","propertiesdescription":{"taxRates":{ИД валюты","type":"arrayinteger"},"itemscardNumber":{"$refdescription":"#/definitions/models.importer.TaxRateНомер карты, как его сообщил пин-пад (с маскир.разрядами)","type":"string"}},"isPreferentialrequired":{["typepaymentId":,"booleancurrencyId"},"advanceTaxIdname":{,"formatpType":,"int64deviceType","typeamount":,"integeramountWithChange"]},"idmodels.importer.LegalEntityItemContractor":{"formatdescription":"int64продавец товара. для режима многофискальности","properties":{"itemId":{"description":"Код налоговой группы (с кодом в ККТ не связан напрямую)код товара","type":"string"integer,"maxLength":40},"deletedeleted":{"type":"boolean"},"fpCodestores":{"description":"Непривязка используетсяк магазинам","type":"string"array","items":{"$ref":"#/definitions/models.importer.LegalEntityStore"}},"isGlobal":{"description":"действует во всех магазинах. Если false, то только из списка","maxLengthtype":20"boolean"}},"required":["iditemId","fpCodestores","taxRatesisGlobal","deletedeleted"]},"ru.servplus.pos.common.models.exporterreceipt.miscsale.MarketingResultItemSeller":{"description":"продавец, привязанный к позиции","properties":{"awardCouponscardNum":{"typedescription":"arrayкод карты (если регистрировался по карте)","itemstype":{"$ref":"#/definitions/models.exporter.misc.AwardCoupon"string"}},"discountAmountname":{"formatdescription":"doubleФИО продавца","type":"numberstring"},"transactionTimeid":{"typedescription":"stringкод продавца"},"transactionIDtype":{"type"string"}},"required":["stringid","name"]},"eftsmodels.importer.ItemAttribute":{"formatdescription":"int32","аттрибут товара. Используется для ограничений продажи и маркировки. Возможные значения alcohol, tobacco, egais, markedTobacco, markedGoods, advance, noSellerRequired, service","properties":{"id":{"type":"integer"}string","maxLength":40}},"operationModerequired":{["$refid":"#/definitions/]},"ru.servplus.pos.common.models.receipt.common.OperationMode"},"cardNumAwardCoupon":{"typedescription":"string"},"usedBonusesПеречень купонов, выданных в чеке в рамках системы лояльности","properties":{"expiryDate":{"format":"doubledate-time","typedescription":"number"},"origTransactionID":{дата окончания действия купона","type":"string"},"usedCouponsexample":{"type":"array","items"2018-06-22T08:00:19"},"number":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.UsedCoupon"}},"operationType":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.OperationType"},"awardBonusesdescription":"Номер выданного купона (если он был у купона)","type":"string"},"amount":{"format":"double","typedescription":"numberНоминал купона"},"gifts":{"type":"arraynumber"},"itemseffectDate":{"$refformat":"#/definitions/ru.servplus.pos.common.models.receipt.common.Gift"}}},"required":["efts","transactionTime","operationType","operationMode","discountAmount","awardBonuses","usedBonuses","awardCoupons","usedCoupons","gifts"]},"models.importer.TaxListdate-time","description":"дата начала действия купона","type":"string","example":"2018-06-22T08:00:19"},"comment":{"type":"string"}},"required":["number","comment"]},"ru.servplus.pos.common.models.receipt.common.ReceiptId":{"properties":{"elementsposId":{"format":"int64","type":"arrayinteger"},"itemsshiftId":{"$refformat":"#/definitions/models.importer.Tax"}}}int64","requiredtype":["elementsinteger"]},"ru.servplus.common.documents.moneyoperation.MoneyOperationTypeid":{"descriptionformat":"deposition - внесение в ден.ящик, withdrawal - изъятие из ден.ящикаint64","propertiestype":{"integer"}},"models.importer.SellerstoreId":{"descriptionformat":"Продавец (личные продажи)int64","properties":{"cards":{"description":"ПереченьИД карт продавцамагазина","type":"arraystring"}},"itemsrequired":{["storeId"$ref,":"#/definitions/posId","id"]},"models.importer.SellerCard"}},"nameSellerList":{"properties":{"descriptionelements":"Имя (ФИО) продавца",{"type":"stringarray","maxLength":50},"dismisseditems":{"format$ref":"date-time","description":"Дата увольнения","type":"string","example":"2018-06-22T08:00:19"},"hired"#/definitions/models.importer.Seller"}}},"required":["elements"]},"models.exporter.ReceiptCalculatedParams":{"description":"Сумма чека, налоги и скидки","properties":{"amount":{"format":"date-timedouble","description":"Дата начала работыСумма чека ДО применения скидок","type":"string","example":"2018-06-22T08:00:19"number"},"iddiscounts":{"description":"Код (идентификатор) продавцаСкидки, примененные в этом чеке","type":"stringarray","maxLengthitems":50},{"delete$ref":{"type":"boolean"#/definitions/ru.servplus.pos.common.models.receipt.common.DiscountInfo"}},"requiredtotalDiscountAmount":[{"idformat","name","cards","delete"]},"models.importer.UserCard":{"description":"Карта кассира","properties":{"number":"double","description":"Общая сумма рассчитанных в чеке скидок (таким образом, для вычисления суммы чека с учетом скидок, необходимо из amount вычесть  totalDiscountAmount)","type":"number"},"receiptCurrencyCode":{"description":"Код,Название записанный на картевалюты (Рубль)","type":"string","maxLength":40},"dateTilltaxes":{"formatdescription":"date-time","description":"Дата окончания действия картыНалоги, рассчитанные кассой (могут отличаться от налогов в ККТ)","type":"stringarray","exampleitems":"2018-06-22T08:00:19"},"active":{{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.ReceiptTax"}},"itemsCount":{"format":"int32","description":"ПризнакКоличество позиций активностив картычеке","type":"booleaninteger"}},"dateFromrequired":{"format":"date-time","description":"Дата начала действия карты",["receiptCurrencyCode","amount","itemsCount","discounts","taxes"]},"models.importer.ItemList":{"properties":{"elements":{"type":"stringarray","exampleitems":"2018-06-22T08:00:19{"$ref":"#/definitions/models.importer.Item"}}},"required":["number","activeelements"]},"models.exporterimporter.BanknoteItem":{"description":"ДанныеОписание банкнотытовара","properties":{"numbertaxgroupId":{"format":"int64","description":"НомерКод налоговой банкнотыгруппы","type":"stringinteger"},"nominaldescr":{"formatdescription":"int32","description":"Номинал банкнотыЗарезервировано под дальнейшее развитие","type":"integerstring"}},"required":["nominal","number"]},"ru.servplus.pos.common.models.receipt.sale.KKTKIZ,"itemGroup":{"description":"информация для маркир.товаров, отправленная в ККТ","properties":{"kizType":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.sale.KIZType"},"kktCodeКод узла иерархии, к которому привязан товар (символ 0, если товар не привязан к узлам)","type":"string","maxLength":40},"measure":{"description":"массивНазвание байт,единицы которыйизмерения был(печатается отправлен в ККТ (тег 1162чеке)","type":"string","maxLength":40},"serialname":{"description":"уникальный код маркированного товараНазвание товара (печатается в чеке)","type":"string"}},"requiredmaxLength":["kktCode","kizType"]255},"models.importer.AlternativeItemPriceListattributes":{"propertiesdescription":{"elements":{Перечень атрибутов товара","type":"array","items":{"$ref":"#/definitions/models.importer.AlternativeItemPriceItemAttribute"}}},"required":["elements"]},"ru.servplus.pos.common.models.receipt.common.ItemPropertyValue"id":{"propertiesdescription":{"name":{Уникальный код товара","type":"string"},"idmaxLength":{"type":"string"}}40},"requiredbarcodes":[{"iddescription","name"]},"models.FOk":{"properties":{"msg:"Список штрихкодов товара","type":"array","items":{"type$ref":"string#/definitions/models.importer.Barcode"}},"successdelete":{"type":"boolean"}},"required":["success"]},"ru.servplus.pos.common.models.receipt.sale.EGAISReceiptDatameasprec":{"propertiesformat":{"signint32":{,"description":"Подпись чека от УТМ","type":"string"},"id":{Точность ед.измерения. Количество знаков после запятой. (0 - штучный товар, 3 - весовой товар)","type":"stringinteger"}},"required":["signid","idname"]},"models.importer.TaxGroupList":{"properties":{"elements":{"type":"array","items":{"$ref":"#/definitions/models.importer.TaxGroup"}}},"required":["elements"descr","measure","measprec","itemGroup","barcodes","attributes","delete"]},"models.exporterimporter.ReceiptGroupItem":{"description":"чекТоварная иерархия","properties":{"posNumberowner":{"formatdescription":"int64Код родительского узла (если отсутствует, то символ 0)","descriptiontype":"номер кассыstring","typemaxLength":"integer"40},"shiftIdname":{"formatdescription":"int64Название узла иерархии","descriptiontype":"ИД смены (сквозной номер смены в базе кассы)string","typemaxLength":"integer"80},"posNameattributes":{"description":"название кассы","type":"stringarray"},"receiptTypeitems":{"type":"string","$ref":"#/definitions/rumodels.servplus.common.documents.rawreceipt.RawReceiptType","enum":["Sale","RefundOnReceipt","RefundWOReceipt"]},"shiftNumberimporter.GroupAttribute"}},"id":{"description":"Код узла иерархии","type":"string","maxLength":40},"delete":{"formattype":"int64boolean"}},"descriptionrequired":"номер смены в ККТ["id","typeowner":,"integername"},"additionalattributes":{,"$refdelete":"#/definitions/models.exporter.ReceiptAdditionalParams"},"removedItems"]},"ru.servplus.pos.common.models.receipt.common.PaymentType":{"description":"массив удаленных позиций","type":"array","items":{"$ref":"#/definitions/models.exporter.ReceiptItem"}},"payments":{"description":"оплаты по чеку","type":"array","items":{"$ref":"#/definitions/models.exporter.Payment"}},"dates":{"$ref":"#/definitions/models.exporter.ReceiptDates"},"storeId":{"description":"ИД магазина","type":"string"},"result":{"type":"string","$ref":"#/definitions/ru.servplus.common.documents.rawreceipt.RawReceiptResult","enum":["Completed","Canceled"]},"posId":{"format":"int64","description":"ИД кассыcash-наличные, card-банк.карта, certificate-подар.сертификат/карта, PayCard-платежная карта (не банковская), other-другие средства оплаты","properties":{}},"models.exporter.ExportableReturnReason":{"properties":{"code":{"type":"string"},"name":{"type":"string"},"id":{"format":"int64","type":"integer"}},"required":["id","code","name"]},"models.importer.Picklist":{"description":"Произвольный перечень товаров","properties":{"stores":{"description":"Действует только в указанных магазинах если он не isGlobal","type":"array","items":{"$ref":"#/definitions/models.importer.PicklistStore"}},"name":{"description":"Название перечня товаров","type":"integerstring"},"numbermaxLength":{100},"formatisGlobal":{"int64","description":"номер сменыtrue - Перечень действует во всех магазинах, false - только в магазинах, перечисленных в ККТсписке ниже","type":"integerboolean"},"cashierIdid":{"exclusiveMaximum":true,"format":"int64","description":"ИД кассира"Уникальный идентификатор перечня товаров","maximum":100000000000,"type":"integer"},"globalDocNumberitems":{"formatdescription":"int64","description":"сквозной номер документаТовары, входящие в базе кассыПеречень","type":"integerarray"},"iditems":{"formattype":"int64string"}},"descriptiondelete":{"внутренний ИД чека"type":"boolean"}},"typerequired":"integer"},"calculated":{"$ref":"#/definitions/models.exporter.ReceiptCalculatedParams"},"items["id","name","isGlobal","stores","items","delete"]},"ru.servplus.pos.common.models.receipt.sale.AddItemSource":{"typedescription":"arrayкак позиция была добавлена в чек hand-введена вручную, scanner-введена сканером, hotkey-введена по гор.клавише, picklist-выбрана из пиклиста","itemsproperties":{"$ref":"#/definitions/}},"models.exporter.ReceiptItem"}},"cashierName"Shift":{"description":"ФИОИнформация о кассирасмене","typeproperties":{"string"}},"requiredposId":{"format":["idint64","posIddescription",:"storeIdИД кассы","shiftIdtype",:"shiftNumberinteger"},"number","receiptType:{"format":"int64","resultdescription":"Номер смены по ККТ","cashierIdtype",:"cashierNameinteger"},"posNamedateOpen",:{"posNumberformat",:"datesdate-time","additionaldescription","calculated:"Дата-время открытия смены","itemstype",:"removedItemsstring","paymentsexample","globalDocNumber"]},"ru.servplus.common.documents.rawreceipt.RawReceiptResult":{":"2018-06-22T08:00:19"},"userIdOpen":{"format":"int64","description":"completed - нормально завершенный чекИД кассира, canceled - отмененный чекоткрывшего смену","propertiestype":{"integer"}},"models.exporter.ShiftWithReceiptsListuserIdClose":{"propertiesformat":{"elements":{"int64","description":"ИД кассира, закрывшего смену","type":"arrayinteger"},"itemsdateClose":{"$refformat":"#/definitions/models.exporter.ShiftWithReceipts"}}},"required":["elements"]},"models.importer.User":{"description":"Пользователь кассы (кассир)","properties":{"password":{date-time","description":"Дата-время закрытия смены","type":"string","example":"2018-06-22T08:00:19"},"id":{"format":"int64","description":"ПарольУникальный кассира открытомрамках видекассы) идентификатор смены","type":"string","maxLength":48integer"},"cardsstoreId":{"description":"ПереченьИД карт кассирамагазина","type":"array","items":{"$ref":"#/definitions/models.importer.UserCard"}string"},"roleIduserNameOpen":{"format":"int64","description":"Код роли (кассирФИО кассира, ст.кассир и т.д.)открывшего смену","type":"integerstring"},"nameuserNameClose":{"description":"Имя (ФИО) кассира, закрывшего смену","type":"string"}},"maxLengthrequired":100}["posId","innstoreId":{,"descriptionid":,"ИНН кассираnumber","typeuserIdOpen":,"stringuserNameOpen","maxLengthdateOpen":20]},"idmodels.importer.LegalEntityItemVendor":{"format":"int64","description":"Код кассирапоставщик товара. для режима комиссионной торговли","typeproperties":"integer"},"delete{"itemId":{"typedescription":"booleanкод товара"}},"requiredtype":["idstring","namemaxLength":40},"roleIddeleted",:{"cardstype",:"deleteboolean"]},"models.exporter.MoneyOperationstores":{"description":"Операциипривязка ск денежным ящикоммагазинам","propertiestype":{"reasonName"array","items":{"type$ref":"string#/definitions/models.importer.LegalEntityStore"}},"shiftIdisGlobal":{"formatdescription":"int64","description":"ИД сменыдействует во всех магазинах. Если false, то только из списка","type":"integerboolean"}},"amountrequired":{["formatitemId":,"doublestores","description":"сумма операции"isGlobal","type":"number"deleted"]},"shiftNumberru.servplus.pos.common.models.receipt.sale.KIZ":{"formatproperties":{"int64","descriptioncode":"номер смены (по ККТ)","{"type":"integerstring"},"opTypekktKIZ":{"type":"string","$ref":"#/definitions/ru.servplus.pos.common.documentsmodels.receipt.moneyoperationsale.MoneyOperationTypeKKTKIZ"}},"enumrequired":["Deposition","Withdrawal","UnknownMoneyOperationType"code"]},"storeIdru.servplus.pos.common.models.receipt.common.AlternativePrice":{"description":"ИД магазинацена, выбранная из доп.прайс-листа (цены на табак)","typeproperties":{"stringprice"},:{"userNameformat":{"double","description":"ФИО кассираЦена из альтернативного прайс-листа","type":"stringnumber"},"userIdminPrice":{"format":"int64double","description":"ИД кассира, выполявшего операциюмин.цена из альтернативного прайс-листа","type":"integernumber"},"localNumberdescription":{"formattype":"int64string"}},"descriptionrequired":"номер документа в смене["price","typeminPrice":,"integerdescription"]},"posIdru.servplus.pos.common.models.receipt.common.LegalEntity":{"formatdescription":"int64юр. лицо","properties":{"agentType":{"description":"ИДтип кассыагента","type$ref":"integer#/definitions/ru.servplus.pos.common.models.receipt.common.AgentType"},"reasonIdinn":{"formatdescription":"int64ИНН","type":"integerstring"},"amountBeforename":{"format":"double","description":"сумма в денежном ящике до выполнения этой операцииназвание","type":"numberstring"},"idpayVat":{"format":"int64","description":"ИДплательщик операцииНДС","type":"integerboolean"}},"opDaterequired":{["formatinn":"date-time,"name","payVat","agentType"]},"models.importer.UserList":{"description":"дата-время операцииСписок пользователей кассы (кассиров)","typeproperties":{"stringelements",:{"exampletype":"2018-06-22T08:00:19"}array","reasonCodeitems":{"type$ref":"string#/definitions/models.importer.User"}}},"globalNumberrequired":{["formatelements":"int64",]},"ru.servplus.pos.common.models.receipt.common.Property":{"description":"сквознойдополнительные номерсвойства документав по кассе","type":"integer"},"currencyIdвиде \"код-название\". Используется для привязки доп. параметров к чекам, позициям чека и т.д.","properties":{"formatshowToCashier":"int32",{"description":"ИД валютызарезервировано под дальнейшее развитие","type":"integerboolean"}},"requiredname":{"description":["idназвание свойства","posIdtype":"string"},"storeId","globalNumber","localNumber","userId","userName","shiftId","shiftNumber","opDate","opType","amount","amountBefore","currencyId"printOnReceipt":{"description":"зарезервировано под дальнейшее развитие","type":"boolean"},"id":{"description":"ID свойства","type":"string"},"value":{"description":"значение свойства","$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.PropertyValue"}},"required":["id","name","showToCashier","printOnReceipt"]},"models.importer.PicklistListTaxList":{"properties":{"elements":{"type":"array","items":{"$ref":"#/definitions/models.importer.PicklistTax"}}},"required":["elements"]},"ru.servplus.pos.common.modelsdocuments.receiptmoneyoperation.sale.ClientMoneyOperationType":{"description":"Клиент системы лояльности. Заполнение зависит от системы лояльносиdeposition - внесение в ден.ящик, withdrawal - изъятие из ден.ящика","properties":{"patronymic}},"models.exporter.Receipt.ReceiptAdditionalParams":{"descriptionproperties":{"Отчество клиента","type":"stringclient":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.sale.Client"},"phonediscountCards":{"type":"stringarray"},"surnameitems":{"description":"Фамилия клиента","type":"string"}},"namecouponsCodes":{"descriptiontype":"Имя клиентаarray","items":{"type":"string"}},"loyalitySysUIDegaisReceiptData":{"description$ref":"код (efts) системы лояльности, в которой зарегистрирован клиент",#/definitions/ru.servplus.pos.common.models.receipt.sale.EGAISReceiptData"},"marketingResults":{"type":"stringarray"},"categoryitems":{"description$ref":"категория клиента (если вернула система лояльности)","#/definitions/models.exporter.misc.MarketingResult"}},"customerContactInfo":{"type":"string"},"cardNumbersupervisor":{"description$ref":"номер карты клиента","type":"string"}},"required":["surname","name","patronymic","cardNumber","category","loyalitySysUID"]},"models.exporter.ReceiptAdditionalParams":{"description":"параметры чека","properties":{"marketingResults":{"description":"Для каждой системы маркетинга отдельная запись","type":"array","items"#/definitions/ru.servplus.pos.common.models.User"},"properties":{"type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.Property"}},"originalReceiptNumbers":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.ReceiptNumber"},"originalReceiptId":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.MarketingResultReceiptId"}},"discountCardsreturnReason":{"description$ref":"все диск.карты (не карты клиентов!), которые были введены в чеке через шаблон ввода. Часть из них (которые привели в предоставлению скидки), перечислены  в модели MarketingResult#/definitions/models.exporter.ExportableReturnReason"}},"required":["marketingResults"]},"models.importer.Seller":{"description":"Продавец (личные продажи)","properties":{"cards":{"description":"Перечень карт продавца","type":"array","items":{"$ref":"#/definitions/models.importer.SellerCard"}},"name":{"description":"Имя (ФИО) продавца","type":"string"}","maxLength":50},"couponsCodesdismissed":{"format":"date-time","description":"все купоны, введенные в чек через шаблон ввода. Примененные/выданные купоны в модели MarketingResultДата увольнения","type":"string","example":"2018-06-22T08:00:19"},"hired":{"format":"date-time","description":"Дата начала работы","type":"string","example":"2018-06-22T08:00:19"},"id":{"description":"Код (идентификатор) продавца","type":"string","arraymaxLength":50},"itemsdelete":{"type":"stringboolean"}},"returnReasonrequired":{["$refid":"#/definitions/models.exporter.ExportableReturnReason"},"egaisReceiptData":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.sale.EGAISReceiptData"},"client":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.sale.Client"},"customerContactInfo,"name","cards","delete"]},"models.importer.UserCard":{"description":"Карта кассира","properties":{"number":{"description":"контактныеКод, данныезаписанный покупателя для отправки чека через ОФД (телефон или почта)на карте","type":"string"},"supervisormaxLength":{40},"descriptiondateTill":"для отмененных чеков кассир, отменивший чек","$ref":"#/definitions/ru.servplus.pos.common.models.User"},"properties":{{"format":"date-time","description":"дополнительныеДата свойства,окончания привязанныедействия к чекукарты","type":"arraystring","itemsexample":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.Property"}},"originalReceiptNumbers"2018-06-22T08:00:19"},"active":{"description":"дляПризнак чеков возврата по чеку номер исходного чека продажиактивности карты","$reftype":"#/definitions/ru.servplus.pos.common.models.receipt.common.ReceiptNumberboolean"},"originalReceiptIddateFrom":{"format":"date-time","description":"дляДата чековначала возврата по чеку id исходного чека продажидействия карты","type":"string","$refexample":"#/definitions/ru.servplus.pos.common.models.receipt.common.ReceiptId2018-06-22T08:00:19"}},"required":["marketingResults":["number","active"]},"models.exporter.ShiftPaymentBanknote":{"description":"Суммы продаж и возвратов за смену в разрезе средств оплаты по данным кассы и ККТДанные банкноты","properties":{"number":{"posId"description":"Номер банкноты","type":"string"},"nominal":{"format":"int64int32","description":"ИДНоминал кассыбанкноты","type":"integer"}},"shiftIdrequired":{["formatnominal":,"int64number"]},"descriptionmodels.importer.AlternativeItemPriceList":"Уникальный (в рамках кассы) идентификатор смены",{"properties":{"elements":{"type":"integerarray"},"saleKKMitems":{"format"$ref":"#/definitions/models.importer.AlternativeItemPrice"}}},"required":["doubleelements"]},"description"ru.servplus.pos.common.models.receipt.common.ItemPropertyValue":{"properties":"Сумма продаж за смену по данным ККТ  данным средством оплаты",{"name":{"type":"numberstring"},"paymentIdid":{"formattype":"int64string"}},"descriptionrequired":["Идентификатор средства оплатыid","type":"integer"name"]},"returnPOSmodels.importer.TaxGroupList":{"formatproperties":{"doubleelements","description":"Сумма возвратов за смену по данным кассы  данным средством оплаты","{"type":"numberarray"},"isMoneyitems":{"description$ref":"true - наличные, для остальных - false","type":"boolean"},"storeId#/definitions/models.importer.TaxGroup"}}},"required":["elements"]},"models.exporter.Receipt":{"description":"ИД магазиначек","typeproperties":{"stringposNumber"},:{"paymentNameformat":{"int64","description":"Названиеномер средства оплатыкассы","type":"stringinteger"},"salePOSshiftId":{"format":"doubleint64","description":"Сумма продаж за смену по данным кассы данным средством оплатыИД смены (сквозной номер смены в базе кассы)","type":"numberinteger"},"returnKKMposName":{"format":"double","description":"Сумма возвратов за смену по данным ККТ  данным средством оплатыназвание кассы","type":"numberstring"}},"requiredreceiptType":[{"posIdtype",:"storeIdstring","shiftId$ref","paymentId:"#/definitions/ru.servplus.common.documents.rawreceipt.RawReceiptType","paymentNameenum",:["isMoneySale","salePOSRefundOnReceipt","returnPOSRefundWOReceipt"]},"models.importer.ItemPropertyValueshiftNumber":{"format":"int64","description":"значениеномер дополнительногосмены свойствав товаровККТ","propertiestype":{"nameinteger":{},"descriptionadditional":"название значения","type{"$ref":"string#/definitions/models.exporter.Receipt.ReceiptAdditionalParams"},"idremovedItems":{"description":"идентификатормассив удаленных значенияпозиций","type":"stringarray"}},"requireditems":[{"id$ref","name"]:"#/definitions/models.exporter.ReceiptItem"}},"models.exporter.ShiftWOReceiptsListpayments":{"propertiesdescription":{"elements":{оплаты по чеку","type":"array","items":{"$ref":"#/definitions/models.exporter.ShiftWOReceiptsPayment"}}},"requireddates":[{"elements$ref"]},"ru.servplus.pos.common.models.receipt.common.ProductInfo:"#/definitions/models.exporter.Receipt.ReceiptDates"},"storeId":{"description":"Описание товара","propertiesИД магазина","type":"string"},"result":{"contractortype":{"string","$ref":"#/definitions/ru.servplus.pos.common.modelsdocuments.receipt.common.LegalEntity"rawreceipt.RawReceiptResult","enum":["Completed","Canceled"]},"itemGroupposId":{"format":"int64","description":"код ближайшего узла иерархии, в который входит товарИД кассы","type":"stringinteger"},"scu":{"number":{"format":"int64","description":"код товараномер смены в ККТ","type":"stringinteger"},"descriptioncashierId":{"format":"int64","description":"зарезервировано под дальнейшее развитиеИД кассира","type":"stringinteger"},"alternativePricesglobalDocNumber":{"format":"int64","description":"переченьсквозной альтернативных цен, которые были назначены товару в момент его добавления в чекномер документа в базе кассы","type":"arrayinteger"},"itemsid":{"$refformat":"#/definitions/ru.servplus.pos.common.models.receipt.common.AlternativePrice"}},"measure":{"int64","description":"названиевнутренний единицыИД измерениячека","type":"stringinteger"},"vendorcalculated":{"$ref":"#/definitions/ru.servplus.pos.common.models.receiptexporter.commonReceipt.LegalEntityReceiptCalculatedParams"},"name":{"description":"название товара","type":"string"},"attributesitems":{"type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receiptexporter.common.ProductAttributeReceiptItem"}},"barcodeQuantitycashierName":{"description":"количество товара, указанное в штрихкодеФИО кассира","$reftype":"#/definitions/ru.servplus.pos.common.models.Quantitystring"}},"measurePrecrequired":{["formatid":,"int32posId","descriptionstoreId",":shiftId"0-штучный товар, 3-весовой,"shiftNumber","typenumber":,"integerreceiptType"},"taxGroupresult":{,"formatcashierId":,"int64cashierName","descriptionposName":"ИД налоговой группы назначенной товару,"posNumber","typedates":,"integeradditional"},"barcode":{"description":"штрихкод товара, если он был введен по штрихкоду (пусто, если товар был введен в чек другим способом)","type":"string"},"propertiescalculated","items","removedItems","payments","globalDocNumber"]},"models.exporter.ShiftWithReceiptsList":{"properties":{"elements":{"type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receiptexporter.common.ItemPropertyShiftWithReceipts"}}},"required":["scuelements"]},"name",models.exporter.MoneyOperation":{"description","measurePrec:"Операции с денежным ящиком","measureproperties",:{"itemGroupreasonName",:{"attributestype",:"alternativePricesstring"]},"models.importer.AlternativeItemPriceshiftId":{"propertiesformat":{"itemIdint64":{,"typedescription":"stringИД смены","maxLengthtype":40"integer"},"minpriceamount":{"format":"double","description":"сумма операции","type":"number"},"priceshiftNumber":{"format":"doubleint64","description":"номер смены (по ККТ)","type":"numberinteger"},"descriptionopType":{"type":"string","$ref":"#/definitions/ru.servplus.common.documents.moneyoperation.MoneyOperationType","maxLengthenum":100["Deposition","Withdrawal","UnknownMoneyOperationType"]},"deletestoreId":{"typedescription":"booleanИД магазина"}},"requiredtype":["itemIdstring"},"price","minprice"userName":{"description":"ФИО кассира","descriptiontype",:"deletestring"]},"models.importer.BarcodePriceuserId":{"format":"int64","description":"Цены для штрихкодов (цена для единицы товара, а не для всего количества, указанного в штрихкоде)","propertiesИД кассира, выполявшего операцию","type":"integer"},"localNumber":{"isPromoPriceformat":{"int64","description":"Признак,номер чтодокумента данная цена акционная (промо)в смене","type":"booleaninteger"},"minpriceposId":{"format":"doubleint64","description":"МинимальнаяИД ценакассы","type":"numberinteger"},"pricereasonId":{"format":"double","description":"Цена за единицу (за 1 шт. или за 1 кг)int64","type":"numberinteger"},"dateToamountBefore":{"format":"date-timedouble","description":"Дата окончания действия ценысумма в денежном ящике до выполнения этой операции","type":"stringnumber"},"exampleid":"2018-06-22T08:00:19"},"storeId":{{"format":"int64","description":"Код магазина (во внешней системе). Поле не используетсяИД операции","type":"string","maxLength":20integer"},"dateFromopDate":{"format":"date-time","description":"Дата начала действия ценыдата-время операции","type":"string","example":"2018-06-22T08:00:19"},"deletereasonCode":{"type":"booleanstring"},"barcodeIdglobalNumber":{"format":"int64","description":"Штрихкодсквозной номер документа по кассе","type":"stringinteger"},"maxLengthcurrencyId":40}},"required{"format":["storeIdint32","barcodeIddescription":"ИД валюты","pricetype",:"minpriceinteger"}},"dateFromrequired",:["dateToid","isPromoPriceposId","deletestoreId"]},"ru.servplus.pos.common.models.Quantity":{"description":"значение количестваglobalNumber","localNumber","userId","propertiesuserName":{,"decimalsshiftId":{,"formatshiftNumber":,"int32opDate","descriptionopType":"вспомогательное поле - количество символов в дробной части,"amount","typeamountBefore":,"integercurrencyId"]},"valuemodels.importer.PicklistList":{"formatproperties":{"doubleelements",:{"descriptiontype":"значение количестваarray","items":{"type$ref":"number#/definitions/models.importer.Picklist"}}},"required":["value","decimalselements"]},"models.exporter.ShiftFNInfoShiftPayment":{"description":"Информация о состоянии ФН на момент закрытия смены","properties":{Суммы продаж и возвратов за смену в разрезе средств оплаты по данным кассы и ККТ","properties":{"posId":{"format":"int64","description":"ИД кассы","type":"integer"},"shiftId":{"format":"int64","description":"Уникальный (в рамках кассы) идентификатор смены","type":"integer"},"ofdQueueLengthsaleKKM":{"format":"int32double","description":"Количество документов в очереди в ОФДСумма продаж за смену по данным ККТ  данным средством оплаты","type":"integernumber"},"longWaitOFDpaymentId":{"format":"int64","description":"ПревышеноИдентификатор время работы без отправки чеков в ОФДсредства оплаты","type":"booleaninteger"},"firstQueueDocNumberreturnPOS":{"format":"int32double","description":"Номер первого неотправленного в ОФД документаСумма возвратов за смену по данным кассы  данным средством оплаты","type":"integernumber"},"storeIdisMoney":{"description":"ИД магазинаtrue - наличные, для остальных - false","type":"stringboolean"},"firstQueueDocDateTimestoreId":{"format":"date-time","description":"Дата-время первого неотправленного в ОФД документаИД магазина","type":"string","example":"2018-06-22T08:00:19"},"fiscalDocNumberpaymentName":{"format":"int32","description":"Номер последнего записанного в ФН документаНазвание средства оплаты","type":"integerstring"},"posIdsalePOS":{"format":"int64double","description":"ИДСумма продаж за смену по данным кассы данным средством оплаты","type":"integernumber"},"needChangeFNreturnKKM":{"format":"double","description":"ПризнакСумма необходимостивозвратов заменыза ФНсмену (по времени). Осталось менее 3 днейданным ККТ  данным средством оплаты","type":"booleannumber"}},"fnNumberrequired":{"description":"Заводской номер ФН["posId","storeId","shiftId","typepaymentId":,"stringpaymentName"},"shiftStateisMoney":{,"formatsalePOS":,"int32returnPOS"]},"models.importer.ItemPropertyValue":{"description":"состояниезначение сменыдополнительного в ККТ 0 - смена открыта, 1 - смена закрытасвойства товаров","typeproperties":{"integer"},"endingResourceFN"name":{"description":"Приближается необходимость замены ФН (по времени). Осталось 30 дней":"название значения","type":"booleanstring"},"lifePhaseid":{"formatdescription":"int32идентификатор значения","descriptiontype":"= 2 открыт фискальный режим"string"}},"typerequired":"integer"["id","name"]},"lifeTimemodels.exporter.ShiftWOReceiptsList":{"formatproperties":{"date-time","descriptionelements":{"type":"Срок действия ФНarray","type"items":{"$ref":"string"#/definitions/models.exporter.ShiftWOReceipts"}}},"examplerequired":"2018-06-22T08:00:19"},"overflowFN["elements"]},"ru.servplus.pos.common.models.receipt.common.ProductInfo":{"description":"Переполнение ФН по памяти (более 90% заполнено)","type":"booleanОписание товара","properties":{"contractor":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.LegalEntity"},"statusitemGroup":{"formatdescription":"int32код ближайшего узла иерархии, в который входит товар","type":"integerstring"}},"required":["posId","storeId","shiftId"]},"models.importer.ItemPriceList"scu":{"propertiesdescription":{"elements":{код товара","type":"arraystring"},"itemsdescription":{"$refdescription":"#/definitions/models.importer.ItemPrice"}}},"required":["elements"]},"models.importer.ItemPriceзарезервировано под дальнейшее развитие","type":"string"},"alternativePrices":{"description":"Цена на товар (на уникальный код)","properties":{"itemIdперечень альтернативных цен, которые были назначены товару в момент его добавления в чек","type":"array","items":{"description$ref":"Уникальный код товара","type":"string","maxLength":40},"isPromoPrice#/definitions/ru.servplus.pos.common.models.receipt.common.AlternativePrice"}},"measure":{"description":"Признак,название что данная цена акционная (промо)единицы измерения","type":"booleanstring"},"minpricevendor":{"format$ref":"double","#/definitions/ru.servplus.pos.common.models.receipt.common.LegalEntity"},"name":{"description":"Минимальнаназвание ценатовара","type":"numberstring"},"priceattributes":{"formattype":"doublearray","descriptionitems":{"Цена$ref","type":"number"},"dateTo:"#/definitions/ru.servplus.pos.common.models.receipt.common.ProductAttribute"}},"barcodeQuantity":{"formatdescription":"date-time","description":"Дата окончания действия ценыколичество товара, указанное в штрихкоде","type$ref":"string","example":"2018-06-22T08:00:19#/definitions/ru.servplus.pos.common.models.Quantity"},"dateFrommeasurePrec":{"format":"date-timeint32","description":"Дата начала действия цены0-штучный товар, 3-весовой","type":"stringinteger"},"exampletaxGroup":"2018-06-22T08:00:19"},"delete":{{"format":"int64","description":"ИД налоговой группы назначенной товару","type":"booleaninteger"}},"requiredbarcode":[{"itemIddescription","price","minprice","dateFrom","dateTo","isPromoPrice","delete"]},"ru.servplus.pos.common.models.receipt.common.PropertyValue":{"description":"Значение дополнительного свойства","properties":{"name":{"description":"название значения","type":"string"},"id":{"description":"ID значения","type":"string"}},"required":["id","name:"штрихкод товара, если он был введен по штрихкоду (пусто, если товар был введен в чек другим способом)","type":"string"},"properties":{"type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.ItemProperty"}}},"required":["scu","name","description","measurePrec","measure","itemGroup","attributes","alternativePrices"]},"models.exporter.ShiftKKMInfoReceipt.ReceiptCalculatedParams":{"description":"Информация о параметрах ККТ и количестве чеков за смену по данным ККТ","properties":{"shiftIdreceiptCurrencyCode":{"formattype":"int64string"},"descriptionamount":{"type":"Уникальный (в рамках кассы) идентификатор сменыnumber","typeformat":"integerdouble"},"serialNumberitemsCount":{"descriptiontype":"Заводской номер ФНinteger","typeformat":"stringint32"},"shiftNumberdiscounts":{"formattype":"int64array","descriptionitems":"Номер смены по ККТ (ФН)","type":"integer"},"withdrawal{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.DiscountInfo"}},"taxes":{"formattype":"int32array","descriptionitems":"Количество изъятий из ден.ящика по данным ККТ","type":"integer"},"storeId{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.ReceiptTax"}},"totalDiscountAmount":{"descriptiontype":"ИД магазинаnumber","typeformat":"stringdouble"}},"posIdrequired":{"format":"int64["receiptCurrencyCode","amount","itemsCount","typediscounts":,"integertaxes"]},"modelNamemodels.importer.BarcodePrice":{"description":"Название модели ККТ","type":"string"},"receiptsReturnЦены для штрихкодов (цена для единицы товара, а не для всего количества, указанного в штрихкоде)","properties":{"formatisPromoPrice":"int32",{"description":"КоличествоПризнак, чековчто возвратовданная поцена даннымакционная ККТ(промо)","type":"integerboolean"},"ownerNumberminprice":{"format":"double","description":"ИННМинимальная владельца ККТцена","type":"stringnumber"},"receiptsCancelprice":{"format":"int32double","description":"Количество чеков отмены по данным ККТЦена за единицу (за 1 шт. или за 1 кг)","type":"integernumber"},"registrationNumberdateTo":{"format":"date-time","description":"РегистрационныйДата окончания номердействия ККТцены","type":"string"},"cumulativeSaleexample":{"format":"double","2018-06-22T08:00:19"},"storeId":{"description":"Накопительный итог суммы продаж (по данным ККТ)Код магазина (во внешней системе). Поле не используется","type":"string","numbermaxLength":20},"insertiondateFrom":{"format":"int32date-time","description":"КоличествоДата внесенийначала в ден.ящик по данным ККТдействия цены","type":"integerstring"},"example"firmwareVersion":{"description":"Версия прошивки",":"2018-06-22T08:00:19"},"delete":{"type":"stringboolean"},"receiptsSalebarcodeId":{"formatdescription":"int32Штрихкод","descriptiontype":"Количество чеков продаж по данным ККТstring","typemaxLength":"integer"40}},"required":["posId","storeId","shiftIdbarcodeId","serialNumberprice","registrationNumberminprice","ownerNumberisPromoPrice","modelNamedelete"]},"ru.servplus.pos.common.models.exporterreceipt.common.ReceiptItemPropertyValue":{"description":"описаниеЗначение позициидополнительного чекасвойства","properties":{"sellername":{"description":"продавецназвание значения","$reftype":"#/definitions/ru.servplus.pos.common.models.receipt.sale.ItemSellerstring"},"quantityByCashierid":{"$ref":"#/definitions/ru.servplus.pos.common.models.Quantity"},"taxes":{"description":"вычисленныеID налогизначения","type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.ReceiptTax:"string"}},"discountAmountrequired":{["formatid":,"doublename"]},"models.exporter.ShiftKKMInfo":{"description":"сумма скидокИнформация о параметрах ККТ и количестве чеков за смену по данным ККТ","typeproperties":{"number"},"totalWithDiscounts"shiftId":{"format":"doubleint64","description":"стоимость позиции с учетом скидокУникальный (в рамках кассы) идентификатор смены","type":"numberinteger"},"egaisMarkserialNumber":{"$refdescription":"#/definitions/ru.servplus.pos.common.models.receipt.sale.EGAISMark"},"productInfo":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.ProductInfo"},"totalAmountЗаводской номер ФН","type":"string"},"shiftNumber":{"format":"doubleint64","description":"итоговаяНомер стоимостьсмены позициипо без учета скидокККТ (ФН)","type":"numberinteger"},"totalQuantity":{"withdrawal":{"format":"int32","description":"количество товаров в позицииКоличество изъятий из ден.ящика по данным ККТ","$reftype":"#/definitions/ru.servplus.pos.common.models.Quantityinteger"},"discountsstoreId":{"description":"скидки, примененные в чекеИД магазина","type":"arraystring"},"itemsposId":{"$refformat":"#/definitions/ru.servplus.pos.common.models.receipt.common.DiscountInfo"}},"price":{"format":"double",int64","type":"integer"},"modelName":{"description":"ценаНазвание по прайс-листу (ДО применения скидок)модели ККТ","type":"numberstring"},"enableEditPosreceiptsReturn":{"format":"int32","description":"возможностьКоличество изменятьчеков увозвратов позициипо значение в поле \"количество\""данным ККТ","type":"booleaninteger"},"couponsCodes":{"description":"купоны, примененные к данной позиции","type":"array","items":{"ownerNumber":{"description":"ИНН владельца ККТ","type":"string"}},"minPricereceiptsCancel":{"format":"doubleint32","description":"мин.цена товараКоличество чеков отмены по данным ККТ","type":"numberinteger"},"itemSource":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.sale.AddItemSource"},"kiz":registrationNumber":{"description":"маркировка,Регистрационный еслиномер естьККТ","$reftype":"#/definitions/ru.servplus.pos.common.models.receipt.sale.KIZstring"},"supervisorcumulativeSale":{"format":"double","description":"кассир,Накопительный отменившийитог позицию.суммы Заполняетсяпродаж только(по для отмененных позицийданным ККТ)","$reftype":"#/definitions/ru.servplus.pos.common.models.Usernumber"},"propertiesinsertion":{"format":"int32","description":"доп.свойства, привязанные к позиции":"Количество внесений в ден.ящик по данным ККТ","type":"arrayinteger"},"itemsfirmwareVersion":{"$refdescription":"Версия прошивки","type":"#/definitions/ru.servplus.pos.common.models.receipt.common.Propertystring"}},"originalPositionreceiptsSale":{"format":"int64int32","description":"дляКоличество чеков возвратапродаж по чеку номер позиции в чеке продажиданным ККТ","type":"integer"}},"required":["price","discounts","taxes","discountAmount"]},""posId","storeId","shiftId","serialNumber","registrationNumber","ownerNumber","modelName"]},"models.exporter.ReceiptItem":{"description":"описание позиции чека","properties":{"seller":{"description":"продавец","$ref":"#/definitions/ru.servplus.pos.common.models.receipt.sale.ItemSeller"},"quantityByCashier":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.ProductAttributeQuantity"},"taxes":{"propertiesdescription":{"id":{вычисленные налоги","type":"stringarray"}},"requireditems":[{"id$ref"]},":"#/definitions/ru.servplus.pos.common.models.receipt.common.MarketingResultReceiptTax"}},"discountAmount":{"format":"double","description":"объединение всех активностей одной системы лояльности","propertiesсумма скидок","type":"number"},"totalWithDiscounts":{"awardCouponsformat":{"double","description":"Массивстоимость купонов,позиции выданныхс системойучетом лояльностискидок","type":"arraynumber"},"itemsegaisMark":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.commonsale.AwardCouponEGAISMark"}},"discountAmountproductInfo":{"format":"double","description":"Общая сумма скидок, рассчитанных в системе лояльности (не считая списаных бонусов)","type":"number"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.ProductInfo"},"transactionTimetotalAmount":{"format":"date-timedouble","description":"дата-время транзакции в системе лояльностиитоговая стоимость позиции без учета скидок","type":"string","example":"2018-06-22T08:00:19"number"},"transactionIDtotalQuantity":{"description":"Идентификаторколичество акции,товаров примененной в чеке (определяется системой лояльности)позиции","type$ref":"string#/definitions/ru.servplus.pos.common.models.Quantity"},"eftsdiscounts":{"format":"int32","description":"Идентфикатор типа системы лояльности, предоставившей скидку (100-сервер маркетинга УКМ5, 101-ручные скидки УКМ5, 5-скидка на мелочь УКМ5, 6-скидка коррекция для весовых товаров УКМ5, Siebel - будет определяться настройками в кассовой системе)description":"скидки, примененные в чеке","type":"integerarray"},"operationModeitems":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.OperationModeDiscountInfo"}},"cardNumprice":{"format":"double","description":"Номерцена карты клиента, зарегистрированной в чекепо прайс-листу (ДО применения скидок)","type":"stringnumber"},"usedBonusesenableEditPos":{"format":"double","description":"Сумма списанных бонусоввозможность изменять у позиции значение в поле \"количество\"","type":"numberboolean"},"origTransactionIDcouponsCodes":{"description":"Вкупоны, чекахпримененные нак возврат - ИД транзакции созданной в системе лояльности по чеку продажи","данной позиции","type":"array","items":{"type":"string"}},"usedCouponsminPrice":{"format":"double","description":"Массив купонов, примененных в системе лояльностимин.цена товара","type":"arraynumber"},"itemsitemSource":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.commonsale.UsedCouponAddItemSource"}},"operationTypekiz":{"description":"маркировка, если есть","$ref":"#/definitions/ru.servplus.pos.common.models.receipt.commonsale.OperationTypeKIZ"},"awardBonusessupervisor":{"formatdescription":"double","description":"Сумма начисленных бонусовкассир, отменивший позицию. Заполняется только для отмененных позиций","type$ref":"number#/definitions/ru.servplus.pos.common.models.User"},"giftsproperties":{"description":"Массив подарковдоп.свойства, выданныхпривязанные вк системе лояльностипозиции","type":"array","items":{"$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.Gift"}}},"required":["efts","transactionTime","operationType","operationMode","discountAmount","awardBonuses","usedBonuses","awardCoupons","usedCoupons","gifts"]},"models.importer.ItemProperties":{"description":"список дополнительных свойств товара","properties.Property"}},"originalPosition":{"itemIdformat":{"int64","description":"код товарадля чеков возврата по чеку номер позиции в чеке продажи","type":"stringinteger"}},"deletedrequired":{"type":"boolean"},"properties["price","discounts","taxes","discountAmount"]},"ru.servplus.pos.common.models.receipt.common.ProductAttribute":{"description":"свойствааттрибут описания товара. Используется для ограничений продажи и маркировки. Возможные значения alcohol, tobacco, egais, markedTobacco, markedGoods, advance, noSellerRequired, service","typeproperties":{"array","itemsid":{"$reftype":"#/definitions/models.importer.ItemPropertystring"}}},"required":["itemId","properties","deleted"id"]},"ru.servplus.pos.common.models.importerreceipt.common.PicklistStoreMarketingResult":{"description":"Магазин,объединение квсех которомуактивностей привязанодной Переченьсистемы товаровлояльности","properties":{"idawardCoupons":{"description":"ид магазинаМассив купонов, выданных системой лояльности","type":"stringarray"}},"requireditems":[{"id$ref"]},":"#/definitions/ru.servplus.pos.common.models.receipt.sale.KIZTypecommon.AwardCoupon"}},"discountAmount":{"format":"double","description":"tobacco-маркированное табачное изделиеОбщая сумма скидок, рассчитанных в системе лояльности (не считая списаных бонусов)","propertiestype":{}"number"},"ru.servplus.pos.common.models.receipt.common.ReceiptTaxtransactionTime":{"format":"date-time","description":"налогидата-время потранзакции чеку,в рассчитанныесистеме кассойлояльности","propertiestype":{"amount":{"format":"double","string","example":"2018-06-22T08:00:19"},"transactionID":{"description":"рассчитанное значение налогаИдентификатор акции, примененной в чеке (определяется системой лояльности)","type":"numberstring"},"taxIdefts":{"format":"int64int32","description":"ИД налоговой ставкиИдентфикатор типа системы лояльности, предоставившей скидку (100-сервер маркетинга УКМ5, 101-ручные скидки УКМ5, 5-скидка на мелочь УКМ5, 6-скидка коррекция для весовых товаров УКМ5, Siebel - будет определяться настройками в кассовой системе)","type":"integer"},"taxGroupIdoperationMode":{"format":"int64","description":"ИД налоговой группы","type":"integer$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.OperationMode"},"namecardNum":{"description":"название налогаНомер карты клиента, зарегистрированной в чеке","type":"string"},"percentusedBonuses":{"format":"int32double","description":"ставкаСумма списанных налогабонусов","type":"integernumber"},"fpCodeorigTransactionID":{"description":"зарезервировано под дальнейшее развитиеВ чеках на возврат - ИД транзакции созданной в системе лояльности по чеку продажи","type":"string"}},"required"usedCoupons":{"description":["taxId"Массив купонов, примененных в системе лояльности","taxGroupIdtype",:"namearray","percentitems",:{"amount$ref"]},":"#/definitions/ru.servplus.pos.common.models.receipt.common.OperationTypeUsedCoupon"}},"operationType":{"description":"0 - взаимодействие с системой лояльности выполнялась в чеке Приход (продажа), 1 - в чеке возврата прихода, 2 - взаимодействие было отменено","properties":{}},"models.importer.Tax":{"description":"Описание налога","properties":{"name":{"description":"Название налога (Например, НДС)$ref":"#/definitions/ru.servplus.pos.common.models.receipt.common.OperationType"},"awardBonuses":{"format":"double","description":"Сумма начисленных бонусов","type":"string","maxLength":40number"},"idgifts":{"format":"int64","description":"КодМассив налогаподарков, (произвольныйвыданных идентификаторв - например, 1)системе лояльности","type":"integerarray"},"priorityitems":{"format$ref":"int32","maximum":128,"description":"Приоритет расчета налога (т.к. сейчас существует только НДС, то константа = 10)","type":"integer"}},"required":["id","name","priority#/definitions/ru.servplus.pos.common.models.receipt.common.Gift"}}},"required":["efts","transactionTime","operationType","operationMode","discountAmount","awardBonuses","usedBonuses","awardCoupons","usedCoupons","gifts"]},"models.importer.BarcodePriceListPicklistStore":{"description":"Магазин, к которому привязан Перечень товаров","properties":{"elementsid":{"typedescription":"arrayид магазина","items":{"$ref":"#/definitions/models.importer.BarcodePricetype":"string"}}},"required":["elementsid"]},"ru.servplus.pos.common.models.receipt.common.UsedCoupon":{"description":"Перечень купонов, примененных в чеке в рамках системы лояльности","properties":{"number":{"description":"Номер примененного купона (если номер был у купона)","type":"string"}},"required":["number"]},"models.importer.LegalEntityStore":{"description":"привязка юр. лица к магазину","properties":{"inn":{"description":"ИНН юр. лица","type":"string","maxLength":40},"storeId":{"description":"ид магазина","type":"string","maxLength":100}},"required":["storeId","inn"]}},"swagger":"2.0","info":{"description":"API сервера УКМ5 для обмена данными с внешними системами","title":"Import-Export-API","version":"1.0"},"consumes":["application/json"],"tags":[{"name":"routes"}]}

...