{
  "version": "1.0.0",
  "projectName": "Professional Invoice",
  "targetLibrary": "react-pdf-renderer",
  "createdAt": "2026-01-01T00:00:00.000Z",
  "updatedAt": "2026-01-01T00:00:00.000Z",
  "metadata": {
    "title": "Professional Invoice",
    "subject": "Line-item invoice with billing details, totals and payment terms.",
    "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": "Professional Invoice"
      },
      "style": {},
      "children": [
        "invoice-template-page"
      ],
      "parent": null
    },
    "invoice-template-page": {
      "id": "invoice-template-page",
      "type": "Page",
      "props": {
        "size": "A4",
        "orientation": "portrait",
        "wrap": true
      },
      "style": {
        "padding": 0,
        "backgroundColor": "#ffffff",
        "flexDirection": "column"
      },
      "children": [
        "invoice-header-band",
        "invoice-parties-row",
        "invoice-main-flow"
      ],
      "parent": "root"
    },
    "invoice-header-band": {
      "id": "invoice-header-band",
      "type": "View",
      "props": {},
      "style": {
        "width": 595.28,
        "minHeight": 120,
        "paddingTop": 36,
        "paddingBottom": 20,
        "paddingLeft": 45,
        "paddingRight": 45,
        "backgroundColor": "#1d4ed8",
        "flexDirection": "row",
        "justifyContent": "space-between",
        "alignItems": "flex-start"
      },
      "children": [
        "invoice-header-left",
        "invoice-header-right"
      ],
      "parent": "invoice-template-page",
      "label": "Header Band"
    },
    "invoice-header-left": {
      "id": "invoice-header-left",
      "type": "View",
      "props": {},
      "style": {
        "width": 280,
        "flexDirection": "column",
        "gap": 6
      },
      "children": [
        "invoice-title",
        "invoice-bill-from-header"
      ],
      "parent": "invoice-header-band",
      "label": "Header Left"
    },
    "invoice-header-right": {
      "id": "invoice-header-right",
      "type": "View",
      "props": {},
      "style": {
        "width": 200,
        "flexDirection": "column",
        "gap": 4
      },
      "children": [
        "invoice-number",
        "invoice-issue-date",
        "invoice-due-date"
      ],
      "parent": "invoice-header-band",
      "label": "Header Right"
    },
    "invoice-title": {
      "id": "invoice-title",
      "type": "Text",
      "props": {
        "content": "INVOICE"
      },
      "style": {
        "fontSize": 26,
        "fontWeight": "bold",
        "color": "#ffffff"
      },
      "children": [],
      "parent": "invoice-header-left",
      "label": "Invoice Title"
    },
    "invoice-bill-from-header": {
      "id": "invoice-bill-from-header",
      "type": "Text",
      "props": {
        "content": "{{billFromCompany}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "billFromCompany"
        }
      },
      "style": {
        "fontSize": 10,
        "color": "#bfdbfe"
      },
      "children": [],
      "parent": "invoice-header-left",
      "label": "Company Header ({{billFromCompany}})"
    },
    "invoice-number": {
      "id": "invoice-number",
      "type": "Text",
      "props": {
        "content": "{{invoiceNumber}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "invoiceNumber"
        }
      },
      "style": {
        "width": 200,
        "textAlign": "right",
        "fontSize": 12,
        "fontWeight": "bold",
        "color": "#ffffff"
      },
      "children": [],
      "parent": "invoice-header-right",
      "label": "Invoice Number ({{invoiceNumber}})"
    },
    "invoice-issue-date": {
      "id": "invoice-issue-date",
      "type": "Text",
      "props": {
        "content": "Issued: {{issueDate}}"
      },
      "bindings": {
        "content": {
          "mode": "expression",
          "expression": "Issued: {{issueDate}}"
        }
      },
      "style": {
        "width": 200,
        "textAlign": "right",
        "fontSize": 9,
        "color": "#bfdbfe"
      },
      "children": [],
      "parent": "invoice-header-right",
      "label": "Issue Date ({{issueDate}})"
    },
    "invoice-due-date": {
      "id": "invoice-due-date",
      "type": "Text",
      "props": {
        "content": "Due: {{dueDate}}"
      },
      "bindings": {
        "content": {
          "mode": "expression",
          "expression": "Due: {{dueDate}}"
        }
      },
      "style": {
        "width": 200,
        "textAlign": "right",
        "fontSize": 9,
        "color": "#bfdbfe"
      },
      "children": [],
      "parent": "invoice-header-right",
      "label": "Due Date ({{dueDate}})"
    },
    "invoice-parties-row": {
      "id": "invoice-parties-row",
      "type": "View",
      "props": {},
      "style": {
        "marginLeft": 45,
        "marginTop": 35,
        "width": 525,
        "minHeight": 80,
        "flexDirection": "row",
        "justifyContent": "space-between",
        "alignItems": "flex-start"
      },
      "children": [
        "invoice-bill-from-section",
        "invoice-bill-to-section"
      ],
      "parent": "invoice-template-page",
      "label": "Billing Parties Row"
    },
    "invoice-bill-from-section": {
      "id": "invoice-bill-from-section",
      "type": "View",
      "props": {},
      "style": {
        "width": 250,
        "flexDirection": "column",
        "gap": 3
      },
      "children": [
        "invoice-bill-from-label",
        "invoice-bill-from-company",
        "invoice-bill-from-address",
        "invoice-bill-from-city",
        "invoice-bill-from-email"
      ],
      "parent": "invoice-parties-row",
      "label": "Bill From Section"
    },
    "invoice-bill-from-label": {
      "id": "invoice-bill-from-label",
      "type": "Text",
      "props": {
        "content": "BILL FROM"
      },
      "style": {
        "fontSize": 8.5,
        "fontWeight": "bold",
        "color": "#6b7280"
      },
      "children": [],
      "parent": "invoice-bill-from-section",
      "label": "Bill From Label"
    },
    "invoice-bill-from-company": {
      "id": "invoice-bill-from-company",
      "type": "Text",
      "props": {
        "content": "{{billFromCompany}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "billFromCompany"
        }
      },
      "style": {
        "fontSize": 10.5,
        "fontWeight": "bold",
        "color": "#111827"
      },
      "children": [],
      "parent": "invoice-bill-from-section",
      "label": "Bill From Company ({{billFromCompany}})"
    },
    "invoice-bill-from-address": {
      "id": "invoice-bill-from-address",
      "type": "Text",
      "props": {
        "content": "{{billFromAddress}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "billFromAddress"
        }
      },
      "style": {
        "fontSize": 9,
        "color": "#374151"
      },
      "children": [],
      "parent": "invoice-bill-from-section",
      "label": "Bill From Address ({{billFromAddress}})"
    },
    "invoice-bill-from-city": {
      "id": "invoice-bill-from-city",
      "type": "Text",
      "props": {
        "content": "{{billFromCity}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "billFromCity"
        }
      },
      "style": {
        "fontSize": 9,
        "color": "#374151"
      },
      "children": [],
      "parent": "invoice-bill-from-section",
      "label": "Bill From City ({{billFromCity}})"
    },
    "invoice-bill-from-email": {
      "id": "invoice-bill-from-email",
      "type": "Text",
      "props": {
        "content": "{{billFromEmail}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "billFromEmail"
        }
      },
      "style": {
        "fontSize": 9,
        "color": "#374151"
      },
      "children": [],
      "parent": "invoice-bill-from-section",
      "label": "Bill From Email ({{billFromEmail}})"
    },
    "invoice-bill-to-section": {
      "id": "invoice-bill-to-section",
      "type": "View",
      "props": {},
      "style": {
        "width": 250,
        "flexDirection": "column",
        "gap": 3
      },
      "children": [
        "invoice-bill-to-label",
        "invoice-bill-to-name",
        "invoice-bill-to-address",
        "invoice-bill-to-city",
        "invoice-bill-to-email"
      ],
      "parent": "invoice-parties-row",
      "label": "Bill To Section"
    },
    "invoice-bill-to-label": {
      "id": "invoice-bill-to-label",
      "type": "Text",
      "props": {
        "content": "BILL TO"
      },
      "style": {
        "fontSize": 8.5,
        "fontWeight": "bold",
        "color": "#6b7280"
      },
      "children": [],
      "parent": "invoice-bill-to-section",
      "label": "Bill To Label"
    },
    "invoice-bill-to-name": {
      "id": "invoice-bill-to-name",
      "type": "Text",
      "props": {
        "content": "{{clientName}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "clientName"
        }
      },
      "style": {
        "fontSize": 10.5,
        "fontWeight": "bold",
        "color": "#111827"
      },
      "children": [],
      "parent": "invoice-bill-to-section",
      "label": "Client Name ({{clientName}})"
    },
    "invoice-bill-to-address": {
      "id": "invoice-bill-to-address",
      "type": "Text",
      "props": {
        "content": "{{clientAddress}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "clientAddress"
        }
      },
      "style": {
        "fontSize": 9,
        "color": "#374151"
      },
      "children": [],
      "parent": "invoice-bill-to-section",
      "label": "Client Address ({{clientAddress}})"
    },
    "invoice-bill-to-city": {
      "id": "invoice-bill-to-city",
      "type": "Text",
      "props": {
        "content": "{{clientCity}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "clientCity"
        }
      },
      "style": {
        "fontSize": 9,
        "color": "#374151"
      },
      "children": [],
      "parent": "invoice-bill-to-section",
      "label": "Client City ({{clientCity}})"
    },
    "invoice-bill-to-email": {
      "id": "invoice-bill-to-email",
      "type": "Text",
      "props": {
        "content": "{{clientEmail}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "clientEmail"
        }
      },
      "style": {
        "fontSize": 9,
        "color": "#374151"
      },
      "children": [],
      "parent": "invoice-bill-to-section",
      "label": "Client Email ({{clientEmail}})"
    },
    "invoice-main-flow": {
      "id": "invoice-main-flow",
      "type": "View",
      "props": {},
      "style": {
        "marginLeft": 45,
        "marginTop": 35,
        "paddingBottom": 24,
        "width": 505,
        "flexDirection": "column"
      },
      "children": [
        "invoice-table-header",
        "invoice-items-repeating",
        "invoice-summary-section",
        "invoice-footer-divider",
        "invoice-footer-section"
      ],
      "parent": "invoice-template-page",
      "label": "Main Flow"
    },
    "invoice-table-header": {
      "id": "invoice-table-header",
      "type": "View",
      "props": {},
      "style": {
        "width": 505,
        "height": 26,
        "backgroundColor": "#111827",
        "flexDirection": "row",
        "alignItems": "center"
      },
      "children": [
        "invoice-th-desc",
        "invoice-th-hours",
        "invoice-th-rate",
        "invoice-th-amount"
      ],
      "parent": "invoice-main-flow",
      "label": "Table Header"
    },
    "invoice-th-desc": {
      "id": "invoice-th-desc",
      "type": "Text",
      "props": {
        "content": "DESCRIPTION"
      },
      "style": {
        "width": 285,
        "paddingLeft": 10,
        "fontSize": 9,
        "fontWeight": "bold",
        "color": "#ffffff"
      },
      "children": [],
      "parent": "invoice-table-header",
      "label": "Header Description"
    },
    "invoice-th-hours": {
      "id": "invoice-th-hours",
      "type": "Text",
      "props": {
        "content": "HRS"
      },
      "style": {
        "width": 55,
        "textAlign": "right",
        "fontSize": 9,
        "fontWeight": "bold",
        "color": "#ffffff"
      },
      "children": [],
      "parent": "invoice-table-header",
      "label": "Header Hours"
    },
    "invoice-th-rate": {
      "id": "invoice-th-rate",
      "type": "Text",
      "props": {
        "content": "RATE"
      },
      "style": {
        "width": 65,
        "textAlign": "right",
        "fontSize": 9,
        "fontWeight": "bold",
        "color": "#ffffff"
      },
      "children": [],
      "parent": "invoice-table-header",
      "label": "Header Rate"
    },
    "invoice-th-amount": {
      "id": "invoice-th-amount",
      "type": "Text",
      "props": {
        "content": "AMOUNT"
      },
      "style": {
        "width": 100,
        "textAlign": "right",
        "paddingRight": 10,
        "fontSize": 9,
        "fontWeight": "bold",
        "color": "#ffffff"
      },
      "children": [],
      "parent": "invoice-table-header",
      "label": "Header Amount"
    },
    "invoice-items-repeating": {
      "id": "invoice-items-repeating",
      "type": "RepeatingView",
      "props": {
        "arrayMode": "dynamic",
        "arrayBinding": "lineItems"
      },
      "style": {
        "width": 505,
        "minHeight": 26,
        "flexDirection": "row",
        "alignItems": "center",
        "borderBottomWidth": 1,
        "borderBottomColor": "#f3f4f6",
        "gap": 0
      },
      "children": [
        "invoice-item-desc",
        "invoice-item-hours",
        "invoice-item-rate",
        "invoice-item-amount"
      ],
      "parent": "invoice-main-flow",
      "label": "Line Items ({{lineItems}})"
    },
    "invoice-item-desc": {
      "id": "invoice-item-desc",
      "type": "Text",
      "props": {
        "content": "{{item.description}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.description"
        }
      },
      "style": {
        "width": 285,
        "paddingLeft": 10,
        "fontSize": 9.5,
        "color": "#111827"
      },
      "children": [],
      "parent": "invoice-items-repeating",
      "label": "Item Description ({{item.description}})"
    },
    "invoice-item-hours": {
      "id": "invoice-item-hours",
      "type": "Text",
      "props": {
        "content": "{{item.hours}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.hours"
        }
      },
      "style": {
        "width": 55,
        "textAlign": "right",
        "fontSize": 9.5,
        "color": "#374151"
      },
      "children": [],
      "parent": "invoice-items-repeating",
      "label": "Item Hours ({{item.hours}})"
    },
    "invoice-item-rate": {
      "id": "invoice-item-rate",
      "type": "Text",
      "props": {
        "content": "{{item.rate}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.rate"
        }
      },
      "style": {
        "width": 65,
        "textAlign": "right",
        "fontSize": 9.5,
        "color": "#374151"
      },
      "children": [],
      "parent": "invoice-items-repeating",
      "label": "Item Rate ({{item.rate}})"
    },
    "invoice-item-amount": {
      "id": "invoice-item-amount",
      "type": "Text",
      "props": {
        "content": "{{item.amount}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.amount"
        }
      },
      "style": {
        "width": 100,
        "textAlign": "right",
        "paddingRight": 10,
        "fontSize": 9.5,
        "color": "#111827"
      },
      "children": [],
      "parent": "invoice-items-repeating",
      "label": "Item Amount ({{item.amount}})"
    },
    "invoice-summary-section": {
      "id": "invoice-summary-section",
      "type": "View",
      "props": {},
      "style": {
        "width": 505,
        "flexDirection": "column",
        "alignItems": "flex-end",
        "marginTop": 15
      },
      "children": [
        "invoice-subtotal-row",
        "invoice-tax-row",
        "invoice-total-band"
      ],
      "parent": "invoice-main-flow",
      "label": "Summary Section"
    },
    "invoice-subtotal-row": {
      "id": "invoice-subtotal-row",
      "type": "View",
      "props": {},
      "style": {
        "width": 220,
        "flexDirection": "row",
        "justifyContent": "space-between",
        "alignItems": "center",
        "marginBottom": 6
      },
      "children": [
        "invoice-subtotal-label",
        "invoice-subtotal-value"
      ],
      "parent": "invoice-summary-section",
      "label": "Subtotal Row"
    },
    "invoice-subtotal-label": {
      "id": "invoice-subtotal-label",
      "type": "Text",
      "props": {
        "content": "Subtotal"
      },
      "style": {
        "fontSize": 9.5,
        "color": "#6b7280"
      },
      "children": [],
      "parent": "invoice-subtotal-row",
      "label": "Subtotal Label"
    },
    "invoice-subtotal-value": {
      "id": "invoice-subtotal-value",
      "type": "Text",
      "props": {
        "content": "{{subtotal}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "subtotal"
        }
      },
      "style": {
        "fontSize": 9.5,
        "color": "#111827",
        "textAlign": "right",
        "width": 80
      },
      "children": [],
      "parent": "invoice-subtotal-row",
      "label": "Subtotal ({{subtotal}})"
    },
    "invoice-tax-row": {
      "id": "invoice-tax-row",
      "type": "View",
      "props": {},
      "style": {
        "width": 220,
        "flexDirection": "row",
        "justifyContent": "space-between",
        "alignItems": "center",
        "marginBottom": 10
      },
      "children": [
        "invoice-tax-label",
        "invoice-tax-value"
      ],
      "parent": "invoice-summary-section",
      "label": "Tax Row"
    },
    "invoice-tax-label": {
      "id": "invoice-tax-label",
      "type": "Text",
      "props": {
        "content": "Tax ({{taxRate}})"
      },
      "bindings": {
        "content": {
          "mode": "expression",
          "expression": "Tax ({{taxRate}})"
        }
      },
      "style": {
        "fontSize": 9.5,
        "color": "#6b7280"
      },
      "children": [],
      "parent": "invoice-tax-row",
      "label": "Tax Label ({{taxRate}})"
    },
    "invoice-tax-value": {
      "id": "invoice-tax-value",
      "type": "Text",
      "props": {
        "content": "{{taxAmount}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "taxAmount"
        }
      },
      "style": {
        "fontSize": 9.5,
        "color": "#111827",
        "textAlign": "right",
        "width": 80
      },
      "children": [],
      "parent": "invoice-tax-row",
      "label": "Tax Amount ({{taxAmount}})"
    },
    "invoice-total-band": {
      "id": "invoice-total-band",
      "type": "View",
      "props": {},
      "style": {
        "width": 220,
        "height": 32,
        "backgroundColor": "#1d4ed8",
        "flexDirection": "row",
        "justifyContent": "space-between",
        "alignItems": "center",
        "paddingHorizontal": 12
      },
      "children": [
        "invoice-total-label",
        "invoice-total-value"
      ],
      "parent": "invoice-summary-section",
      "label": "Total Band"
    },
    "invoice-total-label": {
      "id": "invoice-total-label",
      "type": "Text",
      "props": {
        "content": "TOTAL DUE"
      },
      "style": {
        "fontSize": 10.5,
        "fontWeight": "bold",
        "color": "#ffffff"
      },
      "children": [],
      "parent": "invoice-total-band",
      "label": "Total Due Label"
    },
    "invoice-total-value": {
      "id": "invoice-total-value",
      "type": "Text",
      "props": {
        "content": "{{totalDue}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "totalDue"
        }
      },
      "style": {
        "fontSize": 11,
        "fontWeight": "bold",
        "color": "#ffffff",
        "textAlign": "right"
      },
      "children": [],
      "parent": "invoice-total-band",
      "label": "Total Due ({{totalDue}})"
    },
    "invoice-footer-divider": {
      "id": "invoice-footer-divider",
      "type": "View",
      "props": {},
      "style": {
        "width": 505,
        "height": 1,
        "backgroundColor": "#e5e7eb",
        "marginTop": 26
      },
      "children": [],
      "parent": "invoice-main-flow",
      "label": "Footer Divider"
    },
    "invoice-footer-section": {
      "id": "invoice-footer-section",
      "type": "View",
      "props": {},
      "style": {
        "width": 505,
        "flexDirection": "column",
        "gap": 4,
        "marginTop": 12
      },
      "children": [
        "invoice-terms-header",
        "invoice-payment-terms",
        "invoice-bank-details",
        "invoice-thank-you"
      ],
      "parent": "invoice-main-flow",
      "label": "Footer Section"
    },
    "invoice-terms-header": {
      "id": "invoice-terms-header",
      "type": "Text",
      "props": {
        "content": "PAYMENT TERMS"
      },
      "style": {
        "fontSize": 8.5,
        "fontWeight": "bold",
        "color": "#6b7280"
      },
      "children": [],
      "parent": "invoice-footer-section",
      "label": "Payment Terms Header"
    },
    "invoice-payment-terms": {
      "id": "invoice-payment-terms",
      "type": "Text",
      "props": {
        "content": "{{paymentTerms}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "paymentTerms"
        }
      },
      "style": {
        "fontSize": 9,
        "color": "#374151"
      },
      "children": [],
      "parent": "invoice-footer-section",
      "label": "Payment Terms ({{paymentTerms}})"
    },
    "invoice-bank-details": {
      "id": "invoice-bank-details",
      "type": "Text",
      "props": {
        "content": "{{bankDetails}}"
      },
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "bankDetails"
        }
      },
      "style": {
        "fontSize": 9,
        "color": "#374151"
      },
      "children": [],
      "parent": "invoice-footer-section",
      "label": "Bank Details ({{bankDetails}})"
    },
    "invoice-thank-you": {
      "id": "invoice-thank-you",
      "type": "Text",
      "props": {
        "content": "Thank you for your business."
      },
      "style": {
        "fontSize": 9.5,
        "fontWeight": "bold",
        "color": "#1d4ed8",
        "marginTop": 12
      },
      "children": [],
      "parent": "invoice-footer-section",
      "label": "Thank You Message"
    }
  },
  "componentOrder": [
    "root",
    "invoice-template-page",
    "invoice-header-band",
    "invoice-header-left",
    "invoice-title",
    "invoice-bill-from-header",
    "invoice-header-right",
    "invoice-number",
    "invoice-issue-date",
    "invoice-due-date",
    "invoice-parties-row",
    "invoice-bill-from-section",
    "invoice-bill-from-label",
    "invoice-bill-from-company",
    "invoice-bill-from-address",
    "invoice-bill-from-city",
    "invoice-bill-from-email",
    "invoice-bill-to-section",
    "invoice-bill-to-label",
    "invoice-bill-to-name",
    "invoice-bill-to-address",
    "invoice-bill-to-city",
    "invoice-bill-to-email",
    "invoice-main-flow",
    "invoice-table-header",
    "invoice-th-desc",
    "invoice-th-hours",
    "invoice-th-rate",
    "invoice-th-amount",
    "invoice-items-repeating",
    "invoice-item-desc",
    "invoice-item-hours",
    "invoice-item-rate",
    "invoice-item-amount",
    "invoice-summary-section",
    "invoice-subtotal-row",
    "invoice-subtotal-label",
    "invoice-subtotal-value",
    "invoice-tax-row",
    "invoice-tax-label",
    "invoice-tax-value",
    "invoice-total-band",
    "invoice-total-label",
    "invoice-total-value",
    "invoice-footer-divider",
    "invoice-footer-section",
    "invoice-terms-header",
    "invoice-payment-terms",
    "invoice-bank-details",
    "invoice-thank-you"
  ],
  "dataModel": [
    {
      "id": "invoiceNumber",
      "name": "invoiceNumber",
      "type": "string",
      "label": "Invoice Number",
      "sampleValue": "INV-2026-0042"
    },
    {
      "id": "issueDate",
      "name": "issueDate",
      "type": "string",
      "label": "Issue Date",
      "sampleValue": "12 Feb 2026"
    },
    {
      "id": "dueDate",
      "name": "dueDate",
      "type": "string",
      "label": "Due Date",
      "sampleValue": "14 Mar 2026"
    },
    {
      "id": "billFromCompany",
      "name": "billFromCompany",
      "type": "string",
      "label": "Bill From Company",
      "sampleValue": "CodePDF Studio"
    },
    {
      "id": "billFromAddress",
      "name": "billFromAddress",
      "type": "string",
      "label": "Bill From Address",
      "sampleValue": "221B Market Street"
    },
    {
      "id": "billFromCity",
      "name": "billFromCity",
      "type": "string",
      "label": "Bill From City",
      "sampleValue": "San Francisco, CA 94103"
    },
    {
      "id": "billFromEmail",
      "name": "billFromEmail",
      "type": "string",
      "label": "Bill From Email",
      "sampleValue": "billing@codepdf.dev"
    },
    {
      "id": "clientName",
      "name": "clientName",
      "type": "string",
      "label": "Client Name",
      "sampleValue": "Northwind Labs Pvt Ltd"
    },
    {
      "id": "clientAddress",
      "name": "clientAddress",
      "type": "string",
      "label": "Client Address",
      "sampleValue": "4th Floor, Prestige Tech Park"
    },
    {
      "id": "clientCity",
      "name": "clientCity",
      "type": "string",
      "label": "Client City",
      "sampleValue": "Bengaluru, KA 560103"
    },
    {
      "id": "clientEmail",
      "name": "clientEmail",
      "type": "string",
      "label": "Client Email",
      "sampleValue": "accounts@northwind.example"
    },
    {
      "id": "lineItems",
      "name": "lineItems",
      "type": "array",
      "label": "Line Items",
      "itemType": "object",
      "sampleValue": "",
      "sampleItems": [
        {
          "description": "Design system audit",
          "hours": "12",
          "rate": "150.00",
          "amount": "1,800.00"
        },
        {
          "description": "Component library build",
          "hours": "40",
          "rate": "150.00",
          "amount": "6,000.00"
        },
        {
          "description": "Prototype & usability testing",
          "hours": "18",
          "rate": "150.00",
          "amount": "2,700.00"
        },
        {
          "description": "Design QA and handover",
          "hours": "6",
          "rate": "150.00",
          "amount": "900.00"
        }
      ],
      "itemKeys": [
        "description",
        "hours",
        "rate",
        "amount"
      ]
    },
    {
      "id": "subtotal",
      "name": "subtotal",
      "type": "string",
      "label": "Subtotal",
      "sampleValue": "11,400.00"
    },
    {
      "id": "taxRate",
      "name": "taxRate",
      "type": "string",
      "label": "Tax Rate",
      "sampleValue": "12.8%"
    },
    {
      "id": "taxAmount",
      "name": "taxAmount",
      "type": "string",
      "label": "Tax Amount",
      "sampleValue": "1,462.00"
    },
    {
      "id": "totalDue",
      "name": "totalDue",
      "type": "string",
      "label": "Total Due",
      "sampleValue": "USD 12,862.00"
    },
    {
      "id": "paymentTerms",
      "name": "paymentTerms",
      "type": "string",
      "label": "Payment Terms",
      "sampleValue": "Payment is due within 30 days. Late payments accrue 1.5% interest per month."
    },
    {
      "id": "bankDetails",
      "name": "bankDetails",
      "type": "string",
      "label": "Bank Details",
      "sampleValue": "Bank: First Republic  ·  Account 0123 4567 8901  ·  SWIFT FRBBUS6S"
    }
  ],
  "sampleData": {
    "invoiceNumber": "INV-2026-0042",
    "issueDate": "12 Feb 2026",
    "dueDate": "14 Mar 2026",
    "billFromCompany": "CodePDF Studio",
    "billFromAddress": "221B Market Street",
    "billFromCity": "San Francisco, CA 94103",
    "billFromEmail": "billing@codepdf.dev",
    "clientName": "Northwind Labs Pvt Ltd",
    "clientAddress": "4th Floor, Prestige Tech Park",
    "clientCity": "Bengaluru, KA 560103",
    "clientEmail": "accounts@northwind.example",
    "lineItems": [
      {
        "description": "Design system audit",
        "hours": "12",
        "rate": "150.00",
        "amount": "1,800.00"
      },
      {
        "description": "Component library build",
        "hours": "40",
        "rate": "150.00",
        "amount": "6,000.00"
      },
      {
        "description": "Prototype & usability testing",
        "hours": "18",
        "rate": "150.00",
        "amount": "2,700.00"
      },
      {
        "description": "Design QA and handover",
        "hours": "6",
        "rate": "150.00",
        "amount": "900.00"
      }
    ],
    "subtotal": "11,400.00",
    "taxRate": "12.8%",
    "taxAmount": "1,462.00",
    "totalDue": "USD 12,862.00",
    "paymentTerms": "Payment is due within 30 days. Late payments accrue 1.5% interest per month.",
    "bankDetails": "Bank: First Republic  ·  Account 0123 4567 8901  ·  SWIFT FRBBUS6S"
  }
}
