#MarcusStripe
1 messages · Page 1 of 1 (latest)
Hey there
Can I ask why you are using Custom Fields as opposed to the Customer Tax ID: https://stripe.com/docs/api/customer_tax_ids ?
Don't remember exactly when this was added tbh
But it has been around for a bit
Yeah 2-3 years ago it may not have existed
anyway if I add my VAT.. how / where on the invoice will it appear?
can I preview this?
also.. I germany we havre actually two tax IDs - one for inside Germany, one for outside.
You can easily preview in testmode
(VAT ID)
The VAT should appear in the top left if I remember correctly
I have added the VAT id.. but I dont see any space for the other one
so does this still need to be added as a custom field?
again.. how to add a custom field to the invoice.. will this happen automatically
Yes the custom field will automatically show on the invoice if set
That said, I do think that multiple tax IDs should be present on the invoice if set
(I am managing 2 account shere... my own.. whihc I set up 2-3 years ago.. and now the new one of m customer.. thats why I am asking....)
But I haven't tested that in a while
what if I keep the VAT as custom field PLUs add the vat in the new style.. will it appear twice?
Yes it would appear twice
If you both have a VAT as the Customer Tax ID and set VAT in a custom field?
Can you share the invoice ID?
nvoice number 59B9834E�0002
Need the ID, like in_xxxxxx
in_1M2dSlAfQ68zM8anxjwxwiaw
finalize it???
well first of all the custom fields are present
and finalize it.. what.. how???
in_1M2dRoAfQ68zM8anzVKQJ0Sa
oh sorry
I think I gave you the wrong link!!
Oh wait you don't have tax_ids set for that Customer
?? you mean when creating the invoice?
I'm talking about https://stripe.com/docs/api/customer_tax_ids
My understanding is that you were worried about the Tax IDs showing twice, correct?
If you both set Customer Tax IDs and hten also specified those Tax IDs as customer fields on the Customer
CustomerCreateParams.builder()
.setInvoiceSettings(CustomerCreateParams.InvoiceSettings.builder().addCustomField(
CustomerCreateParams.InvoiceSettings.CustomField.builder().setName("VAT ID").setValue("ABCD").build()
)
.addCustomField(
CustomerCreateParams.InvoiceSettings.CustomField.builder().setName("Tax ID").setValue("ABCD").build()
)
.build())
I do this
PLUS
these are the tax ids not of the customer -
but of me
I want them to appear on the invoice as well
this is a legal requirement in Germany
--
Just created a new customer and a new invoice in test mode:
in_1M2dexAfQ68zM8anTy6lD24g
again, it has the customer VAT number, it has my "TAX ID" and "VAT ID"
but the extra VAT Id I did just add in the stripe admin config is not appearing a second time
What is the "stripe admin config"?
one sec
Manage tax informationConfigure tax information available for display on invoice-related PDFs.
Changes to the following settings only apply to test modeTo help you test your integration, any changes to tax information in test mode won’t affect your settings in live mode.
Tax information
Tax ID
Add any tax IDs you’d like to include in invoice PDFs. You can set a default ID, but you can always customize each invoice with different IDs. Once a tax ID is added, the ID and type cannot be changed.
--
Ah okay
Thanks for clarifying
One sec let me look
Okay so yeah I do see it being duplicated
The custom fields go at the top left of your Invoice PDF. However when you set a tax ID programmatically via that Settings page it will show below the Bill to portion of the Invoice
Hmm wait though, those are different VATs...
Did you just update one of those?
yes
thats the whole point
the one are my ids
te other the one of the customer
so no, those are not duplicated
uhm.. lets ask different - where / how would the vat ID that I entered appear?
===
Also... I am currently wondering - how can I activate that stripe adds VAT to the invoice to the customer?
Can you clarify which one exactly? We are talking about multiple different options for setting it at this point.
To actually charge VAT, you use Automatic Tax or Tax Rates: https://stripe.com/docs/billing/taxes/collect-taxes
yes I have set one fort he new customer also
txr_1M2e1wF2iEUqWxhTznZzNeWP
will this be applied automatically when I set tax examt NONE
Yep
what about my other question with the duplicated or not duplicated VAT ID?
Sorry, maybe I missed that? What's the exact question about that? It won't de-duplicate as we saw on your example.
no
as you corrected yourself -
there are two ids -
but one is from the customer, the other from my business
so there are no duplicates
Ah you are asking why those are different?
so I am unsure if I can / should remove the custom fields now, or not
if I remove them... I might be without the ids
if I dont.. I might have them twice on the invoice
both is bad, but rather twice then never
but would be great to know for sure
Yeah it should reflect properly. So let me check on why those are different. I didn't dig into that yet.
You stated you didn't change either of those things recently, correct? Like you didn't update your Invoice Template Settings?
no... again.. today, I found this extra setting for my own vat id number
ansd I added it
👍
here
a customer can have a VAT ID and my business MUST show theirs
now the invoice is correct.... but I am also still setting vat id and tax number as a custom field
so the quesiton is.. should I keep adding them as custom fields or not
CustomerCreateParams.builder()
.setInvoiceSettings(CustomerCreateParams.InvoiceSettings.builder().addCustomField(
CustomerCreateParams.InvoiceSettings.CustomField.builder().setName("MARCUS VAT ID").setValue("ABCD").build()
)
.addCustomField(
CustomerCreateParams.InvoiceSettings.CustomField.builder().setName("MARCUS Tax ID").setValue("ABCD").build()
)
.build())
--
No, if you always want to show your tax ID then you don't need to set that Custom Field at all. You just set in in the Dashboard Setting as you are doing
to less confuse you - I added inthe above code as "Marcus ... ID"
Then it will always be displayed
Yeah in the top left.
and with what name?
VAT ID?
maybe it doesnt appear twice because behind the covers stripe uses its own key value mechanism so one overwrites the other?
It should show whatever you have set in the Dashboard. Like DE VAT in your case
no this does not appear
I gave you the id... check for yourself please
in_1M2dRoAfQ68zM8anzVKQJ0Sa
Yeah it's weird because when I test this is does.
Can you do me a favor and just create a new test invoice for me right now and provide it?
in_1M2ecyAfQ68zM8ankfq5lxsE