{
  "openapi": "3.0.4",
  "info": {
    "title": "ISFiscalCloudWEB API",
    "description": "ISFiscalCloudWEB – служба, предназначенная для регистрации фискальных чеков и отчетов, пробитых онлайн-магазином, в облаке ISFiscalCloud с незамедлительной отправкой в государственную систему мониторинга продаж MEV. \r\n1. Онлайн-магазин разработки третьей стороны, интегрированное в ISFiscalCloud, функционирует на внешнем хостинге, оформляя продажи товаров и услуг онлайн-покупателям и передавая информацию об этом в веб-сервис службы ISFiscalCloudWeb. Каждом чеку и отчету при сохранении присваивается уникальный порядковый номер и QR-код, после чего он печатается на POS-принтере и копируется в облако ISFiscalCloud. \r\n2. Фискальные чеки, служебные чеки и отчеты из ИС ISFiscalCloud автоматически передаются в MEV. \r\n3. Фискальные отчеты создаются автоматически по расписанию или по необходимости. \r\n",
    "contact": {
      "name": "IntelectSoft SRL",
      "url": "https://intelectsoft.md/ro/modul-fiscal/"
    },
    "version": "v1"
  },
  "paths": {
    "/ISFiscalCloudWEB/RegisterFiscalReceipt": {
      "post": {
        "tags": [
          "ISFiscalCloudServiceWeb"
        ],
        "summary": "* Регистрация фискального чека в облаке ISFiscalCloud\n* Înregistrarea bonului fiscal în ISFiscalCloud",
        "requestBody": {
          "description": "* Контейнер с данными о транзакции\n * Container cu date despre tranzacție",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterFiscalReceiptWebRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterFiscalReceiptWebRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterFiscalReceiptWebRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTransactionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTransactionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTransactionResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Basic": [ ]
          }
        ]
      }
    },
    "/ISFiscalCloudWEB/RegisterFiscalReport": {
      "post": {
        "tags": [
          "ISFiscalCloudServiceWeb"
        ],
        "summary": "* Регистрация фискального отчета в облаке ISFiscalCloud\n* Înregistrarea raportului fiscal în ISFiscalCloud",
        "requestBody": {
          "description": "* Контейнер с данными о транзакции\n * Container cu date despre tranzacție",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterReportWebRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterReportWebRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterReportWebRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTransactionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTransactionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTransactionResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Basic": [ ]
          }
        ]
      }
    },
    "/ISFiscalCloudWEB/RegisterServiceReceipt": {
      "post": {
        "tags": [
          "ISFiscalCloudServiceWeb"
        ],
        "summary": "* Регистрация сервисного чека в облаке ISFiscalCloud\n* Înregistrarea bonului de serviciu în ISFiscalCloud",
        "requestBody": {
          "description": "* Контейнер с данными о транзакции\n * Container cu date despre tranzacție",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterServiceReceiptWebRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterServiceReceiptWebRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterServiceReceiptWebRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTransactionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTransactionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTransactionResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Basic": [ ]
          }
        ]
      }
    },
    "/ISFiscalCloudWEB/GetVATRates": {
      "get": {
        "tags": [
          "ISFiscalCloudServiceWeb"
        ],
        "summary": "* Cotele TVA ale casei: litera și procentul (sau «fără TVA») cu care casa înregistrează bonurile\n* Ставки НДС кассы: буква и процент (или «без НДС»), с которыми касса регистрирует чеки",
        "description": "* Folosit de sistemele externe (ex. QRSmartPay) ca utilizatorul să aleagă litera văzând procentul.\n  Întoarce cotele curente ale casei (CurrentVATRates); dacă nu sunt încă, cele configurate\n  (casă → companie → globale). Nu modifică nimic.\n* Для внешних систем (напр. QRSmartPay): пользователь выбирает букву, видя процент.\n  Текущие ставки кассы (CurrentVATRates), иначе настроенные (касса → компания → глобальные). Ничего не меняет.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VatRatesRootObject"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VatRatesRootObject"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VatRatesRootObject"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Basic": [ ]
          }
        ]
      }
    },
    "/ISFiscalCloudWEB/GetLastTransaction": {
      "get": {
        "tags": [
          "ISFiscalCloudServiceWeb"
        ],
        "summary": "* Получение информации о последней транзакции, зарегистрированной фискальным устройством\n* Obținerea de informații despre ultima tranzacție înregistrată de dispozitivul fiscal",
        "parameters": [
          {
            "name": "printTemplate",
            "in": "query",
            "description": "Formatul șablonului de imprimare al documentului înregistrat\n* Формат шаблона печати регистрируемого документа",
            "schema": {
              "$ref": "#/components/schemas/EFiscalTemplate"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Basic": [ ]
          }
        ]
      }
    },
    "/ISFiscalCloudWEB/GetPrintTemplate": {
      "get": {
        "tags": [
          "ISFiscalCloudServiceWeb"
        ],
        "summary": "* Получение печатной формы транзакции, зарегистрированной фискальным устройством\n* Obținerea unui formular pentru tipărire al unei tranzacții înregistrate de un dispozitiv fiscal",
        "parameters": [
          {
            "name": "fcid",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "printTemplate",
            "in": "query",
            "description": "Formatul șablonului de imprimare al documentului înregistrat\n* Формат шаблона печати регистрируемого документа",
            "schema": {
              "$ref": "#/components/schemas/EFiscalTemplate"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetPrintTemplateResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPrintTemplateResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPrintTemplateResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaseResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Basic": [ ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "BaseResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "$ref": "#/components/schemas/EErrorCode"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BillLine": {
        "required": [
          "name",
          "price",
          "quantity",
          "vat"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string",
            "description": "Наименование товара/услуги"
          },
          "code": {
            "type": "string",
            "description": "Код товара/услуги во внешней системе",
            "nullable": true
          },
          "vat": {
            "minLength": 1,
            "type": "string",
            "description": "Код ставки НДС (A-Z для плательщиков НДС, _ - для неплательщиков) (Codul cotei de taxă pe valoare adăugată(A-Z pentru plătitorii TVA și _ pentru neplătirorii ai TVA) per serviciu)"
          },
          "price": {
            "type": "number",
            "description": "Цена продажи с НДС",
            "format": "double"
          },
          "quantity": {
            "type": "number",
            "description": "Количество",
            "format": "double"
          },
          "discount": {
            "type": "number",
            "description": "Сумма скидки",
            "format": "double"
          },
          "discountPercent": {
            "type": "number",
            "format": "double"
          },
          "margin": {
            "type": "number",
            "description": "Сумма наценки",
            "format": "double"
          },
          "marginPercent": {
            "type": "number",
            "format": "double"
          },
          "extendedData": {
            "type": "string",
            "description": "Произвольные данные по строке (например, XML/JSON), до 256 символов. Не печатаются, сохраняются вместе с чеком\n(Date suplimentare pe rând, de exemplu XML/JSON, max 256 caractere. Nu se tipăresc, se păstrează împreună cu bonul)",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Строка чека"
      },
      "BillPayment": {
        "required": [
          "amount",
          "code"
        ],
        "type": "object",
        "properties": {
          "code": {
            "minLength": 1,
            "type": "string",
            "description": "Код оплаты (согласно MEV)"
          },
          "amount": {
            "type": "number",
            "description": "Сумма оплаты",
            "format": "double"
          },
          "rrn": {
            "type": "string",
            "description": "RRN банковской транзакции в случае оплаты картой",
            "nullable": true
          },
          "bankResponse": {
            "type": "string",
            "description": "Ответ банка для печати в случае оплаты картой",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Оплата"
      },
      "Client": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "fiscalNumber": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Discount": {
        "type": "object",
        "properties": {
          "percent": {
            "type": "number",
            "description": "Reducere %",
            "format": "double"
          },
          "amount": {
            "type": "number",
            "description": "Suma reducerii",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "EErrorCode": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          61,
          62,
          63,
          64,
          65,
          71,
          72,
          73,
          74,
          75
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul><li><i>1</i> - Неизвестная внутренняя ошибка сервиса</li><li><i>2</i> - База данных сервиса недоступна</li><li><i>3</i> - База данных сервиса повреждена</li><li><i>4</i> - Цифровая подпись недействительна</li><li><i>5</i> - Cервис не настроен или неверно настроен</li><li><i>6</i> - Регистрация устройства аннулирована</li><li><i>7</i> - Часы настроены неверно</li><li><i>8</i> - Ошибка синхронизации транзакций с MEV</li><li><i>9</i> - Необходима печать дневного отчета с закрытием</li><li><i>10</i> - Выполняется печать дневного отчета с закрытием</li><li><i>11</i> - Ошибка подключения к облаку ISFiscalCloud (только для конфигурации с запретом работы offline)</li><li><i>12</i> - Превышено время ожидания ответа от облака ISFiscalCloud (только для конфигурации с запретом работы offline)</li><li><i>13</i> - Диапазон серийных номеров для квитанций об оплате не задан</li><li><i>14</i> - Услуга СМС не настроена</li><li><i>15</i> - Услуга EMail не настроена</li><li><i>20</i> - Чек не содержит товаров</li><li><i>21</i> - чек не содержит оплат</li><li><i>22</i> - неверное или пустое наименование товара</li><li><i>23</i> - неверное количество</li><li><i>24</i> - неверная сумма</li><li><i>25</i> - неверная цена</li><li><i>26</i> - неизвестная или недопустимая единица измерения</li><li><i>27</i> - неизвестная ставка НДС</li><li><i>28</i> - неизвестный код оплаты</li><li><i>29</i> - неизвестное подразделение</li><li><i>30</i> - Не указан номер телефона</li><li><i>31</i> - Не указан адрес email</li><li><i>32</i> - Не указан адрес email</li><li><i>33</i> - неизвестный номер тарифа</li><li><i>34</i> - ExtendedData строки длиннее 256 символов</li><li><i>40</i> - для выполнения операции недостаточно наличных в денежном ящике</li><li><i>41</i> - сумма оплат меньше суммы товаров в чеке</li><li><i>42</i> - сдача не может быть рассчитана</li><li><i>43</i> - Транзакция не найдена</li><li><i>44</i> - Транзакция завершена</li><li><i>45</i> - Недопустимая команда</li><li><i>46</i> - Транзакция с указанным Uid уже зарегистрирована</li><li><i>61</i> - Принтер не найден</li><li><i>62</i> - Принтер недоступен</li><li><i>63</i> - Принтер находится в режиме оффлайн</li><li><i>64</i> - Очередь принтера содержит невыполненные задачи</li><li><i>65</i> - В принтере нет бумаги</li><li><i>71</i> - Фискальная память не подключена</li><li><i>72</i> - Фискальная память не фискализирована</li><li><i>73</i> - Ошибка чтения идентификатора фискальной памяти</li><li><i>74</i> - Неверный идентификатор фискальной памяти</li><li><i>75</i> - Последний дневной отчет не был записан в фискальную память</li></ul>",
        "format": "int32"
      },
      "EFiscalTemplate": {
        "enum": [
          0,
          1,
          2,
          3,
          28,
          32,
          36,
          40,
          44
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul><li><i>0</i> - None</li><li><i>1</i> - Cashino KP-210H (60 mm)</li><li><i>2</i> - Cashino KP-300H (80 mm)</li><li><i>3</i> - ''' \n Custom TG 2460 (60 mm)</li></ul><p>Содержит значения:</p><ul></ul>",
        "format": "int32"
      },
      "EFiscalTransactionType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul><li><i>0</i> - Bon fiscal</li><li><i>1</i> - Raport zilnic</li><li><i>2</i> - Bon de serviciu</li></ul>",
        "format": "int32"
      },
      "EPaymentType": {
        "enum": [
          1,
          2,
          5,
          6,
          7,
          9,
          31,
          32,
          33,
          34,
          35,
          36,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul><li><i>1</i> - Numerar (наличные)</li><li><i>2</i> - Card (банковская карта)</li><li><i>5</i> - Plata cu tichet de masă (электронный талон на питание)</li><li><i>6</i> - ABONAMENT (абонемент)</li><li><i>7</i> - Alt tip</li><li><i>9</i> - MIA – Plăți instant</li><li><i>31</i> - Vaucher (ваучер)</li><li><i>32</i> - Certificat valoric (сертификат на сумму)</li><li><i>33</i> - TICHET - plata cu un document de o valoare prestabilită(MDL) (документ на предопределенную сумму)</li><li><i>34</i> - RETURNARE-MIZE (возврат фишек)</li><li><i>35</i> - IMPOZIT (налог)</li><li><i>36</i> - CÂȘTIG (выигрыш)</li><li><i>81</i> - Credit</li><li><i>82</i> - Leasing</li><li><i>83</i> - Avans</li><li><i>84</i> - Arvuna</li><li><i>85</i> - Gaj</li><li><i>86</i> - Card valoric corporativ</li><li><i>87</i> - Testare metrologică</li><li><i>88</i> - Compensare</li><li><i>89</i> - Alt mod</li></ul><p>Содержит значения:</p><ul></ul>",
        "format": "int32"
      },
      "EServiceCollectReason": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul><li><i>0</i> - * Restituire\n * Возврат</li><li><i>1</i> - * Colectare\n * Инкассация</li></ul><p>Содержит значения:</p><ul></ul>",
        "format": "int32"
      },
      "EServiceReceiptType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul>",
        "format": "int32"
      },
      "EUnit": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul>",
        "format": "int32"
      },
      "EnDisplayType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul>",
        "format": "int32"
      },
      "EnErrorCode": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          10,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          221,
          222,
          223,
          224,
          225,
          226,
          227,
          228,
          229,
          230,
          231,
          232,
          233,
          234,
          235,
          236,
          237,
          238,
          239,
          240,
          241,
          242,
          243,
          244,
          245,
          246,
          247,
          248,
          249,
          250,
          251,
          252,
          253,
          254,
          255,
          256,
          257,
          258,
          259,
          -1
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul><li><i>159</i> - Статус нельзя применить</li></ul><p>Содержит значения:</p><ul></ul>",
        "format": "int32"
      },
      "EnFiscalReportType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul>",
        "format": "int32"
      },
      "EnOperationType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "description": "<p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul><p>Содержит значения:</p><ul></ul>",
        "format": "int32"
      },
      "FiscalReceipt": {
        "type": "object",
        "properties": {
          "company": {
            "type": "string",
            "nullable": true
          },
          "companyIDNO": {
            "type": "string",
            "nullable": true
          },
          "registrationNumber": {
            "type": "string",
            "description": "Numărul de înregistrare al echipamentul de casă și de control, atribuit de Serviciul Fiscal de Stat",
            "nullable": true
          },
          "factoryNumber": {
            "type": "string",
            "description": "Numărul de fabricare sau de serie al echipamentului de casă și de control",
            "nullable": true
          },
          "salesPointAddress": {
            "type": "string",
            "nullable": true
          },
          "deviceID": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "operatorCode": {
            "type": "integer",
            "description": "Код кассира (Codul al casierului)",
            "format": "int32"
          },
          "operatorName": {
            "type": "string",
            "description": "Кассир (Numele al casierului)",
            "nullable": true
          },
          "version": {
            "type": "string",
            "nullable": true
          },
          "immidiateSync": {
            "type": "boolean"
          },
          "signature": {
            "type": "string",
            "nullable": true
          },
          "fiscalReceiptID": {
            "type": "integer",
            "description": "Numrul unic de la inregistrare",
            "format": "int32"
          },
          "externalID": {
            "type": "string",
            "description": "Numrul unic de la inregistrare",
            "nullable": true
          },
          "fiscalReceiptIDInCurrentShift": {
            "type": "integer",
            "description": "Numrul unic total per tura",
            "format": "int32"
          },
          "operationType": {
            "$ref": "#/components/schemas/EnOperationType"
          },
          "displayType": {
            "$ref": "#/components/schemas/EnDisplayType"
          },
          "forcePrint": {
            "type": "boolean"
          },
          "shiftNumber": {
            "type": "integer",
            "format": "int32"
          },
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Payment"
            },
            "nullable": true
          },
          "subTotalAmount": {
            "type": "number",
            "format": "double"
          },
          "totalAmount": {
            "type": "number",
            "format": "double"
          },
          "deposit": {
            "type": "number",
            "format": "double"
          },
          "change": {
            "type": "number",
            "format": "double"
          },
          "myDiscountCardCode": {
            "type": "string",
            "nullable": true
          },
          "discount": {
            "$ref": "#/components/schemas/Discount"
          },
          "margin": {
            "$ref": "#/components/schemas/Discount"
          },
          "fiscalReceiptItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FiscalReceiptItem"
            },
            "nullable": true
          },
          "client": {
            "$ref": "#/components/schemas/Client"
          },
          "freeTextHeader": {
            "type": "string",
            "nullable": true
          },
          "freeTextFooter": {
            "type": "string",
            "nullable": true
          },
          "taxes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tax"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FiscalReceiptItem": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "basePrice": {
            "type": "number",
            "format": "double"
          },
          "totalCost": {
            "type": "number",
            "format": "double"
          },
          "reducedCost": {
            "type": "number",
            "format": "double"
          },
          "tax": {
            "$ref": "#/components/schemas/Tax"
          },
          "unitID": {
            "$ref": "#/components/schemas/EUnit"
          },
          "discount": {
            "$ref": "#/components/schemas/Discount"
          },
          "margin": {
            "$ref": "#/components/schemas/Discount"
          },
          "extendedData": {
            "type": "string",
            "description": "Date suplimentare ale clientului (XML/JSON), max 256 caractere / Произвольные данные клиента (XML/JSON), до 256 символов",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPrintTemplateResponse": {
        "type": "object",
        "properties": {
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "errorName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "errorCode": {
            "$ref": "#/components/schemas/EnErrorCode"
          },
          "mevuri": {
            "type": "string",
            "nullable": true
          },
          "mevid": {
            "type": "string",
            "nullable": true
          },
          "mevdate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataToPrint": {
            "type": "string",
            "nullable": true
          },
          "dataType": {
            "$ref": "#/components/schemas/EFiscalTransactionType"
          }
        },
        "additionalProperties": false
      },
      "GetTransactionResponse": {
        "type": "object",
        "properties": {
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "errorName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "errorCode": {
            "$ref": "#/components/schemas/EnErrorCode"
          },
          "fcid": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "integer",
            "description": "* Numărul de secvență al tranzacției\n* Порядковый номер транзакции",
            "format": "int32"
          },
          "mevid": {
            "type": "string",
            "description": "* Identificator unic al tranzacției în baza de date SFS\n* Уникальный идентификатор транзакции в базе данных ГНС",
            "nullable": true
          },
          "mevDate": {
            "type": "string",
            "description": "* Data înregistrării tranzacției în baza de date SFS\n* Дата и время регистрации транзакции в базе данных ГНС",
            "format": "date-time",
            "nullable": true
          },
          "createDate": {
            "type": "string",
            "description": "* Data înregistrării tranzacției în baza de date ISFiscalCloud\n* Дата и время регистрации транзакции в базе данных ISFiscalCloud",
            "format": "date-time"
          },
          "fiscalReceipt": {
            "$ref": "#/components/schemas/FiscalReceipt"
          },
          "serviceReceipt": {
            "$ref": "#/components/schemas/ServiceReceipt"
          },
          "fiscalReport": {
            "$ref": "#/components/schemas/RegisterFiscalReportData"
          },
          "serviceProviderTransactionID": {
            "type": "string",
            "format": "uuid"
          },
          "mevuri": {
            "type": "string",
            "description": "Adresa URL de validare a tranzacției pe site-ul Serviciului Fiscal de Stat\n* URL валидации транзакции на сайте ГНС",
            "nullable": true
          },
          "dataToPrint": {
            "type": "string",
            "nullable": true
          },
          "shiftID": {
            "type": "integer",
            "description": "* Numărul turei de lucru curente\n* Номер текущей рабочей смены",
            "format": "int32"
          },
          "shiftDate": {
            "type": "string",
            "description": "* Data înregistrării turei de lucru curente\n* Дата регистрации текущей рабочей смены",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "* Informații despre tranzacția înregistrată în baza de date ISFiscalCloud\n* Информация о транзакции, зарегистрированной в базе данных ISFiscalCloud"
      },
      "Payment": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/EPaymentType"
          },
          "amount": {
            "type": "number",
            "description": "Suma totală pe fiecare mod de plată",
            "format": "double"
          },
          "rrn": {
            "type": "string",
            "nullable": true
          },
          "bankResponse": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PetrolPayment": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/EPaymentType"
          },
          "unitID": {
            "$ref": "#/components/schemas/EUnit"
          },
          "quantity": {
            "type": "number",
            "format": "double"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "tax": {
            "$ref": "#/components/schemas/Tax"
          }
        },
        "additionalProperties": false
      },
      "PetrolSale": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "cod": {
            "type": "string",
            "nullable": true
          },
          "unitID": {
            "$ref": "#/components/schemas/EUnit"
          },
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PetrolPayment"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterFiscalReceiptWebRequest": {
        "required": [
          "lines",
          "payments"
        ],
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "description": "Внешний номер",
            "nullable": true
          },
          "uid": {
            "type": "string",
            "description": "GUID фискального чека во внешней учетной системе. Если параметр пуст, он будет заполнен автоматически фискальным модулем. Сохранение нескольких чеков с одинаковым Uid запрещено.",
            "format": "uuid"
          },
          "myDiscountUid": {
            "type": "string",
            "description": "Идентификатор дисконтной системы MyDiscount",
            "format": "uuid"
          },
          "myDiscountCardCode": {
            "type": "string",
            "description": "Номер дисконтной системы MyDiscount",
            "nullable": true
          },
          "clientPhone": {
            "type": "string",
            "description": "Номер телефона клиента для отправки СМС с копией фискального чека",
            "nullable": true
          },
          "clientEmail": {
            "type": "string",
            "description": "Адрес электронной почты клиента для отправки письма с копией фискального чека",
            "nullable": true
          },
          "clientIdnx": {
            "type": "string",
            "description": "Идентификационный номер клиента или юридического лица (Codul fiscal al agentului economic sau IDNP persoanei fizice(plătitorului))",
            "nullable": true
          },
          "operatorCode": {
            "type": "integer",
            "description": "Код кассира (Codul al casierului)",
            "format": "int32"
          },
          "operatorName": {
            "type": "string",
            "description": "Кассир (Numele al casierului)",
            "nullable": true
          },
          "footerText": {
            "type": "string",
            "description": "Произвольный текст для печати в конце чека",
            "nullable": true
          },
          "headerText": {
            "type": "string",
            "description": "Произвольный текст для печати в начале чека",
            "nullable": true
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillLine"
            },
            "description": "Товары/услуги"
          },
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillPayment"
            },
            "description": "Оплаты"
          },
          "discountPercent": {
            "type": "number",
            "description": "Процент скидки на счет",
            "format": "double"
          },
          "discount": {
            "type": "number",
            "description": "Сумма скидки на счет",
            "format": "double"
          },
          "marginPercent": {
            "type": "number",
            "description": "Сумма наценки на счет",
            "format": "double"
          },
          "margin": {
            "type": "number",
            "description": "Сумма наценки на счет",
            "format": "double"
          },
          "printTemplate": {
            "$ref": "#/components/schemas/EFiscalTemplate"
          }
        },
        "additionalProperties": false
      },
      "RegisterFiscalReportData": {
        "type": "object",
        "properties": {
          "company": {
            "type": "string",
            "nullable": true
          },
          "companyIDNO": {
            "type": "string",
            "nullable": true
          },
          "registrationNumber": {
            "type": "string",
            "description": "Numărul de înregistrare al echipamentul de casă și de control, atribuit de Serviciul Fiscal de Stat",
            "nullable": true
          },
          "factoryNumber": {
            "type": "string",
            "description": "Numărul de fabricare sau de serie al echipamentului de casă și de control",
            "nullable": true
          },
          "salesPointAddress": {
            "type": "string",
            "nullable": true
          },
          "deviceID": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "operatorCode": {
            "type": "integer",
            "description": "Код кассира (Codul al casierului)",
            "format": "int32"
          },
          "operatorName": {
            "type": "string",
            "description": "Кассир (Numele al casierului)",
            "nullable": true
          },
          "version": {
            "type": "string",
            "nullable": true
          },
          "immidiateSync": {
            "type": "boolean"
          },
          "signature": {
            "type": "string",
            "nullable": true
          },
          "fiscalReportID": {
            "type": "integer",
            "format": "int32"
          },
          "fiscalReportIDInCurrentShift": {
            "type": "integer",
            "format": "int32"
          },
          "shiftID": {
            "type": "integer",
            "format": "int32"
          },
          "reportType": {
            "$ref": "#/components/schemas/EnFiscalReportType"
          },
          "taxes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tax"
            },
            "nullable": true
          },
          "payReceiptsTaxes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tax"
            },
            "nullable": true
          },
          "totalNoTax": {
            "type": "number",
            "description": "Suma circulației zilnice a realizării mărfurilor/ prestării serviciilor care nu se impozitează",
            "format": "double"
          },
          "totalUntaxed": {
            "type": "number",
            "description": "Suma circulației zilnice a realizării mărfurilor/ prestării serviciilor fara tva (Total - Tax)",
            "format": "double"
          },
          "total": {
            "type": "number",
            "description": "Suma totală a circulației zilnice a realizării mărfurilor /prestării serviciilor",
            "format": "double"
          },
          "totalBill": {
            "type": "integer",
            "description": "1. Cantitatea bonurilor de casă/documentelor fiscale, emise zilnic",
            "format": "int32"
          },
          "totalBillSyncedMEV": {
            "type": "integer",
            "description": "3. Numărul de bonuri de casă/documentelor fiscale transmise cu succes în SIA MEV",
            "format": "int32"
          },
          "lastBillNumber": {
            "type": "integer",
            "description": "2. Numărul ultimului bon de casă/documentului fiscal",
            "format": "int32"
          },
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Payment"
            },
            "nullable": true
          },
          "payReceiptsPayments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Payment"
            },
            "nullable": true
          },
          "cashIn": {
            "type": "number",
            "format": "double"
          },
          "cashOut": {
            "type": "number",
            "format": "double"
          },
          "marginAmount": {
            "type": "number",
            "format": "double"
          },
          "discountAmount": {
            "type": "number",
            "format": "double"
          },
          "cashOutCollect": {
            "type": "number",
            "description": "Сумма изъятия, переданная инкассатору",
            "format": "double"
          },
          "cashOutRefund": {
            "type": "number",
            "description": "Сумма изъятия, возвращенная покупателям",
            "format": "double"
          },
          "balance": {
            "type": "number",
            "description": "Soldul de numerar din locul special amenajat pentru primirea și păstrarea temporară a mijloacelor bănești (caseta de bani a echipamentelor de casă și de control)",
            "format": "double"
          },
          "tax": {
            "type": "number",
            "description": "Suma totală zilnică a TVA",
            "format": "double"
          },
          "totalYear": {
            "type": "number",
            "description": "Suma totală a circulației a realizării mărfurilor /prestării serviciilor de la începutul anului de gestiune",
            "format": "double"
          },
          "totalYearTax": {
            "type": "number",
            "description": "Suma totală a TVA de la începutul anului de gestiune",
            "format": "double"
          },
          "marketPayments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Payment"
            },
            "nullable": true
          },
          "petrolSales": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PetrolSale"
            },
            "nullable": true
          },
          "petrolPayments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PetrolPayment"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterReportWebRequest": {
        "type": "object",
        "properties": {
          "closeReport": {
            "type": "boolean",
            "description": "True - печать отчета с закрытием дня (Z report)\nFalse - печать информационного отчета (X report)"
          },
          "forcePrint": {
            "type": "boolean"
          },
          "printerURI": {
            "type": "string",
            "nullable": true
          },
          "deviceSerialNumber": {
            "type": "string",
            "description": "Серийный номер оборудования, на котором установлен фискальный модуль",
            "nullable": true
          },
          "keepMoneyInBox": {
            "type": "boolean",
            "description": "* True - после Z-отчета автоматически зарегистрировать сервисный чек на внесение остатка наличности в кассе\n* True - după raportul Z se înregistrează automat bonul de serviciu pentru introducerea soldului de numerar în casă"
          },
          "printTemplate": {
            "$ref": "#/components/schemas/EFiscalTemplate"
          }
        },
        "additionalProperties": false
      },
      "RegisterServiceReceiptWebRequest": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "format": "double"
          },
          "reason": {
            "$ref": "#/components/schemas/EServiceCollectReason"
          },
          "printerURI": {
            "type": "string",
            "nullable": true
          },
          "forcePrint": {
            "type": "boolean"
          },
          "printTemplate": {
            "$ref": "#/components/schemas/EFiscalTemplate"
          }
        },
        "additionalProperties": false
      },
      "RegisterTransactionResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "$ref": "#/components/schemas/EErrorCode"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "dataToPrint": {
            "type": "string",
            "description": "* Date de imprimat pe baza șablonului specificat\n* Данные для печати на основе указанного шаблона",
            "nullable": true
          },
          "mevid": {
            "type": "string",
            "description": "* Identificator unic al tranzacției în baza de date SFS\n* Уникальный идентификатор транзакции в базе данных ГНС",
            "nullable": true
          },
          "mevuri": {
            "type": "string",
            "description": "* Adresa URL de validare a tranzacției pe site-ul Serviciului Fiscal de Stat\n* URL валидации транзакции на сайте ГНС",
            "nullable": true
          },
          "taskId": {
            "type": "integer",
            "format": "int32"
          },
          "taskUid": {
            "type": "string",
            "format": "uuid"
          },
          "shiftId": {
            "type": "integer",
            "format": "int32"
          },
          "shiftOrderId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ServiceReceipt": {
        "type": "object",
        "properties": {
          "company": {
            "type": "string",
            "nullable": true
          },
          "companyIDNO": {
            "type": "string",
            "nullable": true
          },
          "registrationNumber": {
            "type": "string",
            "description": "Numărul de înregistrare al echipamentul de casă și de control, atribuit de Serviciul Fiscal de Stat",
            "nullable": true
          },
          "factoryNumber": {
            "type": "string",
            "description": "Numărul de fabricare sau de serie al echipamentului de casă și de control",
            "nullable": true
          },
          "salesPointAddress": {
            "type": "string",
            "nullable": true
          },
          "deviceID": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "operatorCode": {
            "type": "integer",
            "description": "Код кассира (Codul al casierului)",
            "format": "int32"
          },
          "operatorName": {
            "type": "string",
            "description": "Кассир (Numele al casierului)",
            "nullable": true
          },
          "version": {
            "type": "string",
            "nullable": true
          },
          "immidiateSync": {
            "type": "boolean"
          },
          "signature": {
            "type": "string",
            "nullable": true
          },
          "serviceReceiptID": {
            "type": "integer",
            "format": "int32"
          },
          "serviceReceiptIDInCurrentShift": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/EServiceReceiptType"
          },
          "reason": {
            "type": "integer",
            "format": "int32"
          },
          "currencyName": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "cashInDrawer": {
            "type": "number",
            "format": "double"
          },
          "shiftID": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "Tax": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "percent": {
            "type": "number",
            "format": "double"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "brut": {
            "type": "number",
            "format": "double"
          },
          "noVat": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "VatRatesRootObject": {
        "type": "object",
        "properties": {
          "vatRates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Vatrate"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Vatrate": {
        "type": "object",
        "properties": {
          "vatCode": {
            "type": "string",
            "description": "Код ставки НДС (A-Z или _ для неплательников НДС)",
            "nullable": true
          },
          "vatValue": {
            "type": "string",
            "description": "Значение ставки НДС",
            "nullable": true
          },
          "noVat": {
            "type": "boolean",
            "description": "БЕЗ НДС (важно! просто 0 - это ставка НДС, но не FARA TVA)"
          }
        },
        "additionalProperties": false,
        "description": "Ставка НДС"
      }
    },
    "securitySchemes": {
      "Basic": {
        "type": "http",
        "description": "Basic authorization header using the Base64-encoded 'username:password'",
        "scheme": "basic"
      }
    }
  },
  "tags": [
    {
      "name": "ISFiscalCloudServiceWeb"
    }
  ]
}