#Seni-invoices

1 messages · Page 1 of 1 (latest)

hasty bridge
#

Hello! I'm not familiar with Apex - can you share what documentation you're looking at?'

digital bolt
#

Sure! The documentation isn't Apex-specific, so I'm just using this

#

Apex is very java-like. Here's some of the code I've been trying to use. I tried setting the 'status' to 'open' but it the Stripe API doesn't recognize 'status' as a parameter.

#

I assume there's a parameter or something, or a different endpoint I can call, in order to Finalize an Invoice. Just not sure what it would be, since all of the API documentation just references the "finalize" method in the classes for other languages.

hasty bridge
#

Ahhh I think I see what you're getting at

digital bolt
#

Also -- not sure where I can get access to the classes for the Java library, for example -- as I could probably figure it out by looking at that.

hasty bridge
digital bolt
#

Thank you - that is immensely helpful.

#

I assume that there is not a way to create an Invoice in Finalized status via the API? Looks like I'll need to create it, then make another API call to finalize it.

hasty bridge
#

Correct - there's no way to completely bypass the "draft" state of an Invoice