Skip to content

Commit

Permalink
Merge pull request #157 from avadev/24.2.0
Browse files Browse the repository at this point in the history
Update for 24.2.0
  • Loading branch information
svc-developer authored Feb 20, 2024
2 parents 3f05cd1 + 70ead4d commit cdb0958
Show file tree
Hide file tree
Showing 16 changed files with 2,670 additions and 945 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name := """avatax-rest-v2-api-java"""

organization := "net.avalara.avatax"

version := "23.11.0"
version := "24.2.0"

scalaVersion := "2.11.12"

Expand Down
2,092 changes: 1,170 additions & 922 deletions src/main/java/net/avalara/avatax/rest/client/AvaTaxClient.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ public enum DocumentStatus {
*/
PendingApproval(7),

/**
* This new status is added for Reporting API to download get reports with Saved(1) and Posted(2) state.
*/
Uncommitted(12),

/**
* DEPRECATED - Represents "a document in any status" when searching. Please search using the
* [Filtering in REST](/avatax/filtering-in-rest/) documentation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,12 @@ public enum ErrorCodeId {
/**
*
*/
InvalidCostCenter(2813);
InvalidCostCenter(2813),

/**
* Occurs when a Header value is incorrect or invalid in some way
*/
InvalidHTTPHeader(3000);

private int value;
private static HashMap map = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,34 @@
* @copyright 2004-2018 Avalara, Inc.
* @license https://www.apache.org/licenses/LICENSE-2.0
* @link https://github.com/avadev/AvaTax-REST-V2-JRE-SDK
* Swagger name: AvaTaxClient
*/

/**
* Defines how a stack rate is determined for a specific country and region.
*/
public enum StackAggregationOption {
/**
* No aggregation.
* The component rate is used for the stack rate.
*/
NoStackAggregation(0),

/**
* Rates are aggregated across all jurisdiction types.
*/
FullStackAggregation(1),

/**
* State and county rates are aggregated.
*/
AggregateStateAndCounty(2),

/**
* City and county rates are aggregated.
*/
AggregateCityAndCounty(3);

/**
* No aggregation.
* The component rate is used for the stack rate.
*/
NoStackAggregation(0),

/**
* Rates are aggregated across all jurisdiction types.
*/
FullStackAggregation(1),

/**
* State and county rates are aggregated.
*/
AggregateStateAndCounty(2),

/**
* City and county rates are aggregated.
*/
AggregateCityAndCounty(3);

private int value;
private static HashMap map = new HashMap<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
*
* In the United States, some jurisdictions recognize the address types `pointOfOrderOrigin` and `pointOfOrderAcceptance`.
* These address types affect the sourcing models of some transactions.
*
* VAT transactions support a `goodsPlaceOrServiceRendered` address, which indicates where goods are located or where services
* are rendered. VAT transactions also support an `import` address, which specifies the address of the buyer importing a good
* from another country.
*
* India GST transactions support a `billTo` address, which specifies where invoices and other billing-related information are sent to the buyer.
*
* If latitude and longitude information is provided for any of these addresses along with line, city, region, country and postal code information,
* we will be using only latitude and longitude and will discard line, city, region, country and postal code information for the transaction.
Expand Down
Loading

0 comments on commit cdb0958

Please sign in to comment.