Providing contract template
For further contracting it is possible provide contract template. There are two ways to do this:
Upload
contractProformadocument.Set
contractTemplateNamefield.
If contract template is required it should be provided in draft status (before tender activation).
Next table shows which procurementMethodType requires contract template or for which it is optional:
procurementMethodType |
Support |
|---|---|
belowThreshold |
Required |
aboveThresholdUA |
Required |
aboveThresholdEU |
Required |
aboveThreshold |
Required |
competitiveDialogueUA |
Optional |
competitiveDialogueEU |
Optional |
competitiveDialogueUA.stage2 |
Automatically |
competitiveDialogueEU.stage2 |
Automatically |
esco |
Optional |
priceQuatation |
Required |
closeFrameworkAgreementUA |
Optional |
competitiveOrdering |
Required |
negotiation |
Optional |
negotiation.quick |
Optional |
reporting |
Not available |
simple.defence |
Required |
closeFrameworkAgreementSelectionUA |
Optional |
requestForProposal |
Required |
Uploading contractProforma
Let’s upload contractProforma document:
Request
POST /api/2.5/tenders/4cb89d5e743e432587f367a09e565597/documents?acc_token=bd5c66f3799e41a68efc7d93b68db635 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"title": "name.doc",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/005d993382014f54baf676364786c270?Signature=VqyvE18Q6k2jQGV%2BBWzLGlHmokpQi6R3QltI6kreE6MXN8SQHRk65vXVFPM3aWVpSsv5HxF95Ey85yE9yU%2FDCA%3D%3D&KeyID=a8968c46",
"hash": "md5:00000000000000000000000000000000",
"format": "application/msword",
"documentType": "contractProforma"
}
}
Response
HTTP/1.0 201 Created
Content-Type: application/json
Location: http://lb-api-sandbox.prozorro.gov.ua/api/2.5/tenders/4cb89d5e743e432587f367a09e565597/documents/5e3f144af8c94d9fa2256ddbad809e0a
{
"data": {
"confidentiality": "public",
"documentType": "contractProforma",
"hash": "md5:00000000000000000000000000000000",
"title": "name.doc",
"format": "application/msword",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/005d993382014f54baf676364786c270?Signature=vgB8nIMRx4dLli%2F8lP5ThhcDkMUXRTXJWE2CY90ayPAT9Umz2jczWMJx2gBSbtSFPvmFv%2BfMyxU87NLK2c%2FLBQ%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"language": "uk",
"id": "5e3f144af8c94d9fa2256ddbad809e0a",
"datePublished": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner"
}
}
Setting contractTemplateName
Next table shows which statuses for each procurementMethodType allow to set/update contractTemplateName:
procurementMethodType |
Statuses |
|---|---|
belowThreshold |
draft/active.enquiries |
aboveThresholdUA |
draft/active.tendering |
aboveThresholdEU |
draft/active.tendering |
aboveThreshold |
draft/active.tendering |
competitiveDialogueUA |
draft/active.tendering |
competitiveDialogueEU |
draft/active.tendering |
competitiveDialogueUA.stage2 |
|
competitiveDialogueEU.stage2 |
|
esco |
draft/active.tendering |
priceQuatation |
draft |
closeFrameworkAgreementUA |
draft/active.tendering |
competitiveOrdering |
draft/active.tendering |
negotiation |
draft/active.tendering |
negotiation.quick |
draft/active.tendering |
reporting |
|
simple.defence |
draft/active.tendering |
closeFrameworkAgreementSelectionUA |
draft |
requestForProposal |
draft/active.enquiries/active.tendering |
The correctness of the contractTemplateName is determined by items classification id.
All available templates and their selection rules can be found in the standards.
If you try to set value out from standards or invalid for current classification, you’ll get error:
Request
PATCH /api/2.5/tenders/4cb89d5e743e432587f367a09e565597?acc_token=bd5c66f3799e41a68efc7d93b68db635 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"contractTemplateName": "09130000.0001.01"
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "contractTemplateName",
"description": "Incorrect contractTemplateName 09130000.0001.01 for current classifications 44617100-9, use one of 00000000.0002.01"
}
]
}
Let’s try to set correct value for contractTemplateName field:
Request
PATCH /api/2.5/tenders/4cb89d5e743e432587f367a09e565597?acc_token=bd5c66f3799e41a68efc7d93b68db635 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"contractTemplateName": "00000000.0002.01"
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"contractTemplateName": "00000000.0002.01",
"date": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"tenderID": "UA-2023-10-10-000001-a",
"documents": [
{
"confidentiality": "public",
"documentType": "tenderNotice",
"id": "5e3f144af8c94d9fa2256ddbad809e0a",
"datePublished": "2023-10-10T01:00:00+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "name.doc",
"format": "application/msword",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/005d993382014f54baf676364786c270?Signature=vgB8nIMRx4dLli%2F8lP5ThhcDkMUXRTXJWE2CY90ayPAT9Umz2jczWMJx2gBSbtSFPvmFv%2BfMyxU87NLK2c%2FLBQ%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner",
"language": "uk"
}
],
"status": "draft",
"owner": "broker",
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procurementMethod": "open",
"submissionMethod": "electronicAuction",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-24T00:00:00+02:00"
},
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "14ca33376fb846a1850d2e771d689748",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00",
"endDate": "2023-10-17T00:00:00+02:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
]
}
],
"id": "4cb89d5e743e432587f367a09e565597"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}
Also contractTemplateName can’t be set together with uploaded contractProforma document:
Request
PATCH /api/2.5/tenders/4cb89d5e743e432587f367a09e565597?acc_token=bd5c66f3799e41a68efc7d93b68db635 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"contractTemplateName": "00000000.0002.01"
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "contractTemplateName",
"description": "Cannot use both contractTemplateName and contractProforma document simultaneously"
}
]
}
If you try to set or change value in invalid tender status you’ll get error:
Request
PATCH /api/2.5/tenders/4cb89d5e743e432587f367a09e565597?acc_token=bd5c66f3799e41a68efc7d93b68db635 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"contractTemplateName": "00000000.0002.01"
}
}
Response
HTTP/1.0 422 Unprocessable Entity
Content-Type: application/json
{
"status": "error",
"errors": [
{
"location": "body",
"name": "contractTemplateName",
"description": "Can't change contract template name in current tender 'active.pre-qualification' status"
}
]
}
You can delete contract template while in draft tender status:
Request
PATCH /api/2.5/tenders/4cb89d5e743e432587f367a09e565597?acc_token=bd5c66f3799e41a68efc7d93b68db635 HTTP/1.0
Authorization: Bearer broker
Content-Type: application/json
Host: lb-api-sandbox.prozorro.gov.ua
{
"data": {
"contractTemplateName": null
}
}
Response
HTTP/1.0 200 OK
Content-Type: application/json
{
"data": {
"date": "2023-10-10T01:00:00+03:00",
"dateModified": "2023-10-10T01:00:00+03:00",
"dateCreated": "2023-10-10T01:00:00+03:00",
"tenderID": "UA-2023-10-10-000001-a",
"documents": [
{
"confidentiality": "public",
"documentType": "tenderNotice",
"id": "5e3f144af8c94d9fa2256ddbad809e0a",
"datePublished": "2023-10-10T01:00:00+03:00",
"hash": "md5:00000000000000000000000000000000",
"title": "name.doc",
"format": "application/msword",
"url": "http://public-docs-sandbox.prozorro.gov.ua/get/005d993382014f54baf676364786c270?Signature=vgB8nIMRx4dLli%2F8lP5ThhcDkMUXRTXJWE2CY90ayPAT9Umz2jczWMJx2gBSbtSFPvmFv%2BfMyxU87NLK2c%2FLBQ%3D%3D&KeyID=a8968c46",
"documentOf": "tender",
"dateModified": "2023-10-10T01:00:00+03:00",
"author": "tender_owner",
"language": "uk"
}
],
"status": "draft",
"owner": "broker",
"title": "футляри до державних нагород",
"mainProcurementCategory": "goods",
"procurementMethod": "open",
"submissionMethod": "electronicAuction",
"awardCriteria": "lowestCost",
"procuringEntity": {
"name": "Державне управління справами",
"identifier": {
"scheme": "UA-EDR",
"id": "00037256",
"uri": "http://www.dus.gov.ua/"
},
"address": {
"streetAddress": "вул. Банкова, 11, корпус 1",
"locality": "м. Київ",
"region": "м. Київ",
"postalCode": "01220",
"countryName": "Україна"
},
"contactPoint": {
"name": "Державне управління справами",
"telephone": "+0440000000"
},
"kind": "general",
"signerInfo": {
"name": "Test Testovich",
"email": "example@email.com",
"telephone": "+380950000000",
"iban": "111111111111111",
"position": "Генеральний директор",
"authorizedBy": "Статут компанії"
}
},
"value": {
"currency": "UAH",
"amount": 500.0,
"valueAddedTaxIncluded": true
},
"tenderPeriod": {
"startDate": "2023-10-17T00:00:00+02:00",
"endDate": "2023-10-24T00:00:00+02:00"
},
"milestones": [
{
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"title": "signingTheContract",
"type": "financing",
"code": "prepayment",
"percentage": 45.55,
"duration": {
"days": 2,
"type": "banking"
},
"sequenceNumber": 1
},
{
"id": "14ca33376fb846a1850d2e771d689748",
"title": "deliveryOfGoods",
"type": "financing",
"code": "postpayment",
"percentage": 54.45,
"duration": {
"days": 900,
"type": "calendar"
},
"sequenceNumber": 2
}
],
"procurementMethodType": "belowThreshold",
"enquiryPeriod": {
"startDate": "2023-10-10T01:00:00+03:00",
"clarificationsUntil": "2023-10-19T00:00:00+03:00",
"endDate": "2023-10-17T00:00:00+02:00"
},
"items": [
{
"id": "ffffffffffffffffffffffffffffffff",
"description": "футляри до державних нагород",
"description_en": "Cases with state awards",
"description_ru": "футляры к государственным наградам",
"unit": {
"name": "кілограм",
"value": {
"amount": 6.0,
"currency": "UAH",
"valueAddedTaxIncluded": true
},
"code": "KGM"
},
"quantity": 5.0,
"classification": {
"description": "Cartons",
"scheme": "ДК021",
"id": "44617100-9"
},
"additionalClassifications": [
{
"scheme": "ДКПП",
"id": "17.21.1",
"description": "папір і картон гофровані, паперова й картонна тара"
}
]
}
],
"id": "4cb89d5e743e432587f367a09e565597"
},
"config": {
"hasAuction": true,
"hasAwardingOrder": true,
"hasValueRestriction": true,
"valueCurrencyEquality": true,
"hasPrequalification": false,
"minBidsNumber": 1,
"hasPreSelectionAgreement": false,
"hasTenderComplaints": false,
"hasAwardComplaints": false,
"hasCancellationComplaints": false,
"hasValueEstimation": true,
"hasQualificationComplaints": false,
"tenderComplainRegulation": 0,
"qualificationComplainDuration": 0,
"awardComplainDuration": 2,
"cancellationComplainDuration": 0,
"clarificationUntilDuration": 1,
"qualificationDuration": 0,
"minTenderingDuration": 2,
"hasEnquiries": true,
"minEnquiriesDuration": 3,
"enquiryPeriodRegulation": 0,
"restricted": false
}
}