Chilkat Online Tools

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

Back to Collection Items

load ./chilkat.dll

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

set http [new_CkHttp]

set req [new_CkHttpRequest]

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

set jsonParam21 [new_CkJsonObject]

CkJsonObject_UpdateString $jsonParam21 "Fails.value" "<Error: Too many levels of nesting to fake this schema>"
CkJsonObject_UpdateString $jsonParam21 "Komentars" "pariatur Duis"
CkHttpRequest_AddParam $req "Pielikumi" [CkJsonObject_emit $jsonParam21]

set jsonParam22 [new_CkJsonObject]

CkJsonObject_UpdateString $jsonParam22 "Fails.value" "<Error: Too many levels of nesting to fake this schema>"
CkJsonObject_UpdateString $jsonParam22 "Komentars" "ullamco sint consectetur amet Duis"
CkHttpRequest_AddParam $req "Pielikumi" [CkJsonObject_emit $jsonParam22]
CkHttpRequest_AddParam $req "MaksajumuDatumuNobide" "false"
CkHttpRequest_AddParam $req "NmrKods" "amet"
CkHttpRequest_AddParam $req "Precizejums" "true"
CkHttpRequest_AddParam $req "PrecizejamaisDokuments" "24369404"
CkHttpRequest_AddParam $req "PrecizejumaPamatojums" "veniam"

CkHttpRequest_AddHeader $req "Accept" "application/json"

# resp is a CkHttpResponse
set resp [CkHttp_PostUrlEncoded $http "https://eds.vid.gov.lv/api/doc/avav3" $req]
if {[CkHttp_get_LastMethodSuccess $http] == 0} then {
    puts [CkHttp_lastErrorText $http]
    delete_CkHttp $http
    delete_CkHttpRequest $req
    delete_CkJsonObject $jsonParam21
    delete_CkJsonObject $jsonParam22
    exit
}

set sbResponseBody [new_CkStringBuilder]

CkHttpResponse_GetBodySb $resp $sbResponseBody

set jResp [new_CkJsonObject]

CkJsonObject_LoadSb $jResp $sbResponseBody
CkJsonObject_put_EmitCompact $jResp 0

puts "Response Body:"
puts [CkJsonObject_emit $jResp]

set respStatusCode [CkHttpResponse_get_StatusCode $resp]
puts "Response Status Code = $respStatusCode"
if {$respStatusCode >= 400} then {
    puts "Response Header:"
    puts [CkHttpResponse_header $resp]
    puts "Failed."
    delete_CkHttpResponse $resp

    delete_CkHttp $http
    delete_CkHttpRequest $req
    delete_CkJsonObject $jsonParam21
    delete_CkJsonObject $jsonParam22
    delete_CkStringBuilder $sbResponseBody
    delete_CkJsonObject $jResp
    exit
}

delete_CkHttpResponse $resp


delete_CkHttp $http
delete_CkHttpRequest $req
delete_CkJsonObject $jsonParam21
delete_CkJsonObject $jsonParam22
delete_CkStringBuilder $sbResponseBody
delete_CkJsonObject $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": ""
    }
  ]
}