Tilbage til Stripe
Forbind Knoon AI med Stripe for at automatisere AI-arbejdsgange.
Update a Stripe draft invoice.
stripeDefaultUpdateInvoice
BETA
Internt
Tilladelser
Der er ingen elementer at vise.
Valgfrie tilladelser
Der er ingen elementer at vise.
Parametre
| Navn | Type | Beskrivelse | Obligatorisk |
|---|---|---|---|
| invoiceId | mustache | Stripe invoice ID (e.g. "in_12345"). | Ja |
| payload | mustache | JSON payload string to send to Stripe (for example metadata, description, due_date, or days_until_due). | Ja |
Retur
| Navn | Type | Beskrivelse |
|---|---|---|
| id | string | Invoice ID. |
| status | string | Invoice status. |
| customerId | string | Stripe customer ID. |
| subscriptionId | string | Stripe subscription ID when available. |
| paymentIntentId | string | Payment intent ID when available. |
| collectionMethod | string | Invoice collection method. |
| amountDue | number | Amount due. |
| amountPaid | number | Amount paid. |
| amountRemaining | number | Amount remaining. |
| currency | string | Invoice currency. |
| hostedInvoiceUrl | string | Hosted invoice URL when available. |
| invoicePdf | string | Invoice PDF URL when available. |
| number | string | Invoice number. |
| dueDate | string | Invoice due date (ISO). |
| createdAt | string | Invoice creation time (ISO). |
| finalizedAt | string | Invoice finalization time (ISO) when available. |
| paidAt | string | Invoice paid time (ISO) when available. |
| voidedAt | string | Invoice voided time (ISO) when available. |