{
  "format": "invoya.invoice-template",
  "formatVersion": "1.3",
  "id": "gallery.sunrise",
  "name": {
    "en": "Sunrise",
    "de": "Morgenrot",
    "ru": "Рассвет",
    "uk": "Світанок"
  },
  "author": "Invoya Gallery",
  "page": {
    "size": "a4",
    "margins": {
      "top": 60,
      "left": 64,
      "bottom": 64,
      "footer": 28
    }
  },
  "style": {
    "bodySize": 8.5,
    "font": "rounded",
    "accent": "#d9482f",
    "accentText": "#ffffff"
  },
  "letterhead": [
    "business"
  ],
  "blocks": [
    {
      "id": "business",
      "type": "business",
      "align": "left",
      "logo": "above"
    },
    {
      "type": "spacer",
      "height": 18
    },
    {
      "id": "title",
      "type": "title",
      "align": "right",
      "filled": true
    },
    {
      "type": "spacer",
      "height": 10
    },
    {
      "id": "meta",
      "type": "invoiceMeta",
      "align": "right",
      "fields": [
        "number",
        "invoiceDate",
        "dueDate"
      ]
    },
    {
      "type": "spacer",
      "height": 10
    },
    {
      "id": "client",
      "type": "client",
      "caption": "billTo"
    },
    {
      "type": "spacer",
      "height": 20
    },
    {
      "id": "items",
      "type": "items",
      "columns": [
        "description",
        "unit",
        "qty",
        "rate",
        "amount"
      ],
      "borders": false
    },
    {
      "type": "spacer",
      "height": 14
    },
    {
      "id": "totals",
      "type": "totals",
      "align": "right",
      "lines": [
        "subtotal",
        "discount",
        "taxes",
        "total"
      ]
    },
    {
      "id": "payment",
      "type": "payment",
      "qr": "auto"
    },
    {
      "id": "terms",
      "type": "terms"
    },
    {
      "id": "footer",
      "type": "footer",
      "left": "pageXofN",
      "center": "footerText"
    }
  ]
}
