✅ Now Live on Google Workspace Marketplace! Install Free in 1 Click ➔ • Early-Bird Lifetime Pro just $19 (use code EARLYBIRD).
PayloadFlatten
Install on Google Sheets
Stripe Accounting • 4-Level Array Unrolling

Unroll Stripe Invoice Line Items into Google Sheets Rows

Stripe buries invoice items 4 levels deep inside data.object.lines.data[]. PayloadFlatten automatically unrolls each line item into a clean accounting row.

Install Free on Google Marketplace ➔ Test Interactive Demo Below View Early-Bird ($19)
Runs on Google Apps Script Native =FLATTEN_JSON() formula Zero server maintenance

Live Interactive Simulator

Pre-loaded with sample payload: Stripe invoice.paid Multi-Line Webhook Payload

Load sample:
Edit or paste your own
✅ Extracted 14 columns in 4ms
B1: =FLATTEN_JSON(A2:A)
idtypedata.object.iddata.object.customer_emaildata.object.currencydata.object.amount_paiddata.object.lines.data.0.iddata.object.lines.data.0.descriptiondata.object.lines.data.0.amountdata.object.lines.data.0.quantitydata.object.lines.data.1.iddata.object.lines.data.1.descriptiondata.object.lines.data.1.amountdata.object.lines.data.1.quantity
evt_stripe_99201invoice.paidin_1Qv82LKd92finance@acmecorp.iousd14800il_1Pro Workspace Plan (Monthly)99001il_2Extra API Quota Pack49001

Why Operators Choose PayloadFlatten

Stop burning manual engineering hours or expensive SaaS subscriptions on simple webhook parsing.

Manual Stripe Invoice Exports

  • ✕ Stripe nests line items 4 levels deep (data ➔ object ➔ lines ➔ data[]), breaking basic scripts.
  • ✕ Subscription renewals with base plan + usage overages get squashed into 1 unreadable cell.
  • ✕ Accountants cannot reconcile revenue by product SKU when multi-item invoices aren't unrolled.
  • ✕ Paying $100+/month for Stripe-to-Sheets financial connectors.
Modern Client-Side

The PayloadFlatten Advantage

  • ✓ Auto-detects data.object.lines.data up to 4 levels deep with zero config.
  • ✓ Creates 1 row per invoice line item while repeating invoice_id and customer_email.
  • ✓ Extracts line-level amounts, quantities, price IDs, and tax rates cleanly.
  • ✓ 100% private client-side execution—sensitive financial data stays in your Google Sheet.

Simple, Transparent Pricing

No monthly retainers. No cloud relays. Own it for life.

Free Forever

For solo operators testing the formula.

$0 / lifetime
  • Native =FLATTEN_JSON() formula
  • Instant 30-second Apps Script setup
  • Up to 50 rows per batch run
  • 100% Google Apps Script privacy
Install Free from Marketplace ➔
Early-Bird Deal • 60% Off

Early-Bird Solo

Complete freedom for individual operators.

$19 $49 One-time payment

Use code EARLYBIRD at checkout

  • 1 Google Account license
  • Unlimited rows & runs (no cap)
  • Full recursive object & array un-nesting
  • Dot notation customization
  • Lifetime license key & updates
Claim $19 Solo License ➔

Team & Agency

For agencies managing client automations.

$49 $149 One-time payment

Multi-account agency license

  • Up to 5 Google Accounts
  • Unlimited rows, runs & sheets
  • Automated spreadsheet installable triggers
  • Commercial & client delivery allowed
  • Priority 1-on-1 email support
Get Team License ($49) ➔

Frequently Asked Questions

Common questions about Stripe invoice line items JSON to Google Sheets and spreadsheet un-nesting.

Does PayloadFlatten really detect Stripe's 4-level deep data.object.lines.data array automatically?

Yes! Both =FLATTEN_JSON_ROWS() and the '1 row per line item' Side Panel mode traverse up to 4 levels deep to locate Stripe's lines.data array and unroll each line item with all parent invoice fields attached.

Google Workspace Marketplace Approved

Ready to un-nest JSON inside Google Sheets™?

Install PayloadFlatten directly from the official Google Workspace Marketplace in one click—free up to 50 rows per run, zero external servers.

Popular Integrations & Use Cases

Explore native un-nesting solutions for popular webhook payloads and data pipelines.

50 Pre-Configured Simulator Engines

Formula & Script Alternatives

Native formula replacements for fragile legacy scripts.

E-Commerce & Payment Webhooks

Un-nest order, customer, and transaction payloads.

Automation & Webhook Connectors

Stop burning operations in Make, n8n, and Zapier.

CRM, Forms & Developer Webhooks

Parse polymorphic form answers, lead updates, and git events.