vat-gst-calculator 0.2.0 → 0.3.0

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: ef8d215f45467ecd5763e3b9fe214096f83e4f7d84ffa7009224bf3c77a85c39
4
- data.tar.gz: 63a30ff1ee4e9fddf812684191f57c6315fe7bb2441bb7c8081fbf053720e9b1
3
+ metadata.gz: 7e52cca1216259da0edab459a49bcf521e7987e3b863b48c88a0832becf9a4f5
4
+ data.tar.gz: 747884b35eb3c499d27df7118c6ffcc95d74439aace0cbbfc0ab6636d0f5c8d3
5
5
  SHA512:
6
- metadata.gz: 72020eb1ffe54a6851bbb2d385088925b936a68fc39e04bb5bec87227a2672a03e0a87b072c3cc7a01fea2b5e755d6a133efecbe47dc2be36b4fad7aaf9a42de
7
- data.tar.gz: 2588c15b22de2b5d594b187236f2119e6c68cb13d2d0f6f47c8c70c656a01ea49f5e7716837c67ff0598470c316e52c85395dfb127f8358b3740c10c0538d45c
6
+ metadata.gz: 94cdd1b8a852988d58930312b9e6996419f1c70a3daa529e6224e0cb0381a28430ecc7328fcbbfbeabf2ec6c41a3be32fc20e7aafce54f56c5d4443f047e9a33
7
+ data.tar.gz: b01265c59d8c2c54defa46d80ff8648038d0b40cc303724b7a773b5ad941d9a36bac0a318aa1815e9fe119c7ef74036f7857ed43aafc9e5f4de2ad9cd63e8807
@@ -25,7 +25,7 @@ module Easyship
25
25
  },
26
26
  'GB' => {
27
27
  sales_tax_website_name: 'VAT',
28
- sales_tax: { '_ALL': build_fee_struct(0.2, 0, 0, 0.2) }, # TBC
28
+ sales_tax: { '_ALL': build_fee_struct(0.2, 0, 0.2, 0.2) }, # TBC
29
29
  provincial_sales_taxes: { '_ALL': no_taxes }
30
30
  },
31
31
  'CA' => {
@@ -80,6 +80,101 @@ module Easyship
80
80
  sales_tax_website_name: nil,
81
81
  sales_tax: { '_ALL': no_taxes },
82
82
  provincial_sales_taxes: { '_ALL': no_taxes }
83
+ },
84
+ 'DE' => {
85
+ sales_tax_website_name: 'VAT',
86
+ sales_tax: { '_ALL': build_fee_struct(0.19, 0, 0, 0) },
87
+ provincial_sales_taxes: { '_ALL': no_taxes }
88
+ },
89
+ 'FR' => {
90
+ sales_tax_website_name: 'VAT',
91
+ sales_tax: { '_ALL': build_fee_struct(0.2, 0, 0, 0) },
92
+ provincial_sales_taxes: { '_ALL': no_taxes }
93
+ },
94
+ 'IT' => {
95
+ sales_tax_website_name: 'VAT',
96
+ sales_tax: { '_ALL': build_fee_struct(0.22, 0, 0, 0) },
97
+ provincial_sales_taxes: { '_ALL': no_taxes }
98
+ },
99
+ 'BE' => {
100
+ sales_tax_website_name: 'VAT',
101
+ sales_tax: { '_ALL': build_fee_struct(0.21, 0, 0, 0) },
102
+ provincial_sales_taxes: { '_ALL': no_taxes }
103
+ },
104
+ 'ES' => {
105
+ sales_tax_website_name: 'VAT',
106
+ sales_tax: { '_ALL': build_fee_struct(0.21, 0, 0, 0) },
107
+ provincial_sales_taxes: { '_ALL': no_taxes }
108
+ },
109
+ 'PT' => {
110
+ sales_tax_website_name: 'VAT',
111
+ sales_tax: { '_ALL': build_fee_struct(0.23, 0, 0, 0) },
112
+ provincial_sales_taxes: { '_ALL': no_taxes }
113
+ },
114
+ 'AT' => {
115
+ sales_tax_website_name: 'VAT',
116
+ sales_tax: { '_ALL': build_fee_struct(0.2, 0, 0, 0) },
117
+ provincial_sales_taxes: { '_ALL': no_taxes }
118
+ },
119
+ 'IE' => {
120
+ sales_tax_website_name: 'VAT',
121
+ sales_tax: { '_ALL': build_fee_struct(0.23, 0, 0, 0) },
122
+ provincial_sales_taxes: { '_ALL': no_taxes }
123
+ },
124
+ 'DK' => {
125
+ sales_tax_website_name: 'VAT',
126
+ sales_tax: { '_ALL': build_fee_struct(0.25, 0, 0, 0) },
127
+ provincial_sales_taxes: { '_ALL': no_taxes }
128
+ },
129
+ 'SE' => {
130
+ sales_tax_website_name: 'VAT',
131
+ sales_tax: { '_ALL': build_fee_struct(0.25, 0, 0, 0) },
132
+ provincial_sales_taxes: { '_ALL': no_taxes }
133
+ },
134
+ 'FI' => {
135
+ sales_tax_website_name: 'VAT',
136
+ sales_tax: { '_ALL': build_fee_struct(0.24, 0, 0, 0) },
137
+ provincial_sales_taxes: { '_ALL': no_taxes }
138
+ },
139
+ 'NO' => {
140
+ sales_tax_website_name: 'VAT',
141
+ sales_tax: { '_ALL': build_fee_struct(0.25, 0, 0, 0) },
142
+ provincial_sales_taxes: { '_ALL': no_taxes }
143
+ },
144
+ 'CH' => {
145
+ sales_tax_website_name: 'VAT',
146
+ sales_tax: { '_ALL': build_fee_struct(0.077, 0, 0, 0) },
147
+ provincial_sales_taxes: { '_ALL': no_taxes }
148
+ },
149
+ 'MY' => {
150
+ sales_tax_website_name: 'VAT',
151
+ sales_tax: { '_ALL': build_fee_struct(0.1, 0, 0, 0) },
152
+ provincial_sales_taxes: { '_ALL': no_taxes }
153
+ },
154
+ 'JP' => {
155
+ sales_tax_website_name: 'VAT',
156
+ sales_tax: { '_ALL': build_fee_struct(0.1, 0, 0, 0) },
157
+ provincial_sales_taxes: { '_ALL': no_taxes }
158
+ },
159
+ 'NZ' => {
160
+ sales_tax_website_name: 'VAT',
161
+ sales_tax: { '_ALL': build_fee_struct(0.15, 0, 0, 0) },
162
+ provincial_sales_taxes: { '_ALL': no_taxes }
163
+ },
164
+ 'IN' => {
165
+ sales_tax_website_name: 'VAT',
166
+ sales_tax: { '_ALL': build_fee_struct(0.15, 0, 0, 0) },
167
+ provincial_sales_taxes: { '_ALL': no_taxes }
168
+ },
169
+ 'KR' => {
170
+ sales_tax_website_name: 'VAT',
171
+ sales_tax: { '_ALL': build_fee_struct(0.1, 0, 0, 0) },
172
+ provincial_sales_taxes: { '_ALL': no_taxes }
173
+ },
174
+ 'MX' => {
175
+ sales_tax_website_name: 'VAT',
176
+ sales_tax: { '_ALL': build_fee_struct(0.16, 0, 0, 0) },
177
+ provincial_sales_taxes: { '_ALL': no_taxes }
83
178
  }
84
179
  }.freeze
85
180
  end
@@ -1,7 +1,7 @@
1
1
  module Easyship
2
2
  module SalesTax
3
3
  module Calculator
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
6
6
  end
7
7
  end
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.2.0
4
+ version: 0.3.0
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: 2019-11-05 00:00:00.000000000 Z
12
+ date: 2020-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler