- SRTE-983Получение подробных данных проблемы… СТАТУС
Реализовано в версии 10.2.35.0
Для юридических лиц появился признак регистрации в системе "Меркурий".
cards-catalog/internal-card | |||
Наименование атрибута | Тип данных | Обязательно | Описание |
debitor-type | String | не обязательно | mercury (вне зависимости от регистра) - контрагент зарегистрирован в системе "Меркурий" Не mercury или отсутствие атрибута - контрагент не зарегистрирован в системе "Меркурий" |
XSD-схема |
<!------------------------------------------------------------------------------------------------------> <xs:complexType name="counterpartyType"> <xs:annotation> <xs:documentation>Контрагент - держатель карты</xs:documentation> </xs:annotation> <xs:attribute name="inn" type="xs:string" use="required"> <xs:annotation> <xs:documentation>Индивидуальный номер налогоплательщика</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="kpp" type="xs:string" use="required"> <xs:annotation> <xs:documentation>Код причины постановки на учет</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="name" type="xs:string" use="required"> <xs:annotation> <xs:documentation>Короткое название</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="full-name" type="xs:string" use="optional"> <xs:annotation> <xs:documentation>Полное название</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="address" type="xs:string" use="required"> <xs:annotation> <xs:documentation>Адрес юридического лица</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="physical-address" type="xs:string" use="optional"> <xs:annotation> <xs:documentation>Фактический адрес юридического лица</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="debitor-number" type="xs:string" use="required"> <xs:annotation> <xs:documentation>№ дебитора</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="debitor-type" type="xs:string" use="required"> <xs:annotation> <xs:documentation>Тип дебитора</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> |
Пример XML |
<!------------------------------------------------------------------------------------------------------> <cards-catalog> <internal-card-type guid="111" name="Карты 15% для рекламы на чеке" color="RED" personalized="false" percentage-discount="15.0" deleted="false" /> <internal-card card-type-guid="111" number="222" expiration-date="2049-12-31T00:00:00" status="ACTIVE" attached-to-counterparty="true"> <counterparty inn="1212121212" kpp="123456782" name="ООО 'Ромашка'" full-name="" address="Питер питер питер" physical-address="Физический адрес отправителя" debitor-number="1245648725" debitor-type="Mercury"/> </internal-card> </cards-catalog> |