Importing Client Details

Colin Scott gnucash at double-bars.net
Thu Mar 26 05:38:00 EDT 2009


The XML was based on what I found in the gnucash file after creating a
customer through the UI.  Note that items in "«»" parentheses are
replaced by actual data.

This is the XML wrapper for each customer:-

<gnc:GncCustomer version="2.0.0">
	<cust:guid type="guid">«custguid»</cust:guid>
	<cust:name>«custname»</cust:name>
	<cust:id>«custid»</cust:id>
	<cust:addr version="2.0.0">
		<addr:name>«addrname»</addr:name>
		<addr:addr1>«addraddr1»</addr:addr1>
		<addr:addr2>«addraddr2»</addr:addr2>
		<addr:addr3>«addraddr3»</addr:addr3>
		<addr:addr4>«addraddr4»</addr:addr4>
		<addr:phone>«addrphone»</addr:phone>
	</cust:addr>
	<cust:shipaddr version="2.0.0"/>
	<cust:taxincluded>USEGLOBAL</cust:taxincluded>
	<cust:active>1</cust:active>
	<cust:discount>0/1</cust:discount>
	<cust:credit>0/1</cust:credit>
	<cust:currency>
		<cmdty:space>ISO4217</cmdty:space>
		<cmdty:id>GBP</cmdty:id>
	</cust:currency>
	<cust:use-tt>0</cust:use-tt>
</gnc:GncCustomer>


Colin


More information about the gnucash-user mailing list