Debtors info ver3 example.xml

From services.krediidiinfo.ee
Jump to: navigation, search
<?xml version="1.0" encoding="utf-8"?>
<debtors xmlns="https://services.krediidiinfo.ee/schemas/kh/debtors_info_ver3.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated="2020-10-28">
	<debtor>
		<name>ÕHK JA PÕHK AS</name>
		<client_code>123</client_code>
		<id>00000000</id>
		<client_classes>
			<client_class>VIP</client_class>
		</client_classes>
		<mail_address>
			<street>Kuusiku 10-2</street>
			<postal_code>10001</postal_code>
			<city>Nuustaku</city>
			<country>EST</country>
		</mail_address>
		<emails>
			<email>ohk@pohk.ee</email>
			<email>info@pohk.ee</email>
		</emails>
		<phones>
			<phone>2349082</phone>
			<phone>+3722349082</phone>
		</phones>
		<bank_ref_no>00000000000000</bank_ref_no>
		<bank_account_numbers>
			<bank_account_number>EE000000000000000000</bank_account_number>
			<bank_account_number>EE110000000000000000</bank_account_number>
		</bank_account_numbers>
		<invoices>
			<invoice>
				<invoice_date>2020-09-01</invoice_date>
				<invoice_no>A-003231</invoice_no>
				<payment_term>2020-09-12</payment_term>
				<date_pd_limit_exceeded>2020-09-12</date_pd_limit_exceeded>
				<invoice_sum>3092.23</invoice_sum>
				<unpaid_sum>3092.23</unpaid_sum>
				<currency>EUR</currency>
				<add_invoice_data name="comment">a comment about invoice</add_invoice_data>
			</invoice>
			<invoice>
				<invoice_date>2020-07-13</invoice_date>
				<invoice_no>23422</invoice_no>
				<payment_term>2020-07-27</payment_term>
				<date_pd_limit_exceeded>2020-09-01</date_pd_limit_exceeded>
				<invoice_sum>40.45</invoice_sum>
				<unpaid_sum>40.45</unpaid_sum>
				<currency>EUR</currency>
				<add_invoice_data name="comment">a comment about invoice</add_invoice_data>
			</invoice>
		</invoices>
		<add_debtor_data name="client_manager_comment">14.10.2020 promised to pay in two days</add_debtor_data>
		<add_debtor_data name="contract_no">984932342</add_debtor_data>
	</debtor>
	<debtor>
		<name>MATI MINIMAALNE</name>
		<client_code>456</client_code>
		<id>00000000000</id>
		<invoices>
			<invoice>
				<invoice_date>2020-09-01</invoice_date>
				<invoice_no>L-003231</invoice_no>
				<payment_term>2020-09-12</payment_term>
				<invoice_sum>592.55</invoice_sum>
				<unpaid_sum>592.55</unpaid_sum>
				<currency>EUR</currency>
			</invoice>
			<invoice>
				<invoice_date>2020-07-13</invoice_date>
				<invoice_no>P234255</invoice_no>
				<payment_term>2020-07-27</payment_term>
				<invoice_sum>150.45</invoice_sum>
				<unpaid_sum>150.45</unpaid_sum>
				<currency>EUR</currency>
			</invoice>
		</invoices>
	</debtor>
	<debtor>
		<name>JAAN JALGRATAS</name>
		<client_code>321</client_code>
		<id>00000000000</id>
		<payment_default>
			<end_date>2020-10-27</end_date>
			<end_info>
				<end_reason_id>2</end_reason_id>
				<assign_info>
					<assignee_country_code>EST</assignee_country_code>
					<assignee_id>11111111</assignee_id>
					<assignee_name>KOKKUOSTJA OÜ</assignee_name>
				</assign_info>
				<additional_info>Võlgnevus loovutatud lepingu nr 7 alusel</additional_info>
			</end_info>
		</payment_default>
	</debtor>
	<debtor>
		<name>OSKAR OHAKAS</name>
		<client_code>555</client_code>
		<id>11111111111</id>
		<payment_default>
			<end_date>2020-10-27</end_date>
			<end_info>
				<end_reason_id>1</end_reason_id>
			</end_info>
		</payment_default>
	</debtor>
	<debtor>
		<name>MARI MAASIKAS</name>
		<client_code>777</client_code>
		<id>22222222222</id>
		<payment_default>
			<end_date>2020-10-27</end_date>
			<end_info>
				<end_reason_id>5</end_reason_id>
				<additional_info>Kohtulahend nr XXX</additional_info>
			</end_info>
			<publish_end_date>2020-10-28</publish_end_date>
		</payment_default>
	</debtor>
</debtors>