#shahar-invoice-creation

1 messages · Page 1 of 1 (latest)

viscid marlinBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

oblique tartan
#

Hey @sweet orchid I'm sorry but I don't know what that could mean

sweet orchid
#

how i can add one time item in invoice using api

#

@oblique tartan

oblique tartan
#

What have you tried? What doc did you look for and read?

#

shahar-invoice-creation

oblique tartan
#

Sorry, you sahred a picture, and now one link. Please try to ask a clear question, developer to developer, that explains what you tried, what your code looks like, what error(s) you get or what's blocking you, all in one clear and concise message. Right now this is really unclear

sweet orchid
#

basically, I want to add one time items into the invoice

oblique tartan
#

Please don't type extremely short sentences. Try to prove you are carefully thinking about this and ask clear questions. This is all covere in really clear details in our docs

sweet orchid
#

@oblique tartan
Scenario
when i create invoice using dashboard there is two option to add items one is create a new product and second one is add one time item. when i select create a new product option a new product catalog is created and when i select add one-time item option, item is added into invoice but doesn't create any separate product catalog

Create a new product:
I already integrated this flow using apis

Add one-time item:
I want to integrate this into my API how i can do this?

oblique tartan
#

But you already asked the exact same question hours ago. You were already using the InvoiceItem API which has a clear amount and currency parameter pairs: https://stripe.com/docs/api/invoiceitems/create
So what's blocking you as a developer? What have you tried that didn't work?

sweet orchid
#

when i use invoice items api it also creates a new product catalog

#

But I don't want to create a new product catalog

oblique tartan
#

I just told you exactly what to do. Please carefully read what I said. I'm sorry but you're here regularly with really vague questions. I just explained ther'es amount and currency which is exactly what you want and I linked you to the API Reference

sweet orchid
#

okay, i really understand your effort but i didn't find any key in invoiceItem Api where i can assign item name

sweet orchid
#

Thanks for your time and efforts now it is working

oblique tartan
#

Awesome! Please make sure to try things on your own as a developer first!

sweet orchid
#

Actually, i was assuming the description key in the invoiceItems works same as the description key in the product api. so that's why i didn't try this

#

anyways thanks a lot