#MarceloOlandim
1 messages · Page 1 of 1 (latest)
It's likely that you're not actually generating an invoice, but a receipt (where no tax information is shown)
Can you share an example pi_xxx ID?
sure.. let me get for you
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Ok, yep. Payment Intents don't automatically generate a payment invoice that includes tax details. Only a receipt
If you need an invoice, you'll need to either:
- Use the Invoicing API directly instead of Payment Intents.
- Generate a 'paid out of band' invoice after the payment.
I dont mind if the payment invoice doesn't contain the tax, but it should be on the receit
Our receipts don't contain tax information as explained, so you'd either need to do the above, or use your own receipts
use your own receipts ?
Yes, generate your own PDF receipts using webhooks and our API
Really? Stripe doesn't provide tax information on a base receipts ?
Sorry, but I think is hard to believe that a service dedicate to payment services doesn't provide tax information on a easy way
We do, via invoices
Okay, I will need a look into it
That means that I would need to refactored all our payment approach because Stripe doesn't provide tax on payment intents, even if the price used has a Tax policy set on the price used.
Correct yes. Checkout supports automatic invoicing: https://stripe.com/docs/payments/checkout/post-payment-invoices
By the way, you are talking about subscription
Nope, that link is for one-time payments with Checkout
But the invoice I dealing here is for subscriptoin
Oh, wait. My bad I was looking at the wrong Payment Intent
Indeed, Subscriptions generate Invoices automatically which should contain tax info. For example: https://dashboard.stripe.com/test/invoices/in_1N1m7FC6SiKqhq3NtAEMMZUn
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Is there data missing from that invoice that you require?
But the users aren't seen any tax information on the receipts
This is the user who paid on a test env https://dashboard.stripe.com/test/customers/cus_N9LYBFSLFjs60z
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
But which tax information is missing?
So you expect a tax (VAT) line item on the invoice?
yes
You didn't ask us to do tax calculation on the subscription: https://stripe.com/docs/tax/subscriptions#create-a-subscription
You ether need to pass a Tax Rate, or use Stripe Tax
Yes, you set the tax behaviour on the Price which is required. But you also need to pass either a Tax Rates (https://stripe.com/docs/api/subscriptions/create#create_subscription-items-tax_rates) or enable automatic calculation via Stripe Tax (https://stripe.com/docs/api/subscriptions/create#create_subscription-automatic_tax)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
We then calculate the tax due according to the location/address of the customer
I tried to enable automatic calculation via stripe tax, I thought it was done
When I go to the tax tab, I can see this:
So I presume that is enabled
You still need to pass the parameter when you create the Subscription. You didn't do that here: https://dashboard.stripe.com/test/logs/req_EyC9ssbtWPk9hm
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.