{
  "format": "invoya.invoice-template",
  "formatVersion": "1.3",
  "id": "gallery.forest",
  "name": {
    "en": "Forest",
    "de": "Wald",
    "ru": "Лес",
    "uk": "Ліс"
  },
  "author": "Invoya Gallery",
  "page": {
    "size": "a4",
    "margins": {
      "top": 76,
      "left": 74,
      "bottom": 72,
      "footer": 32
    }
  },
  "style": {
    "bodySize": 9,
    "font": "serif",
    "accent": "#2d5a3d",
    "accentText": "#f3f1e7",
    "logoHeight": 42
  },
  "letterhead": [
    "business"
  ],
  "blocks": [
    {
      "id": "business",
      "type": "business",
      "align": "left",
      "logo": "right"
    },
    {
      "type": "spacer",
      "height": 24
    },
    {
      "id": "title",
      "type": "title",
      "align": "left",
      "filled": true
    },
    {
      "type": "spacer",
      "height": 8
    },
    {
      "id": "meta",
      "type": "invoiceMeta",
      "align": "left",
      "fields": [
        "number",
        "invoiceDate",
        "dueDate"
      ]
    },
    {
      "type": "spacer",
      "height": 14
    },
    {
      "id": "client",
      "type": "client",
      "caption": "billTo"
    },
    {
      "type": "spacer",
      "height": 18
    },
    {
      "id": "items",
      "type": "items",
      "columns": [
        "index",
        "description",
        "qty",
        "rate",
        "amount"
      ],
      "borders": true
    },
    {
      "type": "spacer",
      "height": 12
    },
    {
      "id": "totals",
      "type": "totals",
      "align": "right",
      "lines": [
        "subtotal",
        "discount",
        "taxes",
        "total"
      ]
    },
    {
      "id": "terms",
      "type": "terms"
    },
    {
      "id": "payment",
      "type": "payment",
      "qr": "auto"
    },
    {
      "id": "footer",
      "type": "footer",
      "left": "pageXofN",
      "center": "footerText"
    }
  ]
}
