CDB3-455 CDB3-456 CDB3-653 LLE/LLD/LLP valueAddedTaxCharged field is required on PATCH req, however it's already filled
Summary: field is required
STR:
- Go to /api/procedures endpoint
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2021-04-13T11:48:00+00:00"
},
"sellingMethod": "legitimatePropertyLease-english-fast",
"lotId": "sd",
"title": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"description": {
"uk_UA": "string",
"en_US": "string"
},
"x_additionalInformation": {
"uk_UA": "string",
"en_US": "string"
},
"value": {
"currency": "UAH",
"amount": 3100,
"valueAddedTaxIncluded": false
},
"valueAddedTaxCharged": false,
"calcOnBookValue": 0,
"guarantee": {
"currency": "UAH",
"amount": 2
},
"tenderAttempts": 1,
"accessDetails": {
"uk_UA": "ssss"
},
"items": [
{
"itemType": "realEstate",
"description": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"title": {"uk_UA": "sdsdsssdd"},
"classification": {
"scheme": "CAV",
"id": "04000000-8"
},
"unit": {
"code": "MTK"
},
"location": {
"latitude": "sd",
"longitude": "sd"
},
"address": {
"region": {
"uk_UA": "Автономна Республіка Крим"
},
"countryName": {
"uk_UA": "Україна"
}
},
"reProps": {
"totalObjectArea": 23
},
"registrationDetails": {}
},
{
"itemType": "jointPropertyComplex",
"description": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"classification": {
"scheme": "CAV",
"id": "05000000-5"
},
"unit": {
"code": "MTK"
},
"location": {
"latitude": "sd",
"longitude": "sd"
},
"address": {
"region": {
"uk_UA": "Автономна Республіка Крим"
},
"countryName": {
"uk_UA": "Україна"
}
},
"quantity": 232,
"jpcProps": {
"landProps": {
"landArea": 2323
}
},
"registrationDetails": {}
}
],
"minimalStep": {
"currency": "UAH",
"amount": 0.1
},
"registryId": "607583e818e9d215a8c5890e",
"leaseRules": {
"intendedUseRestrictionMethod": "onlyDescribed",
"intendedUseRestrictionDescription": "wewe",
"schedule": {
"daysBy": {
"by":"week",
"value": 7
}
}
},
"relatedOrganizations": {
"sellingEntity": {
"identifier": {
"scheme": "UA-EDR",
"legalName": {
"uk_UA": "string",
"en_US": "string"
},
"id": "12345637"
},
"address": {
"addressID": {
"scheme": "koatuu",
"id": "0110136600"
},
"streetAddress": {
"uk_UA": "string",
"en_US": "string"
},
"locality": {
"uk_UA": "string",
"en_US": "string"
},
"region": {
"uk_UA": "Автономна Республіка Крим",
"en_US": "string"
},
"countryName": {
"uk_UA": "Україна"
}
},
"contactPoint": {
"email": "Tadmin@example.com",
"telephone": "+380123456789",
"name": {
"uk_UA": "string",
"en_US": "string"
},
"url": "http://string.com"
},
"representativeInfo": "Довіреність № 123 від 22.02.2012, дійсна до 30.03.2012/Наказ № 142 від 14.12.2019/Статут ТОВ Кульбаба від 24.07.2002"
},
"propertyOwner": {
"identifier": {
"scheme": "UA-EDR",
"legalName": {
"uk_UA": "string",
"en_US": "string"
},
"id": "12346437"
},
"address": {
"addressID": {
"scheme": "koatuu",
"id": "0110136600"
},
"streetAddress": {
"uk_UA": "string",
"en_US": "string"
},
"locality": {
"uk_UA": "string",
"en_US": "string"
},
"region": {
"uk_UA": "Автономна Республіка Крим",
"en_US": "string"
},
"countryName": {
"uk_UA": "Україна"
}
},
"contactPoint": {
"email": "Tadmin@example.com",
"telephone": "+380123456789",
"name": {
"uk_UA": "string",
"en_US": "string"
},
"url": "http://string.com"
},
"representativeInfo": "Довіреність № 123 від 22.02.2012, дійсна до 30.03.2012/Наказ № 142 від 14.12.2019/Статут ТОВ Кульбаба від 24.07.2002"
},
"ownershipType": "state"
},
"bankAccounts": [{
"accountType": "other"
}],
"registrationFee": {
"currency": "UAH",
"amount": 3000
},
"valuePeriod": "month",
"leaseDuration": "P2Y11M",
"documents": [
{
"title": {
"uk_UA": "Назва",
"en_US": "Title"
},
"documentOf": "cancellation",
"token": "eyJ0eXAiOiJKV1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YSVk8wxCuyj9kDT5ErlyFDp8kNxRH7wuCCIDqq87Imk4ICgB7MBBZScva6T1giIqHf0yKnas6cayWt26h_eLWLF3ZkjXaCDWFugyKptTTkeuUgTu6NtpJDGTE9MMIJ9muWtuBJ5tKvNGrcDroAU1RuEB2gmDDTKh4_HZ5mCcITol50ZmZ1WM-Y5TFQst4gN_2zC3-rLqk3sTX86U1KBTKaMU-KlJwt6BXWffW5GzL68GsKAnRnl01wWArnuD-JA_Z3_di82YDz0y36sg7KBzREB5PJ2_MKL9TdCKheQZUolY6l0Piqy8Cf3K4jv2WtK7ER8ZfZ1GsiVhgh3H0eoK5MYbqzh8a1yPwXnDc_IDbjpQFajVbnLt4PqgXSMqqI8oYpbcKU3myp-R-rBNRNaWH_i_MS8MdTxybO2YJq1MAEK-uP-eQ2HVeXZU0mGIPAl80Ljy_habJ-IrDaoUp9sQEMfcmjRAJxJ1mNAnaSFG8gROwNixGYq7Wgq0fECHNaIb16hC--7jJSXQuOF0mjFQK6b-EKU2ljGwbSxarpXJ6iEEAHRongImGOmW3Oojb5OviHnhPB_teCV3jz6UutlCH37b-rbCiswbiTAVN_mqCECDe2R5PL_qWJQMI0vKSogVA"
}
]
}
- Use /api/procedures/:procedure_id?acc_token= endpoint to update procedure with body: {}
Actual result: https://prnt.sc/11by7vi https://prnt.sc/11by83e
Expected result: not reqired ?