#MatanR

1 messages · Page 1 of 1 (latest)

rugged hillBOT
past raptor
#

Hi there!

#

Can you share a subscription ID (sub_xxx) where you see this?

pine sparrow
#

yes

#

sub_1MdZZ1HuTtPo3hLcqnJTtMUW

this is the original subscription, the one with the 0$dsent have any subscription on it

#

dosnt*

#

this is the invoice for 0$

past raptor
#

The subscription you shared has a single invoice for $5,500

#

Where do you see the $0 invoice? Can you share its ID (in_xxx)?

pine sparrow
#

in_1MdZOXHuTtPo3hLcqGUsIScr

past raptor
#

So I'm not sure I follow your question.

#

What exactly are you trying to do? What are you creating your own invoice?

pine sparrow
#

Yes i created it but i created it with plan of 5000% USD, and than added two items, one of 1000% and the other is -500$.

The first invoice is what i ask for, what i cant understand is why the one with 0 created as well.

#

my flow is as follow:

  1. create customer.
  2. create plan with price 5000
  3. add invice item 1000
  4. add invoice item -500
    (both 3 and 4 are with customer id)
  5. create subscription
  6. create invoice with plan id from step 2
  7. finlize the invoice
past raptor
#

hat i cant understand is why the one with 0 created as well.
You created that invoice with the API. So if you don't want that invoice, then don't create it.

pine sparrow
#

but i do need an invoice for the 5500$. how should i create it then if not through invoices.create?

past raptor
#

If you create a subscription for 5500$, then the subscription will automatically create the 5500$ invoice for you.

pine sparrow
#

ohhhh ok, didnt knew this or read about it. i will have another look