MGB upload

get receipts

request
GET /api/v2/job/mgb/receipt-upload?lastExecutedOn=2010-01-01 HTTP/1.1
response
HTTP/1.1 200 OK

[ {
  "orderId" : 999999105,
  "companyName" : "stage1",
  "inn" : "644901490342",
  "date" : "2025-08-23T00:00:00Z",
  "customer" : "Первый магазин",
  "user" : {
    "patronymic" : "-",
    "email" : "testtest@itigris.ru",
    "phone" : "79990609999",
    "name" : "Тест",
    "surname" : "Тестов"
  },
  "products" : [ {
    "quantity" : 1,
    "price" : null,
    "name" : "Систейн Ультра",
    "volume" : "3",
    "category" : "ACCESSORY"
  }, {
    "quantity" : 1,
    "price" : null,
    "name" : "AOSept-Plus HG",
    "volume" : "360",
    "category" : "ACCESSORY"
  }, {
    "quantity" : 1,
    "price" : null,
    "name" : "Ao Sept Hydra Glyde",
    "volume" : "360",
    "category" : "ACCESSORY"
  }, {
    "quantity" : 1,
    "price" : null,
    "name" : "AoSept Plus",
    "volume" : "360",
    "category" : "ACCESSORY"
  }, {
    "quantity" : 1,
    "price" : null,
    "name" : "AoSept",
    "volume" : null,
    "category" : "ACCESSORY"
  }, {
    "quantity" : 1,
    "price" : null,
    "name" : "OptiFree Replenish",
    "volume" : "300",
    "category" : "ACCESSORY"
  } ]
} ]

upload receipts

request
POST /api/v2/job/mgb/receipt-upload HTTP/1.1
Content-Type: application/x-www-form-urlencoded
response
HTTP/1.1 200 OK