Avatax_TaxService 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Avatax_TaxService.gemspec +4 -6
- data/lib/avatax_taxservice.rb +177 -358
- data/lib/template_adjusttax.erb +2 -2
- data/lib/template_gettaxhistory.erb +0 -1
- data/lib/template_posttax.erb +7 -0
- data/test/test_adjtax.rb +3 -1
- data/test/test_gettax.rb +35 -46
- data/test/test_gettaxhistory.rb +6 -3
- data/test/test_reconciletaxhistory.rb +2 -15
- metadata +2 -11
- data/lib/xpath_adjtax.txt +0 -74
- data/lib/xpath_cancel.txt +0 -10
- data/lib/xpath_commit.txt +0 -10
- data/lib/xpath_gettax.txt +0 -74
- data/lib/xpath_gettaxhistory.txt +0 -128
- data/lib/xpath_isauthorized.txt +0 -4
- data/lib/xpath_ping.txt +0 -9
- data/lib/xpath_post.txt +0 -9
- data/lib/xpath_reconciletaxhistory.txt +0 -31
data/lib/template_adjusttax.erb
CHANGED
@@ -17,8 +17,8 @@
|
|
17
17
|
<soapenv:Body>
|
18
18
|
<ser:AdjustTax>
|
19
19
|
<ser:AdjustTaxRequest>
|
20
|
-
<ser:AdjustmentReason><%= adjustmentreason %></ser:AdjustmentReason>
|
21
|
-
<ser:AdjustmentDescription><%= adjustmentdescription %></ser:AdjustmentDescription>
|
20
|
+
<ser:AdjustmentReason><%= @adjustmentreason %></ser:AdjustmentReason>
|
21
|
+
<ser:AdjustmentDescription><%= @adjustmentdescription %></ser:AdjustmentDescription>
|
22
22
|
<ser:GetTaxRequest>
|
23
23
|
<ser:CompanyCode><%= @companycode %></ser:CompanyCode>
|
24
24
|
<ser:DocType><%= @doctype %></ser:DocType>
|
@@ -21,7 +21,6 @@
|
|
21
21
|
<ser:CompanyCode><%= @companycode %></ser:CompanyCode>
|
22
22
|
<ser:DocType><%= @doctype %></ser:DocType>
|
23
23
|
<ser:DocCode><%= @doccode %></ser:DocCode>
|
24
|
-
<ser:DocDate><%= @docdate %></ser:DocDate>
|
25
24
|
<ser:DetailLevel><%= @detaillevel %></ser:DetailLevel>
|
26
25
|
</ser:GetTaxHistoryRequest>
|
27
26
|
</ser:GetTaxHistory>
|
data/lib/template_posttax.erb
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://avatax.avalara.com/services">
|
2
2
|
<soapenv:Header>
|
3
|
+
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
|
4
|
+
<wsse:UsernameToken wsu:Id="UsernameToken-7" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
|
5
|
+
<wsse:Username><%= @username %></wsse:Username>
|
6
|
+
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"><%= @password %></wsse:Password>
|
7
|
+
<wsu:Created>2012-03-02T23:41:44.511Z</wsu:Created>
|
8
|
+
</wsse:UsernameToken>
|
9
|
+
</wsse:Security>
|
3
10
|
<ser:Profile>
|
4
11
|
<ser:Name><%= @name %></ser:Name>
|
5
12
|
<ser:Client><%= @clientname %></ser:Client>
|
data/test/test_adjtax.rb
CHANGED
@@ -18,6 +18,8 @@ credentials[:name] = 'Avalara Inc.'
|
|
18
18
|
credentials[:clientname] = 'MyShoppingCart'
|
19
19
|
credentials[:adapter] = 'Avatax SDK for Ruby 1.0.6'
|
20
20
|
credentials[:machine] = 'Lenovo W520 Windows 7'
|
21
|
+
# Determine whether the DEV or PROD service is used. false = DEV true = PROD
|
22
|
+
credentials[:use_production_account] = false
|
21
23
|
|
22
24
|
#Create a tax service instance
|
23
25
|
TaxServ = AvaTax::TaxService.new(credentials)
|
@@ -105,7 +107,7 @@ document[:validate]= false #If true - addresses will be vali
|
|
105
107
|
tax_result = Hash.new
|
106
108
|
|
107
109
|
#Call the tax service
|
108
|
-
tax_result = TaxServ.
|
110
|
+
tax_result = TaxServ.adjusttax(document)
|
109
111
|
|
110
112
|
require 'pp'
|
111
113
|
pp tax_result
|
data/test/test_gettax.rb
CHANGED
@@ -15,9 +15,11 @@ address = Hash.new
|
|
15
15
|
credentials[:username] = 'USERNAME'
|
16
16
|
credentials[:password] = 'PASSWORD'
|
17
17
|
credentials[:name] = 'Avalara Inc.'
|
18
|
-
credentials[:clientname] = '
|
19
|
-
credentials[:adapter] = '
|
18
|
+
credentials[:clientname] = ''
|
19
|
+
credentials[:adapter] = ''
|
20
20
|
credentials[:machine] = 'Lenovo W520 Windows 7'
|
21
|
+
# Determine whether the DEV or PROD service is used. false = DEV true = PROD
|
22
|
+
credentials[:use_production_account] = false
|
21
23
|
|
22
24
|
#Create a tax service instance
|
23
25
|
TaxServ = AvaTax::TaxService.new(credentials)
|
@@ -27,8 +29,8 @@ AddrService = AvaTax::AddressService.new(credentials)
|
|
27
29
|
|
28
30
|
#Populate the fields required by the GetTax call
|
29
31
|
document[:companycode] = 'APITrialCompany'
|
30
|
-
document[:doctype] = '
|
31
|
-
document[:doccode] = "
|
32
|
+
document[:doctype] = 'SalesOrder'
|
33
|
+
document[:doccode] = "MyDocCode100"
|
32
34
|
document[:docdate] = "2013-10-11"
|
33
35
|
document[:salespersoncode] = "Bill Sales"
|
34
36
|
document[:customercode] = "CUS001"
|
@@ -53,7 +55,7 @@ document[:destinationcode] = "456"
|
|
53
55
|
# <Longitude/>
|
54
56
|
document[:addresses]= [
|
55
57
|
{:addresscode => "123",:line1 => "100 ravine lane", :line2 => "Suite 21",:city => "Bainbridge Island",:region => "WA",:postalcode => "98110",:country => "US",:taxregionid => "0",:latitude => "",:longitude => ""},
|
56
|
-
{:addresscode => "456",:line1 => "
|
58
|
+
{:addresscode => "456",:line1 => "9436 NE Blue Wave Ct",:city => "Bainbridge Island",:region => "WA",:postalcode => "98110",:country => "US",:taxregionid => "0"}
|
57
59
|
]
|
58
60
|
|
59
61
|
#Pass order/invoice lines as an array of hashes
|
@@ -98,7 +100,7 @@ document[:exchangerate] = ".0000" #Indicates the currency exchange
|
|
98
100
|
document[:exchangerateeffdate] = "1900-01-01" #Indicates the effective date of the exchange rate.
|
99
101
|
document[:poslanecode] = "" #Optional POS Lane Code
|
100
102
|
document[:businessidentificationno] = "" #Optional Business Identification Number
|
101
|
-
document[:debug] =
|
103
|
+
document[:debug] = false #Run in debug move - writes data to tax_log.txt
|
102
104
|
document[:validate]= false #If true - addresses will be validated before the tax call
|
103
105
|
|
104
106
|
|
@@ -113,45 +115,32 @@ require 'pp'
|
|
113
115
|
pp tax_result
|
114
116
|
puts
|
115
117
|
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
118
|
+
puts "Result Code = #{tax_result[:get_tax_response][:get_tax_result][:result_code]}"
|
119
|
+
puts "Total Taxable = #{tax_result[:get_tax_response][:get_tax_result][:total_taxable]}"
|
120
|
+
puts "Total Tax = #{tax_result[:get_tax_response][:get_tax_result][:total_tax]}"
|
121
|
+
puts
|
122
|
+
#Get total taxable
|
123
|
+
puts tax_result[:get_tax_response][:get_tax_result][:total_taxable]
|
124
|
+
puts
|
125
|
+
|
126
|
+
#Get first tax line
|
127
|
+
pp tax_result[:get_tax_response][:get_tax_result][:tax_lines][:tax_line][0]
|
128
|
+
|
129
|
+
puts
|
130
|
+
#Get tax details for line 2
|
131
|
+
pp tax_result[:get_tax_response][:get_tax_result][:tax_lines][:tax_line][1][:tax_details]
|
132
|
+
|
133
|
+
puts
|
134
|
+
#Get tax line 2 .. first level of tax detail
|
135
|
+
pp tax_result[:get_tax_response][:get_tax_result][:tax_lines][:tax_line][1][:tax_details][:tax_detail][0]
|
122
136
|
|
123
137
|
puts
|
124
|
-
#
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
puts tax_result[:TaxDetailTaxName][1]
|
134
|
-
|
135
|
-
tax_result[:TaxDetailJurisType].each do |type|
|
136
|
-
puts type
|
137
|
-
end
|
138
|
-
|
139
|
-
#Example of extracting the tax breakdown per line
|
140
|
-
no_of_lines = tax_result[:TaxLineNo].size
|
141
|
-
no_of_jurisdictions = tax_result[:TaxDetailCountry].size / no_of_lines
|
142
|
-
i = 0
|
143
|
-
while i < no_of_lines
|
144
|
-
puts
|
145
|
-
puts "Line = #{tax_result[:TaxLineNo][i]}"
|
146
|
-
j = 0
|
147
|
-
while j < no_of_jurisdictions
|
148
|
-
puts "Jurisdiction #{j+1} = #{tax_result[:TaxDetailJurisName][j]}"
|
149
|
-
puts "Tax name = #{tax_result[:TaxDetailTaxName][j]}"
|
150
|
-
puts "Taxable amount = #{tax_result[:TaxDetailBase][j]}"
|
151
|
-
puts "Tax rate = #{tax_result[:TaxDetailRate][j]}"
|
152
|
-
puts "Tax calculated = #{tax_result[:TaxDetailTaxCalculated][j]}"
|
153
|
-
puts
|
154
|
-
j += 1
|
155
|
-
end
|
156
|
-
i += 1
|
157
|
-
end
|
138
|
+
#Get tax line 2 - country
|
139
|
+
pp tax_result[:get_tax_response][:get_tax_result][:tax_lines][:tax_line][1][:tax_details][:tax_detail][0][:country]
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
data/test/test_gettaxhistory.rb
CHANGED
@@ -13,16 +13,18 @@ credentials[:name] = 'Avalara Inc.'
|
|
13
13
|
credentials[:clientname] = 'MyShoppingCart'
|
14
14
|
credentials[:adapter] = 'Avatax SDK for Ruby 1.0.6'
|
15
15
|
credentials[:machine] = 'Lenovo W520 Windows 7'
|
16
|
+
# Determine whether the DEV or PROD service is used. false = DEV true = PROD
|
17
|
+
credentials[:use_production_account] = false
|
16
18
|
|
17
19
|
#Create a tax service instance
|
18
20
|
TaxServ = AvaTax::TaxService.new(credentials)
|
19
21
|
|
20
|
-
document[:docid] = "
|
22
|
+
document[:docid] = ""
|
21
23
|
document[:companycode] = 'APITrialCompany'
|
22
24
|
document[:doctype] = 'SalesInvoice'
|
23
|
-
document[:doccode] = ""
|
25
|
+
document[:doccode] = "MyDocCode100"
|
24
26
|
document[:detaillevel] = "Line"
|
25
|
-
document[:debug] =
|
27
|
+
document[:debug] = true
|
26
28
|
|
27
29
|
#Create empty hash for the tax result details
|
28
30
|
tax_result = Hash.new
|
@@ -48,5 +50,6 @@ pp tax_result
|
|
48
50
|
|
49
51
|
|
50
52
|
|
53
|
+
|
51
54
|
|
52
55
|
|
@@ -13,6 +13,8 @@ credentials[:name] = 'Avalara Inc.'
|
|
13
13
|
credentials[:clientname] = 'MyShoppingCart'
|
14
14
|
credentials[:adapter] = 'Avatax SDK for Ruby 1.0.6'
|
15
15
|
credentials[:machine] = 'Lenovo W520 Windows 7'
|
16
|
+
# Determine whether the DEV or PROD service is used. false = DEV true = PROD
|
17
|
+
credentials[:use_production_account] = false
|
16
18
|
|
17
19
|
#Create a tax service instance
|
18
20
|
TaxServ = AvaTax::TaxService.new(credentials)
|
@@ -37,21 +39,6 @@ tax_result = TaxServ.reconciletaxhistory(document)
|
|
37
39
|
require 'pp'
|
38
40
|
pp tax_result
|
39
41
|
|
40
|
-
#Calculate the number od docs returned
|
41
|
-
no_recs = tax_result.size - 2
|
42
|
-
puts no_recs
|
43
|
-
|
44
|
-
#Print out the document details
|
45
|
-
i = 0
|
46
|
-
while i <= no_recs
|
47
|
-
puts tax_result[:GetTaxResultDocId][i]
|
48
|
-
puts tax_result[:GetTaxResultDocType][i]
|
49
|
-
puts tax_result[:GetTaxResultDocDate][i]
|
50
|
-
puts tax_result[:GetTaxResultTotalAmount][i]
|
51
|
-
puts tax_result[:GetTaxResultTotalTax][i]
|
52
|
-
puts
|
53
|
-
i += 1
|
54
|
-
end
|
55
42
|
|
56
43
|
|
57
44
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Avatax_TaxService
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Graham S Wilson
|
@@ -57,15 +57,6 @@ files:
|
|
57
57
|
- lib/template_ping.erb
|
58
58
|
- lib/template_posttax.erb
|
59
59
|
- lib/template_reconciletaxhistory.erb
|
60
|
-
- lib/xpath_adjtax.txt
|
61
|
-
- lib/xpath_cancel.txt
|
62
|
-
- lib/xpath_commit.txt
|
63
|
-
- lib/xpath_gettax.txt
|
64
|
-
- lib/xpath_gettaxhistory.txt
|
65
|
-
- lib/xpath_isauthorized.txt
|
66
|
-
- lib/xpath_ping.txt
|
67
|
-
- lib/xpath_post.txt
|
68
|
-
- lib/xpath_reconciletaxhistory.txt
|
69
60
|
- test/test_adjtax.rb
|
70
61
|
- test/test_gettax.rb
|
71
62
|
- test/test_gettaxhistory.rb
|
@@ -97,5 +88,5 @@ rubyforge_project:
|
|
97
88
|
rubygems_version: 2.1.11
|
98
89
|
signing_key:
|
99
90
|
specification_version: 4
|
100
|
-
summary:
|
91
|
+
summary: Avatax SDK for Ruby
|
101
92
|
test_files: []
|
data/lib/xpath_adjtax.txt
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
//TransactionId
|
2
|
-
//ResultCode
|
3
|
-
//Summary
|
4
|
-
//Details
|
5
|
-
//HelpLink
|
6
|
-
//RefersTo
|
7
|
-
//Severity
|
8
|
-
//Source
|
9
|
-
//GetTaxResult/DocId
|
10
|
-
//GetTaxResult/DocType
|
11
|
-
//GetTaxResult/DocCode
|
12
|
-
//GetTaxResult/DocDate
|
13
|
-
//GetTaxResult/DocStatus
|
14
|
-
//GetTaxResult/Reconciled
|
15
|
-
//GetTaxResult/Timestamp
|
16
|
-
//GetTaxResult/TotalAmount
|
17
|
-
//GetTaxResult/TotalDiscount
|
18
|
-
//GetTaxResult/TotalExemption
|
19
|
-
//GetTaxResult/TotalTaxable
|
20
|
-
//GetTaxResult/TotalTax
|
21
|
-
//GetTaxResult/TotalTaxCalculated
|
22
|
-
//GetTaxResult/HashCode
|
23
|
-
//TaxLine/No
|
24
|
-
//TaxLine/TaxCode
|
25
|
-
//TaxLine/Taxability
|
26
|
-
//TaxLine/BoundaryLevel
|
27
|
-
//TaxLine/Exemption
|
28
|
-
//TaxLine/Discount
|
29
|
-
//TaxLine/Taxable
|
30
|
-
//TaxLine/Rate
|
31
|
-
//TaxLine/Tax
|
32
|
-
//TaxLine/TaxCalculated
|
33
|
-
//TaxLine/TaxIncluded
|
34
|
-
//TaxDetail/Country
|
35
|
-
//TaxDetail/Region
|
36
|
-
//TaxDetail/JurisType
|
37
|
-
//TaxDetail/TaxType
|
38
|
-
//TaxDetail/Base
|
39
|
-
//TaxLine/Taxable
|
40
|
-
//TaxDetail/Rate
|
41
|
-
//TaxDetail/Tax
|
42
|
-
//TaxDetail/TaxCalculated
|
43
|
-
//TaxDetail/NonTaxable
|
44
|
-
//TaxDetail/Exemption
|
45
|
-
//TaxDetail/JurisName
|
46
|
-
//TaxDetail/TaxName
|
47
|
-
//TaxDetail/TaxAuthorityType
|
48
|
-
//TaxDetail/TaxGroup
|
49
|
-
//TaxDetail/RateType
|
50
|
-
//TaxDetail/StateAssignedNo
|
51
|
-
//TaxLine/ExemptCertId
|
52
|
-
//TaxLine/TaxDate
|
53
|
-
//TaxLine/ReportingDate
|
54
|
-
//TaxLine/AccountingMethod
|
55
|
-
//TaxAddress/Address
|
56
|
-
//TaxAddress/AddressCode
|
57
|
-
//TaxAddress/City
|
58
|
-
//TaxAddress/Country
|
59
|
-
//TaxAddress/PostalCode
|
60
|
-
//TaxAddress/Region
|
61
|
-
//TaxAddress/TaxRegionId
|
62
|
-
//TaxAddress/JurisCode
|
63
|
-
//TaxAddress/Latitude
|
64
|
-
//TaxAddress/Longitude
|
65
|
-
//TaxAddress/GeocodeType
|
66
|
-
//TaxAddress/ValidateStatus
|
67
|
-
//TaxAddress/DistanceToBoundary
|
68
|
-
//GetTaxResult/Locked
|
69
|
-
//GetTaxResult/AdjustmentReason
|
70
|
-
//GetTaxResult/AdjustmentDescription
|
71
|
-
//GetTaxResult/Version
|
72
|
-
//GetTaxResult/TaxDate
|
73
|
-
//GetTaxResult/TaxSummary
|
74
|
-
//GetTaxResult/VolatileTaxRates
|
data/lib/xpath_cancel.txt
DELETED
data/lib/xpath_commit.txt
DELETED
data/lib/xpath_gettax.txt
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
//TransactionId
|
2
|
-
//ResultCode
|
3
|
-
//Summary
|
4
|
-
//Details
|
5
|
-
//HelpLink
|
6
|
-
//RefersTo
|
7
|
-
//Severity
|
8
|
-
//Source
|
9
|
-
//GetTaxResult/DocId
|
10
|
-
//GetTaxResult/DocType
|
11
|
-
//GetTaxResult/DocCode
|
12
|
-
//GetTaxResult/DocDate
|
13
|
-
//GetTaxResult/DocStatus
|
14
|
-
//GetTaxResult/Reconciled
|
15
|
-
//GetTaxResult/Timestamp
|
16
|
-
//GetTaxResult/TotalAmount
|
17
|
-
//GetTaxResult/TotalDiscount
|
18
|
-
//GetTaxResult/TotalExemption
|
19
|
-
//GetTaxResult/TotalTaxable
|
20
|
-
//GetTaxResult/TotalTax
|
21
|
-
//GetTaxResult/TotalTaxCalculated
|
22
|
-
//GetTaxResult/HashCode
|
23
|
-
//TaxLine/No
|
24
|
-
//TaxLine/TaxCode
|
25
|
-
//TaxLine/Taxability
|
26
|
-
//TaxLine/BoundaryLevel
|
27
|
-
//TaxLine/Exemption
|
28
|
-
//TaxLine/Discount
|
29
|
-
//TaxLine/Taxable
|
30
|
-
//TaxLine/Rate
|
31
|
-
//TaxLine/Tax
|
32
|
-
//TaxLine/TaxCalculated
|
33
|
-
//TaxLine/TaxIncluded
|
34
|
-
//TaxDetail/Country
|
35
|
-
//TaxDetail/Region
|
36
|
-
//TaxDetail/JurisType
|
37
|
-
//TaxDetail/TaxType
|
38
|
-
//TaxDetail/Base
|
39
|
-
//TaxLine/Taxable
|
40
|
-
//TaxDetail/Rate
|
41
|
-
//TaxDetail/Tax
|
42
|
-
//TaxDetail/TaxCalculated
|
43
|
-
//TaxDetail/NonTaxable
|
44
|
-
//TaxDetail/Exemption
|
45
|
-
//TaxDetail/JurisName
|
46
|
-
//TaxDetail/TaxName
|
47
|
-
//TaxDetail/TaxAuthorityType
|
48
|
-
//TaxDetail/TaxGroup
|
49
|
-
//TaxDetail/RateType
|
50
|
-
//TaxDetail/StateAssignedNo
|
51
|
-
//TaxLine/ExemptCertId
|
52
|
-
//TaxLine/TaxDate
|
53
|
-
//TaxLine/ReportingDate
|
54
|
-
//TaxLine/AccountingMethod
|
55
|
-
//TaxAddress/Address
|
56
|
-
//TaxAddress/AddressCode
|
57
|
-
//TaxAddress/City
|
58
|
-
//TaxAddress/Country
|
59
|
-
//TaxAddress/PostalCode
|
60
|
-
//TaxAddress/Region
|
61
|
-
//TaxAddress/TaxRegionId
|
62
|
-
//TaxAddress/JurisCode
|
63
|
-
//TaxAddress/Latitude
|
64
|
-
//TaxAddress/Longitude
|
65
|
-
//TaxAddress/GeocodeType
|
66
|
-
//TaxAddress/ValidateStatus
|
67
|
-
//TaxAddress/DistanceToBoundary
|
68
|
-
//GetTaxResult/Locked
|
69
|
-
//GetTaxResult/AdjustmentReason
|
70
|
-
//GetTaxResult/AdjustmentDescription
|
71
|
-
//GetTaxResult/Version
|
72
|
-
//GetTaxResult/TaxDate
|
73
|
-
//GetTaxResult/TaxSummary
|
74
|
-
//GetTaxResult/VolatileTaxRates
|
data/lib/xpath_gettaxhistory.txt
DELETED
@@ -1,128 +0,0 @@
|
|
1
|
-
//TransactionId
|
2
|
-
//ResultCode
|
3
|
-
//Summary
|
4
|
-
//Details
|
5
|
-
//HelpLink
|
6
|
-
//RefersTo
|
7
|
-
//Severity
|
8
|
-
//Source
|
9
|
-
|
10
|
-
//GetTaxRequest/CompanyCode
|
11
|
-
//GetTaxRequest/DocType
|
12
|
-
//GetTaxRequest/DocType
|
13
|
-
//GetTaxRequest/DocCode
|
14
|
-
//GetTaxRequest/DocDate
|
15
|
-
//GetTaxRequest/SalesPerson
|
16
|
-
//GetTaxRequest/CustomerCode
|
17
|
-
//GetTaxRequest/CustomerUsageType
|
18
|
-
//GetTaxRequest/Discount
|
19
|
-
//GetTaxRequest/PurchaseOrderNo
|
20
|
-
//GetTaxRequest/ExemptionNo
|
21
|
-
//GetTaxRequest/OriginCode
|
22
|
-
//GetTaxRequest/DestinationCode
|
23
|
-
|
24
|
-
//GetTaxRequest//AddressCode
|
25
|
-
//GetTaxRequest//Line1
|
26
|
-
//GetTaxRequest//Line2
|
27
|
-
//GetTaxRequest//Line3
|
28
|
-
//GetTaxRequest//City
|
29
|
-
//GetTaxRequest//Region
|
30
|
-
//GetTaxRequest//PostalCode
|
31
|
-
//GetTaxRequest//Country
|
32
|
-
//GetTaxRequest//TaxRegionId
|
33
|
-
//GetTaxRequest//Latitude
|
34
|
-
//GetTaxRequest//Longitude
|
35
|
-
|
36
|
-
//GetTaxRequest//No
|
37
|
-
//GetTaxRequest//OriginCode
|
38
|
-
//GetTaxRequest//DestinationCode
|
39
|
-
//GetTaxRequest//ItemCode
|
40
|
-
//GetTaxRequest//TaxCode
|
41
|
-
//GetTaxRequest//Qty
|
42
|
-
//GetTaxRequest//Amount
|
43
|
-
//GetTaxRequest//Discounted
|
44
|
-
//GetTaxRequest//RevAcct
|
45
|
-
//GetTaxRequest//Ref1
|
46
|
-
//GetTaxRequest//Ref2
|
47
|
-
//GetTaxRequest//ExemptionNo
|
48
|
-
//GetTaxRequest//CustomerUsageType
|
49
|
-
//GetTaxRequest//Description
|
50
|
-
//GetTaxRequest//TaxIncluded
|
51
|
-
//GetTaxRequest//BusinessIdentificationNo
|
52
|
-
|
53
|
-
//GetTaxRequest/DetailLevel
|
54
|
-
//GetTaxRequest/ReferenceCode
|
55
|
-
//GetTaxRequest/HashCode
|
56
|
-
//GetTaxRequest/LocationCode
|
57
|
-
//GetTaxRequest/Commit
|
58
|
-
//GetTaxRequest/BatchCode
|
59
|
-
//GetTaxRequest/CurrencyCode
|
60
|
-
//GetTaxRequest/ServiceMode
|
61
|
-
//GetTaxRequest/PaymentDate
|
62
|
-
//GetTaxRequest/ExchangeRate
|
63
|
-
//GetTaxRequest/ExchangeRateEffDate
|
64
|
-
//GetTaxRequest/PosLaneCode
|
65
|
-
//GetTaxRequest/BusinessIdentificationNo
|
66
|
-
|
67
|
-
//GetTaxResult/TransactionId
|
68
|
-
//GetTaxResult/ResultCode
|
69
|
-
//GetTaxResult/Summary
|
70
|
-
//GetTaxResult/Details
|
71
|
-
//GetTaxResult/HelpLink
|
72
|
-
//GetTaxResult/RefersTo
|
73
|
-
//GetTaxResult/Severity
|
74
|
-
//GetTaxResult/Source
|
75
|
-
//GetTaxResult/DocId
|
76
|
-
//GetTaxResult/DocType
|
77
|
-
//GetTaxResult/DocCode
|
78
|
-
//GetTaxResult/DocDate
|
79
|
-
//GetTaxResult/DocStatus
|
80
|
-
//GetTaxResult/Reconciled
|
81
|
-
//GetTaxResult/Timestamp
|
82
|
-
//GetTaxResult/TotalAmount
|
83
|
-
//GetTaxResult/TotalDiscount
|
84
|
-
//GetTaxResult/TotalExemption
|
85
|
-
//GetTaxResult/TotalTaxable
|
86
|
-
//GetTaxResult/TotalTax
|
87
|
-
//GetTaxResult/TotalTaxCalculated
|
88
|
-
//GetTaxResult/HashCode
|
89
|
-
|
90
|
-
//GetTaxResult//No
|
91
|
-
//GetTaxResult//TaxCode
|
92
|
-
//GetTaxResult//Taxability
|
93
|
-
//GetTaxResult//Exemption
|
94
|
-
//GetTaxResult//Discount
|
95
|
-
//GetTaxResult//Taxable
|
96
|
-
//GetTaxResult//Rate
|
97
|
-
//GetTaxResult//Tax
|
98
|
-
//GetTaxResult//TaxCalculated
|
99
|
-
//GetTaxResult//TaxIncluded
|
100
|
-
//GetTaxResult//ExemptCertId
|
101
|
-
//GetTaxResult//TaxDate
|
102
|
-
//GetTaxResult//ReportingDate
|
103
|
-
//GetTaxResult//AccountingMethod
|
104
|
-
|
105
|
-
//GetTaxResult//TaxDetail/Country
|
106
|
-
//GetTaxResult//TaxDetail/Region
|
107
|
-
//GetTaxResult//TaxDetail/JurisType
|
108
|
-
//GetTaxResult//TaxDetail/TaxType
|
109
|
-
//GetTaxResult//TaxDetail/Base
|
110
|
-
//GetTaxResult//TaxDetail/Taxable
|
111
|
-
//GetTaxResult//TaxDetail/Rate
|
112
|
-
//GetTaxResult//TaxDetail/Tax
|
113
|
-
//GetTaxResult//TaxDetail/TaxCalculated
|
114
|
-
//GetTaxResult//TaxDetail/NonTaxable
|
115
|
-
//GetTaxResult//TaxDetail/Exemption
|
116
|
-
//GetTaxResult//TaxDetail/JurisName
|
117
|
-
//GetTaxResult//TaxDetail/TaxName
|
118
|
-
//GetTaxResult//TaxDetail/TaxAuthorityType
|
119
|
-
//GetTaxResult//TaxDetail/TaxGroup
|
120
|
-
//GetTaxResult//TaxDetail/RateType
|
121
|
-
//GetTaxResult//TaxDetail/StateAssignedNo
|
122
|
-
|
123
|
-
//GetTaxResult/Locked
|
124
|
-
//GetTaxResult/AdjustmentReason
|
125
|
-
//GetTaxResult/AdjustmentDescription
|
126
|
-
//GetTaxResult/Version
|
127
|
-
//GetTaxResult/TaxDate
|
128
|
-
//GetTaxResult/VolatileTaxRates
|