Units API

See the Weblate's Web API documentation for detailed description of the API.

GET /api/units/1221020/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "http://weblate.ucs.ru/api/translations/shelter2/shelter_reports/en/?format=api",
    "source": "#13#10Описание настроек печатной формы:#13#10#13#10«Текст подписи» — подтягивается из внешнего файла INVOICE_CASH_RUS.RTF/INVOICE_CASH_ENG.RTF в зависимости от выбранного языка. В подписи выводится должность текущего пользователя (должна быть внесена в справочник). #13#10#13#10Отображать НДС — появляется строка \"В т.ч. НДС:\" и расчётом суммы НДС.#13#10Текстовое поле (напротив \"Отображать НДС\") — позволяет изменить стандартный текст \"В т.ч. НДС:\" на любой другой, введённый вручную. При этом сумма НДС счета должна быть равна нулю.#13#10Расчёт НДС по факту — для каждой услуги берётся свой НДС, затем все эти НДС суммируются.#13#10Расчёт НДС от итоговой суммы — отчёт сгруппирует услуги по процентной ставке и принципу включения, и уже от этой группы посчитает налог, а затем сложит все получившиеся суммы.#13#10Расчёт НДС вручную (с выбором процентной ставки и включен/не включен в стоимость) — Работает только для авансов, целевых и без цели.#13#10#13#10Если выставлена опция \"Отображать НДС\" - то показывается сумма НДС, но если НДС не указан(то есть =0 - например не выставлены налоги в Справочнике услуг)  то вместо суммы НДС в счете отображается содержимое этого текстового поля(если в текстовое поле введены данные).#13#10“Коды услуг (вводятся через пробел)” — для услуг, коды которых введены в соответствующее поле, дата оказания меняется на дату проживания, количество услуг равно количеству суток проживания.#13#10#13#10Пример:#13#10Период проживания 01.01-04.01#13#10На фолио начислены услуги:#13#10* Проживание (дата оказания 01.01 — 01.01)#13#10* Проживание (дата оказания 02.01 — 02.01)#13#10* Проживание (дата оказания 03.01 — 03.01)#13#10#13#10Формируем отчёт без галочки «коды услуг»:#13#10* Проживание (дата оказания 01.01 — 01.01)#13#10* Проживание (дата оказания 02.01 — 02.01)#13#10* Проживание (дата оказания 03.01 — 03.01)#13#10При использовании группировки:#13#10* Проживание (дата оказания 01.01 — 03.01)#13#10#13#10Формируем отчёт с галочкой, в поле «коды услуг» указываем значение 100:#13#10* Проживание (дата оказания 01.01 — 02.01)#13#10* Проживание (дата оказания 02.01 — 03.01)#13#10* Проживание (дата оказания 03.01 — 04.01)#13#10При использовании группировки:#13#10* Проживание (дата оказания 01.01 — 04.01)#13#10#13#10«Группировать» — группировка оплаченных услуг по коду.#13#10#13#10«Использовать подстановку» — подстановка наименования услуг. Для того чтобы подстановка работала, необходимо в настройках услуги заполнить соответствующее поле. #13#10#13#10«Отображать юридическое лицо» — отображение в шапке отчёта данных организации-собственника.#13#10#13#10«Отображать тип номера» — отображение кода типа номера.#13#10#13#10«Отображать организацию» — заказчик, плательщик, агент, турагент.#13#10#13#10«Отображать единицу измерения» — подтягивает данные из справочника услуг.#13#10#13#10Счет выводится в валюте платежа. Соответственно стоимость услуг пересчитывается в эту валюту. Для отображения суммы прописью на выбранном языке необходимо наличие внешней функции MoneyToTextEx, которая в качестве параметра принимает код валюты платежа чека.#13#10#13#10Если в системных настройках включена настройка «Использовать ФФД», то «Тип оплаты» в шапке отчета будет скрыт и перенесён в дополнительные итоги по суммам.#13#10При печати счета по зачету аванса у типа оплаты появится пометка «Предварительная оплата».#13#10Если в чеке использовали аванса + полный расчёт, то в Счёте увидим отдельные подитоги по суммам:#13#10по суммам аванса (с разбиением нал/карты)#13#10по сумме оплачено.#13#10#13#10При включённой  системной настройке «Использовать данные комитента» в форме отчета появится возможность использовать группировку по комитенту.",
    "previous_source": "",
    "target": "#13#10Description of settings for the printing form: #13#10#13#10 “Signature text” - is pulled from the external file INVOICE_CASH_RUS.RTF/INVOICE_CASH_ENG.RTF depending on the selected language. The signature displays the position of the current user (should be entered in the handbook). #13#10#13#10Display VAT - the line \"Including VAT:\" appears and calculating the amount of VAT. #13#10Text field (opposite to \"Display VAT\") - allows you to change the standard text \"Including VAT:\" appears to any other manually entered. In this case, the amount of the VAT account must be zero. #13#10 In-fact VAT calculation - for each service its own VAT is taken, then all these VATs are summed up. #13#10VAT calculation of the total amount - the report will group the services according to the interest rate and the principle of inclusion, and he will calculate the tax from this group and then add up all the resulting amounts. #13#10Calculate VAT manually (with the choice of interest rate and included / not included in the price) - Works only for advances, targeted and without purpose. #13#10#13#10If the option \"Display VAT\" is set, then the amount of VAT is displayed, but if VAT is not specified (i.e.  for example, 0 = taxes were not set in the Service Directory) then instead of the VAT amount, the contents of this text field are displayed in the invoice (if data is entered in the text field). #13#10 “Service codes (entered with a space)” - for services, the codes of which are entered in the appropriate field, the delivery date changes to the date of residence, the number of services is equal to the number of nights of stay. #13#10#13#10 Example: #13#10 Period of accommodation 01.01-04.01 #13#10 The folio accrued services: #13#10 * Accommodation (date of provision 01.01 - 01.01) #13#10 * Accommodation (date of provision 02.01 - 02.01) #13#10 * Accommodation (date of provision 03.01 - 03.01) #13#10#13#10We create a report without a checked box “service codes”: #13#10 * Accommodation (date of provision 01.01 - 01.01) #13#10 * Accommodation (date of provision 02.01 - 01.01) #13#10 * Accommodation (date of provision 03.01 - 01.01) #13#10When using the grouping: #13#10 * Accommodation (date of provision 01.01 - 03.01) #13#10#13#10We create a report with a checked box in the “service codes” field, specify the value 100: #13#10 * Accommodation (provision date 01.01 - 01.01) #13#10 * Accommodation (date 01.01 - 01.01) #13#10 * Accommodation (date 01.01 - 01.01) #13#10When using the grouping: #13#10 * Accommodation (provision date 01.01 - 01.01) #13#10#13#10 “Group” - grouping of paid services by code. #13#10#13#10 “Use substitution” - substitution of the name of the service. In order for the substitution to work, it is necessary to fill in the corresponding field in the service settings. #13#10#13#10“Display the legal entity” - display in the header of the report the data of the organization-owner. #13#10#13#10“Display the room type” - display the code of the room type. #13#10#13#10 “Display organization” - customer, payer, agent, travel agent. #13#10#13#10 “Display unit” - loads data from the service handbook. #13#10#13#10The bill is displayed in the payment currency. The cost of services is converted into this currency, accordingly. To display the amount in words in the selected language, you must have the external MoneyToTextEx function, which takes the check currency code as a parameter. #13#10#13#10If the “Use FFD” setting is enabled in the system settings, the “Payment type” in the report header will be hidden and transferred to additional totals by amounts. #13#10When printing an invoice by taking into account the prepayment, the type of payment will show “Prepayment.” #13#10If a prepayment + full payment was used in the receipt, then we will see separate amounts for the amounts in the invoice: #13#10 by prepayment amount (with breakdown on cash/card) #13#10by the amount of paid. #13#10#13#10If the system setting \"Use the data of the principal\" is enabled, there will be an ability to use group by to the principal in the report.",
    "id_hash": -5260523006850595395,
    "content_hash": -3748633989303777042,
    "location": "",
    "context": "russian.xlf///reports_invoice_cach.fr3_data_mmcabout_text",
    "comment": "",
    "flags": "",
    "fuzzy": false,
    "translated": true,
    "position": 2700,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 439,
    "priority": 100,
    "id": 1221020,
    "web_url": "http://weblate.ucs.ru/translate/shelter2/shelter_reports/en/?checksum=36fede325be685bd",
    "url": "http://weblate.ucs.ru/api/units/1221020/?format=api",
    "source_info": "http://weblate.ucs.ru/api/sources/160826/?format=api"
}