Back to All Datasets
Stripe Test Payload

Mock Stripe Invoice JSON Example

A deeply nested mock Stripe invoice dataset featuring complex metadata objects, line items, and nested discounts, perfect for testing ETL pipelines or JSON tabular tools. Use this payload to test JSON flattening, data loading pipelines, or database seeding.

Struggling to convert your own JSON?

Don't write another Python script. Use our free, 100% secure client-side tool to flatten any complex JSON export into a perfect Excel file in seconds.

Data never leaves your browser window.
Repair Your Export
payload.json
{
  "object": "list",
  "url": "/v1/invoices",
  "has_more": false,
  "data": [
    {
      "id": "in_1TestInv123",
      "object": "invoice",
      "account_country": "US",
      "account_name": "Test Company LLC",
      "amount_due": 5000,
      "amount_paid": 5000,
      "amount_remaining": 0,
      "created": 1672531200,
      "currency": "usd",
      "customer": "cus_12345",
      "customer_email": "test@example.com",
      "customer_name": "Jane Doe",
      "metadata": {
        "internal_id": "89012",
        "referral_source": "google_ads",
        "utm_campaign": "spring_sale"
      },
      "lines": {
        "object": "list",
        "data": [
          {
            "id": "il_1TestLine1",
            "object": "line_item",
            "amount": 5000,
            "currency": "usd",
            "description": "Premium Subscription (Yearly)",
            "price": {
              "id": "price_1TestPrice",
              "product": "prod_1Test",
              "unit_amount": 5000
            },
            "quantity": 1
          }
        ]
      },
      "status": "paid",
      "total": 5000
    },
    {
      "id": "in_1TestInvABC",
      "object": "invoice",
      "amount_due": 1250,
      "amount_paid": 1250,
      "currency": "usd",
      "customer": "cus_67890",
      "metadata": {
        "internal_id": "89020",
        "referral_source": "organic",
        "utm_campaign": "none"
      },
      "lines": {
        "data": [
          {
            "amount": 1250,
            "description": "Basic Plan (Monthly)",
            "quantity": 1
          }
        ]
      },
      "status": "paid",
      "total": 1250
    }
  ]
}

Dataset Size

1663 Bytes

Format

JSON (Nested)

License

MIT (Free to use)