#mattia_api

1 messages · Page 1 of 1 (latest)

sleek gateBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1266392576039325718

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

brisk flameBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

random ravine
#

hi! no.

nocturne berry
#

Perfect, thank you

#

How can I apply discounts to tax rates in Java ?

random ravine
#

could you elaborate a bit more on what you're trying to do? tax rates and discounts are somewhat separate things and they can indeed be used together.

nocturne berry
random ravine
#

well mostly you'd just create different TaxRate txr_xxx object for the lower percentage, and apply that rate to the Invoice instead of your usual one, when your business logic indicates you should do that.

nocturne berry
#

I see, I was looking for a way to make the customer aware of the discount

random ravine
#

you could give it a descriptive display_name. Or add a custom_field/footer to the Invoice.