Приклад створення Дод.1 декларації ПДВ за допомогою CreateDocumentByParam та SetValues
Приклад запиту CreateDocumentByParam:
http://url-your-api/api/Document/CreateDocumentByParam?char_code=J0200524&per_type=10&per_date=2023-09-01&id_org=id_org&id_user=id_user&idParent=3456231&exDocID=90828378-a354-4fab-b0b1-41ed2f6513f9
{
"Code": 0,
"Name": "CardCode",
"Value": "3456242",
"Message": null
}
http://url-your-api/api/Document/SetValues?cardCode=3456242
[
{
"TAB": 0,
"LINE": 0,
"NAME": "BUH",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "DDOG",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_BUHINN",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "FIRM_EDRPOU",
"VALUE": "528743691"
},
{
"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": "HZ",
"VALUE": "1"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "HZN",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "HZU",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "KVP",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "NDOG",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "NMONTH",
"VALUE": "6"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "NMONTHP",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "NYEAR",
"VALUE": "2023"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "NYEARPM",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R03G4",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R03G5",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R03G6",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R03G7",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R04G4",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R04G5",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R04G6",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R05G4",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R05G6",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R07G4",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R07G5",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R08G6",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R08G7",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R08G8",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R08G9",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R09G6",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R09G7",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R09G8",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R09G9",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R10G6",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R10G7",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R10G8",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R12G6",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R12G7",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R12G8",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R13G6",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R13G7",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R13G8",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R13G9",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R15G6",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R15G7",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R15G8",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R15G9",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R16G6",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R16G7",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R16G8",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R17G6",
"VALUE": null
},
{
"TAB": 0,
"LINE": 0,
"NAME": "R17G7",
"VALUE": "0"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "REP_DATE",
"VALUE": "07.07.2023 0:00:00"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "RUK",
"VALUE": "Ісаак Донор"
},
{
"TAB": 0,
"LINE": 0,
"NAME": "VD",
"VALUE": "Звітний"
},
{
"TAB": 10,
"LINE": 0,
"NAME": "TAB10_A1",
"VALUE": "1"
},
{
"TAB": 10,
"LINE": 0,
"NAME": "TAB10_A2",
"VALUE": null
},
{
"TAB": 10,
"LINE": 0,
"NAME": "TAB10_A3",
"VALUE": null
},
{
"TAB": 10,
"LINE": 0,
"NAME": "TAB10_A4",
"VALUE": null
},
{
"TAB": 10,
"LINE": 0,
"NAME": "TAB10_A6",
"VALUE": null
},
{
"TAB": 10,
"LINE": 0,
"NAME": "TAB10_A7",
"VALUE": null
},
{
"TAB": 10,
"LINE": 0,
"NAME": "TAB10_A8",
"VALUE": null
},
{
"TAB": 10,
"LINE": 0,
"NAME": "TAB10_Z",
"VALUE": null
},
{
"TAB": 12,
"LINE": 0,
"NAME": "TAB12_A1",
"VALUE": "1"
},
{
"TAB": 12,
"LINE": 0,
"NAME": "TAB12_A2",
"VALUE": null
},
{
"TAB": 12,
"LINE": 0,
"NAME": "TAB12_A3",
"VALUE": null
},
{
"TAB": 12,
"LINE": 0,
"NAME": "TAB12_A4",
"VALUE": null
},
{
"TAB": 12,
"LINE": 0,
"NAME": "TAB12_A6",
"VALUE": null
},
{
"TAB": 12,
"LINE": 0,
"NAME": "TAB12_A7",
"VALUE": null
},
{
"TAB": 12,
"LINE": 0,
"NAME": "TAB12_A8",
"VALUE": null
},
{
"TAB": 12,
"LINE": 0,
"NAME": "TAB12_Z",
"VALUE": null
},
{
"TAB": 13,
"LINE": 0,
"NAME": "TAB13_A1",
"VALUE": "1"
},
{
"TAB": 13,
"LINE": 0,
"NAME": "TAB13_A2",
"VALUE": null
},
{
"TAB": 13,
"LINE": 0,
"NAME": "TAB13_A3",
"VALUE": null
},
{
"TAB": 13,
"LINE": 0,
"NAME": "TAB13_A4",
"VALUE": null
},
{
"TAB": 13,
"LINE": 0,
"NAME": "TAB13_A6",
"VALUE": null
},
{
"TAB": 13,
"LINE": 0,
"NAME": "TAB13_A7",
"VALUE": null
},
{
"TAB": 13,
"LINE": 0,
"NAME": "TAB13_A8",
"VALUE": null
},
{
"TAB": 13,
"LINE": 0,
"NAME": "TAB13_A9",
"VALUE": null
},
{
"TAB": 13,
"LINE": 0,
"NAME": "TAB13_Z",
"VALUE": null
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_A1",
"VALUE": "1"
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_A3",
"VALUE": null
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_A4",
"VALUE": null
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_A41",
"VALUE": null
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_A42",
"VALUE": null
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_A6",
"VALUE": null
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_A7",
"VALUE": null
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_B7",
"VALUE": null
},
{
"TAB": 2,
"LINE": 0,
"NAME": "TAB2_NA",
"VALUE": null
},
{
"TAB": 3,
"LINE": 0,
"NAME": "TAB3_A1",
"VALUE": "1"
},
{
"TAB": 3,
"LINE": 0,
"NAME": "TAB3_A2",
"VALUE": null
},
{
"TAB": 3,
"LINE": 0,
"NAME": "TAB3_A3",
"VALUE": null
},
{
"TAB": 3,
"LINE": 0,
"NAME": "TAB3_A6",
"VALUE": null
},
{
"TAB": 3,
"LINE": 0,
"NAME": "TAB3_A7",
"VALUE": null
},
{
"TAB": 3,
"LINE": 0,
"NAME": "TAB3_A8",
"VALUE": null
},
{
"TAB": 3,
"LINE": 0,
"NAME": "TAB3_A9",
"VALUE": null
},
{
"TAB": 3,
"LINE": 0,
"NAME": "TAB3_B3",
"VALUE": null
},
{
"TAB": 3,
"LINE": 0,
"NAME": "TAB3_K4",
"VALUE": null
},
{
"TAB": 3,
"LINE": 0,
"NAME": "TAB3_NA",
"VALUE": null
},
{
"TAB": 8,
"LINE": 0,
"NAME": "TAB8_A1",
"VALUE": "1"
},
{
"TAB": 8,
"LINE": 0,
"NAME": "TAB8_A2",
"VALUE": null
},
{
"TAB": 8,
"LINE": 0,
"NAME": "TAB8_A3",
"VALUE": null
},
{
"TAB": 8,
"LINE": 0,
"NAME": "TAB8_A4",
"VALUE": null
},
{
"TAB": 8,
"LINE": 0,
"NAME": "TAB8_A6",
"VALUE": null
},
{
"TAB": 8,
"LINE": 0,
"NAME": "TAB8_A7",
"VALUE": null
},
{
"TAB": 8,
"LINE": 0,
"NAME": "TAB8_A8",
"VALUE": null
},
{
"TAB": 8,
"LINE": 0,
"NAME": "TAB8_A9",
"VALUE": null
},
{
"TAB": 8,
"LINE": 0,
"NAME": "TAB8_Z",
"VALUE": null
},
{
"TAB": 9,
"LINE": 0,
"NAME": "TAB9_A1",
"VALUE": "1"
},
{
"TAB": 9,
"LINE": 0,
"NAME": "TAB9_A2",
"VALUE": null
},
{
"TAB": 9,
"LINE": 0,
"NAME": "TAB9_A3",
"VALUE": null
},
{
"TAB": 9,
"LINE": 0,
"NAME": "TAB9_A4",
"VALUE": null
},
{
"TAB": 9,
"LINE": 0,
"NAME": "TAB9_A6",
"VALUE": null
},
{
"TAB": 9,
"LINE": 0,
"NAME": "TAB9_A7",
"VALUE": null
},
{
"TAB": 9,
"LINE": 0,
"NAME": "TAB9_A8",
"VALUE": null
},
{
"TAB": 9,
"LINE": 0,
"NAME": "TAB9_A9",
"VALUE": null
},
{
"TAB": 9,
"LINE": 0,
"NAME": "TAB9_Z",
"VALUE": null
}
]
200 Success