#jjohn-invoices-tax
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Can you share the docs you're looking at?
thanks also, can you share the request ID where you're seeing the error above?
https://support.stripe.com/questions/finding-the-id-for-an-api-request
I think the issue might be with how you're passing the taxability_reason
specifically tax_amounts [01][...]
[01] isn't a valid value when working with arrays
req_I3dV4DBsz6koad is the request ID
oh it looks like copying the error from editor misformatted it
here is the error string
Received unknown parameter: tax_amounts[0][taxability_reason]. Did you mean taxable_amount?
ah gotcha.. I don't think taxability_reason is something you can set via the API
https://docs.stripe.com/api/invoices/update_line#update_line-tax_amounts
Have you tried just setting taxable_amount to 0 and amount to the tax amount you want to show as the line item?
so something like,
tax_amounts: [
{
amount: 100,
taxable_amount: 0,
tax_rate_data: {...}
}
]
If I understand correctly taxable_amount is just the amount on which taxes were calculated? Setting that to 0 doesn't really ensure that the customer won't be charged tax of $100?
๐ catching up since my teammate had to run
That's correct, you'd still have to calculate the value of tax_amounts.amount
Yea so the question is how to add a non-zero VAT tax line item in invoice without charging the customer for it
Are you not including this in the invoice amount because they're being charged the VAT amount somewhere else?
that is right.
Gotcha. I'm not sure I can advise on this, as there are regulations around tax, invoices, and how to display these amounts in a compliant way
I recommend reaching out to our Support team about this: https://support.stripe.com/contact/
When you reach out to them, it'll be critical to include a full summary of how you're currently charging VAT and your requirements for including this in invoices while not charging the amount via the invoice
sounds good. Thanks for your help