ShareShortcuts

Sales Tax Calculator

A shortcut to calculate sales tax for an amount based on US zip codes

digmasterfunk
Fork “Sales Tax Calculator”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so digmasterfunk gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
75K
Saved
2
Actions
80
Category
Calculations
Version
5.0
Language
EN

Preview

A shortcut to calculate sales tax for an amount based on US zip codes. The result shows the combined tax rate (state tax plus city tax). Version 4 now includes special rates imposed by some cities and allows the user to select whether to use current location or manually enter zip code.

Collects tax rates from here

What's New

Version 5.0

Updates to current location selection

Version History
5.0 Oct 31, 2018

Updates to current location selection

4.0 Oct 26, 2018

Special rates now included where applicable.

3.0 Oct 25, 2018

Allows user to choose either current location or to manually enter zip code for sales tax calculation. Changes to number formatting for a more precise result. With thanks to u/VanishingTacos

2.0 Oct 19, 2018

Updates to the results alert box.

1.0 Oct 18, 2018

First release

What it does

80 actions
  1. Choose from Menu
    Please select:
  2. Choose from Menu
    Use Current Location
  3. Get Current Weather
  4. Get Details of Weather
  5. Get Details of Locations
  6. Set Variable
    ZipCode
  7. Choose from Menu
    Enter Zip Code
  8. Ask for Input
    Enter ZIP CODE you would like to calculate sales tax for:
  9. Count
  10. If
  11. Text
  12. Set Variable
    ZipCode
  13. If
  14. Get Variable
  15. Set Variable
    ZipCode
  16. URL
    http://www.salestaxstates.com/
  17. Get Contents of URL
  18. Get Text from Input
  19. Split Text
  20. Count
  21. If
  22. Get Variable
  23. Get Item from List
  24. If
  25. Show Alert
    Cannot get tax information for zip code …
  26. Stop This Shortcut
  27. Split Text
  28. Get Item from List
  29. Set Variable
    StateTax
  30. Get Variable
  31. Get Item from List
  32. Split Text
  33. Get Item from List
  34. Set Variable
    CityTax
  35. Comment
    SPECIAL RATES
  36. Get Variable
  37. Get Item from List
  38. If
  39. Split Text
  40. Get Item from List
  41. Set Variable
    SpecialRate
  42. Comment
    END SPECIAL RATES
  43. Get Variable
  44. Split Text
  45. Get Item from List
  46. Split Text
  47. Get Item from List
  48. Set Variable
    State
  49. Get Variable
  50. Get Item from List
  51. Set Variable
    City
  52. Get Variable
  53. If
  54. Calculate
  55. Calculate
  56. Set Variable
    Combined
  57. If
  58. Get Variable
  59. Calculate
  60. Set Variable
    Combined
  61. Comment
    Use the following text statement to check individual tax rates if necessary.
  62. Text
  63. Comment
    Leave blank.
  64. Get Variable
  65. Calculate
  66. Ask for Input
    What is the sub total?
  67. Calculate
  68. Format Number
  69. Set Variable
    TaxTotal
  70. Calculate
  71. Format Number
  72. Set Variable
    GrandTotal
  73. Get Variable
  74. If
  75. Show Alert
    Your total bill is $…
  76. If
  77. Show Alert
    Your total bill is $…
  78. Get Variable
  79. Copy to Clipboard
  80. Comment
    @DigmasterFunk u/DigmasterFunk Huge thanks to: @VanishingTacos u/VanishingTacos For location services and number formatting.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Oct 18, 2018
danielbahl

⭐️ Awesome. Thank you for sharing digmasterfunk :) 🤟

Advertisement

More by digmasterfunk

See All

You Might Also Like

See All
Advertisement