#bebourdain
1 messages · Page 1 of 1 (latest)
The request ID is: req_NPNKGkPHC1LEJ6
It looks like you're sending invoice item IDs (ii_123) instead of invoice line item IDs (il_123)
See for example the line item IDs in the response ot finalizing this invoice: https://dashboard.stripe.com/test/logs/req_383Tqqy7PwuE9J
Yes, the invoice item is a reference to the object accrued as a pending item to invoice, but now its a finalized line item
Which is what you need to provide for credit notes
okay, but to confirm both are on the invoice object?
Each invoice line item has its own line item id and a reference to the associated invoice_item it came from (if applicable), yes
is the invoice_item from the same invoice or a different one?
It's a different object, its what you create in order to create an invoice
then they get turned into line items
I understand now. This makes more sense. Thank you for clarifying.
@glossy dew wait, can you send me to the link of the FIRST invoice? the not finalized one?
"It's a different object, its what you create in order to create an invoice. then they get turned into line items" Where does that live?
Do you have a link to one of those as an example?
Sure, you create one of them for this invoice here: https://dashboard.stripe.com/test/logs/req_sAiHPp4uU6D1Lw