Invoices и Stripe customer portal

PDF, line items, payment method, VAT, prorated changes и восстановление failed payment.

Обновлено: 2026-08-13

Billing показывает Stripe invoices, PDF, line items и customer portal.

Invoices

  1. Откройте /app/account → Billing; список newest first.
  2. GET /api/account/invoices/[id] показывает line items; Download PDF берёт hosted PDF.

Portal

  • Manage billing: payment method, history, prorated plan switch, cancel, address/VAT.
  • VAT ID влияет на будущие invoices; за исправлением старых обратитесь в support.

Failed payment

  • Stripe повторяет charge; после исчерпания retries subscription становится past-due и отменяется, если payment method не исправлен.