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
-1
votes
1 answer

Error called object 'calculateTaxes' is not a function or function pointer

here in my program i must ask the user for his total sales for the month, then ask the user for the county tax rate(6%) and the state sales tax(6%) then calculate the total sales tax based of what they entered. i also must utilize pointers. i keep…
-1
votes
2 answers

Php TAX substract & add back

I have a shop where the client enters the product price with the tax in his country. When i save it i need to remove the tax and keep only the base. When i calculate the tax back for the clients from the same country in some cases the total price…
Emanuel
  • 359
  • 4
  • 21
-1
votes
1 answer

C#: Methods WFA Tax Owed Calculator

I am writing a program that uses methods to take a user input for income and output what their income tax owed would be. I have one error on line 46 which is ``private double GetTax(double taxable)` The GetTax is a CS0161 - not all code paths…
RJE
  • 21
  • 3
-1
votes
1 answer

Why do tax and subtotal equal 0 in Magento when a customer with a coupon code adds a bundle to their cart?

If a customer is logged in and chooses a bundle product and puts it into their shopping cart, everything is okay. All Taxes and Subtotals are included if I look into the invoice. A special customer has a 5% discount of every product (via a shopping…
Anjenehm
  • 29
  • 5
-1
votes
1 answer

Why am I getting a #VALUE Error in excel with my code? Take a Look at My Code

I am very stuck on this coding project and could really use some help. I am trying to write code that will calculate the taxes due on a person's income. In this model, my professor has given us a list of tax rates to use and a set of rules that…
-1
votes
2 answers

Calculate TVA Tax of multiple product in one code line (python)

I've a list of dict contains products : products = [{'name' : 'art1','amount':2000, 'qty':2, 'tax':['tax_15', 'tva']} , {'name' : 'art2','amount':2500, 'qty':3, 'tax':['tax_15', 'timbre']}, {'name' : 'art3','amount':3000, 'qty':4,…
khelili miliana
  • 3,730
  • 2
  • 15
  • 28
-1
votes
1 answer

Overriding global tax settings in woocommerce

I've set a global tax on the service fee's, however I need to override those service fees on some products. When I attempt to change the tax settings on the item itself I get the global service fee's and the new one's I changed on the product.
-1
votes
1 answer

Java - Simple Tax Calculator using If and if else statements

Newb Java programmer here, Why isn't this calculator calculating? The program should input Income from the user, and then Output their Federal Tax based on the calculations. Federal Tax Rules: 15% on the first $45,282 of taxable income, + 20.5% on…
R.Bar
  • 19
  • 1
  • 2
  • 9
-1
votes
1 answer

Simple Javascript tax calculator

I am working on a tax calculator, and i don't get it to work. The only result i get is NaN, and I can't find what's wrong with my code. If the users input is 450 000 or more, the output is supposed to be 32% of their salary else 28%.
Blomshit
  • 17
  • 1
  • 1
  • 5
-2
votes
1 answer

Tax discount for item calculator

How do i make a code where user input if rhe item they want has tax and then discount and then they input the percent of discount and all these price are added to the total cost
-2
votes
1 answer

woocommerce cart coupon price without tax to display

I want woocommerce to display price in cart without tax, reduced by using a coupon. I want to have: price without tax coupon value price without tax reduced by coupon tax price with tax Can anybody help me please? I was trying to play wit this…
-2
votes
1 answer

php how to avoid negative answer

Hi I am a newbe and writing a simple code for tax purposes. So far I have wrote a small code but I think there seems to be a problem with the function taxable_i($i) which is not letting me make $taxable_i NIL. I have tried everything. When I try to…
-2
votes
3 answers

tax calculator pause program

I'm doing a tax calculator in C ++ but I have an error It is supposed to enter several data: Type of vehicle, date and model. But the program asks me only one before pause and does not go ahead. It is assumed that the operation is as follows: You…
-3
votes
2 answers

How to determine tiered tax rate with a concise snippet?

I am trying to create a tiered tax calculator. The user enters an amount, say 500,000 From that amount, I then have the following tiers that tax is charged as follows: 0 - 125,000 = 0% 125,001 - 250,000 = 2% 250,001 - 925,000 = 5% …
Holo
  • 579
  • 10
  • 26
-4
votes
0 answers

How to set tax shipping in woocommerce to dutch rates 9 or 21% for international orders while tax for products is based on shipping address

we sell internationally and the tax is based on the shipping address. Now I want to make an exception to this and apply the tax on the international shipping costs according to the Dutch VAT rate, 9% reduced and 21% standard. If there is at least 1…
Orrier
  • 1
1 2 3
19
20