From 81c9d12313ea889250c167ea9158c6f975ce0b85 Mon Sep 17 00:00:00 2001 From: "Ying-Chun Liu (PaulLiu)" Date: Sat, 13 Dec 2014 21:41:29 +0800 Subject: [PATCH 1/2] Add Taiwan VAT 5% The most common VAT in Taiwan is 5%. This commit adds the VAT for Taiwan. Signed-off-by: Ying-Chun Liu (PaulLiu) --- htdocs/install/mysql/data/llx_c_tva.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/install/mysql/data/llx_c_tva.sql b/htdocs/install/mysql/data/llx_c_tva.sql index 01d2894bca6..375b577d128 100644 --- a/htdocs/install/mysql/data/llx_c_tva.sql +++ b/htdocs/install/mysql/data/llx_c_tva.sql @@ -240,6 +240,9 @@ insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 6 insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 63, 6, '2.5','0','VAT super-reduced rate',1); insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 64, 6, '0','0','VAT Rate 0', 1); +-- TAIWAN (id country=213) +insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 2131, 213, '5','0','VAT 5%',1); + -- TUNISIA (id country=10) insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active,localtax1,localtax1_type,localtax2,localtax2_type) values (101,10, '6','0','VAT 6%', 1, 1, '4', 0, 0); insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active,localtax1,localtax1_type,localtax2,localtax2_type) values (102,10, '12','0','VAT 12%',1, 1, '4', 0, 0); From 71c5f81bdf2f9bb8a0b1bc1045d37357313130d7 Mon Sep 17 00:00:00 2001 From: "Ying-Chun Liu (PaulLiu)" Date: Tue, 16 Dec 2014 00:48:35 +0800 Subject: [PATCH 2/2] Handle updates for Taiwan VAT. Signed-off-by: Ying-Chun Liu (PaulLiu) --- htdocs/install/mysql/migration/3.7.0-3.8.0.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/install/mysql/migration/3.7.0-3.8.0.sql b/htdocs/install/mysql/migration/3.7.0-3.8.0.sql index a190f102023..755195c2a61 100755 --- a/htdocs/install/mysql/migration/3.7.0-3.8.0.sql +++ b/htdocs/install/mysql/migration/3.7.0-3.8.0.sql @@ -27,3 +27,6 @@ create table llx_c_price_expression )ENGINE=innodb; ALTER TABLE llx_product_fournisseur_price ADD fk_price_expression integer DEFAULT NULL; + +-- Taiwan VAT Rates +insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 2131, 213, '5', '0', 'VAT 5%', 1);