#FernandoITC - re-creating invoices
1 messages · Page 1 of 1 (latest)
You can set the prefix and reset the numbering, but you cannot specify a full invoice ID, no. These are generated to conform to some regulatory requirements.
You can set the next invoice number t be used: https://stripe.com/docs/invoicing/customize#invoice-number
I'd suggest using instead custom fields to include the "Original Invoice ID" or some equivalent representation
https://stripe.com/docs/invoicing/customize#custom-fields
oh I see - thanks so much @tame aspen ! I will look into the custom field approach, at least to set the other system (past) invoice number there. Two more questions:
-
I guess it's possible to include the custom field in invoice pdf and will also be visible in invoices hosted page / portal, right?
-
It feels like there's also no way to set invoice date and due date to a past date either, right?
The due_date must be a timestamp in the future, so you're correct that that is not supported: https://stripe.com/docs/api/invoices/create#create_invoice-due_date
It's not shown on the hosted invoice page directly, no, but the custom field is included in the PDF if downloaded from the hoested invoice page
great, thanks for all the info @tame aspen !
NP!