#velix-support

1 messages · Page 1 of 1 (latest)

rotund rune
#

@calm wigeon I'm sorry but I don't really know what you are asking exactly. But if you're already talking to our support team, I'd recommend waiting for their detailed answer

calm wigeon
#

Oh, I thought this is a chat between developers without official Stripe support. Actually, the VAT amount is calculated wrong.

#

It should be 9.67, but is 9.66

#

Hm? It's not anonymized. It's the normal output of bpaste.net

#

Are you here to bitch at new users or to help them?

rotund rune
#

this is going great

#

@calm wigeon you're asking about rounding logic for tax right?

rotund rune
#

rounding is... hard. So usually it's best to work with support, share the exact invoice id/details and then they can help walk you through the math directly.

rotund rune
#

But hopefully that clarifies the issue!

calm wigeon
#

The problem is that rounding on invoice is actually required by standards in my country. And this differs from Stripe's calculation, which is now causing big problems in the accounting department. The tax advisor has also already expressed concerns.

rotund rune
#

I can't really speak to compliance/regulations/legal. I can only explain point to the docs explaining exactly how it works

calm wigeon
#

The docs miss the discount. Do you have time to go through the math with me please?

rotund rune
#

I have time but I don't know how this works unfortunately so I can't really explain it

#

but discounts happen after tax usually.

#

So yeah at this point what you likely need is chat with our support team for help

calm wigeon
#

No, that's not the case. The discount is applied before taxes here

#

Okay, thanks for your time.

rotund rune
#

ah yes sorry I'm dumb it's before, otherwise you pay tax on discounts. But yeah I think the support team is your best bet

calm wigeon
#

We're really having problems now, since the bills are 1 cent below the price, the customer paid. I hope they'll get into contact with me soon.

#

One last question: What is the right way to place pastebis or code in here?

rotund rune
#

It's Discord so it accepts code inline

#

your way wasn't bad per se. I think it's more that the link didn't look like a "paste of code" and it could have been phishing and such so most people wouldn't risk clicking on it

#
- 3x 19.95

# parameters
discount: 15 %
sales tax (VAT): 19 %

# Stripe
- subtotal: 59.85
- discount: -8.98
- VAT: 9.66
- total: 60.53

# R, SPSS, Excel, JS, PHP, Python (float, decimals), PostgreSQL (float, numeric)
- subtotal: 59.85
- discount: -8.98
- VAT: 9.67
- total: 60.54``` would have worked
calm wigeon
#

Oh okay. I didn't want to flood the channel. Thanks for your time.

rotund rune
#

No I understand why you did, just your link looked like spam, but you didn't do anything wrong