Chilkat Online Tools

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

Back to Collection Items

#include <C_CkHttpW.h>
#include <C_CkHttpRequestW.h>
#include <C_CkJsonObjectW.h>
#include <C_CkHttpResponseW.h>
#include <C_CkStringBuilderW.h>

void ChilkatSample(void)
    {
    HCkHttpW http;
    BOOL success;
    HCkHttpRequestW req;
    HCkJsonObjectW jsonParam21;
    HCkJsonObjectW jsonParam22;
    HCkHttpResponseW resp;
    HCkStringBuilderW sbResponseBody;
    HCkJsonObjectW jResp;
    int respStatusCode;

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

    http = CkHttpW_Create();

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

    jsonParam21 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam21,L"Fails.value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam21,L"Komentars",L"pariatur Duis");
    CkHttpRequestW_AddParam(req,L"Pielikumi",CkJsonObjectW_emit(jsonParam21));

    jsonParam22 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam22,L"Fails.value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam22,L"Komentars",L"ullamco sint consectetur amet Duis");
    CkHttpRequestW_AddParam(req,L"Pielikumi",CkJsonObjectW_emit(jsonParam22));
    CkHttpRequestW_AddParam(req,L"MaksajumuDatumuNobide",L"false");
    CkHttpRequestW_AddParam(req,L"NmrKods",L"amet");
    CkHttpRequestW_AddParam(req,L"Precizejums",L"true");
    CkHttpRequestW_AddParam(req,L"PrecizejamaisDokuments",L"24369404");
    CkHttpRequestW_AddParam(req,L"PrecizejumaPamatojums",L"veniam");

    CkHttpRequestW_AddHeader(req,L"Accept",L"application/json");

    resp = CkHttpW_PostUrlEncoded(http,L"https://eds.vid.gov.lv/api/doc/avav3",req);
    if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
        wprintf(L"%s\n",CkHttpW_lastErrorText(http));
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkJsonObjectW_Dispose(jsonParam21);
        CkJsonObjectW_Dispose(jsonParam22);
        return;
    }

    sbResponseBody = CkStringBuilderW_Create();
    CkHttpResponseW_GetBodySb(resp,sbResponseBody);

    jResp = CkJsonObjectW_Create();
    CkJsonObjectW_LoadSb(jResp,sbResponseBody);
    CkJsonObjectW_putEmitCompact(jResp,FALSE);

    wprintf(L"Response Body:\n");
    wprintf(L"%s\n",CkJsonObjectW_emit(jResp));

    respStatusCode = CkHttpResponseW_getStatusCode(resp);
    wprintf(L"Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        wprintf(L"Response Header:\n");
        wprintf(L"%s\n",CkHttpResponseW_header(resp));
        wprintf(L"Failed.\n");
        CkHttpResponseW_Dispose(resp);
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkJsonObjectW_Dispose(jsonParam21);
        CkJsonObjectW_Dispose(jsonParam22);
        CkStringBuilderW_Dispose(sbResponseBody);
        CkJsonObjectW_Dispose(jResp);
        return;
    }

    CkHttpResponseW_Dispose(resp);


    CkHttpW_Dispose(http);
    CkHttpRequestW_Dispose(req);
    CkJsonObjectW_Dispose(jsonParam21);
    CkJsonObjectW_Dispose(jsonParam22);
    CkStringBuilderW_Dispose(sbResponseBody);
    CkJsonObjectW_Dispose(jResp);

    }

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": ""
    }
  ]
}