Skip to content

[BUG] Can't create DRAFT Stripe Invoice #16354

@MartinMalinda

Description

@MartinMalinda

With Stripe SDK, I'm able to create an invoice that has no line items:

const invoice = await stripeRequest('invoices', {
  customer: customerId,
  due_date: nowPlus30minutes,
  collection_method: 'send_invoice',
});

That's because I pass collection_method: 'send_invoice' and future due_date.

If I try to replicate the same via Pipedream action I get: Nothing to invoice for customer

Image

I suspect some prop might not get passed well? Or perhaps there's something about invoices and Stripe API I don't understand well enough yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingprioritizedPrioritized issuetriagedFor maintainers: This issue has been triaged by a Pipedream employee

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions