Пример

Пример основного чека

{
  "margin_left": 0,
  "margin_right": 10,

  "show_storno_position":true,
  "strikeout_storno_position":true,
  "show_storno_payment":true,
  "strikeout_storno_payment":true,

  "variables":{
    "change":"(сдача)",
    "type_sale":"Продажа",
    "type_return":"Возврат"
  },
  "header":[
    {
      "text" : "",
      "font" : "",
      "interval" : 30,
      "alignment": 1,
      "img_src":"\\Cheque\\regos.png",
      "img_width":180,
      "img_height":180
    },
    {
      "text" : "Добро пожаловать",
      "font" : "Lucida Console, 12pt, style=bold",
      "interval" : 10,
      "alignment": 1
    },
    {
      "text" : "Код:<SF><doc.code>",
      "font" : "Lucida Console, 8pt",
      "interval" : -3,
      "alignment": 1
    },
    {
      "text" : "<doc.date><SF><doc.time>",
      "font" : "Lucida Console, 8pt",
      "interval" : -3,
      "alignment": 1
    },
    {
      "text" : "Тип:<SF><doc.type>",
      "font" : "Lucida Console, 8pt",
      "interval" : -3,
      "alignment": 1
    },
    {
      "text" : "Касса:<SF>0000<doc.cash_id>",
      "font" : "Lucida Console, 8pt",
      "interval" : -3,
      "alignment": 1
    },
    {
      "text" : "Смена:<SF><doc.session>",
      "font" : "Lucida Console, 8pt",
      "interval" : -3,
      "alignment": 1
    },
    {
      "text" : "Кассир:<SF><doc.cashier_name>",
      "font" : "Lucida Console, 8pt",
      "interval" : -3,
      "alignment": 1
    },
    {
      "text" : "<DF>",
      "font" : "Lucida Console, 8pt",
      "interval" : 3,
      "alignment": 1
    }
  ],
  "positions":[
    {
      "text" : "<pos.n>. <pos.item.name>[<pos.item.unit>]",
      "font" : "Lucida Console, 6pt",
      "interval" : 2,
      "alignment": 0
    },
    {
      "text" : "<pos.quantity> x <pos.price> = <pos.amount>",
      "font" : "Lucida Console, 7pt",
      "interval" : -5,
      "alignment": 2
    },
    {
      "text" : "в т.ч. НДС <pos.vat_amount> ",
      "font" : "Lucida Console, 7pt",
      "interval" : -5,
      "alignment": 2
    }
  ],
  "position_totals":[
    {
      "text" : "<DF>",
      "font" : "Lucida Console, 8pt",
      "interval" : 3,
      "alignment": 1
    },
    {
      "text" : "Всего:<SF><pos.total.price2>",
      "font" : "Lucida Console, 8pt",
      "interval" : 2,
      "alignment": 0
    },
    {
      "text" : "Скидки:<SF><pos.total.discount>",
      "font" : "Lucida Console, 8pt",
      "interval" : 2,
      "alignment": 0
    },
    {
      "text" : "К оплате:<SF><pos.total.price>",
      "font" : "Lucida Console, 10pt, style=bold",
      "interval" : 2,
      "alignment": 0
    },
    {
      "text" : "<DF>",
      "font" : "Lucida Console, 8pt",
      "interval" : 3,
      "alignment": 1
    }
  ],
  "payments":[
    {
      "text" : "<payment.type_name><SF><payment.value>",
      "font" : "Lucida Console, 8pt",
      "interval" : 2,
      "alignment": 0
    }
  ],
  "payment_totals":[
    {
      "text" : "<DF>",
      "font" : "Lucida Console, 8pt",
      "interval" : 3,
      "alignment": 1
    },
    {
      "text" : "Оплачено:<SF><payment.total.payed_value>",
      "font" : "Lucida Console, 8pt, style=bold",
      "interval" : 2,
      "alignment": 0
    },
    {
      "text" : "Сдача:<SF><payment.total.change_value>",
      "font" : "Lucida Console, 8pt, style=bold",
      "interval" : 2,
      "alignment": 0
    },
    {
      "text" : "<DF>",
      "font" : "Lucida Console, 8pt",
      "interval" : 3,
      "alignment": 1
    }
  ],
  "footer":[
    {
      "font" : "Lucida Console, 8pt",
      "text" : "<doc.code>",
      "barcode_height":50,
      "barcode_module":2,
      "barcode_show_text":false,
      "barcode_type":1,
      "interval" : 30,
      "alignment": 1
    },
    {
      "text" : "Спасибо за покупку",
      "font" : "Lucida Console, 10pt, style=bold",
      "interval" : 3,
      "alignment": 1
    }
  ]
}