Приклад створення податкової декларації ПДВ за допомогою CreateDocumentByParam та SetValues
https://url-your-api/api/Document/CreateDocumentByParam?char_code=J0200124&per_type=10&per_date=2023-09-01&id_org=id_org&id_user=id_user
{
"Code": 0,
"Name": "CardCode",
"Value": "3456231",
"Message": null
}
http://url-your-api/api/Document/SetValues?cardCode=3456231
[
{
"TAB": 0,
"LINE": 0,
"NAME": "A100",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1010",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1012",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1013",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1030",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A120",
"VALUE": "55"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1210",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1212",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1213",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1220",
"VALUE": "456"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1240",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1242",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A130",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1500",
"VALUE": "2"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A1620",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A210",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A212",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A220",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A300",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A311",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A312",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A410",
"VALUE": "4"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A411",
"VALUE": "4"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A420",
"VALUE": "4"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A421",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A430",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A431",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A700",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A720",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A820",
"VALUE": "11"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "A830",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B100",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1010",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1012",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1013",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B120",
"VALUE": "4"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1210",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1212",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1213",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1220",
"VALUE": "4"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1240",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1242",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B130",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1500",
"VALUE": "31"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1600",
"VALUE": "8"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1601",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1602",
"VALUE": "3"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1603",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1620",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1700",
"VALUE": "47"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1800",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1900",
"VALUE": "36"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B1910",
"VALUE": "31"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B2000",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B2010",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B2020",
"VALUE": "11"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B2021",
"VALUE": "6"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B2022",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B2030",
"VALUE": "-11"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B2100",
"VALUE": "20"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B410",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B411",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B420",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B421",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B430",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B431",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B700",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B720",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B820",
"VALUE": "2"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B830",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "B900",
"VALUE": "11"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "BUH",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "C1910",
"VALUE": "5"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "DDOG",
"VALUE": "15.07.2023 0:00:00"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_ADR",
"VALUE": "Олександра Довженка, буд. 2/1, КАЛУШ, 12342, Україна"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_BUHINN",
"VALUE": "222444563549"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_CITYCD",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_DPANM",
"VALUE": "ГОЛОВНЕ УПРАВЛІННЯ ДПС У М.КИЄВІ, ДПІ У ПЕЧЕРСЬКОМУ РАЙОНІ (ПЕЧЕРСЬКИЙ РАЙОН М.КИЄВА)"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_EDRPOU",
"VALUE": "528743691"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_EMAILORG",
"VALUE": "[email protected]"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_INN",
"VALUE": "528743691456"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_NAME",
"VALUE": "Підприємство для відправки документів"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_RUKINN",
"VALUE": "528743691"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_TELORG",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_ZIP",
"VALUE": "12342"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "HZ",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "HZN",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "INSP_DATE",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N1",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N14",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N15",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N16",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N17",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N18",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N19",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N2",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N20",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N21",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N22",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "N24",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "NDOG",
"VALUE": "123"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "NMONTH",
"VALUE": "7"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "NYEAR",
"VALUE": "2023"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "REP_DATE",
"VALUE": "16.07.2023 0:00:00"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "REP_NUM",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "RUK",
"VALUE": "Ісаак Донор"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "TELORG",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "VD",
"VALUE": "Звiтна"
},
{
"TAB": 1,
"LINE": 0,
"NAME": "TAB1_A1",
"VALUE": null
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_A1",
"VALUE": "15.02.2023 0:00:00"
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_A2",
"VALUE": "45"
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_A3",
"VALUE": "54987"
}
]
200 Success