#shwoopdoop
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- shwoopdoop, 15 hours ago, 3 messages
Are you calculating tax manually per invoice item? Don't really understand what you're doing
Yeah. I have a question I asked last night that explains what I’m trying to do. But the tldr is I’m investigating using the tax calculation API so I can have invoice items with different locations on the same invoice. I know tax rates would allow me to do this but I don’t want to manually keep track of rates. Hopefully that makes sense. The tax calculation API is great for me, just trying to make everything appear correctly on reporting and I think my missing piece is being able to link the tax calculation to an invoice item and not just associate it with a customer through the transaction API.
ah ok one sec
You could use the reference param when creating the transaction from your tax calculation: https://stripe.com/docs/api/tax/transactions/create_from_calculation#tax_transaction_create-reference
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ie this step: https://stripe.com/docs/tax/custom#tax-transaction
They pass pi_ as the reference, but you can pass whatever
including invoice item
An okay. Do you know if using the invoice item ID as the reference for the calculation/ transaction would generate the reporting I mentioned? As in navigating to registrations and exporting transactions?
Not sure we really don't know anything about reporting in here
You can test this out yourself in test mode though
Got it. Yep can do 👍 thanks!