gnucash-docs maint: Guide:C: Add a directory with datafiles for faster regeneration of images
Frank H.Ellenberger
fell at code.gnucash.org
Fri Dec 17 22:42:28 EST 2021
Updated via https://github.com/Gnucash/gnucash-docs/commit/438da7df (commit)
from https://github.com/Gnucash/gnucash-docs/commit/13fa2d9a (commit)
commit 438da7dfec20b62c4a66cdc36e129ab18e56bb38
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date: Wed Aug 4 16:55:54 2021 +0200
Guide:C: Add a directory with datafiles for faster regeneration of
images
diff --git a/data/C/guide/currency_main1.gnucash b/data/C/guide/currency_main1.gnucash
new file mode 100644
index 00000000..75725b89
--- /dev/null
+++ b/data/C/guide/currency_main1.gnucash
@@ -0,0 +1,352 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<gnc-v2
+ xmlns:gnc="http://www.gnucash.org/XML/gnc"
+ xmlns:act="http://www.gnucash.org/XML/act"
+ xmlns:book="http://www.gnucash.org/XML/book"
+ xmlns:cd="http://www.gnucash.org/XML/cd"
+ xmlns:cmdty="http://www.gnucash.org/XML/cmdty"
+ xmlns:price="http://www.gnucash.org/XML/price"
+ xmlns:slot="http://www.gnucash.org/XML/slot"
+ xmlns:split="http://www.gnucash.org/XML/split"
+ xmlns:sx="http://www.gnucash.org/XML/sx"
+ xmlns:trn="http://www.gnucash.org/XML/trn"
+ xmlns:ts="http://www.gnucash.org/XML/ts"
+ xmlns:fs="http://www.gnucash.org/XML/fs"
+ xmlns:bgt="http://www.gnucash.org/XML/bgt"
+ xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
+ xmlns:lot="http://www.gnucash.org/XML/lot"
+ xmlns:addr="http://www.gnucash.org/XML/addr"
+ xmlns:billterm="http://www.gnucash.org/XML/billterm"
+ xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
+ xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
+ xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
+ xmlns:tte="http://www.gnucash.org/XML/tte"
+ xmlns:vendor="http://www.gnucash.org/XML/vendor">
+<gnc:count-data cd:type="book">1</gnc:count-data>
+<gnc:book version="2.0.0">
+<book:id type="guid">b90a6a0c72644d7caf75678581b88fd5</book:id>
+<book:slots>
+ <slot>
+ <slot:key>features</slot:key>
+ <slot:value type="frame">
+ <slot>
+ <slot:key>Register sort and filter settings stored in .gcm file</slot:key>
+ <slot:value type="string">Store the register sort and filter settings in .gcm metadata file (requires at least GnuCash 3.3)</slot:value>
+ </slot>
+ </slot:value>
+ </slot>
+ <slot>
+ <slot:key>remove-color-not-set-slots</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+</book:slots>
+<gnc:count-data cd:type="commodity">1</gnc:count-data>
+<gnc:count-data cd:type="account">11</gnc:count-data>
+<gnc:count-data cd:type="transaction">3</gnc:count-data>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ <cmdty:get_quotes/>
+ <cmdty:quote_source>currency</cmdty:quote_source>
+ <cmdty:quote_tz/>
+</gnc:commodity>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ <cmdty:get_quotes/>
+ <cmdty:quote_source>currency</cmdty:quote_source>
+ <cmdty:quote_tz/>
+</gnc:commodity>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ <cmdty:get_quotes/>
+ <cmdty:quote_source>currency</cmdty:quote_source>
+ <cmdty:quote_tz/>
+</gnc:commodity>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>template</cmdty:space>
+ <cmdty:id>template</cmdty:id>
+ <cmdty:name>template</cmdty:name>
+ <cmdty:xcode>template</cmdty:xcode>
+ <cmdty:fraction>1</cmdty:fraction>
+</gnc:commodity>
+<gnc:account version="2.0.0">
+ <act:name>Root Account</act:name>
+ <act:id type="guid">89c70dfd2d634cf5a85ae826310f0979</act:id>
+ <act:type>ROOT</act:type>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Assets</act:name>
+ <act:id type="guid">d1b6667c00d04aab8fc06668d11d068f</act:id>
+ <act:type>ASSET</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">89c70dfd2d634cf5a85ae826310f0979</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Current Assets</act:name>
+ <act:id type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:id>
+ <act:type>ASSET</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">d1b6667c00d04aab8fc06668d11d068f</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>European Bank</act:name>
+ <act:id type="guid">2de4edbc29484a6fb39c97cb3dbf361c</act:id>
+ <act:type>BANK</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>HK Bank</act:name>
+ <act:id type="guid">5d83d53dd287496c9a137d1e24c950e1</act:id>
+ <act:type>BANK</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>US Bank</act:name>
+ <act:id type="guid">7e1f70c07eef45808700b85328b77984</act:id>
+ <act:type>BANK</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Equity</act:name>
+ <act:id type="guid">971e105172034678802f95e2def2f68b</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">89c70dfd2d634cf5a85ae826310f0979</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Opening Balances</act:name>
+ <act:id type="guid">f2eeaae9d3964c08855cfe1338525185</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>equity-type</slot:key>
+ <slot:value type="string">opening-balance</slot:value>
+ </slot>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">971e105172034678802f95e2def2f68b</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>HKD</act:name>
+ <act:id type="guid">bad0eb870ffa46b091536c6bc32da116</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>equity-type</slot:key>
+ <slot:value type="string">opening-balance</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">f2eeaae9d3964c08855cfe1338525185</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>EUR</act:name>
+ <act:id type="guid">2cd28afc018a4dae8401b8adafa9f8ad</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">f2eeaae9d3964c08855cfe1338525185</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>USD</act:name>
+ <act:id type="guid">761ef2efe0fa4a7499a60ca313a0a642</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>equity-type</slot:key>
+ <slot:value type="string">opening-balance</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">f2eeaae9d3964c08855cfe1338525185</act:parent>
+</gnc:account>
+<gnc:transaction version="2.0.0">
+ <trn:id type="guid">95574c3bc7c94e5fabded06168682fb0</trn:id>
+ <trn:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </trn:currency>
+ <trn:date-posted>
+ <ts:date>2021-01-02 10:59:00 +0000</ts:date>
+ </trn:date-posted>
+ <trn:date-entered>
+ <ts:date>2021-08-01 12:21:56 +0000</ts:date>
+ </trn:date-entered>
+ <trn:description>Opening Balance</trn:description>
+ <trn:slots>
+ <slot>
+ <slot:key>date-posted</slot:key>
+ <slot:value type="gdate">
+ <gdate>2021-01-02</gdate>
+ </slot:value>
+ </slot>
+ </trn:slots>
+ <trn:splits>
+ <trn:split>
+ <split:id type="guid">8c05d8bcdce44bb18aaa68a86e1ee647</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>1000000/100</split:value>
+ <split:quantity>1000000/100</split:quantity>
+ <split:account type="guid">2de4edbc29484a6fb39c97cb3dbf361c</split:account>
+ </trn:split>
+ <trn:split>
+ <split:id type="guid">832480a208ed465e9ddc93ac79002a12</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>-1000000/100</split:value>
+ <split:quantity>-1000000/100</split:quantity>
+ <split:account type="guid">2cd28afc018a4dae8401b8adafa9f8ad</split:account>
+ </trn:split>
+ </trn:splits>
+</gnc:transaction>
+<gnc:transaction version="2.0.0">
+ <trn:id type="guid">58eaf76a11fd42f589ca7c1c806572e7</trn:id>
+ <trn:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ </trn:currency>
+ <trn:date-posted>
+ <ts:date>2021-01-02 10:59:00 +0000</ts:date>
+ </trn:date-posted>
+ <trn:date-entered>
+ <ts:date>2021-08-01 12:15:45 +0000</ts:date>
+ </trn:date-entered>
+ <trn:description>Opening Balance</trn:description>
+ <trn:slots>
+ <slot>
+ <slot:key>date-posted</slot:key>
+ <slot:value type="gdate">
+ <gdate>2021-01-02</gdate>
+ </slot:value>
+ </slot>
+ </trn:slots>
+ <trn:splits>
+ <trn:split>
+ <split:id type="guid">aeebf7117bb84881835e4039823848c9</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>100000/100</split:value>
+ <split:quantity>100000/100</split:quantity>
+ <split:account type="guid">5d83d53dd287496c9a137d1e24c950e1</split:account>
+ </trn:split>
+ <trn:split>
+ <split:id type="guid">0b05dc35ea214dfc8ac02cc6bd06ac5d</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>-100000/100</split:value>
+ <split:quantity>-100000/100</split:quantity>
+ <split:account type="guid">bad0eb870ffa46b091536c6bc32da116</split:account>
+ </trn:split>
+ </trn:splits>
+</gnc:transaction>
+<gnc:transaction version="2.0.0">
+ <trn:id type="guid">39551be2daea431fb4f1dfade9dce9b6</trn:id>
+ <trn:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </trn:currency>
+ <trn:date-posted>
+ <ts:date>2021-01-02 10:59:00 +0000</ts:date>
+ </trn:date-posted>
+ <trn:date-entered>
+ <ts:date>2021-08-01 12:30:49 +0000</ts:date>
+ </trn:date-entered>
+ <trn:description>Opening Balance</trn:description>
+ <trn:slots>
+ <slot>
+ <slot:key>date-posted</slot:key>
+ <slot:value type="gdate">
+ <gdate>2021-01-02</gdate>
+ </slot:value>
+ </slot>
+ </trn:slots>
+ <trn:splits>
+ <trn:split>
+ <split:id type="guid">605a3f1399b8495b85a6f0dfa2b4c6c2</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>1000000/100</split:value>
+ <split:quantity>1000000/100</split:quantity>
+ <split:account type="guid">7e1f70c07eef45808700b85328b77984</split:account>
+ </trn:split>
+ <trn:split>
+ <split:id type="guid">daf0dbef52084aa29ca30f32f76ba97f</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>-1000000/100</split:value>
+ <split:quantity>-1000000/100</split:quantity>
+ <split:account type="guid">761ef2efe0fa4a7499a60ca313a0a642</split:account>
+ </trn:split>
+ </trn:splits>
+</gnc:transaction>
+</gnc:book>
+</gnc-v2>
+
diff --git a/data/C/guide/currency_main2.gnucash b/data/C/guide/currency_main2.gnucash
new file mode 100644
index 00000000..5f000c46
--- /dev/null
+++ b/data/C/guide/currency_main2.gnucash
@@ -0,0 +1,372 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<gnc-v2
+ xmlns:gnc="http://www.gnucash.org/XML/gnc"
+ xmlns:act="http://www.gnucash.org/XML/act"
+ xmlns:book="http://www.gnucash.org/XML/book"
+ xmlns:cd="http://www.gnucash.org/XML/cd"
+ xmlns:cmdty="http://www.gnucash.org/XML/cmdty"
+ xmlns:price="http://www.gnucash.org/XML/price"
+ xmlns:slot="http://www.gnucash.org/XML/slot"
+ xmlns:split="http://www.gnucash.org/XML/split"
+ xmlns:sx="http://www.gnucash.org/XML/sx"
+ xmlns:trn="http://www.gnucash.org/XML/trn"
+ xmlns:ts="http://www.gnucash.org/XML/ts"
+ xmlns:fs="http://www.gnucash.org/XML/fs"
+ xmlns:bgt="http://www.gnucash.org/XML/bgt"
+ xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
+ xmlns:lot="http://www.gnucash.org/XML/lot"
+ xmlns:addr="http://www.gnucash.org/XML/addr"
+ xmlns:billterm="http://www.gnucash.org/XML/billterm"
+ xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
+ xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
+ xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
+ xmlns:tte="http://www.gnucash.org/XML/tte"
+ xmlns:vendor="http://www.gnucash.org/XML/vendor">
+<gnc:count-data cd:type="book">1</gnc:count-data>
+<gnc:book version="2.0.0">
+<book:id type="guid">b90a6a0c72644d7caf75678581b88fd5</book:id>
+<book:slots>
+ <slot>
+ <slot:key>features</slot:key>
+ <slot:value type="frame">
+ <slot>
+ <slot:key>Register sort and filter settings stored in .gcm file</slot:key>
+ <slot:value type="string">Store the register sort and filter settings in .gcm metadata file (requires at least GnuCash 3.3)</slot:value>
+ </slot>
+ </slot:value>
+ </slot>
+ <slot>
+ <slot:key>remove-color-not-set-slots</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+</book:slots>
+<gnc:count-data cd:type="commodity">1</gnc:count-data>
+<gnc:count-data cd:type="account">11</gnc:count-data>
+<gnc:count-data cd:type="transaction">3</gnc:count-data>
+<gnc:count-data cd:type="price">1</gnc:count-data>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ <cmdty:get_quotes/>
+ <cmdty:quote_source>currency</cmdty:quote_source>
+ <cmdty:quote_tz/>
+</gnc:commodity>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ <cmdty:get_quotes/>
+ <cmdty:quote_source>currency</cmdty:quote_source>
+ <cmdty:quote_tz/>
+</gnc:commodity>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ <cmdty:get_quotes/>
+ <cmdty:quote_source>currency</cmdty:quote_source>
+ <cmdty:quote_tz/>
+</gnc:commodity>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>template</cmdty:space>
+ <cmdty:id>template</cmdty:id>
+ <cmdty:name>template</cmdty:name>
+ <cmdty:xcode>template</cmdty:xcode>
+ <cmdty:fraction>1</cmdty:fraction>
+</gnc:commodity>
+<gnc:pricedb version="1">
+ <price>
+ <price:id type="guid">b92243a14b9d4ba79afc7c4878d2e843</price:id>
+ <price:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </price:commodity>
+ <price:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </price:currency>
+ <price:time>
+ <ts:date>2021-01-01 23:00:00 +0000</ts:date>
+ </price:time>
+ <price:source>user:price-editor</price:source>
+ <price:type>unknown</price:type>
+ <price:value>1/1</price:value>
+ </price>
+</gnc:pricedb>
+<gnc:account version="2.0.0">
+ <act:name>Root Account</act:name>
+ <act:id type="guid">89c70dfd2d634cf5a85ae826310f0979</act:id>
+ <act:type>ROOT</act:type>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Assets</act:name>
+ <act:id type="guid">d1b6667c00d04aab8fc06668d11d068f</act:id>
+ <act:type>ASSET</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">89c70dfd2d634cf5a85ae826310f0979</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Current Assets</act:name>
+ <act:id type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:id>
+ <act:type>ASSET</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">d1b6667c00d04aab8fc06668d11d068f</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>European Bank</act:name>
+ <act:id type="guid">2de4edbc29484a6fb39c97cb3dbf361c</act:id>
+ <act:type>BANK</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>HK Bank</act:name>
+ <act:id type="guid">5d83d53dd287496c9a137d1e24c950e1</act:id>
+ <act:type>BANK</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>US Bank</act:name>
+ <act:id type="guid">7e1f70c07eef45808700b85328b77984</act:id>
+ <act:type>BANK</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Equity</act:name>
+ <act:id type="guid">971e105172034678802f95e2def2f68b</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">89c70dfd2d634cf5a85ae826310f0979</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Opening Balances</act:name>
+ <act:id type="guid">f2eeaae9d3964c08855cfe1338525185</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>equity-type</slot:key>
+ <slot:value type="string">opening-balance</slot:value>
+ </slot>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">971e105172034678802f95e2def2f68b</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>HKD</act:name>
+ <act:id type="guid">bad0eb870ffa46b091536c6bc32da116</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>equity-type</slot:key>
+ <slot:value type="string">opening-balance</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">f2eeaae9d3964c08855cfe1338525185</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>EUR</act:name>
+ <act:id type="guid">2cd28afc018a4dae8401b8adafa9f8ad</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">f2eeaae9d3964c08855cfe1338525185</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>USD</act:name>
+ <act:id type="guid">761ef2efe0fa4a7499a60ca313a0a642</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>equity-type</slot:key>
+ <slot:value type="string">opening-balance</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">f2eeaae9d3964c08855cfe1338525185</act:parent>
+</gnc:account>
+<gnc:transaction version="2.0.0">
+ <trn:id type="guid">95574c3bc7c94e5fabded06168682fb0</trn:id>
+ <trn:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </trn:currency>
+ <trn:date-posted>
+ <ts:date>2021-01-02 10:59:00 +0000</ts:date>
+ </trn:date-posted>
+ <trn:date-entered>
+ <ts:date>2021-08-01 12:21:56 +0000</ts:date>
+ </trn:date-entered>
+ <trn:description>Opening Balance</trn:description>
+ <trn:slots>
+ <slot>
+ <slot:key>date-posted</slot:key>
+ <slot:value type="gdate">
+ <gdate>2021-01-02</gdate>
+ </slot:value>
+ </slot>
+ </trn:slots>
+ <trn:splits>
+ <trn:split>
+ <split:id type="guid">8c05d8bcdce44bb18aaa68a86e1ee647</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>1000000/100</split:value>
+ <split:quantity>1000000/100</split:quantity>
+ <split:account type="guid">2de4edbc29484a6fb39c97cb3dbf361c</split:account>
+ </trn:split>
+ <trn:split>
+ <split:id type="guid">832480a208ed465e9ddc93ac79002a12</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>-1000000/100</split:value>
+ <split:quantity>-1000000/100</split:quantity>
+ <split:account type="guid">2cd28afc018a4dae8401b8adafa9f8ad</split:account>
+ </trn:split>
+ </trn:splits>
+</gnc:transaction>
+<gnc:transaction version="2.0.0">
+ <trn:id type="guid">58eaf76a11fd42f589ca7c1c806572e7</trn:id>
+ <trn:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ </trn:currency>
+ <trn:date-posted>
+ <ts:date>2021-01-02 10:59:00 +0000</ts:date>
+ </trn:date-posted>
+ <trn:date-entered>
+ <ts:date>2021-08-01 12:15:45 +0000</ts:date>
+ </trn:date-entered>
+ <trn:description>Opening Balance</trn:description>
+ <trn:slots>
+ <slot>
+ <slot:key>date-posted</slot:key>
+ <slot:value type="gdate">
+ <gdate>2021-01-02</gdate>
+ </slot:value>
+ </slot>
+ </trn:slots>
+ <trn:splits>
+ <trn:split>
+ <split:id type="guid">aeebf7117bb84881835e4039823848c9</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>100000/100</split:value>
+ <split:quantity>100000/100</split:quantity>
+ <split:account type="guid">5d83d53dd287496c9a137d1e24c950e1</split:account>
+ </trn:split>
+ <trn:split>
+ <split:id type="guid">0b05dc35ea214dfc8ac02cc6bd06ac5d</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>-100000/100</split:value>
+ <split:quantity>-100000/100</split:quantity>
+ <split:account type="guid">bad0eb870ffa46b091536c6bc32da116</split:account>
+ </trn:split>
+ </trn:splits>
+</gnc:transaction>
+<gnc:transaction version="2.0.0">
+ <trn:id type="guid">39551be2daea431fb4f1dfade9dce9b6</trn:id>
+ <trn:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </trn:currency>
+ <trn:date-posted>
+ <ts:date>2021-01-02 10:59:00 +0000</ts:date>
+ </trn:date-posted>
+ <trn:date-entered>
+ <ts:date>2021-08-01 12:30:49 +0000</ts:date>
+ </trn:date-entered>
+ <trn:description>Opening Balance</trn:description>
+ <trn:slots>
+ <slot>
+ <slot:key>date-posted</slot:key>
+ <slot:value type="gdate">
+ <gdate>2021-01-02</gdate>
+ </slot:value>
+ </slot>
+ </trn:slots>
+ <trn:splits>
+ <trn:split>
+ <split:id type="guid">605a3f1399b8495b85a6f0dfa2b4c6c2</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>1000000/100</split:value>
+ <split:quantity>1000000/100</split:quantity>
+ <split:account type="guid">7e1f70c07eef45808700b85328b77984</split:account>
+ </trn:split>
+ <trn:split>
+ <split:id type="guid">daf0dbef52084aa29ca30f32f76ba97f</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>-1000000/100</split:value>
+ <split:quantity>-1000000/100</split:quantity>
+ <split:account type="guid">761ef2efe0fa4a7499a60ca313a0a642</split:account>
+ </trn:split>
+ </trn:splits>
+</gnc:transaction>
+</gnc:book>
+</gnc-v2>
+
diff --git a/data/C/guide/currency_main3.gnucash b/data/C/guide/currency_main3.gnucash
new file mode 100644
index 00000000..508904f4
--- /dev/null
+++ b/data/C/guide/currency_main3.gnucash
@@ -0,0 +1,401 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<gnc-v2
+ xmlns:gnc="http://www.gnucash.org/XML/gnc"
+ xmlns:act="http://www.gnucash.org/XML/act"
+ xmlns:book="http://www.gnucash.org/XML/book"
+ xmlns:cd="http://www.gnucash.org/XML/cd"
+ xmlns:cmdty="http://www.gnucash.org/XML/cmdty"
+ xmlns:price="http://www.gnucash.org/XML/price"
+ xmlns:slot="http://www.gnucash.org/XML/slot"
+ xmlns:split="http://www.gnucash.org/XML/split"
+ xmlns:sx="http://www.gnucash.org/XML/sx"
+ xmlns:trn="http://www.gnucash.org/XML/trn"
+ xmlns:ts="http://www.gnucash.org/XML/ts"
+ xmlns:fs="http://www.gnucash.org/XML/fs"
+ xmlns:bgt="http://www.gnucash.org/XML/bgt"
+ xmlns:recurrence="http://www.gnucash.org/XML/recurrence"
+ xmlns:lot="http://www.gnucash.org/XML/lot"
+ xmlns:addr="http://www.gnucash.org/XML/addr"
+ xmlns:billterm="http://www.gnucash.org/XML/billterm"
+ xmlns:bt-days="http://www.gnucash.org/XML/bt-days"
+ xmlns:bt-prox="http://www.gnucash.org/XML/bt-prox"
+ xmlns:cust="http://www.gnucash.org/XML/cust"
+ xmlns:employee="http://www.gnucash.org/XML/employee"
+ xmlns:entry="http://www.gnucash.org/XML/entry"
+ xmlns:invoice="http://www.gnucash.org/XML/invoice"
+ xmlns:job="http://www.gnucash.org/XML/job"
+ xmlns:order="http://www.gnucash.org/XML/order"
+ xmlns:owner="http://www.gnucash.org/XML/owner"
+ xmlns:taxtable="http://www.gnucash.org/XML/taxtable"
+ xmlns:tte="http://www.gnucash.org/XML/tte"
+ xmlns:vendor="http://www.gnucash.org/XML/vendor">
+<gnc:count-data cd:type="book">1</gnc:count-data>
+<gnc:book version="2.0.0">
+<book:id type="guid">b90a6a0c72644d7caf75678581b88fd5</book:id>
+<book:slots>
+ <slot>
+ <slot:key>features</slot:key>
+ <slot:value type="frame">
+ <slot>
+ <slot:key>Register sort and filter settings stored in .gcm file</slot:key>
+ <slot:value type="string">Store the register sort and filter settings in .gcm metadata file (requires at least GnuCash 3.3)</slot:value>
+ </slot>
+ </slot:value>
+ </slot>
+</book:slots>
+<gnc:count-data cd:type="commodity">1</gnc:count-data>
+<gnc:count-data cd:type="account">11</gnc:count-data>
+<gnc:count-data cd:type="transaction">3</gnc:count-data>
+<gnc:count-data cd:type="price">3</gnc:count-data>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ <cmdty:get_quotes/>
+ <cmdty:quote_source>currency</cmdty:quote_source>
+</gnc:commodity>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ <cmdty:get_quotes/>
+ <cmdty:quote_source>currency</cmdty:quote_source>
+ <cmdty:quote_tz/>
+</gnc:commodity>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ <cmdty:get_quotes/>
+ <cmdty:quote_source>currency</cmdty:quote_source>
+ <cmdty:quote_tz/>
+</gnc:commodity>
+<gnc:commodity version="2.0.0">
+ <cmdty:space>template</cmdty:space>
+ <cmdty:id>template</cmdty:id>
+ <cmdty:name>template</cmdty:name>
+ <cmdty:xcode>template</cmdty:xcode>
+ <cmdty:fraction>1</cmdty:fraction>
+</gnc:commodity>
+<gnc:pricedb version="1">
+ <price>
+ <price:id type="guid">e37303a73d9d4b15bec1a342b438b8d8</price:id>
+ <price:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </price:commodity>
+ <price:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </price:currency>
+ <price:time>
+ <ts:date>2021-08-01 14:43:15 +0000</ts:date>
+ </price:time>
+ <price:source>Finance::Quote</price:source>
+ <price:type>last</price:type>
+ <price:value>11867/10000</price:value>
+ </price>
+ <price>
+ <price:id type="guid">b92243a14b9d4ba79afc7c4878d2e843</price:id>
+ <price:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </price:commodity>
+ <price:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </price:currency>
+ <price:time>
+ <ts:date>2021-01-01 23:00:00 +0000</ts:date>
+ </price:time>
+ <price:source>user:price-editor</price:source>
+ <price:type>unknown</price:type>
+ <price:value>1/1</price:value>
+ </price>
+ <price>
+ <price:id type="guid">2a3b1e86307447229aaee6bf4671cd6c</price:id>
+ <price:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ </price:commodity>
+ <price:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </price:currency>
+ <price:time>
+ <ts:date>2021-08-01 14:43:15 +0000</ts:date>
+ </price:time>
+ <price:source>Finance::Quote</price:source>
+ <price:type>last</price:type>
+ <price:value>12861/100000</price:value>
+ </price>
+</gnc:pricedb>
+<gnc:account version="2.0.0">
+ <act:name>Root Account</act:name>
+ <act:id type="guid">89c70dfd2d634cf5a85ae826310f0979</act:id>
+ <act:type>ROOT</act:type>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Assets</act:name>
+ <act:id type="guid">d1b6667c00d04aab8fc06668d11d068f</act:id>
+ <act:type>ASSET</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">89c70dfd2d634cf5a85ae826310f0979</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Current Assets</act:name>
+ <act:id type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:id>
+ <act:type>ASSET</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">d1b6667c00d04aab8fc06668d11d068f</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>European Bank</act:name>
+ <act:id type="guid">2de4edbc29484a6fb39c97cb3dbf361c</act:id>
+ <act:type>ASSET</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>HK Bank</act:name>
+ <act:id type="guid">5d83d53dd287496c9a137d1e24c950e1</act:id>
+ <act:type>BANK</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>US Bank</act:name>
+ <act:id type="guid">7e1f70c07eef45808700b85328b77984</act:id>
+ <act:type>ASSET</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">1cbd4b1deb904a4aaf17f1eaaa2283de</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Equity</act:name>
+ <act:id type="guid">971e105172034678802f95e2def2f68b</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">89c70dfd2d634cf5a85ae826310f0979</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>Opening Balances</act:name>
+ <act:id type="guid">f2eeaae9d3964c08855cfe1338525185</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>equity-type</slot:key>
+ <slot:value type="string">opening-balance</slot:value>
+ </slot>
+ <slot>
+ <slot:key>placeholder</slot:key>
+ <slot:value type="string">true</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">971e105172034678802f95e2def2f68b</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>HKD</act:name>
+ <act:id type="guid">bad0eb870ffa46b091536c6bc32da116</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>equity-type</slot:key>
+ <slot:value type="string">opening-balance</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">f2eeaae9d3964c08855cfe1338525185</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>EUR</act:name>
+ <act:id type="guid">2cd28afc018a4dae8401b8adafa9f8ad</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:parent type="guid">f2eeaae9d3964c08855cfe1338525185</act:parent>
+</gnc:account>
+<gnc:account version="2.0.0">
+ <act:name>USD</act:name>
+ <act:id type="guid">761ef2efe0fa4a7499a60ca313a0a642</act:id>
+ <act:type>EQUITY</act:type>
+ <act:commodity>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </act:commodity>
+ <act:commodity-scu>100</act:commodity-scu>
+ <act:slots>
+ <slot>
+ <slot:key>equity-type</slot:key>
+ <slot:value type="string">opening-balance</slot:value>
+ </slot>
+ </act:slots>
+ <act:parent type="guid">f2eeaae9d3964c08855cfe1338525185</act:parent>
+</gnc:account>
+<gnc:transaction version="2.0.0">
+ <trn:id type="guid">95574c3bc7c94e5fabded06168682fb0</trn:id>
+ <trn:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>EUR</cmdty:id>
+ </trn:currency>
+ <trn:date-posted>
+ <ts:date>2021-01-02 10:59:00 +0000</ts:date>
+ </trn:date-posted>
+ <trn:date-entered>
+ <ts:date>2021-08-01 12:21:56 +0000</ts:date>
+ </trn:date-entered>
+ <trn:description>Opening Balance</trn:description>
+ <trn:slots>
+ <slot>
+ <slot:key>date-posted</slot:key>
+ <slot:value type="gdate">
+ <gdate>2021-01-02</gdate>
+ </slot:value>
+ </slot>
+ </trn:slots>
+ <trn:splits>
+ <trn:split>
+ <split:id type="guid">8c05d8bcdce44bb18aaa68a86e1ee647</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>1000000/100</split:value>
+ <split:quantity>1000000/100</split:quantity>
+ <split:account type="guid">2de4edbc29484a6fb39c97cb3dbf361c</split:account>
+ </trn:split>
+ <trn:split>
+ <split:id type="guid">832480a208ed465e9ddc93ac79002a12</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>-1000000/100</split:value>
+ <split:quantity>-1000000/100</split:quantity>
+ <split:account type="guid">2cd28afc018a4dae8401b8adafa9f8ad</split:account>
+ </trn:split>
+ </trn:splits>
+</gnc:transaction>
+<gnc:transaction version="2.0.0">
+ <trn:id type="guid">58eaf76a11fd42f589ca7c1c806572e7</trn:id>
+ <trn:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>HKD</cmdty:id>
+ </trn:currency>
+ <trn:date-posted>
+ <ts:date>2021-01-02 10:59:00 +0000</ts:date>
+ </trn:date-posted>
+ <trn:date-entered>
+ <ts:date>2021-08-01 12:15:45 +0000</ts:date>
+ </trn:date-entered>
+ <trn:description>Opening Balance</trn:description>
+ <trn:slots>
+ <slot>
+ <slot:key>date-posted</slot:key>
+ <slot:value type="gdate">
+ <gdate>2021-01-02</gdate>
+ </slot:value>
+ </slot>
+ </trn:slots>
+ <trn:splits>
+ <trn:split>
+ <split:id type="guid">aeebf7117bb84881835e4039823848c9</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>100000/100</split:value>
+ <split:quantity>100000/100</split:quantity>
+ <split:account type="guid">5d83d53dd287496c9a137d1e24c950e1</split:account>
+ </trn:split>
+ <trn:split>
+ <split:id type="guid">0b05dc35ea214dfc8ac02cc6bd06ac5d</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>-100000/100</split:value>
+ <split:quantity>-100000/100</split:quantity>
+ <split:account type="guid">bad0eb870ffa46b091536c6bc32da116</split:account>
+ </trn:split>
+ </trn:splits>
+</gnc:transaction>
+<gnc:transaction version="2.0.0">
+ <trn:id type="guid">39551be2daea431fb4f1dfade9dce9b6</trn:id>
+ <trn:currency>
+ <cmdty:space>CURRENCY</cmdty:space>
+ <cmdty:id>USD</cmdty:id>
+ </trn:currency>
+ <trn:date-posted>
+ <ts:date>2021-01-02 10:59:00 +0000</ts:date>
+ </trn:date-posted>
+ <trn:date-entered>
+ <ts:date>2021-08-01 12:30:49 +0000</ts:date>
+ </trn:date-entered>
+ <trn:description>Opening Balance</trn:description>
+ <trn:slots>
+ <slot>
+ <slot:key>date-posted</slot:key>
+ <slot:value type="gdate">
+ <gdate>2021-01-02</gdate>
+ </slot:value>
+ </slot>
+ </trn:slots>
+ <trn:splits>
+ <trn:split>
+ <split:id type="guid">605a3f1399b8495b85a6f0dfa2b4c6c2</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>1000000/100</split:value>
+ <split:quantity>1000000/100</split:quantity>
+ <split:account type="guid">7e1f70c07eef45808700b85328b77984</split:account>
+ </trn:split>
+ <trn:split>
+ <split:id type="guid">daf0dbef52084aa29ca30f32f76ba97f</split:id>
+ <split:reconciled-state>n</split:reconciled-state>
+ <split:value>-1000000/100</split:value>
+ <split:quantity>-1000000/100</split:quantity>
+ <split:account type="guid">761ef2efe0fa4a7499a60ca313a0a642</split:account>
+ </trn:split>
+ </trn:splits>
+</gnc:transaction>
+</gnc:book>
+</gnc-v2>
+
diff --git a/data/README b/data/README
new file mode 100644
index 00000000..e4b5bc84
--- /dev/null
+++ b/data/README
@@ -0,0 +1,14 @@
+This directory contains (some of) the sample files created and reused in the docs.
+They can be GnuCash books or typical regional import files like CSV, QIFâ¦
+They are not part of the distribution, but useful for
+* the (re)generation of screenshots or
+* to verify bugs against the docs.
+
+Each language team should create their own directory
+with subdirectories on demand for guide, manual or common.
+Do not translate the english examples, but
+create your own files with the proper LANG settings.
+
+If using them for screenshot regeneration, verify you use the same settings like
+* Preferences
+* Column selection â¦
Summary of changes:
data/C/guide/currency_main1.gnucash | 352 +++++++++++++++++++++++++++++++
data/C/guide/currency_main2.gnucash | 372 +++++++++++++++++++++++++++++++++
data/C/guide/currency_main3.gnucash | 401 ++++++++++++++++++++++++++++++++++++
data/README | 14 ++
4 files changed, 1139 insertions(+)
create mode 100644 data/C/guide/currency_main1.gnucash
create mode 100644 data/C/guide/currency_main2.gnucash
create mode 100644 data/C/guide/currency_main3.gnucash
create mode 100644 data/README
More information about the gnucash-changes
mailing list