#tbhaxor-invoice & prices
1 messages · Page 1 of 1 (latest)
Sure, take your time
do you want to know how to get it from the API?
yes
in the invoice object you could look at lines and in that you'd have an array of line items where you could see the price object
Hold on let me check
Meanwhile could you fetch me difference b/w items and add_invoice_items in the subscription?
the add_invoice_items param is used to pass items that would only be present on the first invoice as a one-off payment
So this can be used if I were to use one time fees for the subscription :/
let me rephrase, if you have for a example a subscription with a recurring payment of x and you want to add a one-time setup fee (also as an example it might be something else) you could do that by using the items param to pass the price for the recurring payment and add_invoice_items to add the price of the one-time setup fee
Yeah that what I meant. Thanks for your response
ok I was making sure I didn't pass the wrong info in my previous message
Yeah, both invoice line and subscription doubts are solved. As always, thanks for your support