Chilkat Online Tools

DataFlex / EDS API / Izveidot dokumentu "Paziņojums par fiziskajai personai izmaksātajām summām".

Back to Collection Items

Use ChilkatAx-win32.pkg

Procedure Test
    Handle hoHttp
    Boolean iSuccess
    Variant vReq
    Handle hoReq
    Handle hoJsonParam6
    Handle hoJsonParam7
    Variant vResp
    Handle hoResp
    Variant vSbResponseBody
    Handle hoSbResponseBody
    Handle hoJResp
    Integer iRespStatusCode
    String sTemp1
    Boolean bTemp1

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

    Get Create (RefClass(cComChilkatHttp)) To hoHttp
    If (Not(IsComObjectCreated(hoHttp))) Begin
        Send CreateComObject of hoHttp
    End

    Get Create (RefClass(cComChilkatHttpRequest)) To hoReq
    If (Not(IsComObjectCreated(hoReq))) Begin
        Send CreateComObject of hoReq
    End
    Send ComAddParam To hoReq "ParskGads" "-69726595"
    Send ComAddParam To hoReq "Epasts" "consectetur quis"
    Send ComAddParam To hoReq "Talrunis" "dolore quis"
    Send ComAddParam To hoReq "IesniegsanasVeids" "89199280"
    Send ComAddParam To hoReq "Sagatavotajs" "cupidatat dolore"

    Get Create (RefClass(cComChilkatJsonObject)) To hoJsonParam6
    If (Not(IsComObjectCreated(hoJsonParam6))) Begin
        Send CreateComObject of hoJsonParam6
    End
    Get ComUpdateString Of hoJsonParam6 "PersonasKods" "" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "VardsUzvards" "Ut et sed" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "IenakumaVeids" "c" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "IenakumuPeriodsNo" "2000-01-31T00:00:00" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "IenakumuPeriodsLidz" "2000-01-31T00:00:00" To iSuccess
    Get ComUpdateInt Of hoJsonParam6 "IzmaksasMenesis" -86517378 To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "Ienemumi" "60451536.403110445" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "NeapliekamieIenakumi" "-47803264.98780023" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "NeapliekamaisMinimums" "-42046726.77454861" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "AtvieglojumiParApgadajamiem" "99140202.63345233" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "AtvieglojumaKods" "vo" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "AtvieglojumaSumma" "-70772195.24499547" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "VSAObligatasIemaksa" "-45458823.81701536" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "IemaksasPPF" "-59215845.15386522" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "ApdrosinasanasSummaArUzkrasanu" "-51008944.429121025" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "ApdrosinasanasSummaBezUzkrasanas" "-52619222.521977484" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "Izdevumi" "54680591.275698274" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "Nodoklis" "70221446.00931934" To iSuccess
    Get ComEmit Of hoJsonParam6 To sTemp1
    Send ComAddParam To hoReq "Tabula" sTemp1

    Get Create (RefClass(cComChilkatJsonObject)) To hoJsonParam7
    If (Not(IsComObjectCreated(hoJsonParam7))) Begin
        Send CreateComObject of hoJsonParam7
    End
    Get ComUpdateString Of hoJsonParam7 "PersonasKods" "inci" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "VardsUzvards" "ullamco dolore Ut" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "IenakumaVeids" "dol" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "IenakumuPeriodsNo" "2000-01-31T00:00:00" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "IenakumuPeriodsLidz" "2000-01-31T00:00:00" To iSuccess
    Get ComUpdateInt Of hoJsonParam7 "IzmaksasMenesis" 41284415 To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "Ienemumi" "-10491456.604592338" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "NeapliekamieIenakumi" "87363580.78909478" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "NeapliekamaisMinimums" "-90399471.8308454" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "AtvieglojumiParApgadajamiem" "-7359477.464306608" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "AtvieglojumaKods" "l" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "AtvieglojumaSumma" "-27355855.830153123" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "VSAObligatasIemaksa" "-85805779.81681006" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "IemaksasPPF" "75232031.20949718" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "ApdrosinasanasSummaArUzkrasanu" "79987907.89421767" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "ApdrosinasanasSummaBezUzkrasanas" "91449848.76233408" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "Izdevumi" "66156388.43653193" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "Nodoklis" "-19234316.46030265" To iSuccess
    Get ComEmit Of hoJsonParam7 To sTemp1
    Send ComAddParam To hoReq "Tabula" sTemp1
    Send ComAddParam To hoReq "ParskMen" "5"
    Send ComAddParam To hoReq "ParskCeturksnis" "3"
    Send ComAddParam To hoReq "TaksPusgads" "1"
    Send ComAddParam To hoReq "NmrKods" "in"
    Send ComAddParam To hoReq "Precizejums" "true"
    Send ComAddParam To hoReq "PrecizejamaisDokuments" "-39573597"
    Send ComAddParam To hoReq "PrecizejumaPamatojums" "consequat cupi"

    Send ComAddHeader To hoReq "Accept" "application/json"

    Get pvComObject of hoReq to vReq
    Get ComPostUrlEncoded Of hoHttp "https://eds.vid.gov.lv/api/doc/pfpiskv3" vReq To vResp
    If (IsComObject(vResp)) Begin
        Get Create (RefClass(cComChilkatHttpResponse)) To hoResp
        Set pvComObject Of hoResp To vResp
    End
    Get ComLastMethodSuccess Of hoHttp To bTemp1
    If (bTemp1 = False) Begin
        Get ComLastErrorText Of hoHttp To sTemp1
        Showln sTemp1
        Procedure_Return
    End

    Get Create (RefClass(cComChilkatStringBuilder)) To hoSbResponseBody
    If (Not(IsComObjectCreated(hoSbResponseBody))) Begin
        Send CreateComObject of hoSbResponseBody
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComGetBodySb Of hoResp vSbResponseBody To iSuccess

    Get Create (RefClass(cComChilkatJsonObject)) To hoJResp
    If (Not(IsComObjectCreated(hoJResp))) Begin
        Send CreateComObject of hoJResp
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComLoadSb Of hoJResp vSbResponseBody To iSuccess
    Set ComEmitCompact Of hoJResp To False

    Showln "Response Body:"
    Get ComEmit Of hoJResp To sTemp1
    Showln sTemp1

    Get ComStatusCode Of hoResp To iRespStatusCode
    Showln "Response Status Code = " iRespStatusCode
    If (iRespStatusCode >= 400) Begin
        Showln "Response Header:"
        Get ComHeader Of hoResp To sTemp1
        Showln sTemp1
        Showln "Failed."
        Send Destroy of hoResp
        Procedure_Return
    End

    Send Destroy of hoResp


End_Procedure

Curl Command

curl -X POST
	-H "Content-Type: application/x-www-form-urlencoded"
	-H "Accept: application/json"
	--data-urlencode 'ParskGads=-69726595'
	--data-urlencode 'Epasts=consectetur quis'
	--data-urlencode 'Talrunis=dolore quis'
	--data-urlencode 'IesniegsanasVeids=89199280'
	--data-urlencode 'Sagatavotajs=cupidatat dolore'
	--data-urlencode 'Tabula={"PersonasKods":"","VardsUzvards":"Ut et sed","IenakumaVeids":"c","IenakumuPeriodsNo":"2000-01-31T00:00:00","IenakumuPeriodsLidz":"2000-01-31T00:00:00","IzmaksasMenesis":-86517378,"Ienemumi":60451536.403110445,"NeapliekamieIenakumi":-47803264.98780023,"NeapliekamaisMinimums":-42046726.77454861,"AtvieglojumiParApgadajamiem":99140202.63345233,"AtvieglojumaKods":"vo","AtvieglojumaSumma":-70772195.24499547,"VSAObligatasIemaksa":-45458823.81701536,"IemaksasPPF":-59215845.15386522,"ApdrosinasanasSummaArUzkrasanu":-51008944.429121025,"ApdrosinasanasSummaBezUzkrasanas":-52619222.521977484,"Izdevumi":54680591.275698274,"Nodoklis":70221446.00931934}'
	--data-urlencode 'Tabula={"PersonasKods":"inci","VardsUzvards":"ullamco dolore Ut","IenakumaVeids":"dol","IenakumuPeriodsNo":"2000-01-31T00:00:00","IenakumuPeriodsLidz":"2000-01-31T00:00:00","IzmaksasMenesis":41284415,"Ienemumi":-10491456.604592338,"NeapliekamieIenakumi":87363580.78909478,"NeapliekamaisMinimums":-90399471.8308454,"AtvieglojumiParApgadajamiem":-7359477.464306608,"AtvieglojumaKods":"l","AtvieglojumaSumma":-27355855.830153123,"VSAObligatasIemaksa":-85805779.81681006,"IemaksasPPF":75232031.20949718,"ApdrosinasanasSummaArUzkrasanu":79987907.89421767,"ApdrosinasanasSummaBezUzkrasanas":91449848.76233408,"Izdevumi":66156388.43653193,"Nodoklis":-19234316.46030265}'
	--data-urlencode 'ParskMen=5'
	--data-urlencode 'ParskCeturksnis=3'
	--data-urlencode 'TaksPusgads=1'
	--data-urlencode 'NmrKods=in'
	--data-urlencode 'Precizejums=true'
	--data-urlencode 'PrecizejamaisDokuments=-39573597'
	--data-urlencode 'PrecizejumaPamatojums=consequat cupi'
https://eds.vid.gov.lv/api/doc/pfpiskv3

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Paziņojums par fiziskajai personai izmaksātajām summām\".",
  "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": "-69726595",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "Epasts",
          "value": "consectetur quis",
          "description": "(Required) Epasta adrese."
        },
        {
          "key": "Talrunis",
          "value": "dolore quis",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "IesniegsanasVeids",
          "value": "89199280",
          "description": "(Required) Iesniegšanas veids."
        },
        {
          "key": "Sagatavotajs",
          "value": "cupidatat dolore",
          "description": "Sagatavotāja vārds, uzvārds."
        },
        {
          "key": "Tabula",
          "value": "{\"PersonasKods\":\"\",\"VardsUzvards\":\"Ut et sed\",\"IenakumaVeids\":\"c\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-86517378,\"Ienemumi\":60451536.403110445,\"NeapliekamieIenakumi\":-47803264.98780023,\"NeapliekamaisMinimums\":-42046726.77454861,\"AtvieglojumiParApgadajamiem\":99140202.63345233,\"AtvieglojumaKods\":\"vo\",\"AtvieglojumaSumma\":-70772195.24499547,\"VSAObligatasIemaksa\":-45458823.81701536,\"IemaksasPPF\":-59215845.15386522,\"ApdrosinasanasSummaArUzkrasanu\":-51008944.429121025,\"ApdrosinasanasSummaBezUzkrasanas\":-52619222.521977484,\"Izdevumi\":54680591.275698274,\"Nodoklis\":70221446.00931934}",
          "description": "Dokumenta tabula."
        },
        {
          "key": "Tabula",
          "value": "{\"PersonasKods\":\"inci\",\"VardsUzvards\":\"ullamco dolore Ut\",\"IenakumaVeids\":\"dol\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":41284415,\"Ienemumi\":-10491456.604592338,\"NeapliekamieIenakumi\":87363580.78909478,\"NeapliekamaisMinimums\":-90399471.8308454,\"AtvieglojumiParApgadajamiem\":-7359477.464306608,\"AtvieglojumaKods\":\"l\",\"AtvieglojumaSumma\":-27355855.830153123,\"VSAObligatasIemaksa\":-85805779.81681006,\"IemaksasPPF\":75232031.20949718,\"ApdrosinasanasSummaArUzkrasanu\":79987907.89421767,\"ApdrosinasanasSummaBezUzkrasanas\":91449848.76233408,\"Izdevumi\":66156388.43653193,\"Nodoklis\":-19234316.46030265}",
          "description": "Dokumenta tabula."
        },
        {
          "key": "ParskMen",
          "value": "5",
          "description": "Taksācijas mēnesis."
        },
        {
          "key": "ParskCeturksnis",
          "value": "3",
          "description": "Taksācijas ceturksnis."
        },
        {
          "key": "TaksPusgads",
          "value": "1",
          "description": "Taksācijas pusgads."
        },
        {
          "key": "NmrKods",
          "value": "in ",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "true",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "-39573597",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "consequat cupi",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/pfpiskv3",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "pfpiskv3"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "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": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "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": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "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": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "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": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "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": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}