{"text_format":"3","workbook":"xls","n_sheets":2,"sheets":["Лист1","settings"],"read":"whole","date_system":"1900","formulas":"cached_only"}

{"sheet":"Лист1","index":0,"n_rows":32,"n_cols":45,"rows_kept":32,"merged":[[0,0,0,51],[1,0,1,51],[3,0,3,14],[3,15,3,29],[5,0,5,29],[5,36,5,51],[6,36,6,51],[7,0,7,29],[7,36,7,51],[9,0,9,51],[11,0,11,51],[13,0,13,51],[15,0,15,1],[15,2,15,23],[15,24,15,29],[15,30,15,35],[15,36,15,43],[15,44,15,51],[16,0,16,1],[16,2,16,23],[16,24,16,29],[16,30,16,35],[16,36,16,43],[16,44,16,51],[17,44,17,51],[18,44,18,51],[19,44,19,51],[21,0,21,51],[23,0,23,51],[27,17,27,29],[27,30,27,51],[31,17,31,29],[31,30,31,51]],"flags":["formulas_cached_only"]}
["{{ profile.get_company_name|safe }}@@FIX_HEIGHT@@"]
["{{ profile.address|safe }}{% if profile.phone %} , тел. {{ profile.get_full_phone }}{% endif %}@@FIX_HEIGHT@@"]
[]
["ИНН {{ profile.inn }}",{"$nulls":14},"КПП {{ profile.kpp }}"]
["Получатель"]
["{{ profile.get_company_name|safe }}@@FIX_HEIGHT@@",{"$nulls":29},"Сч. №",{"$nulls":5},"{{ obj.bank_account.account }}"]
["Банк получателя",{"$nulls":29},"БИК",{"$nulls":5},"{{ obj.bank_account.bik }}"]
["{{ obj.bank_account.name|safe }}@@FIX_HEIGHT@@",{"$nulls":29},"Сч. №",{"$nulls":5},"{{ obj.bank_account.korr_account }}"]
[]
["{{ obj.doc_text|safe }}@@FIX_HEIGHT@@"]
[]
["СЧЕТ № {{ obj.doc_num }} от {{ obj.doc_date|date:\"d.m.Y\" }}"]
[]
["Покупатель: {{ obj.client.name|safe }}, ИНН {{ obj.client.get_inn_and_kpp }}, {{ obj.client.address|safe }}{% if obj.client.contact_phone %} , тел. {{ obj.client.contact_phone }}{% endif %}@@FIX_HEIGHT@@"]
[]
["№",null,"Наименование, товара, работ, услуг",{"$nulls":21},"Ед. изм.",{"$nulls":5},"Кол-во",{"$nulls":5},"Цена",{"$nulls":7},"Сумма"]
["{{ item_npp }}",null,"{{ item.name|safe }}@@FIX_HEIGHT@@",{"$nulls":21},"{{ item.units|safe }}",{"$nulls":5},"{{ item.qty }}@@AS_FLOAT@@",{"$nulls":5},"{{ item.price }}@@AS_FLOAT@@",{"$nulls":7},"{{ item.total_price }}@@AS_FLOAT@@"]
[{"$nulls":43},"Итого:","{{ obj.sum_total_price|floatformat:2 }}@@AS_FLOAT@@"]
[{"$nulls":43},"{{ obj.nds_itogo_text|safe }}:","{% if obj.nds_type == 1 %}---{% else %}{{ obj.sum_total_nds|floatformat:2 }}{% endif %}@@AS_FLOAT@@"]
[{"$nulls":43},"Всего к оплате:","{{ obj.sum_full_total_price|floatformat:2 }}@@AS_FLOAT@@"]
[]
["Всего наименований {{ obj_items|length }}, на сумму {{ obj.sum_full_total_price|floatformat:2 }} руб."]
[]
["{% load my_tags pytils_numeral %}{{ obj.sum_full_total_price|to_float|rubles|capfirst }}. {{ obj.doc_text|safe }}@@FIX_HEIGHT@@"]
[]
[{"$nulls":17},"{% if obj.add_sign_and_stamp and profile.boss_sign %}{{ profile.boss_sign.path }}@@SHOW_BMP@@{% endif %}"]
[]
["{{ profile.get_boss_title }}",{"$nulls":29},"({{ profile.get_boss_fio }})@@FIX_HEIGHT@@"]
[]
[{"$nulls":17},"{% if obj.add_sign_and_stamp %}\n  {% if profile.glavbuh_sign %}\n    {{ profile.glavbuh_sign.path }}@@SHOW_BMP@@\n  {% else %}\n    {% if profile.is_org and profile.boss_sign %}\n      {{ profile.boss_sign.path }}@@SHOW_BMP@@\n    {% endif %}\n  {% endif %}\n{% endif %}\n"]
[]
["{% if profile.is_ip and profile.get_glavbuh_fio or profile.is_org %}Главный бухгалтер{% endif %}",{"$nulls":16},"{% if profile.is_ip and profile.get_glavbuh_fio or profile.is_org %}\n  @@DRAW_THIN_BOTTOM_BORDER@@\n{% endif %}",{"$nulls":12},"{% if profile.is_ip and profile.get_glavbuh_fio or profile.is_org %}\n  ({{ profile.get_glavbuh_fio|default:profile.get_boss_fio }})@@FIX_HEIGHT@@\n{% endif %}"]

{"sheet":"settings","index":1,"n_rows":30,"n_cols":4,"rows_kept":30,"flags":["formulas_cached_only"]}
["# все координаты отсчитываются от нуля"]
["# все размеры в миллиметрах"]
[]
["# шапка таблицы. Обязательно для документов с табличной частью"]
["TBL_HEADER_FROM",15]
["TBL_HEADER_TO",15]
[]
["TBL_BODY_ROW",16,null,"# обязательно для документов с табличной частью"]
[]
["# подитог (итого по странице). Не обязательно для документов с табличной частью"]
["#TBL_PAGE_FOOTER_FROM"]
["#TBL_PAGE_FOOTER_TO"]
[]
["# итого по таблице. Обязательно для документов с табличной частью"]
["TBL_FOOTER_FROM",17]
["TBL_FOOTER_TO",19]
[]
["PAGE_HEIGHT",297]
[]
["PAGE_PORTRAIT",1,null,"# 0 - альбомная ориентация, 1 - книжная ориентация"]
[]
["PAGE_TOP_MARGIN",15]
["PAGE_BOTTOM_MARGIN",15]
["PAGE_LEFT_MARGIN",15]
["PAGE_RIGHT_MARGIN",15]
["PAGE_HEADER_MARGIN",0]
["PAGE_FOOTER_MARGIN",0]
[]
["PAGE_HEADER_STR"]
["PAGE_FOOTER_STR"]