#arggh-custom invoice fields
1 messages ยท Page 1 of 1 (latest)
Have you seen and tried Custom Fields? https://stripe.com/docs/invoicing/customize#custom-fields
Customize the content and branding of your invoices.
(or memos/footers -- same idea)
The way I understood Custom Fields, they are quite limited in their number and character count and it's not possible to link them to specific invoice items, right?
correct, there isn't a way to sub-line an item like you want
Same goes with memos/footers, meaning it's near impossible to attach them to the actual line items? I could of course just "copy paste" the invoice line items as plain text in the footer with the required details added, but it's not a very elegant solution.
Hmmm. Seems like a feature request ๐
The only field for a description on a line item is https://stripe.com/docs/api/invoiceitems/update#update_invoiceitem-description
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I'd be perfectly happy to update the description of a line item, but it's not possible either:
StripeInvalidRequestError: When passing an invoice's line item id, you may only update
tax_ratesordiscounts.
Yep, only works in Invoice Items and often automatic ones won't edit
This was the code I was trying to run:
stripe.invoiceItems.update(
item.id,
{
description: 'FOOBAR'
}
)
What's the id of the item?
invoice.lines.data[x].id
The actual item id in the API is what I mean.
sli_16456cGh3krmwCRA369ad5e8
Yeah, that's a Subscription Line Item which won't let you edit the Description. You can only edit it if creating InvoiceItems directly. So yeah, for what you're looking for, we don't support it except the workaround with custom fields and such.