#swann - invoice custom fields
1 messages ยท Page 1 of 1 (latest)
No, this is a single line of 30 characters that is placed with the name your provide. If you want to have a line1/line2 arrangement you'd need to use to of the custom fields to represent that
Interesting, the api docs say that you can only have up to 4 custom fields so an address would quickly eat up those lines.
Is there any other way to get the customer business details on the invoice? That's the use case I'm trying to investigate.
Oh, those don't require custom fields, you can use the customer address for that:
https://stripe.com/docs/api/customers/update#update_customer-address
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Oh so once that's set it will show up on the invoice automatically? ๐ฎ
Yep! Make sure you populate the country and it will be formatted using appropriate structure for that country's address conventions.