vat-gst-calculator 0.3.0 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea8d63fdf82a8bb68b3d141d57f5f6e35c0f121996789a6af8ba7c818926fee1
|
4
|
+
data.tar.gz: 946d7b73d444769a9ab20efad6b6160c34593f21f7b901f66dd7a3f1d09420b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd9d998c898357a31f6a8e6931821374eb8ba161a985caee618366284263130cc915c62add4bacc4e3896b08897bbfb37260519440057d95d214d7de346d9389
|
7
|
+
data.tar.gz: ef30ba5ed141462f1cea56188655e3369de668fd6ef440fb8c9948d379f0334abfca2af1fa63c6190a4ef3a9c84a5acf3669f56d23b04074b921b74881d1efe3
|
@@ -52,7 +52,7 @@ module Easyship
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def self.in_eu?(country_alpha2)
|
55
|
-
%w(NL LU EE LT HU BE PT
|
55
|
+
%w(NL LU EE LT HU BE PT SK HR CZ IT FI PL MT DE SI RO BG AT SE CY DK FR IE ES GR LV).include?(country_alpha2)
|
56
56
|
end
|
57
57
|
|
58
58
|
def self.domestic?(origin_country_alpha2 = nil, destination_country_alpha2 = nil)
|
@@ -63,7 +63,7 @@ module Easyship
|
|
63
63
|
},
|
64
64
|
'SG' => {
|
65
65
|
sales_tax_website_name: 'GST',
|
66
|
-
sales_tax: { '_ALL': build_fee_struct(0
|
66
|
+
sales_tax: { '_ALL': build_fee_struct(0, 0, 0, 0) },
|
67
67
|
provincial_sales_taxes: { '_ALL': no_taxes }
|
68
68
|
},
|
69
69
|
'HK' => {
|
@@ -111,6 +111,16 @@ module Easyship
|
|
111
111
|
sales_tax: { '_ALL': build_fee_struct(0.23, 0, 0, 0) },
|
112
112
|
provincial_sales_taxes: { '_ALL': no_taxes }
|
113
113
|
},
|
114
|
+
'PL' => {
|
115
|
+
sales_tax_website_name: 'VAT',
|
116
|
+
sales_tax: { '_ALL': build_fee_struct(0.23, 0, 0, 0) },
|
117
|
+
provincial_sales_taxes: { '_ALL': no_taxes }
|
118
|
+
},
|
119
|
+
'RO' => {
|
120
|
+
sales_tax_website_name: 'VAT',
|
121
|
+
sales_tax: { '_ALL': build_fee_struct(0.19, 0, 0, 0) },
|
122
|
+
provincial_sales_taxes: { '_ALL': no_taxes }
|
123
|
+
},
|
114
124
|
'AT' => {
|
115
125
|
sales_tax_website_name: 'VAT',
|
116
126
|
sales_tax: { '_ALL': build_fee_struct(0.2, 0, 0, 0) },
|
@@ -136,6 +146,11 @@ module Easyship
|
|
136
146
|
sales_tax: { '_ALL': build_fee_struct(0.24, 0, 0, 0) },
|
137
147
|
provincial_sales_taxes: { '_ALL': no_taxes }
|
138
148
|
},
|
149
|
+
'CN' => {
|
150
|
+
sales_tax_website_name: 'VAT',
|
151
|
+
sales_tax: { '_ALL': build_fee_struct(0.06, 0, 0, 0) },
|
152
|
+
provincial_sales_taxes: { '_ALL': no_taxes }
|
153
|
+
},
|
139
154
|
'NO' => {
|
140
155
|
sales_tax_website_name: 'VAT',
|
141
156
|
sales_tax: { '_ALL': build_fee_struct(0.25, 0, 0, 0) },
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vat-gst-calculator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aloha Chen
|
8
8
|
- Paul LD
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-06-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -92,7 +92,7 @@ homepage: https://github.com/easyship/vat-gst-calculator
|
|
92
92
|
licenses:
|
93
93
|
- MIT
|
94
94
|
metadata: {}
|
95
|
-
post_install_message:
|
95
|
+
post_install_message:
|
96
96
|
rdoc_options: []
|
97
97
|
require_paths:
|
98
98
|
- lib
|
@@ -107,8 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
|
-
rubygems_version: 3.0.
|
111
|
-
signing_key:
|
110
|
+
rubygems_version: 3.0.9
|
111
|
+
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: Calculate Sales Tax
|
114
114
|
test_files: []
|