Свойства

СвойствоТипОбязательностьОписание
buypointref_buypoints
Торговая точка
firmref_firms
Фирма
buyerref_buyers
Покупатель
counteragentref_counteragents
Контрагент
agreementref_agreements
Договор
invoicedoc_invoices
Документ отгрузки товара
amountdecimalдаСумма задолженности
datedateTimeдаДата возникновения задолженности
docinfostring
Описание документа задолженности

Одно из свойств buypoint, firm, buyer, counteragent, agreement должно быть заполнено

 При выгрузке должна обеспечиваться уникальность по свойствам buypoint+firm+buyer+counteragent+agreement+invoice

Примеры

Пример 1
<?xml version="1.0" encoding="UTF-8"?>
<package>
    <bundle>
		<reference name="reg_debts" complete="true">
			<object sid="1">
				<property name="buypoint">
					<link reference="ref_buypoints" sid="335d29f7-6bd7-11e7-8396-acb57df488bc"/>
				</property>
				<property name="firm">
					<link reference="ref_firms" sid="64941ca3-87bb-21e5-f2c2-c8f72843c805"/>
				</property>
				<property name="buyer">
					<link reference="ref_buyers" sid="5e3d06ca-4b1c-11e5-82cd-68f72843c807"/>
				</property>
				<property name="counteragent">
					<link reference="ref_counteragents" sid="5e3d06cb-4b1c-11e5-82cd-68f72843c807"/>
				</property>
				<property name="invoice">
					<link reference="doc_invoices" sid="b51e471e-5bda-11e7-8392-acb57df488bc"/>
				</property>
				<property name="amount">
					<decimal>705.86</decimal>
				</property>
				<property name="date">
					<datetime>2018-01-18T13:43:56</datetime>
				</property>
				<property name="docinfo">
					<string>Реализация товаров и услуг 0000-000032 от 18.01.2018 13:43:56</string>
				</property>
			</object>
        </reference>
    </bundle>
</package>