#alexelba
1 messages · Page 1 of 1 (latest)
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.
and 2nd question which was not answered -> https://stripe.com/docs/api/invoices/object how can I see if account credit was applied to the invoice vs what was charged to credit card?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi there, are you referring to period_start https://stripe.com/docs/api/invoices/object#invoice_object-period_start and period_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Do you mean credit notes? https://stripe.com/docs/api/invoices/object#invoice_object-post_payment_credit_notes_amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I saw credit notes, but it says integer
is it total credit in cents?
is the one pre_payment_credit_notes_amount ?
will post be if they overpay?
The amount is already in the currency's smallest unit (i.e., cent) https://stripe.com/docs/currencies
https://stripe.com/docs/api/invoices/object#invoice_object-due_date will the invoice date be the due date for charge_automatically?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
the docs mention The date on which payment for this invoice is due. This value will be null for invoices where collection_method=charge_automatically.
I mean when will be invoice be generated for charge_automatically
will it be the same day it is due?
is this an invoice for a subscription?
then it'll be when the period ends of the subscription : https://stripe.com/docs/api/subscriptions/object#subscription_object-current_period_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thanks
last requirement I have for each invoice I need to find stripe total fee which will be charged
for subscription
per invoice
you can retrieve the Invoice, expand the charge.balance_transaction and you should be able to find the fee in https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee_details
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.