@burnt cedar pressed the π‘ API button in https://discord.com/channels/841573134531821608/842637025524842496 to ask a question:
Question
I'm trying to emit an invoice to our company on behalf of a connected account (before we send money to the connected account, we need them to invoice us for the amount).
I can't figure out how to add the correct VAT to this invoice. Our company registered in Germany - so, if the connected account is also German, it should add a 19% VAT; if the account is from Spain, it should add a 0% and apply the reverse tax rule, etc.
The creation of the invoice works well, but no tax rate is being applied. The connected account has registered through the Stripe Express Onboarding, and has a tax id.
Related Request ID(s)
req_cIkupa1xp4MAWN, req_VOTXTPa6Y1sMFf, req_sy34djbxIDqdp0, req_C4GraUdwcMUQRp, req_omBgw9w1ASCKyr
What have you already attempted?
This is the call I'm making to create the invoice on the connected account:
invoice = stripe.Invoice.create(
customer=customer_id_on_connected,
automatic_tax={"enabled": True},
collection_method=(
"send_invoice" if send_invoice else
"charge_automatically"
),
issuer={"type": "self"},
metadata={"project_id": str(project_id),
"transfer_id": transfer_id},
stripe_account=connected_acct,
)
Also made sure that the connected account has a tax id assigned.
What are you working on?
Rendering service: we assign vetted artists to projects. Clients pay us, we pay the artist and keep a commission. Artist has stripe connect accont