#PabloDeveloper
1 messages ยท Page 1 of 1 (latest)
There's an invoice_pdf field on the Invoice object: https://stripe.com/docs/api/invoices/object#invoice_object-invoice_pdf
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 for you answer @patent night
I noticed that invoice_pdf corresponds to the invoice not to the receipt of a payed invoice.
I was looking into the response of Retrieve Invoice API and I noticed this other field receipt_url that seems to correspond to receipts, wouldn't be nice to add receipt_pdf field to the API as well?
I just did the association between invoice_url and invoice_pdf and apply the same logic to receipt_url. I just added programmatically /pdf to the url and I got the PDF file "https://pay.stripe.com/receipts/invoices/CAcaFwoVYWNjdF8xR1RxSFNFMzBjSVBjVkdBKMmxtpkGMgYaW0JFkxw6LBZTXTx4SzQMtld-B-xug06bJEdPAtENRB6ioa1QTw5YOTf1Jx2dcRToRZEm/pdf?s=ap"
Thanks!
Sorry misread your ask. Yep, it's something we hear! Not sure its something we'll address though
That may work for now, but obviously is a little fragile and may break
is there a repo where I could suggest this change? at least to have it in the backlog for the future ๐
https://support.stripe.com/contact love to hear feedback!
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Thanks man! have a good day