Changing tax display or tax calculation

  • Michael Goldbeck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 6 months ago #37252 by Michael Goldbeck
Changing tax display or tax calculation was created by Michael Goldbeck
hi there,

first of all, thank you for this great extension!

I need to change, how tax is shown in the booking form, booking confirmation and in the pdf invoice. Because in germany tax is always included.

Example:

Total amount: 1 hour tennis court = 15,- Euro
2,39 Euro (19%) Tax are included.

The problem is, that i need the rounded prices for service hour. I can´t use 12,61 Euro without tax, because thats not common in germany.

So I think i have to change the tax calculation. I found this
Code:
"$tax = round($total*intval($configClass['tax_payment'])/100);
at some php files. but i`m not sure where i have to change it, because i`m not good at coding.

Can you help me to solve this problem?

cheers
Michael

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #37256 by Mr. Dam
Replied by Mr. Dam on topic Re: Changing tax display or tax calculation
Hi Michael,
So with 12.61, we must show 13 instead of 12.61 Euro?
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Michael Goldbeck
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 6 months ago #37258 by Michael Goldbeck
Replied by Michael Goldbeck on topic Re: Changing tax display or tax calculation
Hi Dam,

i need not only rounding up. The Tax should be included in total amount and not add at the end.

An hour of service cost 15 Euro, thats inclusive 19% Tax. (Amount 12.61 € + Tax 2.39€)
I think for calculation an hour is 119%. In germany all prices are inclusive tax, in the US tax is calculated after all right ?

So visitors can book a tennis court for 15 € (they can see the price in booking screen, where they can choose a timeslot)
The confirmation and the invoice should have a total amount of 15 € too. But for the finance department we need tax extra shown in invoice.
But if i choose tax in configuration, the invoice shows the amount of 15 € + 2.85 € Tax = Total amount 17.85 € .

Do you understand, what I mean? It's difficult to explain...

Thank you!
Michael

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #37269 by Mr. Dam
Replied by Mr. Dam on topic Re: Changing tax display or tax calculation
Hi Michael,
Finally, i am understand you mean.
OS Services Booking doesn't have option to show the tax amount for each item in the cart. It only can show the tax amount at the confirmation page, and the tax amount is calculated by tax_percent*total_amount.
So, i suggest you to add the tax into the service cost, for example, if the service cost is $ 15 Euro, you can change the cost of service to 16.5 Euro (cost + tax) and setup the tax total is 0 at configuration page. In this case, the system won't add the tax (percent of total) in the last step, and the total cost is the sum values of services cost (cost + tax)
I hope you understand it.
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam