{
  "schemaVersion": "2.0",
  "metadata": {
    "title": "Brightwork Joinery — quote",
    "author": "Madoo examples",
    "subject": "Quote",
    "keywords": ""
  },
  "masterPages": [
    {
      "id": "f1200000-0000-4000-8000-000000000001",
      "name": "Letterhead",
      "width": 595,
      "height": 842,
      "pageFormat": "A4",
      "backgroundColor": "#ffffff",
      "automaticRule": "all",
      "elements": [
        {
          "$type": "rectangle",
          "id": "f1200000-0000-4000-8000-000000000002",
          "name": "Top band",
          "left": 0,
          "top": 0,
          "width": 595,
          "height": 6,
          "fill": "#12355b"
        },
        {
          "$type": "image",
          "id": "f1200000-0000-4000-8000-000000000003",
          "name": "Logo",
          "left": 48,
          "top": 30,
          "width": 34,
          "height": 34,
          "src": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+PHJlY3Qgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiByeD0iMTIiIGZpbGw9IiMxMjM1NWIiLz48cGF0aCBkPSJNMTYgNDQgTDMyIDE2IEw0OCA0NCBaIiBmaWxsPSJub25lIiBzdHJva2U9IiNkOThlMDQiIHN0cm9rZS13aWR0aD0iNSIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjxyZWN0IHg9IjI2IiB5PSIzNCIgd2lkdGg9IjEyIiBoZWlnaHQ9IjEwIiBmaWxsPSIjZmZmZmZmIi8+PC9zdmc+",
          "fitMode": "fit"
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000004",
          "name": "Company",
          "left": 92,
          "top": 31,
          "width": 260,
          "height": 18,
          "text": "Brightwork Joinery",
          "fontFamily": "Playfair Display",
          "fontSize": 16,
          "fill": "#12355b",
          "lineHeight": 1.3,
          "fontWeight": "bold"
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000005",
          "name": "Company line",
          "left": 92,
          "top": 51,
          "width": 300,
          "height": 12,
          "text": "Kitchens · Fitted furniture · Cork",
          "fontFamily": "Montserrat",
          "fontSize": 7.5,
          "fill": "#62707d",
          "lineHeight": 1.3,
          "fontWeight": "bold",
          "charSpacing": 120
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000006",
          "name": "Company contacts",
          "left": 347,
          "top": 32,
          "width": 200,
          "height": 32,
          "text": "Unit 4, Marina Commercial Park, Cork\nquotes@brightwork.example · +353 21 000 0000",
          "fontFamily": "Inter",
          "fontSize": 7.5,
          "fill": "#62707d",
          "lineHeight": 1.45,
          "textAlign": "right"
        },
        {
          "$type": "line",
          "id": "f1200000-0000-4000-8000-000000000007",
          "name": "Footer rule",
          "left": 48,
          "top": 802,
          "width": 499,
          "height": 0,
          "x1": 0,
          "y1": 0,
          "x2": 499,
          "y2": 0,
          "stroke": "#dde3ea",
          "strokeWidth": 0.75
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000008",
          "name": "Footer company",
          "left": 48,
          "top": 810,
          "width": 360,
          "height": 10,
          "text": "Brightwork Joinery Ltd · VAT IE 0000000X · Registered in Ireland no. 000000",
          "fontFamily": "Inter",
          "fontSize": 6.5,
          "fill": "#62707d",
          "lineHeight": 1.3
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000009",
          "name": "Page number",
          "left": 427,
          "top": 809,
          "width": 120,
          "height": 12,
          "text": "Page {{page}} of {{pages}}",
          "fontFamily": "Inter",
          "fontSize": 7.5,
          "fill": "#1f2933",
          "lineHeight": 1.3,
          "textAlign": "right"
        }
      ]
    }
  ],
  "pages": [
    {
      "id": "f1200000-0000-4000-8000-000000000021",
      "name": "Quote",
      "width": 595,
      "height": 842,
      "pageFormat": "A4",
      "backgroundColor": "#ffffff",
      "masterAssignment": "automatic",
      "elements": [
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000022",
          "name": "Title",
          "left": 48,
          "top": 96,
          "width": 250,
          "height": 34,
          "text": "Quote",
          "fontFamily": "Playfair Display",
          "fontSize": 28,
          "fill": "#1f2933",
          "lineHeight": 1.3,
          "fontWeight": "bold"
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000024",
          "name": "Quote number",
          "left": 327,
          "top": 98,
          "width": 220,
          "height": 14,
          "text": "Q-0000",
          "fontFamily": "Montserrat",
          "fontSize": 10,
          "fill": "#12355b",
          "lineHeight": 1.3,
          "fontWeight": "bold",
          "textAlign": "right",
          "charSpacing": 60,
          "placeholder": {
            "id": "f1200000-0000-4000-8000-000000000023",
            "name": "Quote number",
            "code": "quote_number",
            "placeholderType": "text",
            "required": true
          }
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000026",
          "name": "Issued",
          "left": 327,
          "top": 114,
          "width": 220,
          "height": 12,
          "text": "Issued",
          "fontFamily": "Inter",
          "fontSize": 8.5,
          "fill": "#62707d",
          "lineHeight": 1.3,
          "textAlign": "right",
          "placeholder": {
            "id": "f1200000-0000-4000-8000-000000000025",
            "name": "Issue date",
            "code": "issue_date",
            "placeholderType": "text",
            "required": true,
            "description": "e.g. 2 October 2026"
          }
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000028",
          "name": "Valid",
          "left": 327,
          "top": 127,
          "width": 220,
          "height": 12,
          "text": "Valid until",
          "fontFamily": "Inter",
          "fontSize": 8.5,
          "fill": "#62707d",
          "lineHeight": 1.3,
          "textAlign": "right",
          "placeholder": {
            "id": "f1200000-0000-4000-8000-000000000027",
            "name": "Valid until",
            "code": "valid_until",
            "placeholderType": "text",
            "required": true,
            "description": "e.g. Valid until 1 November 2026"
          }
        },
        {
          "$type": "rectangle",
          "id": "f1200000-0000-4000-8000-000000000029",
          "name": "Client panel",
          "left": 48,
          "top": 146,
          "width": 250,
          "height": 62,
          "fill": "#f3f6f9",
          "rx": 6,
          "ry": 6
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000030",
          "name": "Client label",
          "left": 60,
          "top": 154,
          "width": 200,
          "height": 10,
          "text": "PREPARED FOR",
          "fontFamily": "Montserrat",
          "fontSize": 6.5,
          "fill": "#62707d",
          "lineHeight": 1.3,
          "fontWeight": "bold",
          "charSpacing": 160
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000032",
          "name": "Client name",
          "left": 60,
          "top": 166,
          "width": 226,
          "height": 14,
          "text": "Client",
          "fontFamily": "Inter",
          "fontSize": 10.5,
          "fill": "#1f2933",
          "lineHeight": 1.3,
          "fontWeight": "bold",
          "placeholder": {
            "id": "f1200000-0000-4000-8000-000000000031",
            "name": "Client name",
            "code": "client_name",
            "placeholderType": "text",
            "required": true
          }
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000034",
          "name": "Client address",
          "left": 60,
          "top": 181,
          "width": 226,
          "height": 24,
          "text": "Address",
          "fontFamily": "Inter",
          "fontSize": 8.5,
          "fill": "#62707d",
          "lineHeight": 1.35,
          "placeholder": {
            "id": "f1200000-0000-4000-8000-000000000033",
            "name": "Client address",
            "code": "client_address",
            "placeholderType": "text",
            "required": true,
            "description": "Two lines at most, separated by a line break."
          }
        },
        {
          "$type": "layout_region",
          "id": "f1200000-0000-4000-8000-000000000035",
          "name": "Body",
          "left": 48,
          "top": 226,
          "width": 499,
          "height": 560,
          "layout": {
            "mode": "vertical",
            "sizing": "hug",
            "childSizing": "content",
            "rowGap": 10
          },
          "children": [
            {
              "$type": "text",
              "id": "f1200000-0000-4000-8000-000000000037",
              "name": "Project",
              "left": 0,
              "top": 0,
              "width": 499,
              "height": 18,
              "text": "Project",
              "fontFamily": "Playfair Display",
              "fontSize": 15,
              "fill": "#1f2933",
              "lineHeight": 1.3,
              "fontWeight": "bold",
              "placeholder": {
                "id": "f1200000-0000-4000-8000-000000000036",
                "name": "Project",
                "code": "project",
                "placeholderType": "text",
                "required": true
              },
              "grow": {
                "maxLines": 2,
                "beyond": "shrink",
                "height": "content"
              }
            },
            {
              "$type": "text",
              "id": "f1200000-0000-4000-8000-000000000039",
              "name": "Introduction",
              "left": 0,
              "top": 24,
              "width": 499,
              "height": 30,
              "text": "Introduction",
              "fontFamily": "Inter",
              "fontSize": 9.5,
              "fill": "#1f2933",
              "lineHeight": 1.5,
              "placeholder": {
                "id": "f1200000-0000-4000-8000-000000000038",
                "name": "Introduction",
                "code": "introduction",
                "placeholderType": "text",
                "required": true,
                "description": "Written for the client from the site-visit notes; at most 420 characters."
              },
              "grow": {
                "maxLines": 5,
                "beyond": "fail",
                "height": "content"
              }
            },
            {
              "$type": "layout_region",
              "id": "f1200000-0000-4000-8000-000000000040",
              "name": "Table",
              "left": 0,
              "top": 70,
              "width": 499,
              "height": 360,
              "layout": {
                "mode": "vertical",
                "sizing": "hug",
                "childSizing": "content",
                "rowGap": 0
              },
              "children": [
                {
                  "$type": "layout_region",
                  "id": "f1200000-0000-4000-8000-000000000041",
                  "name": "Table header",
                  "left": 0,
                  "top": 70,
                  "width": 499,
                  "height": 22,
                  "layout": {
                    "mode": "absolute",
                    "sizing": "fixed"
                  },
                  "children": [
                    {
                      "$type": "rectangle",
                      "id": "f1200000-0000-4000-8000-000000000042",
                      "name": "Header band",
                      "left": 0,
                      "top": 0,
                      "width": 499,
                      "height": 22,
                      "fill": "#12355b",
                      "rx": 3,
                      "ry": 3
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000043",
                      "name": "H description",
                      "left": 8,
                      "top": 6,
                      "width": 200,
                      "height": 10,
                      "text": "DESCRIPTION",
                      "fontFamily": "Montserrat",
                      "fontSize": 6.5,
                      "fill": "#ffffff",
                      "lineHeight": 1.3,
                      "fontWeight": "bold",
                      "charSpacing": 140
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000044",
                      "name": "H qty",
                      "left": 262,
                      "top": 6,
                      "width": 38,
                      "height": 10,
                      "text": "QTY",
                      "fontFamily": "Montserrat",
                      "fontSize": 6.5,
                      "fill": "#ffffff",
                      "lineHeight": 1.3,
                      "fontWeight": "bold",
                      "charSpacing": 140,
                      "textAlign": "right"
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000045",
                      "name": "H unit",
                      "left": 306,
                      "top": 6,
                      "width": 44,
                      "height": 10,
                      "text": "UNIT",
                      "fontFamily": "Montserrat",
                      "fontSize": 6.5,
                      "fill": "#ffffff",
                      "lineHeight": 1.3,
                      "fontWeight": "bold",
                      "charSpacing": 140
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000046",
                      "name": "H price",
                      "left": 356,
                      "top": 6,
                      "width": 64,
                      "height": 10,
                      "text": "UNIT PRICE",
                      "fontFamily": "Montserrat",
                      "fontSize": 6.5,
                      "fill": "#ffffff",
                      "lineHeight": 1.3,
                      "fontWeight": "bold",
                      "charSpacing": 140,
                      "textAlign": "right"
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000047",
                      "name": "H amount",
                      "left": 426,
                      "top": 6,
                      "width": 65,
                      "height": 10,
                      "text": "AMOUNT",
                      "fontFamily": "Montserrat",
                      "fontSize": 6.5,
                      "fill": "#ffffff",
                      "lineHeight": 1.3,
                      "fontWeight": "bold",
                      "charSpacing": 140,
                      "textAlign": "right"
                    }
                  ]
                },
                {
                  "$type": "repeat_region",
                  "id": "f1200000-0000-4000-8000-000000000048",
                  "name": "Line items",
                  "left": 0,
                  "top": 96,
                  "width": 499,
                  "height": 330,
                  "sourceCode": "items",
                  "maxItems": 14,
                  "overflowPolicy": "fail",
                  "layout": {
                    "mode": "vertical",
                    "rowGap": 0
                  },
                  "placeholder": {
                    "id": "f1200000-0000-4000-8000-000000000049",
                    "name": "Line items",
                    "code": "items",
                    "placeholderType": "json",
                    "required": true,
                    "description": "One object per line: { description, quantity, unit, unit_price, amount }."
                  },
                  "children": [
                    {
                      "$type": "line",
                      "id": "f1200000-0000-4000-8000-000000000010",
                      "name": "Row rule",
                      "left": 0,
                      "top": 0,
                      "width": 499,
                      "height": 0,
                      "x1": 0,
                      "y1": 0,
                      "x2": 499,
                      "y2": 0,
                      "stroke": "#dde3ea",
                      "strokeWidth": 0.5
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000012",
                      "name": "Description",
                      "left": 0,
                      "top": 7,
                      "width": 250,
                      "height": 14,
                      "text": "Description",
                      "fontFamily": "Inter",
                      "fontSize": 9,
                      "fill": "#1f2933",
                      "lineHeight": 1.35,
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000011",
                        "name": "Description",
                        "code": "line_description",
                        "placeholderType": "text",
                        "required": true,
                        "bindingPath": "item.description"
                      },
                      "grow": {
                        "maxLines": 3,
                        "beyond": "fail",
                        "height": "at_least_drawn"
                      }
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000014",
                      "name": "Quantity",
                      "left": 262,
                      "top": 7,
                      "width": 38,
                      "height": 14,
                      "text": "1",
                      "fontFamily": "Inter",
                      "fontSize": 9,
                      "fill": "#1f2933",
                      "lineHeight": 1.3,
                      "textAlign": "right",
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000013",
                        "name": "Quantity",
                        "code": "line_quantity",
                        "placeholderType": "number",
                        "required": true,
                        "bindingPath": "item.quantity",
                        "format": {
                          "locale": "en-IE",
                          "numberStyle": "decimal",
                          "minimumFractionDigits": 0,
                          "maximumFractionDigits": 2,
                          "useGrouping": true
                        }
                      }
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000016",
                      "name": "Unit",
                      "left": 306,
                      "top": 7,
                      "width": 44,
                      "height": 14,
                      "text": "item",
                      "fontFamily": "Inter",
                      "fontSize": 8,
                      "fill": "#62707d",
                      "lineHeight": 1.3,
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000015",
                        "name": "Unit",
                        "code": "line_unit",
                        "placeholderType": "text",
                        "required": true,
                        "bindingPath": "item.unit"
                      }
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000018",
                      "name": "Unit price",
                      "left": 356,
                      "top": 7,
                      "width": 64,
                      "height": 14,
                      "text": "0",
                      "fontFamily": "Inter",
                      "fontSize": 9,
                      "fill": "#1f2933",
                      "lineHeight": 1.3,
                      "textAlign": "right",
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000017",
                        "name": "Unit price",
                        "code": "line_unit_price",
                        "placeholderType": "number",
                        "required": true,
                        "bindingPath": "item.unit_price",
                        "format": {
                          "locale": "en-IE",
                          "numberStyle": "currency",
                          "currency": "EUR",
                          "currencyDisplay": "symbol",
                          "minimumFractionDigits": 2,
                          "maximumFractionDigits": 2
                        }
                      }
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000020",
                      "name": "Amount",
                      "left": 426,
                      "top": 7,
                      "width": 73,
                      "height": 14,
                      "text": "0",
                      "fontFamily": "Inter",
                      "fontSize": 9,
                      "fill": "#1f2933",
                      "lineHeight": 1.3,
                      "fontWeight": "bold",
                      "textAlign": "right",
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000019",
                        "name": "Amount",
                        "code": "line_amount",
                        "placeholderType": "number",
                        "required": true,
                        "bindingPath": "item.amount",
                        "format": {
                          "locale": "en-IE",
                          "numberStyle": "currency",
                          "currency": "EUR",
                          "currencyDisplay": "symbol",
                          "minimumFractionDigits": 2,
                          "maximumFractionDigits": 2
                        }
                      }
                    }
                  ]
                }
              ]
            },
            {
              "$type": "layout_region",
              "id": "f1200000-0000-4000-8000-000000000050",
              "name": "Totals",
              "left": 0,
              "top": 440,
              "width": 499,
              "height": 110,
              "layout": {
                "mode": "vertical",
                "sizing": "hug",
                "childSizing": "content",
                "rowGap": 3
              },
              "children": [
                {
                  "$type": "line",
                  "id": "f1200000-0000-4000-8000-000000000051",
                  "name": "Totals rule",
                  "left": 0,
                  "top": 0,
                  "width": 499,
                  "height": 0,
                  "x1": 0,
                  "y1": 0,
                  "x2": 499,
                  "y2": 0,
                  "stroke": "#1f2933",
                  "strokeWidth": 0.75
                },
                {
                  "$type": "layout_region",
                  "id": "f1200000-0000-4000-8000-000000000052",
                  "name": "Subtotal",
                  "left": 0,
                  "top": 0,
                  "width": 499,
                  "height": 16,
                  "layout": {
                    "mode": "horizontal",
                    "sizing": "fixed",
                    "childSizing": "content",
                    "columnGap": 10,
                    "mainAxisAlignment": "end",
                    "crossAxisAlignment": "center"
                  },
                  "children": [
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000053",
                      "name": "Subtotal label",
                      "left": 0,
                      "top": 0,
                      "width": 170,
                      "height": 14,
                      "text": "Subtotal",
                      "fontFamily": "Inter",
                      "fontSize": 9,
                      "fill": "#62707d",
                      "lineHeight": 1.3,
                      "textAlign": "right"
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000055",
                      "name": "Subtotal value",
                      "left": 180,
                      "top": 0,
                      "width": 110,
                      "height": 14,
                      "text": "0",
                      "fontFamily": "Inter",
                      "fontSize": 9.5,
                      "fill": "#1f2933",
                      "lineHeight": 1.3,
                      "textAlign": "right",
                      "fontWeight": "normal",
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000054",
                        "name": "Subtotal",
                        "code": "subtotal",
                        "placeholderType": "number",
                        "required": true,
                        "format": {
                          "locale": "en-IE",
                          "numberStyle": "currency",
                          "currency": "EUR",
                          "currencyDisplay": "symbol",
                          "minimumFractionDigits": 2,
                          "maximumFractionDigits": 2
                        }
                      }
                    }
                  ]
                },
                {
                  "$type": "layout_region",
                  "id": "f1200000-0000-4000-8000-000000000056",
                  "name": "Discount",
                  "left": 0,
                  "top": 0,
                  "width": 499,
                  "height": 16,
                  "layout": {
                    "mode": "horizontal",
                    "sizing": "fixed",
                    "childSizing": "content",
                    "columnGap": 10,
                    "mainAxisAlignment": "end",
                    "crossAxisAlignment": "center"
                  },
                  "condition": {
                    "operator": "less_than",
                    "placeholderCode": "discount",
                    "literal": "0"
                  },
                  "children": [
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000057",
                      "name": "Discount label",
                      "left": 0,
                      "top": 0,
                      "width": 170,
                      "height": 14,
                      "text": "Discount",
                      "fontFamily": "Inter",
                      "fontSize": 9,
                      "fill": "#62707d",
                      "lineHeight": 1.3,
                      "textAlign": "right"
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000059",
                      "name": "Discount value",
                      "left": 180,
                      "top": 0,
                      "width": 110,
                      "height": 14,
                      "text": "0",
                      "fontFamily": "Inter",
                      "fontSize": 9.5,
                      "fill": "#1f2933",
                      "lineHeight": 1.3,
                      "textAlign": "right",
                      "fontWeight": "normal",
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000058",
                        "name": "Discount",
                        "code": "discount",
                        "placeholderType": "number",
                        "required": false,
                        "format": {
                          "locale": "en-IE",
                          "numberStyle": "currency",
                          "currency": "EUR",
                          "currencyDisplay": "symbol",
                          "minimumFractionDigits": 2,
                          "maximumFractionDigits": 2,
                          "signDisplay": "always"
                        }
                      }
                    }
                  ]
                },
                {
                  "$type": "layout_region",
                  "id": "f1200000-0000-4000-8000-000000000062",
                  "name": "VAT",
                  "left": 0,
                  "top": 0,
                  "width": 499,
                  "height": 16,
                  "layout": {
                    "mode": "horizontal",
                    "sizing": "fixed",
                    "childSizing": "content",
                    "columnGap": 10,
                    "mainAxisAlignment": "end",
                    "crossAxisAlignment": "center"
                  },
                  "children": [
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000061",
                      "name": "VAT label",
                      "left": 0,
                      "top": 0,
                      "width": 170,
                      "height": 14,
                      "text": "VAT",
                      "fontFamily": "Inter",
                      "fontSize": 9,
                      "fill": "#62707d",
                      "lineHeight": 1.3,
                      "textAlign": "right",
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000060",
                        "name": "VAT rate",
                        "code": "vat_rate",
                        "placeholderType": "number",
                        "required": true,
                        "format": {
                          "locale": "en-IE",
                          "numberStyle": "percent",
                          "maximumFractionDigits": 1,
                          "prefix": "VAT "
                        },
                        "description": "The rate as a fraction: 0.135 prints VAT 13.5%."
                      }
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000064",
                      "name": "VAT value",
                      "left": 180,
                      "top": 0,
                      "width": 110,
                      "height": 14,
                      "text": "0",
                      "fontFamily": "Inter",
                      "fontSize": 9.5,
                      "fill": "#1f2933",
                      "lineHeight": 1.3,
                      "textAlign": "right",
                      "fontWeight": "normal",
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000063",
                        "name": "VAT",
                        "code": "vat",
                        "placeholderType": "number",
                        "required": true,
                        "format": {
                          "locale": "en-IE",
                          "numberStyle": "currency",
                          "currency": "EUR",
                          "currencyDisplay": "symbol",
                          "minimumFractionDigits": 2,
                          "maximumFractionDigits": 2
                        }
                      }
                    }
                  ]
                },
                {
                  "$type": "layout_region",
                  "id": "f1200000-0000-4000-8000-000000000065",
                  "name": "Total",
                  "left": 0,
                  "top": 0,
                  "width": 499,
                  "height": 20,
                  "layout": {
                    "mode": "horizontal",
                    "sizing": "fixed",
                    "childSizing": "content",
                    "columnGap": 10,
                    "mainAxisAlignment": "end",
                    "crossAxisAlignment": "center"
                  },
                  "children": [
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000066",
                      "name": "Total label",
                      "left": 0,
                      "top": 0,
                      "width": 170,
                      "height": 14,
                      "text": "Total",
                      "fontFamily": "Inter",
                      "fontSize": 11,
                      "fill": "#12355b",
                      "lineHeight": 1.3,
                      "textAlign": "right",
                      "fontWeight": "bold"
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000068",
                      "name": "Total value",
                      "left": 180,
                      "top": 0,
                      "width": 110,
                      "height": 14,
                      "text": "0",
                      "fontFamily": "Inter",
                      "fontSize": 13,
                      "fill": "#12355b",
                      "lineHeight": 1.3,
                      "textAlign": "right",
                      "fontWeight": "bold",
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000067",
                        "name": "Total",
                        "code": "total",
                        "placeholderType": "number",
                        "required": true,
                        "format": {
                          "locale": "en-IE",
                          "numberStyle": "currency",
                          "currency": "EUR",
                          "currencyDisplay": "symbol",
                          "minimumFractionDigits": 2,
                          "maximumFractionDigits": 2
                        }
                      }
                    }
                  ]
                },
                {
                  "$type": "layout_region",
                  "id": "f1200000-0000-4000-8000-000000000069",
                  "name": "Deposit",
                  "left": 0,
                  "top": 0,
                  "width": 499,
                  "height": 16,
                  "layout": {
                    "mode": "horizontal",
                    "sizing": "fixed",
                    "childSizing": "content",
                    "columnGap": 10,
                    "mainAxisAlignment": "end",
                    "crossAxisAlignment": "center"
                  },
                  "condition": {
                    "operator": "greater_than",
                    "placeholderCode": "deposit",
                    "literal": "0"
                  },
                  "children": [
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000070",
                      "name": "Deposit label",
                      "left": 0,
                      "top": 0,
                      "width": 170,
                      "height": 14,
                      "text": "Deposit on acceptance",
                      "fontFamily": "Inter",
                      "fontSize": 9,
                      "fill": "#62707d",
                      "lineHeight": 1.3,
                      "textAlign": "right"
                    },
                    {
                      "$type": "text",
                      "id": "f1200000-0000-4000-8000-000000000072",
                      "name": "Deposit value",
                      "left": 180,
                      "top": 0,
                      "width": 110,
                      "height": 14,
                      "text": "0",
                      "fontFamily": "Inter",
                      "fontSize": 9.5,
                      "fill": "#1f2933",
                      "lineHeight": 1.3,
                      "textAlign": "right",
                      "fontWeight": "normal",
                      "placeholder": {
                        "id": "f1200000-0000-4000-8000-000000000071",
                        "name": "Deposit on acceptance",
                        "code": "deposit",
                        "placeholderType": "number",
                        "required": false,
                        "format": {
                          "locale": "en-IE",
                          "numberStyle": "currency",
                          "currency": "EUR",
                          "currencyDisplay": "symbol",
                          "minimumFractionDigits": 2,
                          "maximumFractionDigits": 2
                        }
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "f1200000-0000-4000-8000-000000000073",
      "name": "Terms",
      "width": 595,
      "height": 842,
      "pageFormat": "A4",
      "backgroundColor": "#ffffff",
      "masterAssignment": "automatic",
      "elements": [
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000074",
          "name": "Terms title",
          "left": 48,
          "top": 96,
          "width": 499,
          "height": 30,
          "text": "Terms and acceptance",
          "fontFamily": "Playfair Display",
          "fontSize": 22,
          "fill": "#1f2933",
          "lineHeight": 1.3,
          "fontWeight": "bold"
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000075",
          "name": "Terms",
          "left": 48,
          "top": 140,
          "width": 499,
          "height": 250,
          "fontFamily": "Inter",
          "fontSize": 9,
          "fill": "#1f2933",
          "lineHeight": 1.55,
          "text": "Prices include delivery and fitting; they do not include plumbing, electrical or building work unless listed.\nThe quote is based on the site visit and the measurements taken on that day.\nWorks start within six weeks of the deposit and the final measurements.\nThe balance is due on completion; our workmanship is guaranteed for five years.\nMaterials and appliances carry their manufacturers' warranties.",
          "richText": {
            "schema": "madoo.rich-text/v1",
            "paragraphs": [
              {
                "list": {
                  "kind": "bullet",
                  "level": 0
                },
                "runs": [
                  {
                    "text": "Prices include delivery and fitting; they do not include plumbing, electrical or building work unless listed."
                  }
                ]
              },
              {
                "list": {
                  "kind": "bullet",
                  "level": 0
                },
                "runs": [
                  {
                    "text": "The quote is based on the site visit and the measurements taken on that day."
                  }
                ]
              },
              {
                "list": {
                  "kind": "bullet",
                  "level": 0
                },
                "runs": [
                  {
                    "text": "Works start within six weeks of the deposit and the final measurements."
                  }
                ]
              },
              {
                "list": {
                  "kind": "bullet",
                  "level": 0
                },
                "runs": [
                  {
                    "text": "The balance is due on completion; our workmanship is guaranteed for five years."
                  }
                ]
              },
              {
                "list": {
                  "kind": "bullet",
                  "level": 0
                },
                "runs": [
                  {
                    "text": "Materials and appliances carry their manufacturers' warranties."
                  }
                ]
              }
            ]
          }
        },
        {
          "$type": "rectangle",
          "id": "f1200000-0000-4000-8000-000000000076",
          "name": "Accept panel",
          "left": 48,
          "top": 410,
          "width": 499,
          "height": 92,
          "fill": "#f3f6f9",
          "rx": 8,
          "ry": 8
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000077",
          "name": "Accept title",
          "left": 66,
          "top": 426,
          "width": 463,
          "height": 18,
          "text": "Accept this quote online",
          "fontFamily": "Inter",
          "fontSize": 12,
          "fill": "#12355b",
          "lineHeight": 1.3,
          "fontWeight": "bold",
          "link": {
            "href": "https://brightwork.example/quotes/{quote_number}",
            "description": "Open the quote to accept it online"
          }
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000078",
          "name": "Accept text",
          "left": 66,
          "top": 448,
          "width": 463,
          "height": 40,
          "text": "Open the link with your quote number to accept it, choose a start date and pay the deposit. Or sign below and send us this page.",
          "fontFamily": "Inter",
          "fontSize": 9,
          "fill": "#1f2933",
          "lineHeight": 1.45
        },
        {
          "$type": "line",
          "id": "f1200000-0000-4000-8000-000000000079",
          "name": "Signature line",
          "left": 48,
          "top": 600,
          "width": 220,
          "height": 0,
          "x1": 0,
          "y1": 0,
          "x2": 220,
          "y2": 0,
          "stroke": "#1f2933",
          "strokeWidth": 0.75
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000080",
          "name": "Signature label",
          "left": 48,
          "top": 606,
          "width": 220,
          "height": 12,
          "text": "Signature and date",
          "fontFamily": "Inter",
          "fontSize": 8,
          "fill": "#62707d",
          "lineHeight": 1.3
        },
        {
          "$type": "line",
          "id": "f1200000-0000-4000-8000-000000000081",
          "name": "Name line",
          "left": 327,
          "top": 600,
          "width": 220,
          "height": 0,
          "x1": 0,
          "y1": 0,
          "x2": 220,
          "y2": 0,
          "stroke": "#1f2933",
          "strokeWidth": 0.75
        },
        {
          "$type": "text",
          "id": "f1200000-0000-4000-8000-000000000082",
          "name": "Name label",
          "left": 327,
          "top": 606,
          "width": 220,
          "height": 12,
          "text": "Name in capitals",
          "fontFamily": "Inter",
          "fontSize": 8,
          "fill": "#62707d",
          "lineHeight": 1.3
        }
      ]
    }
  ],
  "sampleSets": [
    {
      "id": "f1200000-0000-4000-8000-000000000901",
      "name": "Kitchen renovation",
      "values": {
        "quote_number": "Q-2026-0417",
        "issue_date": "Issued 2 October 2026",
        "valid_until": "Valid until 1 November 2026",
        "client_name": "Aoife and Ciarán Murphy",
        "client_address": "14 Summerhill North\nCork T23 X0Y1",
        "project": "Kitchen renovation, Summerhill North",
        "items": [
          {
            "description": "Shaker kitchen units in painted ash: 9 base and 6 wall units, soft-close hinges and drawers",
            "quantity": 1,
            "unit": "set",
            "unit_price": 11850,
            "amount": 11850
          },
          {
            "description": "Quartz worktop, 30 mm, with undermount sink cut-out and upstand",
            "quantity": 6.4,
            "unit": "m",
            "unit_price": 420,
            "amount": 2688
          },
          {
            "description": "Island with breakfast bar and oak top",
            "quantity": 1,
            "unit": "item",
            "unit_price": 3950,
            "amount": 3950
          },
          {
            "description": "Removal and disposal of the existing kitchen",
            "quantity": 1,
            "unit": "job",
            "unit_price": 650,
            "amount": 650
          },
          {
            "description": "Fitting and finishing",
            "quantity": 5,
            "unit": "day",
            "unit_price": 480,
            "amount": 2400
          },
          {
            "description": "Integrated appliances supplied by the client: fitting only",
            "quantity": 4,
            "unit": "item",
            "unit_price": 85,
            "amount": 340
          }
        ],
        "subtotal": 21878,
        "discount": -1000,
        "vat_rate": 0.135,
        "vat": 2818.53,
        "total": 23696.53,
        "deposit": 7000,
        "introduction": "Thank you for showing us your kitchen last Tuesday. As agreed, we will replace the units along the two walls, add an island with a breakfast bar and keep the window free; the work takes about five days on site, and you keep the use of your water and power throughout."
      }
    },
    {
      "id": "f1200000-0000-4000-8000-000000000902",
      "name": "Short job, no discount, no deposit",
      "values": {
        "quote_number": "Q-2026-0421",
        "issue_date": "Issued 2 October 2026",
        "valid_until": "Valid until 1 November 2026",
        "client_name": "Brendan Walsh",
        "client_address": "3 Ashgrove Lawn\nDouglas, Cork",
        "project": "Utility room shelving",
        "items": [
          {
            "description": "Oak shelving, three shelves on concealed brackets",
            "quantity": 3,
            "unit": "m",
            "unit_price": 190,
            "amount": 570
          },
          {
            "description": "Fitting",
            "quantity": 0.5,
            "unit": "day",
            "unit_price": 480,
            "amount": 240
          }
        ],
        "subtotal": 810,
        "discount": 0,
        "vat_rate": 0.135,
        "vat": 109.35,
        "total": 919.35,
        "deposit": 0,
        "introduction": "Following our visit on Tuesday, here is the quote for the shelving of your utility room."
      }
    }
  ]
}
