Questions tagged [tax]

a financial charge or other levy imposed upon a taxpayer (an individual or legal entity) by a state or the functional equivalent of a state to fund various public expenditures.

A Tax is a financial charge or other levy imposed upon a taxpayer (an individual or legal entity) by a state or the functional equivalent of a state to fund various public expenditures.

286 questions
21
votes
1 answer

Shopify - New order using the Shopify API - how to know tax and shipping?

We have built an e-commerce web application (Node backend, Vue frontend). We process the payment using Stripe, but many brands have asked us if the order and inventory control can be done in Shopify. We are trying to figure out the best way…
Drew Baker
  • 14,154
  • 15
  • 58
  • 97
17
votes
3 answers

How to add VAT in Stripe Checkout?

I'm using Stripe Checkout to create a subscription in Stripe Billing. Checkout also auto creates the Stripe customer object. How can I add right right VAT rate based on where the customer is based? The customer should be able to see the price both…
molsson
  • 1,227
  • 11
  • 19
12
votes
4 answers

Display Woocommerce product price with and without tax and tax amount

I am using WooCommerce for WordPress and I'm listing items excluding Tax. I need to show separately the Price (without tax), the Tax and the PRICE + Tax on the product page (like in checkout page). I have not been able to find a plugin that does…
Nuri Akman
  • 792
  • 3
  • 18
  • 41
7
votes
1 answer

Set "Zero Tax" rate to a some custom booking product types

With WooCommerce, I am using Traveler premium theme I need to deactivate (TAX) in the tours and hotels, And I am trying to use this code for it: add_filter( 'woocommerce_product_tax_class', 'wc_diff_rate_for_user', 1, 2 );function…
Juan David
  • 227
  • 2
  • 9
6
votes
4 answers

Charge tax using PayPal Subscriptions API

As an EU based seller I need to charge tax based on customer country tax rates and rules. That means that when I create subscription I need to specify either tax rate (percentage or amount) or have the ability to override subscription price. When…
Luka Peharda
  • 1,003
  • 8
  • 18
6
votes
3 answers

Correct way to calculate prices including tax in foreign currencies

I'm trying to upgrade an application so that I can sell to multiple countries. I store all of my prices in the database in GBP excluding tax up to 4dp and I need to calculate the prices in the country's currency including tax. Do I multiply the…
nfplee
  • 7,643
  • 12
  • 63
  • 124
6
votes
3 answers

Get Cart Tax Total programmatically in WooCommerce

How do you get the tax total in WooCommerce in the functions.php page in WordPress, Using : global $woocommerce; $discount = $woocommerce->cart->tax_total; But is not returning any value. How can I get Cart Tax Total? Essentially I want the Tax…
DEVPROCB
  • 483
  • 2
  • 5
  • 19
5
votes
1 answer

Get the tax rate(s) from an order in WooCommerce 3

I'm displaying my products in the cart without any taxes because I'm adding them afterwords to the subtotal sum in the cart. The problem is that I can't find a way to get the tax rate used for an order later on the My Orders page. So I'm looking for…
Mr. Jo
  • 4,946
  • 6
  • 41
  • 100
4
votes
1 answer

Public API for all state tax names

Is there any public API which returns the tax names for all the states across all countries ?
Nitish
  • 13,845
  • 28
  • 135
  • 263
4
votes
1 answer

Get the tax label per order item in Woocommerce 3

I'm trying to get the tax label in WooCommerce for each order item. For example: 2x Product 1 - 19 % MwSt. (tax) 4x Product 2 - 19 % MwSt. (tax) 1x Product 2 - 19 % MwSt. (tax) So I added the taxes "19 % (tax)" as standard value and "7 % (Tax)" as…
Janine Kroser
  • 444
  • 2
  • 6
  • 23
4
votes
1 answer

Disable tax programmatically for a specific user role

In my woocommerce web site, I have enable Tax in general WooCommerce settings. I would like to disable tax for a specific user role programmatically ( with any hooks ), from my shop, checkout page and from order email. How could I achieve…
Simanto
  • 51
  • 1
  • 5
3
votes
3 answers

Calculate ERC20 token buy/sell tax

I am trying to implement a method for calculating token buy/sell tax. The one that devs implement it in the transfer() function. I've done some research and there are 2 options. eth_call - simulate a swap, calculate the difference deploy the ERC20…
kakakakakakakk
  • 467
  • 10
  • 31
3
votes
1 answer

Is there a standard machine readable format for flowcharts?

Before UML came to existence, Germans specified flowchart symbol language as a national standard in the year 1983. It is called DIN 66001. Even today, German authorities use this standard to communicate for example their income tax algorithms. They…
Open Food Broker
  • 1,095
  • 1
  • 8
  • 31
3
votes
1 answer

Show the tax line when rate is 0% in Woocommerce

I’m updating to the latest version of WooCommerce from a very old version. I have noticed that when using the option “Display tax totals: Itemized”, the Tax name is not displayed anymore in the Sub Total line included in Cart page, Checkout page and…
anotherbreed
  • 55
  • 1
  • 7
3
votes
1 answer

operator * cannot be applied to decimal and double c#

I am currently making a tax program (study project) that read in a CSV file and generates a list of people and account balances, i need to round down 2 decimal places from one text box and add them up in another text box. my code attached tell me i…
Getwrong
  • 177
  • 1
  • 2
  • 13
1
2 3
19 20