suretax 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/suretax/constants.rb +1 -0
- data/lib/suretax/constants/tax_type_exemption_code_mapping.rb +28 -0
- data/lib/suretax/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41b16657181106fd6540a1684555dab37ee76e66
|
4
|
+
data.tar.gz: e4bc0ca048731ce59d9b2a95641977ad8ce879c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95f27d098398c1a5546b03624d3a8729d284e8d4848da384b2f2c00d1b689b027954ad199fbe92f3132ff759a65a88e880c8840ddb22f410a2f32d4b12c289e9
|
7
|
+
data.tar.gz: d2baf5d1cdc06fb77e8afd560fad8240f2a96d88abc94bb866f9d6129407c1a5fadd7882d651e1b146d363712911eaf18b21038f18eeeea0c12d668af70aee83
|
data/lib/suretax/constants.rb
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
module Suretax
|
2
|
+
TAX_TYPE_EXEMPTION_CODES = [
|
3
|
+
{ "exemption_code" => "01", "tax_types" => %w[000] },
|
4
|
+
{ "exemption_code" => "24", "tax_types" => %w[035] },
|
5
|
+
{ "exemption_code" => "35", "tax_types" => %w[060] },
|
6
|
+
{ "exemption_code" => "09", "tax_types" => %w[000 035 060] },
|
7
|
+
{ "exemption_code" => "11", "tax_types" => %w[106 133 233 333 433 533] },
|
8
|
+
{ "exemption_code" => "13", "tax_types" => %w[224 324 424] },
|
9
|
+
{ "exemption_code" => "14", "tax_types" => %w[106 133 233 333 433 533] },
|
10
|
+
{ "exemption_code" => "20", "tax_types" => %w[108 208 308 408 508] },
|
11
|
+
{ "exemption_code" => "21", "tax_types" => %w[128 228 328 428 528 132 232 332 432 532] },
|
12
|
+
{ "exemption_code" => "22", "tax_types" => %w[126 226 326 426 526] },
|
13
|
+
{ "exemption_code" => "23", "tax_types" => %w[126 226 326 426 526 128 228 328 428 528 132 232 332 432 532] },
|
14
|
+
{ "exemption_code" => "31", "tax_types" => %w[101] },
|
15
|
+
{ "exemption_code" => "25", "tax_types" => %w[000 035 101] },
|
16
|
+
{ "exemption_code" => "26", "tax_types" => %w[127] },
|
17
|
+
{ "exemption_code" => "30", "tax_types" => %w[127 227 327 427 137 237 337 437] },
|
18
|
+
{ "exemption_code" => "36", "tax_types" => %w[051 151 251 351 451 551] },
|
19
|
+
{ "exemption_code" => "37", "tax_types" => %w[042 142 242 342 442 542] },
|
20
|
+
{ "exemption_code" => "38", "tax_types" => %w[041 141 241 341 441 541] },
|
21
|
+
{ "exemption_code" => "39", "tax_types" => %w[040 140 240 340 440 540] },
|
22
|
+
{ "exemption_code" => "41", "tax_types" => %w[016 116 216 316 416 516] },
|
23
|
+
{ "exemption_code" => "42", "tax_types" => %w[117 127 417 427] },
|
24
|
+
{ "exemption_code" => "43", "tax_types" => %w[022 122 222 322 422 522] },
|
25
|
+
{ "exemption_code" => "45", "tax_types" => %w[123] },
|
26
|
+
{ "exemption_code" => "46", "tax_types" => %w[236 336 436 536] }
|
27
|
+
].freeze
|
28
|
+
end
|
data/lib/suretax/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: suretax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damon Davison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|
@@ -203,6 +203,7 @@ files:
|
|
203
203
|
- lib/suretax/constants/sales_type_codes.rb
|
204
204
|
- lib/suretax/constants/tax_exemption_codes.rb
|
205
205
|
- lib/suretax/constants/tax_situs_codes.rb
|
206
|
+
- lib/suretax/constants/tax_type_exemption_code_mapping.rb
|
206
207
|
- lib/suretax/constants/transaction_type_codes.rb
|
207
208
|
- lib/suretax/response.rb
|
208
209
|
- lib/suretax/version.rb
|