#m4rt1ns_1993
1 messages · Page 1 of 1 (latest)
If it's a one-time Invoice, no
You'd just call the /send API as and when you require: https://stripe.com/docs/api/invoices/send
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Let me be more specific. I want to keep adding invoice items to an invoice, and at the end of the month send that invoice to a client to charge them.
I probably need to run a script that automates this at the end of the month, using the /send API then?
one option could be to use a Subscription, with a $0 Price object.
that way each month an invoice is created automatically(since it's $0, there's no charge or receipt and it's just auto-closed). If you add any InvoiceItems to the Customer during the month, they will get pulled into the next invoice and will get charged.
And those invoiceItems will be charged in the next subscription then?
in the next invoice of the subscription.
So I create the subscription with price 0, the first invoice would be 0, but then every month the subscription invoice would be the total amount of the invoiceItems I kept adding, right?