Tax and Nexus on Order

Tax and Nexus on Order

luke1988
Tourist
9 0 0

Hi guys,

I am trying to connect Shopify to an ERP and I need a bit detailed information about taxes. Currently, according to Shopify API doc there is only tax price, rate and title available. I need to clarify whether title is unique or if there is possible to get also Tax ID or any other unique identifier.

I have to pair taxes on Shopify Orders with taxes in ERP.

 

Yeah and I would also need to get information about Tax Nexus used on order (Country, Province etc). Is there any suitable data source for this purpose?

 

Thanks

Luke

Replies 3 (3)

Gregarican
Shopify Partner
1033 86 292

I have a test shop and have the option flagged to calculate taxes automatically in the Shopify admin. So there isn't an option to rename or modify any tax titles. So when I query the 5 most recent orders using the GraphQL API I can see the titles displayed (see below). Which I assume would be unique. Although it would be more reassuring if the tax types had id values exposed.

Can any of the Shopify team speak to this?

 

{
  orders(first: 5, reverse: true) {
    edges {
      node {
        id
        name
        taxLines {
          title          
          rate
          ratePercentage
          priceSet {
            presentmentMoney {
              amount
              currencyCode
            }
          }                    
        }
      }
    }
  }
}

{
  "data": {
    "orders": {
      "edges": [
        {
          "node": {
            "id": "gid://shopify/Order/2582275063970",
            "name": "#1317",
            "taxLines": [
              {
                "title": "OH State Tax",
                "rate": 0.0575,
                "ratePercentage": 5.75,
                "priceSet": {
                  "presentmentMoney": {
                    "amount": "158.99",
                    "currencyCode": "USD"
                  }
                }
              },
              {
                "title": "Franklin County Tax",
                "rate": 0.0175,
                "ratePercentage": 1.75,
                "priceSet": {
                  "presentmentMoney": {
                    "amount": "48.39",
                    "currencyCode": "USD"
                  }
                }
              }
            ]
          }
        }...

 

 

Kevin_A
Shopify Staff
318 42 61

Hey @luke1988 

Based on the way the titles are generated, it does appear that they will be unique and I am not aware of any other unique identifier for them. In terms of nexus data, I don't believe we offer a way to poll this information. 

Kevin_A | Solutions Engineer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

luke1988
Tourist
9 0 0

Thanks Kevin!

State-level Sales Tax will be most probably unique, however City or Municipality-level Sales Tax will most probably duplicate at some point (I am pretty sure that there is lot of same named cities in different states).

I will have to figure out some kind of workaround. However, some Tax Nexus data (Tax_ID, or at least country for which taxes are taken) would be much appreciated.

Thanks again

Luke