Forums >> BVSTools >> BVSTools Announcements >> GreenTools for Vertex Cloud (VTXCLOUD) Specific Announcements

Jump to:




bvstone

Vertex APIs Moving to V2 July 31, 2024 - VTXCLOUD Update Available

Posted:

Vertex APIs Moving to V2 July 31, 2024 - VTXCLOUD Update Available

Vertex has announced that they are dropping support for their V1 API endpoints as of July 31, 2024: https://tax-calc-api-v1.vertexcloud.com/

While Vertex seems to mention that the endpoints will not stop working, they are saying that they are dropping support for the V1 endpoints.

VTXCLOUD has been updated to v6.00 to take into account the changes that are needed for this.  The major changes are:

  • User and Password are no longer used to request a token.  The Client ID and Client Secret are now used as well as an updated grant-type
  • Endpoints for APIs are updated to use the v2 host names and paths

The examples in the QRPGLESRC source member have been updated to show the changes made.

Right now we are working with a couple of customers to see if there are any other requirements or issues that may arise during this upgrade. 


Last edited 04/30/2024 at 09:39:42



sangeet.shah@nopadvance.com

RE: Vertex APIs Moving to V2 July 31, 2024 - VTXCLOUD Update Available

Posted:

RE: Vertex APIs Moving to V2 July 31, 2024 - VTXCLOUD Update Available

Do you have working postman collection to get tax value? i have read whole document but i unable to get tax.

 

Now i am calling https://calcconnect.vertexsmb.com/vertex-ws/v2/supplies api to get tax amount but it's thowring me 


Last edited 06/05/2024 at 03:27:21



bvstone

RE: RE: Vertex APIs Moving to V2 July 31, 2024 - VTXCLOUD Update Available

Posted:

RE: RE: Vertex APIs Moving to V2 July 31, 2024 - VTXCLOUD Update Available

Here's an example:

POST /vertex-ws/v2/supplies HTTP/1.1
Accept: application/json
Host: calcconnect.vertexsmb.com
Content-Type: application/json
Content-Length: 2127
Authorization: Bearer [token]
{
  "saleMessageType": "QUOTATION",
  "seller": {
    "company": "COMPANY"
  },
  "lineItems": [
    {
      "seller": {
        "physicalOrigin": {
          "taxAreaId": 391013000
        }
      },
      "customer": {
        "customerCode": {
          "classCode": "custclass",
          "value": "cust"
        },
        "destination": {
          "streetAddress1": "2301 Renaissance Blvd",
          "streetAddress2": "Suite 100",
          "city": "King of Prussia",
          "mainDivision": "PA",
          "postalCode": "19406",
          "country": "UNITED STATES"
        }
      },
      "product": {
        "productClass": "PRODCLASS",
        "value": "PRODCODE"
      },
      "quantity": {
        "value": 10
      },
      "unitPrice": 10,
      "flexibleFields": {
        "flexibleCodeFields": [
          {
            "fieldId": 1,
            "value": "FLEXCodeField1"
          }
        ],
        "flexibleNumericFields": [
          {
            "fieldId": 1,
            "value": 111
          }
        ],
        "flexibleDateFields": [
          {
            "fieldId": 1,
            "value": "2017-12-18"
          }
        ]
      },
      "lineItemNumber": 1,
      "deliveryTerm": "FOB"
    },
    {
      "seller": {
        "physicalOrigin": {
          "taxAreaId": 391013000
        }
      },
      "customer": {
        "customerCode": {
          "classCode": "custclass",
          "value": "cust"
        },
        "destination": {
          "streetAddress1": "2301 Renaissance Blvd",
          "streetAddress2": "Suite 100",
          "city": "King of Prussia",
          "mainDivision": "PA",
          "postalCode": "19406",
          "country": "UNITED STATES"
        }
      },
      "product": {
        "productClass": "SHIPPINGCLASS",
        "value": "SHIPPING"
      },
      "quantity": {
        "value": 1
      },
      "extendedPrice": 20,
      "lineItemNumber": 2
    }
  ],
  "documentNumber": "12345",
  "documentDate": "2017-12-18",
  "transactionType": "SALE"
}

 

 


Last edited 06/05/2024 at 06:54:50




Reply




Copyright 1983-2024 BVSTools
GreenBoard(v3) Powered by the eRPG SDK, MAILTOOL Plus!, GreenTools for Google Apps, jQuery, jQuery UI, BlockUI, CKEditor and running on the IBM i (AKA AS/400, iSeries, System i).