avatax 18.9.0 → 18.10.3

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: 266930dab7c3f2c1a25475c6d72c6e4a8a9ec31d84696be49603c178760676be
4
- data.tar.gz: 0cdf1d120fba55984c4e26bbc23d71de1cb8ee11ee0ef9ba2201735d25985452
3
+ metadata.gz: 890816e7d2526350ab5ecae1df8228b4e968c2ac0897aefb0c51f7bc18e3f263
4
+ data.tar.gz: 0becc12a7eb97920f781e6e1ed39d297c2e03b1a180489affd2d3cea03a30a82
5
5
  SHA512:
6
- metadata.gz: b5cfe3390ad75bacaf6f0c1ce1a5bb8d1ae6badca71d7b349d07fb89c47c68e5d9048d947d4fbda0043f0ffb1ec0356d8dcfadb84d73cec1d92e2194d704ed1a
7
- data.tar.gz: 6ad9fb13f1f158a4bbc266c8aab962b9fde5068d86c845e9c681ecec82dca2c0962a675d9b85af2bef4802544a39ca5cfdbe76e2c53b4c1ed7fc655856785662
6
+ metadata.gz: 0fe47748c013591ea9d3ce3f93c40c41383ac09b466346b0d2927af570407613d1fe9af6db873e78ea85f6ca3c6bad119e859449bd243556e91e0476072902b0
7
+ data.tar.gz: fab36ea38b32c4bb9eb0a5dd01acd8eecde70c4483c74209592165f0cad63318eb8aaf727b1cdbf733756b6ee3c04600fe30ca316ed6b5bff6218405676a9ba3
@@ -21,27 +21,27 @@ end
21
21
  # puts @client.query_companies
22
22
 
23
23
  createTransactionModel = {
24
- type: 'SalesInvoice',
25
- companyCode: '12670',
26
- date: '2017-06-05',
27
- customerCode: 'ABC',
28
- "addresses": {
29
- "ShipFrom": {
30
- "line1": "123 Main Street",
31
- "city": "Irvine",
32
- "region": "CA",
33
- "country": "US",
34
- "postalCode": "92615"
24
+ "type" => 'SalesInvoice',
25
+ "companyCode" => '12670',
26
+ "date" => '2017-06-05',
27
+ "customerCode" => 'ABC',
28
+ "addresses" => {
29
+ "ShipFrom" => {
30
+ "line1" => "123 Main Street",
31
+ "city" => "Irvine",
32
+ "region" => "CA",
33
+ "country" => "US",
34
+ "postalCode" => "92615"
35
35
  },
36
- "ShipTo": {
37
- "line1": "100 Market Street",
38
- "city": "San Francisco",
39
- "region": "CA",
40
- "country": "US",
41
- "postalCode": "94105"
36
+ "ShipTo" => {
37
+ "line1" => "100 Market Street",
38
+ "city" => "San Francisco",
39
+ "region" => "CA",
40
+ "country" => "US",
41
+ "postalCode" => "94105"
42
42
  }
43
43
  },
44
- lines: [{amount: 100}]
44
+ "lines" => [ { "amount" => 100 }]
45
45
  }
46
46
  transaction = @client.create_transaction(createTransactionModel)
47
47
  puts JSON.pretty_generate(transaction)
@@ -7,6 +7,7 @@ module AvaTax
7
7
  include AvaTax::Client::Batches
8
8
  include AvaTax::Client::Companies
9
9
  include AvaTax::Client::Contacts
10
+ include AvaTax::Client::Customers
10
11
  include AvaTax::Client::Definitions
11
12
  include AvaTax::Client::FilingCalendars
12
13
  include AvaTax::Client::Filings
@@ -1,3 +1,3 @@
1
1
  module AvaTax
2
- VERSION = '18.9.0'.freeze unless defined?(::AvaTax::VERSION)
2
+ VERSION = '18.10.3'.freeze unless defined?(::AvaTax::VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avatax
3
3
  version: !ruby/object:Gem::Version
4
- version: 18.9.0
4
+ version: 18.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcus Vorwaller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-08 00:00:00.000000000 Z
11
+ date: 2018-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake