Debtors info ver2 mhr example.xml

From services.krediidiinfo.ee
Jump to: navigation, search
<?xml version="1.0" encoding="UTF-8"?>
<debtors xmlns="http://www.krediidiinfo.ee/schemas/kh/debtors_info_ver2.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generated="2015-01-01">
	<debtor>
		<name>ÕHK JA PÕHK AS</name>
		<client_code>123</client_code>
		<id>00000000</id>
		<client_class>VIP</client_class>
		<mail_address>
			<street>Kuusiku 10-2</street>
			<ship_code>10001</ship_code>
			<city>Nuustaku</city>
			<country/>
		</mail_address>
		<email>ohk@pohk.ee</email>
		<fax>609233423</fax>
		<phone>2349082</phone>
		<client_manager>Jaan Jalgratas</client_manager>
		<invoices>
			<invoice>
				<invoice_date>2007-01-01</invoice_date>
				<invoice_no>A-003231</invoice_no>
				<payment_term>2007-01-08</payment_term>
				<final_sum>3092.23</final_sum>
				<unpaid_sum>1000.23</unpaid_sum>
				<currency>EUR</currency>
				<bank_ref_no>00000000000000</bank_ref_no>
				<add_inv_data add_inv_data_name="comment">a comment about invoice</add_inv_data>
			</invoice>
			<invoice>
				<invoice_date>2010-03-01</invoice_date>
				<invoice_no>23422</invoice_no>
				<payment_term>2010-03-14</payment_term>
				<final_sum>-1000.0</final_sum>
				<unpaid_sum>-1000.0</unpaid_sum>
				<currency>EUR</currency>
				<bank_ref_no>00000000000000</bank_ref_no>
				<add_inv_data add_inv_data_name="comment">a comment about creditinvoice</add_inv_data>
			</invoice>
		</invoices>
		<additional_data additional_data_name="client_manager_comment">02.09.2007 promised to pay in two days</additional_data>
		<additional_data additional_data_name="contract_no">984932342</additional_data>
	</debtor>
	<debtor>
		<name>JAAN JALGRATAS</name>
		<client_code>321</client_code>
		<id>00000000000</id>
		<invoices/>
		<payment_default_ending>
			<end_date>2018-01-01</end_date>
			<is_debt_assigned assignee_country_code="EST" assignee_id="00000000" assignee_name="Inkasso AS">true</is_debt_assigned>
		</payment_default_ending>
	</debtor>
</debtors>