<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Externally Calculated Tax on Line Item in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1119010#M80732</link>
    <description>&lt;P&gt;Upvote added &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Mar 2025 18:10:59 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2025-03-06T18:10:59Z</dc:date>
    <item>
      <title>Externally Calculated Tax on Line Item</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1105966#M80191</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use an external system to post in line items onto a Deal record with tax calculated by a 3rd party tax engine, in this case Avalara.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to have to create a HubSpot Tax item for every different sales tax % as there are over 11,000 jurisdictions in the US alone. I would like to pass in a tax rate as a % or an amount on the line item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the line item properties response (&lt;SPAN class=""&gt;&lt;SPAN&gt;{{base-url}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/crm/v3/properties/line_item/) there is a property for "&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;hs_auto_tax_amount" with the description "&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"The amount of tax automatically calculated for this line item by an external system".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, it looks like this is a read only field and if I post a line item via API it always remains null.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Has anyone managed to find a way to use a custom/variable tax rate on line items? Or any workarounds?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 08 Feb 2025 03:20:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1105966#M80191</guid>
      <dc:creator>rncmarques</dc:creator>
      <dc:date>2025-02-08T03:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Externally Calculated Tax on Line Item</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1106821#M80208</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/887225"&gt;@rncmarques&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for the great question. Have you looked at using `hs_tax_rate` along with `hs_tax_amount`? Looking at the response from the Properties API for Line Items, I noticed the calculation used for&amp;nbsp;`hs_tax_amount` requires `&lt;SPAN&gt;hs_auto_tax_amount&lt;/SPAN&gt;` OR&amp;nbsp;`hs_tax_rate` along with `amount`. And we can set the value for&amp;nbsp;`hs_tax_rate` using the API &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Response from Properties API&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;name": "hs_tax_rate",
      "label": "Resolved Tax Rate",
      "type": "number",
      "fieldType": "number",
      "description": "Represents tax rate as percent out of 100. Supports up to 4 decimal places",&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;"name": "hs_tax_amount",
      "label": "Tax Amount",
      "type": "number",
      "fieldType": "calculation_equation",
      "description": "Amount of tax calculated based on tax rate for this line item",
      "groupName": "price",
      "options": [],
      "displayOrder": -1,
      "calculated": true,
      "externalOptions": false,
      "hasUniqueValue": false,
      "hidden": false,
      "hubspotDefined": true,
      "showCurrencySymbol": true,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": true,
        "readOnlyValue": true
      },
      "formField": false,
      "calculationFormula": "round_nearest(if is_present(hs_auto_tax_amount) then hs_auto_tax_amount\nelseif (is_present(amount) and is_present(hs_tax_rate)) then (hs_tax_rate * 0.01 * if is_present(amount) then amount else 0) endif, if is_present(currency_decimal_places(string(hs_line_item_currency_code))) then currency_decimal_places(string(hs_line_item_currency_code))\nelseif is_present(currency_decimal_places(fetch_single_currency_portal_currency)) then currency_decimal_places(fetch_single_currency_portal_currency) else 2)",
      "dataSensitivity": "non_sensitive"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have fun testing! — Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 17:39:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1106821#M80208</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-02-10T17:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Externally Calculated Tax on Line Item</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1108249#M80297</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;I appreciate the time taken to respond, however, those fields are Read Only fields as specified in the properties response you've shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this stage I believe HubSpot does not handle line item tax via an integrated third party tax engine (Avalara, TaxJar, an ERP) at all. The two practical workarounds I can see are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Use the tax item at quote level to aggregate all tax, this is available via API and can be set to any value&lt;/P&gt;&lt;P&gt;2. Use custom propoerties on the line items and customise the quote template to display appropriately&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm hopeful that tax handling will mature rapidly in the product to close the gap to other CRM's on the market in the Quote to Cash process.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 22:15:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1108249#M80297</guid>
      <dc:creator>rncmarques</dc:creator>
      <dc:date>2025-02-12T22:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Externally Calculated Tax on Line Item</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1108253#M80298</link>
      <description>&lt;P&gt;Idea raised, if you stumble across this issue please take the time to upvote!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Handle-Variable-Tax-Rate-on-a-Line-Item-Level-and-expose-via-API/idi-p/1108252/highlight/true" target="_blank"&gt;HubSpot Community - Handle Variable Tax Rate on a Line Item Level and expose via API - HubSpot Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 22:23:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1108253#M80298</guid>
      <dc:creator>rncmarques</dc:creator>
      <dc:date>2025-02-12T22:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Externally Calculated Tax on Line Item</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1119010#M80732</link>
      <description>&lt;P&gt;Upvote added &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 18:10:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1119010#M80732</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-03-06T18:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Externally Calculated Tax on Line Item</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1181561#M83477</link>
      <description>&lt;P&gt;Hey there, just came across this thread. I had a similar issue when trying to figure out how to get tax calculation done in HubSpot. Our company just built an integration between Avalara and HubSpot and it will be available in the HubSpot marketplace soon!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's called 'Sales Tax Powered by AvaTax'. It's under review by HubSpot's team currently and hopefully will be ready in a few days. I'll ping this thread when it's available! Hope that helps save you a bunch of time and effort.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2025 21:54:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1181561#M83477</guid>
      <dc:creator>Taxiom</dc:creator>
      <dc:date>2025-07-27T21:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Externally Calculated Tax on Line Item</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1191390#M83898</link>
      <description>&lt;P&gt;Just wanted to let you know, if you are looking for automated sales tax calculation inside HubSpot, there's a new app available,&amp;nbsp;&lt;A href="https://ecosystem.hubspot.com/marketplace/apps/sales-tax-powered-by-avatax-by-taxiom-9754017" target="_blank" rel="noopener"&gt;Sales Tax Powered by AvaTax&lt;/A&gt;, in the HubSpot Marketplace that will accomplish exactly this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that saves you a bunch of time vs trying to develop this on your own!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 08:17:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1191390#M83898</guid>
      <dc:creator>Taxiom</dc:creator>
      <dc:date>2025-08-21T08:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Externally Calculated Tax on Line Item</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1191393#M83899</link>
      <description>&lt;P&gt;Thanks, from the screenshots it looks like it does exactly what I did: ignore the HubSpot native tax fields as they can't be written to, nor can Tax Rates be created or edited via API, and create your own custom fields to return the result from Avalara.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 08:22:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1191393#M83899</guid>
      <dc:creator>rncmarques</dc:creator>
      <dc:date>2025-08-21T08:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Externally Calculated Tax on Line Item</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1191562#M83909</link>
      <description>&lt;P&gt;Exactly. And we added in a few ways to control company/product exemptions as well as accounting for scenarios where more than 1 ship to address is being used.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 14:04:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Externally-Calculated-Tax-on-Line-Item/m-p/1191562#M83909</guid>
      <dc:creator>Taxiom</dc:creator>
      <dc:date>2025-08-21T14:04:00Z</dc:date>
    </item>
  </channel>
</rss>

