#Joseph Epstein
1 messages · Page 1 of 1 (latest)
Hi 👋
An InvoiceItem can be created independent of an Invoice. An Invoice LineItem is part of an Invoice
And a Subscription Line Item is specific to Line Items on a Subscription, not any particular Invoice
Thanks @distant path! Are there instances where the Subscription Line Item ID would be the same as an InvoiceItem ID on an invoice? My integration is pulling the ID from the InvoiceItem and I'm getting an ID value that starts with 'sli_'
Nope
Can you share an example of what you mean? Like a few IDs? I think you might be mixing up some Stripe objects here
Sure, he is one of the subscription line item IDs: sli_1383a3HOmxoqD79153d4fe3c
For context, I am actually working with the Stripe-owned Stripe Connector for NetSuite integration. The Stripe engineer on that SCN team claims the integration is pulling the InvoiceItem objects, but when I map the ID of the object into NetSuite, the 'sli_' IDs are the ones coming over
Okay, I can't offer help with anything particular to NetSuite here but I'll be happy to share what I can find.
NetSuite is really just where the data is being pushed, so shouldn't need any insight from you on that front.
The Invoice Line Item should have an id that starts il_
It does have the InoivceItem and SUbscription ID as part of the object but what is returned in the id property should start il_
And for an InvoiceItem, I assume that should be 'ii_' and not 'sli_'?
yes that is correct
When I look at Invoices in my own test integration I can see the line items start il_. For reference, you would only ever return an object with an ii_ ID if you queried for InvoiceItems by themselves, not as part of an Invoice or Subscription
got it, thanks for that clarification. And for the 'sli_' prefixes, I believe that would be a Subscription Line Item (and not an subscription item that has prefix si_), right? I'm not finding an API doc page for subscription line items, is that something you could help locate by any chance?