#packing-invoice-tax
1 messages · Page 1 of 1 (latest)
Can you try and clarify your question in details?
(all good only Stripe admins can create threads)
So basically I do this:
- I create a Customer with VAT registration details
- I create an Invoice
- I create InvoiceItem with a custom price
- I finalise the invoice and charge automatically
What I need to do is then also show VAT on the invoice.
I can do this via the dashboard, there is a checkbox to automatically calculate VAT, but I need similar functionality over the API
At the moment the only options I've been given via live chat is to manually set tax rates and all that stuff... that's too much
I can do this in the dashboard
did you read https://stripe.com/docs/tax/invoicing ?
This is a one-off product, rather than a saved one
like we absolutely support tax calculation on Invoicing
I read that page top to bottom
"For one-off line items, you can’t configure tax behaviour through the API."
This might kill it
Support told me I'll need to pass in my own tax rates and all that stuff and I'm just like 🤷♂️ wat
that's not really true as long as you pass detailed information about what that line item is about?
When you create an InvoiceItem, you can set tax_behavior: https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-price_data-tax_behavior
but don't the docs literally say that you cannot set the tax_behaviour through the API when using one-off items?