Chilkat Online Tools

C++ / EDS API / Izveidot dokumentu "IeIeN avansa maksājumu aprēķins no saimnieciskās darbības".

Back to Collection Items

#include <CkHttp.h>
#include <CkHttpRequest.h>
#include <CkJsonObject.h>
#include <CkHttpResponse.h>
#include <CkStringBuilder.h>

void ChilkatSample(void)
    {
    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    CkHttp http;
    bool success;

    CkHttpRequest req;
    req.AddParam("ParskGads","-83951702");
    req.AddParam("Epasts","irure");
    req.AddParam("Talrunis","non sed");
    req.AddParam("Sagatavotajs","qui nisi fugiat irure cillum");
    req.AddParam("PrecizetsAvanss","true");
    req.AddParam("Gramatina","true");
    req.AddParam("Pirmstaksac","-54588698.64014355");
    req.AddParam("Prognoze","97569849.08257464");
    req.AddParam("NeaplMin","-49770640.77327245");
    req.AddParam("Atvieglojumi","30978332.25873421");
    req.AddParam("Papildu","87746908.73043701");
    req.AddParam("Ienakums","-29782402.252732918");
    req.AddParam("Summa1","-93290287.22262941");
    req.AddParam("Summa2","72123630.9810856");
    req.AddParam("Avanss","26577345.621076003");
    req.AddParam("Maksat","43685698.03802377");
    req.AddParam("Maijam","23069235.365286157");
    req.AddParam("Augustam","24463852.92602402");
    req.AddParam("Novembrim","-8773589.000599638");
    req.AddParam("NakGadam","-10846760.263477325");

    CkJsonObject jsonParam21;
    jsonParam21.UpdateString("Fails.value","<Error: Too many levels of nesting to fake this schema>");
    jsonParam21.UpdateString("Komentars","pariatur Duis");
    req.AddParam("Pielikumi",jsonParam21.emit());

    CkJsonObject jsonParam22;
    jsonParam22.UpdateString("Fails.value","<Error: Too many levels of nesting to fake this schema>");
    jsonParam22.UpdateString("Komentars","ullamco sint consectetur amet Duis");
    req.AddParam("Pielikumi",jsonParam22.emit());
    req.AddParam("MaksajumuDatumuNobide","false");
    req.AddParam("NmrKods","amet");
    req.AddParam("Precizejums","true");
    req.AddParam("PrecizejamaisDokuments","24369404");
    req.AddParam("PrecizejumaPamatojums","veniam");

    req.AddHeader("Accept","application/json");

    CkHttpResponse *resp = http.PostUrlEncoded("https://eds.vid.gov.lv/api/doc/avav3",req);
    if (http.get_LastMethodSuccess() == false) {
        std::cout << http.lastErrorText() << "\r\n";
        return;
    }

    CkStringBuilder sbResponseBody;
    resp->GetBodySb(sbResponseBody);

    CkJsonObject jResp;
    jResp.LoadSb(sbResponseBody);
    jResp.put_EmitCompact(false);

    std::cout << "Response Body:" << "\r\n";
    std::cout << jResp.emit() << "\r\n";

    int respStatusCode = resp->get_StatusCode();
    std::cout << "Response Status Code = " << respStatusCode << "\r\n";
    if (respStatusCode >= 400) {
        std::cout << "Response Header:" << "\r\n";
        std::cout << resp->header() << "\r\n";
        std::cout << "Failed." << "\r\n";
        delete resp;
        return;
    }

    delete resp;
    }

Curl Command

curl -X POST
	-H "Content-Type: application/x-www-form-urlencoded"
	-H "Accept: application/json"
	--data-urlencode 'ParskGads=-83951702'
	--data-urlencode 'Epasts=irure'
	--data-urlencode 'Talrunis=non sed'
	--data-urlencode 'Sagatavotajs=qui nisi fugiat irure cillum'
	--data-urlencode 'PrecizetsAvanss=true'
	--data-urlencode 'Gramatina=true'
	--data-urlencode 'Pirmstaksac=-54588698.64014355'
	--data-urlencode 'Prognoze=97569849.08257464'
	--data-urlencode 'NeaplMin=-49770640.77327245'
	--data-urlencode 'Atvieglojumi=30978332.25873421'
	--data-urlencode 'Papildu=87746908.73043701'
	--data-urlencode 'Ienakums=-29782402.252732918'
	--data-urlencode 'Summa1=-93290287.22262941'
	--data-urlencode 'Summa2=72123630.9810856'
	--data-urlencode 'Avanss=26577345.621076003'
	--data-urlencode 'Maksat=43685698.03802377'
	--data-urlencode 'Maijam=23069235.365286157'
	--data-urlencode 'Augustam=24463852.92602402'
	--data-urlencode 'Novembrim=-8773589.000599638'
	--data-urlencode 'NakGadam=-10846760.263477325'
	--data-urlencode 'Pielikumi={"Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"pariatur Duis"}'
	--data-urlencode 'Pielikumi={"Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"ullamco sint consectetur amet Duis"}'
	--data-urlencode 'MaksajumuDatumuNobide=false'
	--data-urlencode 'NmrKods=amet'
	--data-urlencode 'Precizejums=true'
	--data-urlencode 'PrecizejamaisDokuments=24369404'
	--data-urlencode 'PrecizejumaPamatojums=veniam'
https://eds.vid.gov.lv/api/doc/avav3

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"IeIeN avansa maksājumu aprēķins no saimnieciskās darbības\".",
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/x-www-form-urlencoded"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "urlencoded",
      "urlencoded": [
        {
          "key": "ParskGads",
          "value": "-83951702",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "Epasts",
          "value": "irure ",
          "description": "(Required) Iesniedzēja epasts."
        },
        {
          "key": "Talrunis",
          "value": "non sed",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "Sagatavotajs",
          "value": "qui nisi fugiat irure cillum",
          "description": "Sagatavotāja vārds, uzvārds."
        },
        {
          "key": "PrecizetsAvanss",
          "value": "true",
          "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
        },
        {
          "key": "Gramatina",
          "value": "true",
          "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
        },
        {
          "key": "Pirmstaksac",
          "value": "-54588698.64014355"
        },
        {
          "key": "Prognoze",
          "value": "97569849.08257464"
        },
        {
          "key": "NeaplMin",
          "value": "-49770640.77327245"
        },
        {
          "key": "Atvieglojumi",
          "value": "30978332.25873421"
        },
        {
          "key": "Papildu",
          "value": "87746908.73043701"
        },
        {
          "key": "Ienakums",
          "value": "-29782402.252732918"
        },
        {
          "key": "Summa1",
          "value": "-93290287.22262941"
        },
        {
          "key": "Summa2",
          "value": "72123630.9810856"
        },
        {
          "key": "Avanss",
          "value": "26577345.621076003"
        },
        {
          "key": "Maksat",
          "value": "43685698.03802377"
        },
        {
          "key": "Maijam",
          "value": "23069235.365286157"
        },
        {
          "key": "Augustam",
          "value": "24463852.92602402"
        },
        {
          "key": "Novembrim",
          "value": "-8773589.000599638"
        },
        {
          "key": "NakGadam",
          "value": "-10846760.263477325"
        },
        {
          "key": "Pielikumi",
          "value": "{\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"pariatur Duis\"}",
          "description": "Pielikumu faili."
        },
        {
          "key": "Pielikumi",
          "value": "{\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"ullamco sint consectetur amet Duis\"}",
          "description": "Pielikumu faili."
        },
        {
          "key": "MaksajumuDatumuNobide",
          "value": "false",
          "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
        },
        {
          "key": "NmrKods",
          "value": "amet",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "true",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "24369404",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "veniam",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/avav3",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "avav3"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "status": "Created",
      "code": 201,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "-12855709"
    },
    {
      "name": "Pieprasījuma dati ir kļūdaini.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Lietotājs nav autentificēts.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Lietotājam nav tiesību veikt šo darbību.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "status": "Forbidden",
      "code": 403,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Dokumenta unikalitātes ierobežojums. Dokuments par norādīto periodu jau izveidots. Lai izveidotu atkārtoti, izmantojiet jaunu drošības talonu.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "status": "Conflict",
      "code": 409,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Pārsniegts izsaukumu skaita ierobežojums.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"proident amet qui\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}