SQL Server / EDS API / Izveidot dokumentu "Paziņojums par fiziskajai personai izmaksātajām summām".
Back to Collection Items
-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
DECLARE @hr int
DECLARE @iTmp0 int
-- Important: Do not use nvarchar(max). See the warning about using nvarchar(max).
DECLARE @sTmp0 nvarchar(4000)
-- This example assumes the Chilkat API to have been previously unlocked.
-- See Global Unlock Sample for sample code.
DECLARE @http int
-- Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.Http', @http OUT
IF @hr <> 0
BEGIN
PRINT 'Failed to create ActiveX component'
RETURN
END
DECLARE @success int
DECLARE @req int
-- Use "Chilkat_9_5_0.HttpRequest" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.HttpRequest', @req OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'ParskGads', '-69726595'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Epasts', 'consectetur quis'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Talrunis', 'dolore quis'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'IesniegsanasVeids', '89199280'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Sagatavotajs', 'cupidatat dolore'
DECLARE @jsonParam6 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam6 OUT
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'PersonasKods', ''
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'VardsUzvards', 'Ut et sed'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'IenakumaVeids', 'c'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'IenakumuPeriodsNo', '2000-01-31T00:00:00'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'IenakumuPeriodsLidz', '2000-01-31T00:00:00'
EXEC sp_OAMethod @jsonParam6, 'UpdateInt', @success OUT, 'IzmaksasMenesis', -86517378
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'Ienemumi', '60451536.403110445'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'NeapliekamieIenakumi', '-47803264.98780023'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'NeapliekamaisMinimums', '-42046726.77454861'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'AtvieglojumiParApgadajamiem', '99140202.63345233'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'AtvieglojumaKods', 'vo'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'AtvieglojumaSumma', '-70772195.24499547'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'VSAObligatasIemaksa', '-45458823.81701536'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'IemaksasPPF', '-59215845.15386522'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'ApdrosinasanasSummaArUzkrasanu', '-51008944.429121025'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'ApdrosinasanasSummaBezUzkrasanas', '-52619222.521977484'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'Izdevumi', '54680591.275698274'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'Nodoklis', '70221446.00931934'
EXEC sp_OAMethod @jsonParam6, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Tabula', @sTmp0
DECLARE @jsonParam7 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam7 OUT
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'PersonasKods', 'inci'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'VardsUzvards', 'ullamco dolore Ut'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'IenakumaVeids', 'dol'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'IenakumuPeriodsNo', '2000-01-31T00:00:00'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'IenakumuPeriodsLidz', '2000-01-31T00:00:00'
EXEC sp_OAMethod @jsonParam7, 'UpdateInt', @success OUT, 'IzmaksasMenesis', 41284415
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'Ienemumi', '-10491456.604592338'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'NeapliekamieIenakumi', '87363580.78909478'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'NeapliekamaisMinimums', '-90399471.8308454'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'AtvieglojumiParApgadajamiem', '-7359477.464306608'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'AtvieglojumaKods', 'l'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'AtvieglojumaSumma', '-27355855.830153123'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'VSAObligatasIemaksa', '-85805779.81681006'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'IemaksasPPF', '75232031.20949718'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'ApdrosinasanasSummaArUzkrasanu', '79987907.89421767'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'ApdrosinasanasSummaBezUzkrasanas', '91449848.76233408'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'Izdevumi', '66156388.43653193'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'Nodoklis', '-19234316.46030265'
EXEC sp_OAMethod @jsonParam7, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Tabula', @sTmp0
EXEC sp_OAMethod @req, 'AddParam', NULL, 'ParskMen', '5'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'ParskCeturksnis', '3'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'TaksPusgads', '1'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', 'in'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'true'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '-39573597'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'consequat cupi'
EXEC sp_OAMethod @req, 'AddHeader', NULL, 'Accept', 'application/json'
DECLARE @resp int
EXEC sp_OAMethod @http, 'PostUrlEncoded', @resp OUT, 'https://eds.vid.gov.lv/api/doc/pfpiskv3', @req
EXEC sp_OAGetProperty @http, 'LastMethodSuccess', @iTmp0 OUT
IF @iTmp0 = 0
BEGIN
EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
PRINT @sTmp0
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @req
EXEC @hr = sp_OADestroy @jsonParam6
EXEC @hr = sp_OADestroy @jsonParam7
RETURN
END
DECLARE @sbResponseBody int
-- Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.StringBuilder', @sbResponseBody OUT
EXEC sp_OAMethod @resp, 'GetBodySb', @success OUT, @sbResponseBody
DECLARE @jResp int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jResp OUT
EXEC sp_OAMethod @jResp, 'LoadSb', @success OUT, @sbResponseBody
EXEC sp_OASetProperty @jResp, 'EmitCompact', 0
PRINT 'Response Body:'
EXEC sp_OAMethod @jResp, 'Emit', @sTmp0 OUT
PRINT @sTmp0
DECLARE @respStatusCode int
EXEC sp_OAGetProperty @resp, 'StatusCode', @respStatusCode OUT
PRINT 'Response Status Code = ' + @respStatusCode
IF @respStatusCode >= 400
BEGIN
PRINT 'Response Header:'
EXEC sp_OAGetProperty @resp, 'Header', @sTmp0 OUT
PRINT @sTmp0
PRINT 'Failed.'
EXEC @hr = sp_OADestroy @resp
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @req
EXEC @hr = sp_OADestroy @jsonParam6
EXEC @hr = sp_OADestroy @jsonParam7
EXEC @hr = sp_OADestroy @sbResponseBody
EXEC @hr = sp_OADestroy @jResp
RETURN
END
EXEC @hr = sp_OADestroy @resp
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @req
EXEC @hr = sp_OADestroy @jsonParam6
EXEC @hr = sp_OADestroy @jsonParam7
EXEC @hr = sp_OADestroy @sbResponseBody
EXEC @hr = sp_OADestroy @jResp
END
GO
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": ""
}
]
}