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

Display and style prices with and without tax in Woocommerce

I have a question about styling a php script and change the way it shows but i cant get it work well I use this script to display prices including and excluding TAX in Woocommerce. I would like to display the price excluding TAX first, it needs to…
VDP
  • 1
0
votes
0 answers

Can you use user input to direct the program to a function in python

I am working on a tax calculator in Python, and am wondering if it is at all possible to direct string-based input to a function. When I run the program, it does nothing past the initial input. My code snippet is as follows: class…
0
votes
3 answers

report an amount in decimal places

I am developing an income tax scheme, where the calculation is based on -filing status and -taxable income All parts must be with exactly two digits following the decimal point. The problem is that the output displays two zeros after the decimal…
0
votes
0 answers

LARAVEL: Tax Amount Not Appearing In Return Invoice Receipt But Appearing In Sale Invoice

Tax Amount Not Appearing In Return Invoice Receipt But Appearing In Sale Invoice. Here is my tax amount code which was in the invoice file. @if(!empty($receipt_details->group_tax_details)) @foreach($receipt_details->group_tax_details as $key =>…
0
votes
1 answer

i'm trying to create an income tax calculator but i've been stuck on the state tax section

So this is my code and i have made the federal tax part of my calculator work but i can't seem to make the state tax part of my calculator work.i keep getting errors. does anyone know how to resolve this. i am a beginner :) def come(): while…
user14987578
0
votes
1 answer

Income Tax (PAYE) Tax bands PHP calculation

I have written an income tax band calculation with PHP and it looks like the code works for some condition and the rest return inaccurate figures. Below is my PHP code for the calculation. Kindly ignore the currency. it could be in UDS Am trying to…
user3315848
  • 81
  • 1
  • 3
  • 13
0
votes
1 answer

How to disable tax being charged on shipping in WooCommerce?

I have configured my Woo-based shop to NOT charge any taxes on shipping: I do have a table for Zero Tax rate configured: however it still does during the checkout: as is apparent in the following order breakdown: Am I doing something…
Simeon Leyzerzon
  • 18,658
  • 9
  • 54
  • 82
0
votes
1 answer

Stripe Orders API tax callback

Trying to setup dynamic tax calcuation using Stripe Orders API. Using these docs: https://stripe.com/docs/orders https://stripe.com/docs/orders/dynamic-shipping-taxes result = { "order_update": { "items": [ { …
0
votes
1 answer

Tax Calculation in Magento 1 | Should be 20% | Not 20%

We are exporting Magento orders to another platform and have noticed what seems to be a major issue in the tax calculation; hoping you guys can help.. enter image description here In the example above; we have a shipping fee £6.95 (inc tax), a…
0
votes
1 answer

PrestaShop: tax calculation wrong because of wrong country id

I have a problem by creating an XML Export for product data. The PrestaShop Version I'm using is 1.7.3.1 our setup: One Site xyz.com where we have different routes for our countries .com/de and .com/at and .com/it our need: We need a XML File which…
R4xx4r
  • 11
  • 6
0
votes
1 answer

I cannot calculate a tax function in a salary tax calculator

I'm building a salary tax calculator (my first solo project) but am unable to calculate function for the following conditions: when salary is between 100,000 and 125,000 then there is 12% of tax from national insurance conttributions and 2% of tax…
Christopher
  • 57
  • 1
  • 5
0
votes
2 answers

How was this percentage increase applied?

I wrote a conditional statement in Python which increases a price depending on the corresponding state's tax rate at the time. In the example below, I set the purchase_amount to $17 and the state to CA. The tax rate is 7.5%. Here's is how I…
Robin
  • 3
  • 3
0
votes
1 answer

I want to use a specific value from a dictionary in a function - Python

So, I'm trying to build a function that takes a state and income. I've created a dictionary of every state in the US, next to the value as a float of the tax %. My problem is that I don't know how to compare the state that the function takes, and…
0
votes
1 answer

How to calculate taxes for single or married with given information in c++

I have been trying to figure out the correct calculations for the this problem and can't seem to figure out how to get it right using the following information. I have posted my code below as well. I don't understand what to do to get the actual tax…
Isabel
  • 25
  • 4
0
votes
1 answer

Wordpress Gravity Forms - Stripe add-on: adding taxes

New to GF and Stripe and I'm trying to add taxes to Stripe payments as given below (source https://stripe.com/docs/billing/taxes/tax-rates) // Set your secret key. Remember to switch to your live secret key in production! // See your keys here:…