vat-gst-calculator 0.4.2 → 0.4.6
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: 819c03bf2b467debcccea84deef7c173379b6a8ffd966587afe05dd1c65a39d7
|
4
|
+
data.tar.gz: c87c9a4dc813fff13f11623d693fcd2aef9c0eba8ba93769b6ea5a71b8b2b9a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9437a67bc0d20eb15b78f1b948eb7cd6ac8fe803307c26120fd18d57e745bc4c3be6d47d75f9f50f2c25a29287f43d446254ae097d1abf83ba793c3d197a46ac
|
7
|
+
data.tar.gz: 37486545690911ee860d331e8eab7072750863bc484a4c7f50fa6de7f8e82b514dacbefa0291b5f686a4ee5e13b3e9579aaa0f17bf6a41bf4fbe9298fefe1b6f
|
@@ -126,6 +126,11 @@ module Easyship
|
|
126
126
|
sales_tax: { '_ALL': build_fee_struct(0.2, 0, 0, 0) },
|
127
127
|
provincial_sales_taxes: { '_ALL': no_taxes }
|
128
128
|
},
|
129
|
+
'AE' => {
|
130
|
+
sales_tax_website_name: 'VAT',
|
131
|
+
sales_tax: { '_ALL': build_fee_struct(0.05, 0, 0, 0) },
|
132
|
+
provincial_sales_taxes: { '_ALL': no_taxes }
|
133
|
+
},
|
129
134
|
'IE' => {
|
130
135
|
sales_tax_website_name: 'VAT',
|
131
136
|
sales_tax: { '_ALL': build_fee_struct(0.23, 0, 0, 0) },
|
@@ -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)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vat-gst-calculator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aloha Chen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|