avatax 19.5.0 → 19.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +12 -4
- data/lib/avatax/client/addresses.rb +5 -0
- data/lib/avatax/client/avafileforms.rb +10 -11
- data/lib/avatax/client/certificates.rb +4 -2
- data/lib/avatax/client/companies.rb +42 -3
- data/lib/avatax/client/compliance.rb +0 -106
- data/lib/avatax/client/customers.rb +99 -2
- data/lib/avatax/client/errortransactions.rb +50 -0
- data/lib/avatax/client/filingcalendars.rb +87 -48
- data/lib/avatax/client/filings.rb +612 -2
- data/lib/avatax/client/firmclientlinkages.rb +151 -0
- data/lib/avatax/client/fundingrequests.rb +4 -4
- data/lib/avatax/client/items.rb +69 -0
- data/lib/avatax/client/notices.rb +23 -23
- data/lib/avatax/client/notifications.rb +2 -0
- data/lib/avatax/client/registrar.rb +3 -0
- data/lib/avatax/client/reports.rb +3 -26
- data/lib/avatax/client/taxcontent.rb +1 -1
- data/lib/avatax/client/transactions.rb +89 -4
- data/lib/avatax/version.rb +1 -1
- metadata +6 -10
@@ -18,6 +18,8 @@ module AvaTax
|
|
18
18
|
# dismissed. You can then later review which employees of your company dismissed notifications to
|
19
19
|
# determine if they were resolved appropriately.
|
20
20
|
#
|
21
|
+
# A Global notification with null accountId and companyId cannot be dismissed and will expire within a given time span.
|
22
|
+
#
|
21
23
|
# ### Security Policies
|
22
24
|
#
|
23
25
|
# * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
@@ -32,6 +32,9 @@ module AvaTax
|
|
32
32
|
# to regularly review notifications and then dismiss them when you are certain that you have addressed
|
33
33
|
# any relevant concerns raised by this notification.
|
34
34
|
#
|
35
|
+
# A Global notification is a message which is directed to all the accounts and is set to expire within
|
36
|
+
# a certain time and cannot be dismissed by the user. Make accountId and companyId null to create a global notification.
|
37
|
+
#
|
35
38
|
# An example of a notification would be a message about new software, or a change to AvaTax that may
|
36
39
|
# affect you, or a potential issue with your company's tax profile.
|
37
40
|
#
|
@@ -31,29 +31,6 @@ module AvaTax
|
|
31
31
|
end
|
32
32
|
|
33
33
|
|
34
|
-
# Intiate and download an ExportDocumentLine report
|
35
|
-
#
|
36
|
-
# This API is deprecated.
|
37
|
-
#
|
38
|
-
# Please use the asynchronous reports APIs:
|
39
|
-
#
|
40
|
-
# * Begin a report by calling the report's Initiate API. There is a separate initiate API call for each report type.
|
41
|
-
# * In the result of the Initiate API, you receive back a report's `id` value.
|
42
|
-
# * Check the status of a report by calling `GetReport` and passing in the report's `id` value.
|
43
|
-
# * When a report's status is `Completed`, call `DownloadReport` to retrieve the file.
|
44
|
-
#
|
45
|
-
# ### Security Policies
|
46
|
-
#
|
47
|
-
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
48
|
-
# @param companyId [Integer] The unique ID number of the company to report on.
|
49
|
-
# @param model [Object] Options that may be configured to customize the report.
|
50
|
-
# @return [Object]
|
51
|
-
def export_document_line(companyId, model)
|
52
|
-
path = "/api/v2/companies/#{companyId}/reports/exportdocumentline"
|
53
|
-
post(path, model)
|
54
|
-
end
|
55
|
-
|
56
|
-
|
57
34
|
# Retrieve a single report
|
58
35
|
#
|
59
36
|
# Retrieve a single report by its unique ID number.
|
@@ -118,10 +95,10 @@ module AvaTax
|
|
118
95
|
# ### Security Policies
|
119
96
|
#
|
120
97
|
# * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
121
|
-
# @param
|
122
|
-
# @param
|
98
|
+
# @param companyId [Integer] The id of the company for which to get reports.
|
99
|
+
# @param pageKey [String] Provide a page key to retrieve the next page of results.
|
123
100
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
124
|
-
# @param
|
101
|
+
# @param top [Integer] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
|
125
102
|
# @return [FetchResult]
|
126
103
|
def list_reports(options={})
|
127
104
|
path = "/api/v2/reports"
|
@@ -131,7 +131,7 @@ module AvaTax
|
|
131
131
|
#
|
132
132
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
133
133
|
# @param date [DateTime] The date for which point-of-sale data would be calculated (today by default). Example input: 2016-12-31
|
134
|
-
# @param region [String]
|
134
|
+
# @param region [String] A two character region code which limits results to a specific region.
|
135
135
|
# @return [Object]
|
136
136
|
def download_tax_rates_by_zip_code(date, options={})
|
137
137
|
path = "/api/v2/taxratesbyzipcode/download/#{date}"
|
@@ -63,6 +63,11 @@ module AvaTax
|
|
63
63
|
# * LinesOnly (omit details - reduces API response size)
|
64
64
|
# * TaxDetailsByTaxType - Includes the aggregated tax, exempt tax, taxable and non-taxable for each tax type returned in the transaction summary.
|
65
65
|
#
|
66
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
67
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
68
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
69
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
70
|
+
#
|
66
71
|
# ### Security Policies
|
67
72
|
#
|
68
73
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
@@ -97,6 +102,11 @@ module AvaTax
|
|
97
102
|
# A transaction represents a unique potentially taxable action that your company has recorded, and transactions include actions like
|
98
103
|
# sales, purchases, inventory transfer, and returns (also called refunds).
|
99
104
|
#
|
105
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
106
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
107
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
108
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
109
|
+
#
|
100
110
|
# ### Security Policies
|
101
111
|
#
|
102
112
|
# * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
@@ -128,6 +138,11 @@ module AvaTax
|
|
128
138
|
# A transaction represents a unique potentially taxable action that your company has recorded, and transactions include actions like
|
129
139
|
# sales, purchases, inventory transfer, and returns (also called refunds).
|
130
140
|
#
|
141
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
142
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
143
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
144
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
145
|
+
#
|
131
146
|
# ### Security Policies
|
132
147
|
#
|
133
148
|
# * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
@@ -155,7 +170,7 @@ module AvaTax
|
|
155
170
|
# ### Security Policies
|
156
171
|
#
|
157
172
|
# * This API requires the user role Compliance Root User.
|
158
|
-
# * This API depends on the following active services<br />*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.
|
173
|
+
# * This API depends on the following active services<br />*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.<br />*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
|
159
174
|
# * This API is available by invitation only.<br />*Exempt security roles*: ComplianceRootUser, ComplianceAdmin, ComplianceUser, TechnicalSupportAdmin, TechnicalSupportUser.
|
160
175
|
# @param model [Object] bulk lock request
|
161
176
|
# @return [Object]
|
@@ -189,6 +204,11 @@ module AvaTax
|
|
189
204
|
# * LinesOnly (omit details - reduces API response size)
|
190
205
|
# * TaxDetailsByTaxType - Includes the aggregated tax, exempt tax, taxable and non-taxable for each tax type returned in the transaction summary.
|
191
206
|
#
|
207
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
208
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
209
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
210
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
211
|
+
#
|
192
212
|
# ### Security Policies
|
193
213
|
#
|
194
214
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
|
@@ -228,6 +248,11 @@ module AvaTax
|
|
228
248
|
# * LinesOnly (omit details - reduces API response size)
|
229
249
|
# * TaxDetailsByTaxType - Includes the aggregated tax, exempt tax, taxable and non-taxable for each tax type returned in the transaction summary.
|
230
250
|
#
|
251
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
252
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
253
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
254
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
255
|
+
#
|
231
256
|
# ### Security Policies
|
232
257
|
#
|
233
258
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
|
@@ -274,6 +299,11 @@ module AvaTax
|
|
274
299
|
#
|
275
300
|
# If you omit the `$include` parameter, the API will assume you want `Summary,Addresses`.
|
276
301
|
#
|
302
|
+
# NOTE: Avoid using the following strings in your transaction codes as they are encoding strings and will be interpreted differently:
|
303
|
+
# * \_-ava2f-\_
|
304
|
+
# * \_-ava2b-\_
|
305
|
+
# * \_-ava3f-\_
|
306
|
+
#
|
277
307
|
# ### Security Policies
|
278
308
|
#
|
279
309
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
@@ -325,6 +355,11 @@ module AvaTax
|
|
325
355
|
#
|
326
356
|
# If you omit the `$include` parameter, the API will assume you want `Summary,Addresses`.
|
327
357
|
#
|
358
|
+
# NOTE: Avoid using the following strings in your transaction codes as they are encoding strings and will be interpreted differently:
|
359
|
+
# * \_-ava2f-\_
|
360
|
+
# * \_-ava2b-\_
|
361
|
+
# * \_-ava3f-\_
|
362
|
+
#
|
328
363
|
# ### Security Policies
|
329
364
|
#
|
330
365
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
@@ -392,6 +427,11 @@ module AvaTax
|
|
392
427
|
# * SummaryOnly (omit lines and details - reduces API response size)
|
393
428
|
# * LinesOnly (omit details - reduces API response size)
|
394
429
|
#
|
430
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
431
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
432
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
433
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
434
|
+
#
|
395
435
|
# ### Security Policies
|
396
436
|
#
|
397
437
|
# * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
@@ -411,6 +451,11 @@ module AvaTax
|
|
411
451
|
#
|
412
452
|
# DEPRECATED: Please use the `GetTransactionByCode` API instead.
|
413
453
|
#
|
454
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
455
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
456
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
457
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
458
|
+
#
|
414
459
|
# ### Security Policies
|
415
460
|
#
|
416
461
|
# * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
@@ -483,6 +528,11 @@ module AvaTax
|
|
483
528
|
# * SummaryOnly (omit lines and details - reduces API response size)
|
484
529
|
# * LinesOnly (omit details - reduces API response size)
|
485
530
|
#
|
531
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
532
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
533
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
534
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
535
|
+
#
|
486
536
|
# ### Security Policies
|
487
537
|
#
|
488
538
|
# * This API requires one of the following user roles: AccountAdmin, AccountUser, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ProStoresOperator, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
@@ -525,10 +575,15 @@ module AvaTax
|
|
525
575
|
# * LinesOnly (omit details - reduces API response size)
|
526
576
|
# * TaxDetailsByTaxType - Includes the aggregated tax, exempt tax, taxable and non-taxable for each tax type returned in the transaction summary.
|
527
577
|
#
|
578
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
579
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
580
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
581
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
582
|
+
#
|
528
583
|
# ### Security Policies
|
529
584
|
#
|
530
585
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
531
|
-
# * This API depends on the following active services<br />*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.
|
586
|
+
# * This API depends on the following active services<br />*Returns* (at least one of): Mrs, MRSComplianceManager, AvaTaxCsp.<br />*Firm Managed* (for accounts managed by a firm): ARA, ARAManaged.
|
532
587
|
# @param companyCode [String] The company code of the company that recorded this transaction
|
533
588
|
# @param transactionCode [String] The transaction code to lock
|
534
589
|
# @param documentType [String] (Optional): The document type of the transaction to lock. If not provided, the default is SalesInvoice. (See DocumentType::* for a list of allowable values)
|
@@ -575,6 +630,11 @@ module AvaTax
|
|
575
630
|
# * TaxDetailsByTaxType - Includes the aggregated tax, exempt tax, taxable and non-taxable for each tax type returned in the transaction summary.
|
576
631
|
# If you omit the `$include` parameter, the API will assume you want `Summary,Addresses`.
|
577
632
|
#
|
633
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
634
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
635
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
636
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
637
|
+
#
|
578
638
|
# ### Security Policies
|
579
639
|
#
|
580
640
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
@@ -615,6 +675,11 @@ module AvaTax
|
|
615
675
|
# * LinesOnly (omit details - reduces API response size)
|
616
676
|
# * TaxDetailsByTaxType - Includes the aggregated tax, exempt tax, taxable and non-taxable for each tax type returned in the transaction summary.
|
617
677
|
#
|
678
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
679
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
680
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
681
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
682
|
+
#
|
618
683
|
# ### Security Policies
|
619
684
|
#
|
620
685
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
|
@@ -647,13 +712,18 @@ module AvaTax
|
|
647
712
|
# * LinesOnly (omit details - reduces API response size)
|
648
713
|
# * TaxDetailsByTaxType - Includes the aggregated tax, exempt tax, taxable and non-taxable for each tax type returned in the transaction summary.
|
649
714
|
#
|
715
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
716
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
717
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
718
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
719
|
+
#
|
650
720
|
# ### Security Policies
|
651
721
|
#
|
652
722
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
653
723
|
# * This API depends on the following active services<br />*Required* (all): AvaTaxPro.
|
654
724
|
# @param companyCode [String] The company code of the company that recorded this transaction
|
655
|
-
# @param transactionCode [String] The transaction code to
|
656
|
-
# @param documentType [String] (Optional): The document type of the transaction to
|
725
|
+
# @param transactionCode [String] The transaction code to Uncommit
|
726
|
+
# @param documentType [String] (Optional): The document type of the transaction to Uncommit. If not provided, the default is SalesInvoice. (See DocumentType::* for a list of allowable values)
|
657
727
|
# @param include [String] Specifies objects to include in this fetch call
|
658
728
|
# @return [Object]
|
659
729
|
def uncommit_transaction(companyCode, transactionCode, options={})
|
@@ -676,6 +746,11 @@ module AvaTax
|
|
676
746
|
# * LinesOnly (omit details - reduces API response size)
|
677
747
|
# * TaxDetailsByTaxType - Includes the aggregated tax, exempt tax, taxable and non-taxable for each tax type returned in the transaction summary.
|
678
748
|
#
|
749
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
750
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
751
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
752
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
753
|
+
#
|
679
754
|
# ### Security Policies
|
680
755
|
#
|
681
756
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
@@ -712,6 +787,11 @@ module AvaTax
|
|
712
787
|
# * LinesOnly (omit details - reduces API response size)
|
713
788
|
# * TaxDetailsByTaxType - Includes the aggregated tax, exempt tax, taxable and non-taxable for each tax type returned in the transaction summary.
|
714
789
|
#
|
790
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
791
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
792
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
793
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
794
|
+
#
|
715
795
|
# ### Security Policies
|
716
796
|
#
|
717
797
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
|
@@ -751,6 +831,11 @@ module AvaTax
|
|
751
831
|
# * LinesOnly (omit details - reduces API response size)
|
752
832
|
# * TaxDetailsByTaxType - Includes the aggregated tax, exempt tax, taxable and non-taxable for each tax type returned in the transaction summary.
|
753
833
|
#
|
834
|
+
# NOTE: If your companyCode or transactionCode contains any of these characters /, + or ? please use the following encoding before making a request:
|
835
|
+
# * Replace '/' with '\_-ava2f-\_' For example: document/Code becomes document_-ava2f-_Code
|
836
|
+
# * Replace '+' with '\_-ava2b-\_' For example: document+Code becomes document_-ava2b-_Code
|
837
|
+
# * Replace '?' with '\_-ava3f-\_' For example: document?Code becomes document_-ava3f-_Code
|
838
|
+
#
|
754
839
|
# ### Security Policies
|
755
840
|
#
|
756
841
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, ProStoresOperator, SSTAdmin, TechnicalSupportAdmin.
|
data/lib/avatax/version.rb
CHANGED
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: 19.
|
4
|
+
version: 19.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Vorwaller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -147,8 +147,10 @@ files:
|
|
147
147
|
- lib/avatax/client/definitions.rb
|
148
148
|
- lib/avatax/client/distancethresholds.rb
|
149
149
|
- lib/avatax/client/ecms.rb
|
150
|
+
- lib/avatax/client/errortransactions.rb
|
150
151
|
- lib/avatax/client/filingcalendars.rb
|
151
152
|
- lib/avatax/client/filings.rb
|
153
|
+
- lib/avatax/client/firmclientlinkages.rb
|
152
154
|
- lib/avatax/client/free.rb
|
153
155
|
- lib/avatax/client/fundingrequests.rb
|
154
156
|
- lib/avatax/client/items.rb
|
@@ -215,14 +217,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
217
|
- !ruby/object:Gem::Version
|
216
218
|
version: 2.0.0
|
217
219
|
requirements: []
|
218
|
-
rubygems_version: 3.0.
|
220
|
+
rubygems_version: 3.0.3
|
219
221
|
signing_key:
|
220
222
|
specification_version: 4
|
221
223
|
summary: Ruby wrapper for the AvaTax API
|
222
|
-
test_files:
|
223
|
-
- spec/avatax/client/accounts_spec.rb
|
224
|
-
- spec/avatax/client/transactions_spec.rb
|
225
|
-
- spec/avatax_spec.rb
|
226
|
-
- spec/credentials.yaml.example
|
227
|
-
- spec/fixtures/accounts.json
|
228
|
-
- spec/spec_helper.rb
|
224
|
+
test_files: []
|