<?xml version="1.0" encoding="utf-8"?>
<table>
	<name>client_credit</name>
	<collation>utf8_general_ci</collation>
	<description></description>
	<columns>
		<column name="vendor_id">
			<type>int</type>
			<length>11</length>
			<signed>UNSIGNED</signed>
			<null>NOT NULL</null>
			<default>0</default>
			<description></description>
		</column>
		<column name="entity_id">
			<type>int</type>
			<length>11</length>
			<signed>UNSIGNED</signed>
			<null>NOT NULL</null>
            <default>0</default>
			<description></description>
		</column>
		<column name="net_amount">
			<type>decimal</type>
            <length>20,6</length>
			<null>NOT NULL</null>
			<default>0.00</default>
			<description></description>
		</column>
		<column name="tax_rate">
            <type>decimal</type>
            <length>20,6</length>
            <null>NOT NULL</null>
            <default>0.00</default>
            <description></description>
        </column>
		<column name="tax_amount">
			<type>decimal</type>
            <length>20,6</length>
			<null>NOT NULL</null>
			<default>0.00</default>
			<description></description>
		</column>
		<column name="currency">
			<type>varchar</type>
			<length>3</length>
			<null>NOT NULL</null>
			<default></default>
			<allow_html>false</allow_html>
			<encode_html>false</encode_html>
			<description></description>
		</column>
		<column name="ledger_code">
			<type>varchar</type>
			<length>20</length>
			<null>NOT NULL</null>
			<default></default>
			<allow_html>false</allow_html>
			<encode_html>false</encode_html>
			<description></description>
		</column>
		<column name="description">
			<type>varchar</type>
			<length>255</length>
			<null>NOT NULL</null>
			<default></default>
			<allow_html>false</allow_html>
			<encode_html>false</encode_html>
			<description></description>
		</column>
		<column name="auto_deduct">
			<type>tinyint</type>
			<length>4</length>
			<null>NOT NULL</null>
			<default>0</default>
			<allow_html>false</allow_html>
			<encode_html>false</encode_html>
			<description></description>
		</column>
    </columns>
    <primary>
        <columns>
            <column>
                <name>vendor_id</name>
            </column>
            <column>
                <name>entity_id</name>
            </column>
        </columns>
    </primary>
</table>