{
  "version": "1.0.0",
  "projectName": "SaaS Subscription & Usage Tax Invoice",
  "targetLibrary": "react-pdf-renderer",
  "createdAt": "2026-09-12T00:00:00.000Z",
  "updatedAt": "2026-09-12T00:00:00.000Z",
  "metadata": {
    "title": "SaaS Subscription & Usage Tax Invoice",
    "subject": "Hybrid recurring seat-subscription and metered API overage invoice with Stripe auto-charge status and VAT/GST breakdown.",
    "creator": "CodePDF",
    "producer": "CodePDF",
    "defaultPageSize": "A4",
    "defaultOrientation": "portrait"
  },
  "defaults": {
    "fontFamily": "Helvetica",
    "fontSize": 12,
    "textColor": "#000000",
    "locale": "en-US",
    "currency": "USD",
    "currencyDisplay": "symbol",
    "timeZone": "GMT",
    "dateFormat": "DD/MM/YYYY",
    "timeFormat": "HH:mm",
    "showPageNumbers": false,
    "pageNumberFormat": "{{page}} / {{total}}",
    "pageNumberPosition": "center"
  },
  "fonts": [],
  "components": {
    "root": {
      "id": "root",
      "type": "Document",
      "props": {
        "title": "SaaS Subscription & Usage Tax Invoice"
      },
      "style": {},
      "children": [
        "invoice-saas-subscription-page"
      ],
      "parent": null
    },
    "invoice-saas-subscription-page": {
      "id": "invoice-saas-subscription-page",
      "type": "Page",
      "props": {
        "size": "A4",
        "orientation": "portrait",
        "wrap": true
      },
      "style": {
        "paddingTop": 28,
        "paddingBottom": 24,
        "paddingLeft": 36,
        "paddingRight": 36,
        "backgroundColor": "#ffffff",
        "flexDirection": "column",
        "gap": 8
      },
      "children": [
        "invoice-saas-subscription-hdr-000",
        "invoice-saas-subscription-kpi-row-006",
        "invoice-saas-subscription-cal-023",
        "invoice-saas-subscription-tbl-027",
        "invoice-saas-subscription-footer-044"
      ],
      "parent": "root"
    },
    "invoice-saas-subscription-hdr-000": {
      "id": "invoice-saas-subscription-hdr-000",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "minHeight": 52,
        "paddingTop": 10,
        "paddingBottom": 10,
        "paddingLeft": 12,
        "paddingRight": 12,
        "backgroundColor": "#312e81",
        "flexDirection": "row",
        "justifyContent": "space-between",
        "alignItems": "center",
        "gap": 10
      },
      "children": [
        "invoice-saas-subscription-hdr-left-001",
        "invoice-saas-subscription-hdr-pill-005"
      ],
      "parent": "invoice-saas-subscription-page",
      "label": "Document Header"
    },
    "invoice-saas-subscription-hdr-left-001": {
      "id": "invoice-saas-subscription-hdr-left-001",
      "type": "View",
      "props": {},
      "style": {
        "width": 353.28,
        "flexDirection": "column",
        "gap": 3
      },
      "children": [
        "invoice-saas-subscription-hdr-title-002",
        "invoice-saas-subscription-hdr-sub-003",
        "invoice-saas-subscription-hdr-meta-004"
      ],
      "parent": "invoice-saas-subscription-hdr-000",
      "label": "Header Titles"
    },
    "invoice-saas-subscription-hdr-title-002": {
      "id": "invoice-saas-subscription-hdr-title-002",
      "type": "Text",
      "props": {
        "content": "{{saasVendor}}"
      },
      "style": {
        "width": 353.28,
        "fontSize": 12.5,
        "fontWeight": "bold",
        "color": "#ffffff"
      },
      "children": [],
      "parent": "invoice-saas-subscription-hdr-left-001",
      "label": "Header Title",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "saasVendor"
        }
      }
    },
    "invoice-saas-subscription-hdr-sub-003": {
      "id": "invoice-saas-subscription-hdr-sub-003",
      "type": "Text",
      "props": {
        "content": "SAAS SUBSCRIPTION & METERED USAGE INVOICE · {{invoiceNo}}"
      },
      "style": {
        "width": 353.28,
        "fontSize": 8,
        "color": "#cbd5e1"
      },
      "children": [],
      "parent": "invoice-saas-subscription-hdr-left-001",
      "label": "Header Subtitle",
      "bindings": {
        "content": {
          "mode": "expression",
          "expression": "SAAS SUBSCRIPTION & METERED USAGE INVOICE · {{invoiceNo}}"
        }
      }
    },
    "invoice-saas-subscription-hdr-meta-004": {
      "id": "invoice-saas-subscription-hdr-meta-004",
      "type": "Text",
      "props": {
        "content": "{{vendorSub}} · Billing Period: {{billingCycle}}"
      },
      "style": {
        "width": 353.28,
        "fontSize": 7.2,
        "color": "#cbd5e1"
      },
      "children": [],
      "parent": "invoice-saas-subscription-hdr-left-001",
      "label": "Header Metadata",
      "bindings": {
        "content": {
          "mode": "expression",
          "expression": "{{vendorSub}} · Billing Period: {{billingCycle}}"
        }
      }
    },
    "invoice-saas-subscription-hdr-pill-005": {
      "id": "invoice-saas-subscription-hdr-pill-005",
      "type": "Pills",
      "props": {
        "items": [
          "PAID AUTOMATICALLY"
        ],
        "color": "#065f46"
      },
      "style": {
        "width": 132,
        "fontSize": 7.5,
        "color": "#a7f3d0"
      },
      "children": [],
      "parent": "invoice-saas-subscription-hdr-000",
      "label": "Status Badge"
    },
    "invoice-saas-subscription-kpi-row-006": {
      "id": "invoice-saas-subscription-kpi-row-006",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "flexDirection": "row",
        "gap": 8,
        "alignItems": "stretch"
      },
      "children": [
        "invoice-saas-subscription-kpi-007",
        "invoice-saas-subscription-kpi-011",
        "invoice-saas-subscription-kpi-015",
        "invoice-saas-subscription-kpi-019"
      ],
      "parent": "invoice-saas-subscription-page",
      "label": "KPI Metrics Row"
    },
    "invoice-saas-subscription-kpi-007": {
      "id": "invoice-saas-subscription-kpi-007",
      "type": "View",
      "props": {},
      "style": {
        "width": 124.82,
        "minHeight": 46,
        "paddingTop": 6,
        "paddingBottom": 6,
        "paddingLeft": 8,
        "paddingRight": 8,
        "backgroundColor": "#f8fafc",
        "borderWidth": 1,
        "borderColor": "#e2e8f0",
        "borderTopWidth": 2.5,
        "borderTopColor": "#4f46e5",
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "invoice-saas-subscription-kpi-lbl-008",
        "invoice-saas-subscription-kpi-val-009",
        "invoice-saas-subscription-kpi-sub-010"
      ],
      "parent": "invoice-saas-subscription-kpi-row-006",
      "label": "KPI: SUBSCRIPTION TIER"
    },
    "invoice-saas-subscription-kpi-lbl-008": {
      "id": "invoice-saas-subscription-kpi-lbl-008",
      "type": "Text",
      "props": {
        "content": "SUBSCRIPTION TIER"
      },
      "style": {
        "width": 108.82,
        "fontSize": 6.8,
        "fontWeight": "bold",
        "color": "#64748b"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-007",
      "label": "KPI Label"
    },
    "invoice-saas-subscription-kpi-val-009": {
      "id": "invoice-saas-subscription-kpi-val-009",
      "type": "Text",
      "props": {
        "content": "{{planTier}}"
      },
      "style": {
        "width": 108.82,
        "fontSize": 11,
        "fontWeight": "bold",
        "color": "#0f172a"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-007",
      "label": "KPI Value",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "planTier"
        }
      }
    },
    "invoice-saas-subscription-kpi-sub-010": {
      "id": "invoice-saas-subscription-kpi-sub-010",
      "type": "Text",
      "props": {
        "content": "Annual Commit"
      },
      "style": {
        "width": 108.82,
        "fontSize": 6.8,
        "color": "#64748b"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-007",
      "label": "KPI Detail"
    },
    "invoice-saas-subscription-kpi-011": {
      "id": "invoice-saas-subscription-kpi-011",
      "type": "View",
      "props": {},
      "style": {
        "width": 124.82,
        "minHeight": 46,
        "paddingTop": 6,
        "paddingBottom": 6,
        "paddingLeft": 8,
        "paddingRight": 8,
        "backgroundColor": "#f8fafc",
        "borderWidth": 1,
        "borderColor": "#e2e8f0",
        "borderTopWidth": 2.5,
        "borderTopColor": "#0284c7",
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "invoice-saas-subscription-kpi-lbl-012",
        "invoice-saas-subscription-kpi-val-013",
        "invoice-saas-subscription-kpi-sub-014"
      ],
      "parent": "invoice-saas-subscription-kpi-row-006",
      "label": "KPI: ACTIVE SEATS"
    },
    "invoice-saas-subscription-kpi-lbl-012": {
      "id": "invoice-saas-subscription-kpi-lbl-012",
      "type": "Text",
      "props": {
        "content": "ACTIVE SEATS"
      },
      "style": {
        "width": 108.82,
        "fontSize": 6.8,
        "fontWeight": "bold",
        "color": "#64748b"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-011",
      "label": "KPI Label"
    },
    "invoice-saas-subscription-kpi-val-013": {
      "id": "invoice-saas-subscription-kpi-val-013",
      "type": "Text",
      "props": {
        "content": "{{activeSeats}}"
      },
      "style": {
        "width": 108.82,
        "fontSize": 11,
        "fontWeight": "bold",
        "color": "#0f172a"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-011",
      "label": "KPI Value",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "activeSeats"
        }
      }
    },
    "invoice-saas-subscription-kpi-sub-014": {
      "id": "invoice-saas-subscription-kpi-sub-014",
      "type": "Text",
      "props": {
        "content": "+8 vs Prior Month"
      },
      "style": {
        "width": 108.82,
        "fontSize": 6.8,
        "color": "#64748b"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-011",
      "label": "KPI Detail"
    },
    "invoice-saas-subscription-kpi-015": {
      "id": "invoice-saas-subscription-kpi-015",
      "type": "View",
      "props": {},
      "style": {
        "width": 124.82,
        "minHeight": 46,
        "paddingTop": 6,
        "paddingBottom": 6,
        "paddingLeft": 8,
        "paddingRight": 8,
        "backgroundColor": "#f8fafc",
        "borderWidth": 1,
        "borderColor": "#e2e8f0",
        "borderTopWidth": 2.5,
        "borderTopColor": "#7c3aed",
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "invoice-saas-subscription-kpi-lbl-016",
        "invoice-saas-subscription-kpi-val-017",
        "invoice-saas-subscription-kpi-sub-018"
      ],
      "parent": "invoice-saas-subscription-kpi-row-006",
      "label": "KPI: METERED VOLUME"
    },
    "invoice-saas-subscription-kpi-lbl-016": {
      "id": "invoice-saas-subscription-kpi-lbl-016",
      "type": "Text",
      "props": {
        "content": "METERED VOLUME"
      },
      "style": {
        "width": 108.82,
        "fontSize": 6.8,
        "fontWeight": "bold",
        "color": "#64748b"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-015",
      "label": "KPI Label"
    },
    "invoice-saas-subscription-kpi-val-017": {
      "id": "invoice-saas-subscription-kpi-val-017",
      "type": "Text",
      "props": {
        "content": "{{meteredRenders}}"
      },
      "style": {
        "width": 108.82,
        "fontSize": 11,
        "fontWeight": "bold",
        "color": "#0f172a"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-015",
      "label": "KPI Value",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "meteredRenders"
        }
      }
    },
    "invoice-saas-subscription-kpi-sub-018": {
      "id": "invoice-saas-subscription-kpi-sub-018",
      "type": "Text",
      "props": {
        "content": "420k Overage"
      },
      "style": {
        "width": 108.82,
        "fontSize": 6.8,
        "color": "#64748b"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-015",
      "label": "KPI Detail"
    },
    "invoice-saas-subscription-kpi-019": {
      "id": "invoice-saas-subscription-kpi-019",
      "type": "View",
      "props": {},
      "style": {
        "width": 124.82,
        "minHeight": 46,
        "paddingTop": 6,
        "paddingBottom": 6,
        "paddingLeft": 8,
        "paddingRight": 8,
        "backgroundColor": "#f8fafc",
        "borderWidth": 1,
        "borderColor": "#e2e8f0",
        "borderTopWidth": 2.5,
        "borderTopColor": "#059669",
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "invoice-saas-subscription-kpi-lbl-020",
        "invoice-saas-subscription-kpi-cur-021",
        "invoice-saas-subscription-kpi-sub-022"
      ],
      "parent": "invoice-saas-subscription-kpi-row-006",
      "label": "KPI: AMOUNT PAID"
    },
    "invoice-saas-subscription-kpi-lbl-020": {
      "id": "invoice-saas-subscription-kpi-lbl-020",
      "type": "Text",
      "props": {
        "content": "AMOUNT PAID"
      },
      "style": {
        "width": 108.82,
        "fontSize": 6.8,
        "fontWeight": "bold",
        "color": "#64748b"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-019",
      "label": "KPI Label"
    },
    "invoice-saas-subscription-kpi-cur-021": {
      "id": "invoice-saas-subscription-kpi-cur-021",
      "type": "Currency",
      "props": {
        "label": "AMOUNT PAID",
        "hideLabel": true,
        "value": 4685,
        "currency": "USD"
      },
      "style": {
        "width": 108.82,
        "fontSize": 11.5,
        "fontWeight": "bold",
        "color": "#047857"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-019",
      "label": "Currency (AMOUNT PAID)",
      "bindings": {
        "value": {
          "mode": "dynamic",
          "expression": "totalChargedNum"
        }
      }
    },
    "invoice-saas-subscription-kpi-sub-022": {
      "id": "invoice-saas-subscription-kpi-sub-022",
      "type": "Text",
      "props": {
        "content": "Visa •••• 4242"
      },
      "style": {
        "width": 108.82,
        "fontSize": 6.8,
        "color": "#64748b"
      },
      "children": [],
      "parent": "invoice-saas-subscription-kpi-019",
      "label": "KPI Detail"
    },
    "invoice-saas-subscription-cal-023": {
      "id": "invoice-saas-subscription-cal-023",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "paddingTop": 6,
        "paddingBottom": 6,
        "paddingLeft": 10,
        "paddingRight": 10,
        "backgroundColor": "#f5f3ff",
        "borderWidth": 1,
        "borderColor": "#ddd6fe",
        "borderLeftWidth": 3,
        "borderLeftColor": "#4f46e5",
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "invoice-saas-subscription-cal-t-024",
        "invoice-saas-subscription-cal-b-025",
        "invoice-saas-subscription-cal-lnk-026"
      ],
      "parent": "invoice-saas-subscription-page",
      "label": "WORKSPACE ACCOUNT: {{customerOrg}}"
    },
    "invoice-saas-subscription-cal-t-024": {
      "id": "invoice-saas-subscription-cal-t-024",
      "type": "Text",
      "props": {
        "content": "WORKSPACE ACCOUNT: {{customerOrg}}"
      },
      "style": {
        "width": 503.28,
        "fontSize": 7.4,
        "fontWeight": "bold",
        "color": "#4f46e5"
      },
      "children": [],
      "parent": "invoice-saas-subscription-cal-023",
      "label": "Callout Heading",
      "bindings": {
        "content": {
          "mode": "expression",
          "expression": "WORKSPACE ACCOUNT: {{customerOrg}}"
        }
      }
    },
    "invoice-saas-subscription-cal-b-025": {
      "id": "invoice-saas-subscription-cal-b-025",
      "type": "Text",
      "props": {
        "content": "Settlement Status: {{paymentCard}}"
      },
      "style": {
        "width": 503.28,
        "fontSize": 7.8,
        "color": "#334155"
      },
      "children": [],
      "parent": "invoice-saas-subscription-cal-023",
      "label": "Callout Text",
      "bindings": {
        "content": {
          "mode": "expression",
          "expression": "Settlement Status: {{paymentCard}}"
        }
      }
    },
    "invoice-saas-subscription-cal-lnk-026": {
      "id": "invoice-saas-subscription-cal-lnk-026",
      "type": "Link",
      "props": {
        "anchorText": "Manage Seats, Usage Alerts & Tax Certificates in Billing Portal",
        "src": "https://billing.vectorflow.io/invoices/VF-SUB-2026-0912"
      },
      "style": {
        "fontSize": 7.8,
        "color": "#0284c7",
        "textDecoration": "underline"
      },
      "children": [],
      "parent": "invoice-saas-subscription-cal-023",
      "label": "Portal Link",
      "bindings": {
        "src": {
          "mode": "expression",
          "expression": "https://billing.vectorflow.io/invoices/{{invoiceNo}}"
        }
      }
    },
    "invoice-saas-subscription-tbl-027": {
      "id": "invoice-saas-subscription-tbl-027",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "flexDirection": "column"
      },
      "children": [
        "invoice-saas-subscription-tbl-sec-t-028",
        "invoice-saas-subscription-tbl-hdr-029",
        "invoice-saas-subscription-tbl-rep-035",
        "invoice-saas-subscription-tbl-sum-041"
      ],
      "parent": "invoice-saas-subscription-page",
      "label": "BASE PLAN, SEAT LICENSES & METERED API USAGE BREAKDOWN"
    },
    "invoice-saas-subscription-tbl-sec-t-028": {
      "id": "invoice-saas-subscription-tbl-sec-t-028",
      "type": "Text",
      "props": {
        "content": "BASE PLAN, SEAT LICENSES & METERED API USAGE BREAKDOWN"
      },
      "style": {
        "width": 523.28,
        "fontSize": 8.2,
        "fontWeight": "bold",
        "color": "#4f46e5",
        "marginBottom": 4
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-027",
      "label": "Ledger Heading"
    },
    "invoice-saas-subscription-tbl-hdr-029": {
      "id": "invoice-saas-subscription-tbl-hdr-029",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "minHeight": 20,
        "backgroundColor": "#312e81",
        "flexDirection": "row",
        "alignItems": "center"
      },
      "children": [
        "invoice-saas-subscription-th-030",
        "invoice-saas-subscription-th-031",
        "invoice-saas-subscription-th-032",
        "invoice-saas-subscription-th-033",
        "invoice-saas-subscription-th-034"
      ],
      "parent": "invoice-saas-subscription-tbl-027",
      "label": "Table Header"
    },
    "invoice-saas-subscription-th-030": {
      "id": "invoice-saas-subscription-th-030",
      "type": "Text",
      "props": {
        "content": "SUBSCRIPTION / USAGE METRIC"
      },
      "style": {
        "width": 215.28,
        "paddingLeft": 6,
        "paddingRight": 0,
        "fontSize": 7.2,
        "fontWeight": "bold",
        "color": "#ffffff",
        "textAlign": "left"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-hdr-029",
      "label": "Header SUBSCRIPTION / USAGE METRIC"
    },
    "invoice-saas-subscription-th-031": {
      "id": "invoice-saas-subscription-th-031",
      "type": "Text",
      "props": {
        "content": "PRICING TIER"
      },
      "style": {
        "width": 80,
        "paddingLeft": 6,
        "paddingRight": 0,
        "fontSize": 7.2,
        "fontWeight": "bold",
        "color": "#ffffff",
        "textAlign": "left"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-hdr-029",
      "label": "Header PRICING TIER"
    },
    "invoice-saas-subscription-th-032": {
      "id": "invoice-saas-subscription-th-032",
      "type": "Text",
      "props": {
        "content": "CONSUMED"
      },
      "style": {
        "width": 82,
        "paddingLeft": 0,
        "paddingRight": 0,
        "fontSize": 7.2,
        "fontWeight": "bold",
        "color": "#ffffff",
        "textAlign": "center"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-hdr-029",
      "label": "Header CONSUMED"
    },
    "invoice-saas-subscription-th-033": {
      "id": "invoice-saas-subscription-th-033",
      "type": "Text",
      "props": {
        "content": "UNIT PRICE"
      },
      "style": {
        "width": 72,
        "paddingLeft": 0,
        "paddingRight": 6,
        "fontSize": 7.2,
        "fontWeight": "bold",
        "color": "#ffffff",
        "textAlign": "right"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-hdr-029",
      "label": "Header UNIT PRICE"
    },
    "invoice-saas-subscription-th-034": {
      "id": "invoice-saas-subscription-th-034",
      "type": "Text",
      "props": {
        "content": "AMOUNT"
      },
      "style": {
        "width": 74,
        "paddingLeft": 0,
        "paddingRight": 6,
        "fontSize": 7.2,
        "fontWeight": "bold",
        "color": "#ffffff",
        "textAlign": "right"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-hdr-029",
      "label": "Header AMOUNT"
    },
    "invoice-saas-subscription-tbl-rep-035": {
      "id": "invoice-saas-subscription-tbl-rep-035",
      "type": "RepeatingView",
      "props": {
        "arrayMode": "dynamic",
        "arrayBinding": "usageLines"
      },
      "style": {
        "width": 523.28,
        "minHeight": 24,
        "flexDirection": "row",
        "alignItems": "center",
        "borderBottomWidth": 0.5,
        "borderBottomColor": "#e2e8f0",
        "backgroundColor": "#ffffff"
      },
      "children": [
        "invoice-saas-subscription-td-036",
        "invoice-saas-subscription-td-037",
        "invoice-saas-subscription-td-038",
        "invoice-saas-subscription-td-039",
        "invoice-saas-subscription-td-040"
      ],
      "parent": "invoice-saas-subscription-tbl-027",
      "label": "Rows ({{usageLines}})"
    },
    "invoice-saas-subscription-td-036": {
      "id": "invoice-saas-subscription-td-036",
      "type": "Text",
      "props": {
        "content": "{{item.item}}"
      },
      "style": {
        "width": 215.28,
        "paddingLeft": 6,
        "paddingRight": 0,
        "paddingTop": 3,
        "paddingBottom": 3,
        "fontSize": 8,
        "fontWeight": "bold",
        "color": "#0f172a",
        "textAlign": "left"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-rep-035",
      "label": "Cell SUBSCRIPTION / USAGE METRIC",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.item"
        }
      }
    },
    "invoice-saas-subscription-td-037": {
      "id": "invoice-saas-subscription-td-037",
      "type": "Text",
      "props": {
        "content": "{{item.tier}}"
      },
      "style": {
        "width": 80,
        "paddingLeft": 6,
        "paddingRight": 0,
        "paddingTop": 3,
        "paddingBottom": 3,
        "fontSize": 8,
        "fontWeight": "normal",
        "color": "#4f46e5",
        "textAlign": "left"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-rep-035",
      "label": "Cell PRICING TIER",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.tier"
        }
      }
    },
    "invoice-saas-subscription-td-038": {
      "id": "invoice-saas-subscription-td-038",
      "type": "Text",
      "props": {
        "content": "{{item.quantity}}"
      },
      "style": {
        "width": 82,
        "paddingLeft": 0,
        "paddingRight": 0,
        "paddingTop": 3,
        "paddingBottom": 3,
        "fontSize": 8,
        "fontWeight": "normal",
        "color": "#0f172a",
        "textAlign": "center"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-rep-035",
      "label": "Cell CONSUMED",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.quantity"
        }
      }
    },
    "invoice-saas-subscription-td-039": {
      "id": "invoice-saas-subscription-td-039",
      "type": "Text",
      "props": {
        "content": "{{item.unitRate}}"
      },
      "style": {
        "width": 72,
        "paddingLeft": 0,
        "paddingRight": 6,
        "paddingTop": 3,
        "paddingBottom": 3,
        "fontSize": 8,
        "fontWeight": "normal",
        "color": "#0f172a",
        "textAlign": "right"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-rep-035",
      "label": "Cell UNIT PRICE",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.unitRate"
        }
      }
    },
    "invoice-saas-subscription-td-040": {
      "id": "invoice-saas-subscription-td-040",
      "type": "Text",
      "props": {
        "content": "{{item.total}}"
      },
      "style": {
        "width": 74,
        "paddingLeft": 0,
        "paddingRight": 6,
        "paddingTop": 3,
        "paddingBottom": 3,
        "fontSize": 8,
        "fontWeight": "bold",
        "color": "#0f172a",
        "textAlign": "right"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-rep-035",
      "label": "Cell AMOUNT",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.total"
        }
      }
    },
    "invoice-saas-subscription-tbl-sum-041": {
      "id": "invoice-saas-subscription-tbl-sum-041",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "minHeight": 24,
        "backgroundColor": "#eef2ff",
        "borderWidth": 1,
        "borderColor": "#cbd5e1",
        "flexDirection": "row",
        "alignItems": "center"
      },
      "children": [
        "invoice-saas-subscription-tbl-sum-l-042",
        "invoice-saas-subscription-tbl-sum-v-043"
      ],
      "parent": "invoice-saas-subscription-tbl-027",
      "label": "Summary Row"
    },
    "invoice-saas-subscription-tbl-sum-l-042": {
      "id": "invoice-saas-subscription-tbl-sum-l-042",
      "type": "Text",
      "props": {
        "content": "TOTAL CHARGED TO CARD ON FILE (USD)"
      },
      "style": {
        "width": 383.28,
        "paddingLeft": 8,
        "fontSize": 8,
        "fontWeight": "bold",
        "color": "#0f172a"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-sum-041",
      "label": "Summary Label"
    },
    "invoice-saas-subscription-tbl-sum-v-043": {
      "id": "invoice-saas-subscription-tbl-sum-v-043",
      "type": "Currency",
      "props": {
        "label": "TOTAL CHARGED TO CARD ON FILE (USD)",
        "hideLabel": true,
        "value": 4685,
        "currency": "USD"
      },
      "style": {
        "width": 140,
        "paddingRight": 8,
        "fontSize": 9,
        "fontWeight": "bold",
        "color": "#312e81",
        "textAlign": "right"
      },
      "children": [],
      "parent": "invoice-saas-subscription-tbl-sum-041",
      "label": "Summary Total",
      "bindings": {
        "value": {
          "mode": "dynamic",
          "expression": "totalChargedNum"
        }
      }
    },
    "invoice-saas-subscription-footer-044": {
      "id": "invoice-saas-subscription-footer-044",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "marginTop": 6,
        "flexDirection": "column",
        "alignItems": "center",
        "gap": 3
      },
      "children": [
        "invoice-saas-subscription-f-rule-045",
        "invoice-saas-subscription-f-txt-046"
      ],
      "parent": "invoice-saas-subscription-page",
      "label": "Document Footer"
    },
    "invoice-saas-subscription-f-rule-045": {
      "id": "invoice-saas-subscription-f-rule-045",
      "type": "HorizontalLine",
      "props": {
        "thickness": 1,
        "color": "#e2e8f0",
        "lineStyle": "solid",
        "length": 523.28
      },
      "style": {
        "width": 523.28,
        "height": 1
      },
      "children": [],
      "parent": "invoice-saas-subscription-footer-044",
      "label": "Footer Rule"
    },
    "invoice-saas-subscription-f-txt-046": {
      "id": "invoice-saas-subscription-f-txt-046",
      "type": "Text",
      "props": {
        "content": "Automated Cloud Usage Receipt · VectorFlow Cloud Platform Inc. · CodePDF Billing"
      },
      "style": {
        "width": 523.28,
        "fontSize": 7.2,
        "color": "#94a3b8",
        "textAlign": "center"
      },
      "children": [],
      "parent": "invoice-saas-subscription-footer-044",
      "label": "Footer Text"
    }
  },
  "componentOrder": [
    "root",
    "invoice-saas-subscription-page",
    "invoice-saas-subscription-hdr-000",
    "invoice-saas-subscription-hdr-left-001",
    "invoice-saas-subscription-hdr-title-002",
    "invoice-saas-subscription-hdr-sub-003",
    "invoice-saas-subscription-hdr-meta-004",
    "invoice-saas-subscription-hdr-pill-005",
    "invoice-saas-subscription-kpi-row-006",
    "invoice-saas-subscription-kpi-007",
    "invoice-saas-subscription-kpi-lbl-008",
    "invoice-saas-subscription-kpi-val-009",
    "invoice-saas-subscription-kpi-sub-010",
    "invoice-saas-subscription-kpi-011",
    "invoice-saas-subscription-kpi-lbl-012",
    "invoice-saas-subscription-kpi-val-013",
    "invoice-saas-subscription-kpi-sub-014",
    "invoice-saas-subscription-kpi-015",
    "invoice-saas-subscription-kpi-lbl-016",
    "invoice-saas-subscription-kpi-val-017",
    "invoice-saas-subscription-kpi-sub-018",
    "invoice-saas-subscription-kpi-019",
    "invoice-saas-subscription-kpi-lbl-020",
    "invoice-saas-subscription-kpi-cur-021",
    "invoice-saas-subscription-kpi-sub-022",
    "invoice-saas-subscription-cal-023",
    "invoice-saas-subscription-cal-t-024",
    "invoice-saas-subscription-cal-b-025",
    "invoice-saas-subscription-cal-lnk-026",
    "invoice-saas-subscription-tbl-027",
    "invoice-saas-subscription-tbl-sec-t-028",
    "invoice-saas-subscription-tbl-hdr-029",
    "invoice-saas-subscription-th-030",
    "invoice-saas-subscription-th-031",
    "invoice-saas-subscription-th-032",
    "invoice-saas-subscription-th-033",
    "invoice-saas-subscription-th-034",
    "invoice-saas-subscription-tbl-rep-035",
    "invoice-saas-subscription-td-036",
    "invoice-saas-subscription-td-037",
    "invoice-saas-subscription-td-038",
    "invoice-saas-subscription-td-039",
    "invoice-saas-subscription-td-040",
    "invoice-saas-subscription-tbl-sum-041",
    "invoice-saas-subscription-tbl-sum-l-042",
    "invoice-saas-subscription-tbl-sum-v-043",
    "invoice-saas-subscription-footer-044",
    "invoice-saas-subscription-f-rule-045",
    "invoice-saas-subscription-f-txt-046"
  ],
  "dataModel": [
    {
      "id": "saasVendor",
      "name": "saasVendor",
      "type": "string",
      "label": "Saas Vendor",
      "sampleValue": "VECTORFLOW CLOUD PLATFORM INC."
    },
    {
      "id": "vendorSub",
      "name": "vendorSub",
      "type": "string",
      "label": "Vendor Sub",
      "sampleValue": "548 Market St, San Francisco, CA 94104 · VAT/GST ID: EU372049182"
    },
    {
      "id": "invoiceNo",
      "name": "invoiceNo",
      "type": "string",
      "label": "Invoice No",
      "sampleValue": "VF-SUB-2026-0912"
    },
    {
      "id": "billingCycle",
      "name": "billingCycle",
      "type": "string",
      "label": "Billing Cycle",
      "sampleValue": "01 Sep 2026 – 30 Sep 2026"
    },
    {
      "id": "customerOrg",
      "name": "customerOrg",
      "type": "string",
      "label": "Customer Org",
      "sampleValue": "Fintech Horizon Global (Workspace: prod-us-east)"
    },
    {
      "id": "paymentCard",
      "name": "paymentCard",
      "type": "string",
      "label": "Payment Card",
      "sampleValue": "Auto-Paid · Visa Corporate •••• 4242 on 12 Sep 2026"
    },
    {
      "id": "planTier",
      "name": "planTier",
      "type": "string",
      "label": "Plan Tier",
      "sampleValue": "Enterprise Scale"
    },
    {
      "id": "activeSeats",
      "name": "activeSeats",
      "type": "string",
      "label": "Active Seats",
      "sampleValue": "125 Seats"
    },
    {
      "id": "meteredRenders",
      "name": "meteredRenders",
      "type": "string",
      "label": "Metered Renders",
      "sampleValue": "1,420,000 Docs"
    },
    {
      "id": "totalChargedNum",
      "name": "totalChargedNum",
      "type": "number",
      "label": "Total Charged Num",
      "sampleValue": "4685"
    },
    {
      "id": "usageLines",
      "name": "usageLines",
      "type": "array",
      "label": "usageLines",
      "itemType": "object",
      "sampleValue": "",
      "sampleItems": [
        {
          "item": "Enterprise Scale Base Platform Subscription",
          "tier": "Included",
          "quantity": "1 Workspace",
          "unitRate": "$2,500.00",
          "total": "$2,500.00"
        },
        {
          "item": "Team Builder & Developer Seats ($12/seat)",
          "tier": "Seats 1–125",
          "quantity": "125 Seats",
          "unitRate": "$12.00",
          "total": "$1,500.00"
        },
        {
          "item": "Included Monthly WASM PDF Renders",
          "tier": "0 – 1.0M",
          "quantity": "1,000,000",
          "unitRate": "$0.00",
          "total": "$0.00"
        },
        {
          "item": "Metered Overage PDF Renders ($1.50 / 1k)",
          "tier": "> 1.0M Tier",
          "quantity": "420k Docs",
          "unitRate": "$1.50/k",
          "total": "$630.00"
        },
        {
          "item": "Dedicated Static IP & Audit Log Retention",
          "tier": "Add-On",
          "quantity": "1 Month",
          "unitRate": "$55.00",
          "total": "$55.00"
        }
      ],
      "itemKeys": [
        "item",
        "tier",
        "quantity",
        "unitRate",
        "total"
      ]
    }
  ],
  "sampleData": {
    "saasVendor": "VECTORFLOW CLOUD PLATFORM INC.",
    "vendorSub": "548 Market St, San Francisco, CA 94104 · VAT/GST ID: EU372049182",
    "invoiceNo": "VF-SUB-2026-0912",
    "billingCycle": "01 Sep 2026 – 30 Sep 2026",
    "customerOrg": "Fintech Horizon Global (Workspace: prod-us-east)",
    "paymentCard": "Auto-Paid · Visa Corporate •••• 4242 on 12 Sep 2026",
    "planTier": "Enterprise Scale",
    "activeSeats": "125 Seats",
    "meteredRenders": "1,420,000 Docs",
    "totalChargedNum": 4685,
    "usageLines": [
      {
        "item": "Enterprise Scale Base Platform Subscription",
        "tier": "Included",
        "quantity": "1 Workspace",
        "unitRate": "$2,500.00",
        "total": "$2,500.00"
      },
      {
        "item": "Team Builder & Developer Seats ($12/seat)",
        "tier": "Seats 1–125",
        "quantity": "125 Seats",
        "unitRate": "$12.00",
        "total": "$1,500.00"
      },
      {
        "item": "Included Monthly WASM PDF Renders",
        "tier": "0 – 1.0M",
        "quantity": "1,000,000",
        "unitRate": "$0.00",
        "total": "$0.00"
      },
      {
        "item": "Metered Overage PDF Renders ($1.50 / 1k)",
        "tier": "> 1.0M Tier",
        "quantity": "420k Docs",
        "unitRate": "$1.50/k",
        "total": "$630.00"
      },
      {
        "item": "Dedicated Static IP & Audit Log Retention",
        "tier": "Add-On",
        "quantity": "1 Month",
        "unitRate": "$55.00",
        "total": "$55.00"
      }
    ]
  }
}
