#b33fb0n3_best-practices
1 messages · Page 1 of 1 (latest)
👋 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/1401828214057209907
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! How are you creating the Invoice? Do you have an example?
Currently I am just planing. I created nothing yet
The docuemnt you linked mentions rounding the hours: https://stripe.com/resources/more/how-to-make-an-invoice-for-hours-worked#how-to-itemize-hours-worked-by-project-or-task:~:text=Round with consistency%3A Rounding time is normal%2C but it needs to be fair and consistent. Whether you round to the nearest 5%2C 10%2C or 15 minutes%2C set a standard policy%2C and be transparent with your clients about your system.
Round with consistency: Rounding time is normal, but it needs to be fair and consistent. Whether you round to the nearest 5, 10, or 15 minutes, set a standard policy, and be transparent with your clients about your system.
ok, then I would round from 13.77 to 13.75. How to do it now with stripe? I would like to use stripe to send the invoice
You will need to round it down to an integer. So either 13 or 14.
But thats pretty unfair against my customer. The article you linked tell me to round to the nearest 5,10 or 15 minutes. Not the full hour.
Whether you round to the nearest 5, 10, or 15 minutes
Imagine I would always round up to the next full hour. I, as the freelancer would always receives more than I actually did. If I always round down, I as the freelancer would always get paid less, then I worked for...
That cant be the solution. The API doesnt offer anything?
If rounding doesn't work for your case, you can consider using minutes instead of hours.
That is also the suggestion in the document.
You could also use a fractional line item for the . 77 hours. So two total line items, 1x $77 and 13x $100
yea, the worked hours can variate from month to month. So at the end I would've a lot of single used lines items.
The best I can think of is something like:
"Hourly Rate" and as quantity: "13.77". For stripe it means: "Use the product 'Hourly Rate' and the default price of it and multiple it times the quantity of '13.77' "
I don't think that'll work as quantity needs to be an integer
oh ok. Which quantity can be a float or double?
None, they're all integer. Hence our recommendations up to this point