#lucasantonio
1 messages · Page 1 of 1 (latest)
Hi there!
I'm not sure I understand your question, what do you mean?
Note that you can set the due_date of invoices here: https://stripe.com/docs/api/invoices/create#create_invoice-due_date
Sorry the translation came out wrong.
I'm from Brazil and we want to use boletos due on the invoice.
What does "to use boletos due on the invoice" mean? Can you give a concrete example of what you are trying to do?
We have the invoice due on date X.
Boleto is the means of payment that can expire before or after the invoice expires.
There's a way I can put the billet to generate on the due date of the invoice.
How do you create the invoice? Can you share an invoice ID (in_xxx)?
How do I create?
Do you create them directly with the "create invoice" API call? Are they created as part of a subscription? etc
If you can share an invoice ID (in_123) that will be helpful for us to look in to this
Yes through API, but it's not a subscription, it's a single sale.
I just wanted to know if there's any way I can define that the bill expires when the invoice expires.
I don't have an invoice generated, I'm reading the documentation and completing the FAQ with you.
Ah, and are you getting some error when you try to set that due_date to the date that you want? https://stripe.com/docs/api/invoices/create#create_invoice-due_date
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 problem is not the due date of the invoice, but the Boleto.
I think I found a way to manipulate the due date as I want.
Great to hear! Apologies, I am not that familiar with Boleto. How are you manipulating its due date here?
I'm analyzing it here, I'm going to test it, but apparently Stripe generates a Boleto as soon as the data is complete.
If I always ensure that the data is complete, as I understand it, it is generated instantly and then I define how many days the invoice is due and configure the Boleto to expire in the same amount.