#overture8

1 messages · Page 1 of 1 (latest)

pastel forumBOT
fair lagoon
hollow mortar
#

Hi. I'll have a look now...

#

sorry

#

req_60caCrxuiCc4d1

#

^ that's the right one

fair lagoon
#

Thanks for sharing, You are using an old API 2020-08-27 for this request and you are pasing an invoice line ID (il_) and not invoice item ID ii_123:
https://stripe.com/docs/api/invoiceitems/update
I imagine the working example are invoices that were created with newer API version ?

hollow mortar
#

hmm, I don't believe so. This is a Stripe Connect setup and we've never used another version of the API. Is there a possibility that the items were created via the Stripe dashboard or something? Would that make them use a newer version of the API?

fair lagoon
#

Yes it can

#

These are some legacy limitation for old API version.

#

Invoice items are isolated invoice items and not issued from Susbcription in general.

#

Double check the difference between the two invoices. I assume one is created manually using the invoice item API and the other was issued from a Susbcription

hollow mortar
#

Hmm, yeah - I can see a lot of Dashboard activity (rather than chnaging things through our app).

#

Ok, I think that explains it.

#

Thanks a lot for your help.

fair lagoon
#

Happy to help!

hollow mortar
#

So, when this error appears, I should fall back to the ii_??? style ID?

fair lagoon
#

No I don't think you can find a similar ID because it depends from were it was created

#

you should be thinking of updating the Stripe API version to the latest one in order to be compliant with dashboard activity

hollow mortar
#

Yeah, fair point. Thanks again.