{
  "schemaVersion": 1,
  "cycle": {
    "from": "2026-09-01",
    "to": "2026-09-30",
    "days": 30
  },
  "prorationBasis": "daily straight line on a fixed 30-day cycle, rounded half up to cents",
  "totals": {
    "invoices": 5,
    "recurring": "235.00",
    "prorationCredits": "-49.00",
    "prorationCharges": "59.00",
    "total": "245.00"
  },
  "invoices": [
    {
      "invoiceId": "INV-2609-01",
      "accountId": "ACC-01",
      "planAtIssue": "Basic",
      "issueDate": "2026-09-01",
      "dueDate": "2026-09-15",
      "currency": "USD",
      "total": "19.00",
      "paid": "19.00",
      "lines": [
        {
          "lineNo": 1,
          "type": "recurring",
          "description": "Basic plan, 2026-09-01 to 2026-09-30",
          "amount": "19.00",
          "serviceFrom": "2026-09-01",
          "serviceTo": "2026-09-30"
        }
      ]
    },
    {
      "invoiceId": "INV-2609-02",
      "accountId": "ACC-02",
      "planAtIssue": "Team",
      "issueDate": "2026-09-01",
      "dueDate": "2026-09-15",
      "currency": "USD",
      "total": "74.00",
      "paid": "74.00",
      "lines": [
        {
          "lineNo": 1,
          "type": "recurring",
          "description": "Team plan, 2026-09-01 to 2026-09-30",
          "amount": "49.00",
          "serviceFrom": "2026-09-01",
          "serviceTo": "2026-09-30"
        },
        {
          "lineNo": 2,
          "type": "proration credit",
          "description": "Unused Team plan, 2026-09-16 to 2026-09-30 (15 of 30 days)",
          "amount": "-24.50",
          "serviceFrom": "2026-09-16",
          "serviceTo": "2026-09-30"
        },
        {
          "lineNo": 3,
          "type": "proration charge",
          "description": "Studio plan upgrade, 2026-09-16 to 2026-09-30 (15 of 30 days)",
          "amount": "49.50",
          "serviceFrom": "2026-09-16",
          "serviceTo": "2026-09-30"
        }
      ]
    },
    {
      "invoiceId": "INV-2609-03",
      "accountId": "ACC-03",
      "planAtIssue": "Studio",
      "issueDate": "2026-09-01",
      "dueDate": "2026-09-15",
      "currency": "USD",
      "total": "99.00",
      "paid": "99.00",
      "lines": [
        {
          "lineNo": 1,
          "type": "recurring",
          "description": "Studio plan, 2026-09-01 to 2026-09-30",
          "amount": "99.00",
          "serviceFrom": "2026-09-01",
          "serviceTo": "2026-09-30"
        }
      ]
    },
    {
      "invoiceId": "INV-2609-04",
      "accountId": "ACC-04",
      "planAtIssue": "Basic",
      "issueDate": "2026-09-01",
      "dueDate": "2026-09-15",
      "currency": "USD",
      "total": "19.00",
      "paid": "0.00",
      "lines": [
        {
          "lineNo": 1,
          "type": "recurring",
          "description": "Basic plan, 2026-09-01 to 2026-09-30",
          "amount": "19.00",
          "serviceFrom": "2026-09-01",
          "serviceTo": "2026-09-30"
        }
      ]
    },
    {
      "invoiceId": "INV-2609-05",
      "accountId": "ACC-05",
      "planAtIssue": "Team",
      "issueDate": "2026-09-01",
      "dueDate": "2026-09-15",
      "currency": "USD",
      "total": "34.00",
      "paid": "34.00",
      "lines": [
        {
          "lineNo": 1,
          "type": "recurring",
          "description": "Team plan, 2026-09-01 to 2026-09-30",
          "amount": "49.00",
          "serviceFrom": "2026-09-01",
          "serviceTo": "2026-09-30"
        },
        {
          "lineNo": 2,
          "type": "proration credit",
          "description": "Unused Team plan, 2026-09-16 to 2026-09-30 (15 of 30 days)",
          "amount": "-24.50",
          "serviceFrom": "2026-09-16",
          "serviceTo": "2026-09-30"
        },
        {
          "lineNo": 3,
          "type": "proration charge",
          "description": "Basic plan downgrade, 2026-09-16 to 2026-09-30 (15 of 30 days)",
          "amount": "9.50",
          "serviceFrom": "2026-09-16",
          "serviceTo": "2026-09-30"
        }
      ]
    }
  ]
}
