Voltar para Stripe
Conectar Knoon AI com Stripe para automatizar fluxos de trabalho de AI.
Finalize a Stripe draft invoice.
stripeDefaultFinalizeInvoice
Beta
Interno
Permissões
Não há itens para exibir.
Permissões opcionais
Não há itens para exibir.
Parâmetros
| Nome | Tipo | Descrição | Obrigatório |
|---|---|---|---|
| invoiceId | mustache | Stripe invoice ID (e.g. "in_12345"). | Sim |
| autoAdvance | mustache | Optional boolean string controlling automatic collection ("true" or "false"). | Não |
Devoluções
| Nome | Tipo | Descrição |
|---|---|---|
| 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. |