=> select * from defaults where setting_key = 'sinumber';
setting_key | value
-------------+-------
sinumber | 88001
(1 row)
=> select * from tax;
chart_id | rate | taxnumber | validto | pass | taxmodule_id
----------+------+-----------+---------+------+--------------
10029 | 0.1 | | | 1 | 1
10030 | 0.1 | | | 1 | 1
(2 rows)
=> select * from customertax;customer_id | chart_id
-------------+----------
10167 | 10029
10171 | 10029 ... (etc, so its showing the correct chart id)