#lafafm
1 messages · Page 1 of 1 (latest)
No, paid status is terminal: https://stripe.com/docs/invoicing/overview#invoice-statuses
Is there any possibility to mark invoice as paid without charge being made?
As API call allows with option paid_out_of_band?
Depends what you mean by 'without charge being made'?
invoice/:id/pay API call have a parameter
paid_out_of_band
https://stripe.com/docs/api/invoices/pay#pay_invoice-paid_out_of_band
As for my understanding - it allows just to mark invoice as Paid, without a payment method attached to customer / creating a charge
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But doesn't see that possibility through Dashboard
E.g. in dashboard - payment method seems to be mandatory
Which page are you creating that from?
Probably found the issue here
By creating manually handled subscription - invoice is a draft for 1 hour after creation for some reason
E.g. I expected it to be open immediately
And as it's unfinalized I can't convert it to paid or whatever
It's likely because its creating a collection_method: 'charge_automatically' invoice
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You can create an invoice there and mark it as 'send invoice'
Ok, speaking more detailed
I created a subscription from dashboard, with a collection method send_invoice
And "days_until_due": "0"
req_LQfnRn2wtj0nZQ
So, in my expectations - I should have a past_due subscription with a open invoice immediately
But what I have is an active subscription with a draft invoice
Invoice was created by subscription, with collection_method - send invoice
req_LQfnRn2wtj0nZQ
Can you help me finding where my expecations is wrong?
And why invoice is on the draft state in that case?
Sure, that's how it works. We automate finalisation after ~1 hour: https://stripe.com/docs/invoicing/integration/workflow-transitions#finalized
Allows your to make any manual amendments to the invoice before payment
Ok
But if doing all of these things through API - I can finalize it immediately by another API call, right?
Yep!
And by doing that - I should expect that subscription became past_due immediately, as it was created with "days_until_due": "0"?
Seems logical, but I'm not sure. I'd test it
Just tested it via CLI
Invoice became open , subscription is still active
The call I made through cli
stripe invoices finalize_invoice in_1MYU0lKbHTyAU2ATtB0YZMOF
I'm not sure if days_until_due has any impact on subscription status