Hello Stripe Team Members.
I am sorry for my English.
I did the following for creating invoice.
invoice = stripe.Invoice.create(
collection_method="send_invoice",
days_until_due=30,
currency="usd"
)
stripe.InvoiceItem.create(
)
But it returns following error message.
stripe.error.InvalidRequestError: Request req_XjQwuETRlcX5pW: Nothing to invoice for customer
I am at a critical juncture in using stripe and any quick help would be very much appreciated.