POST /api/goszakup/contracts
Price: 20 credits
Kazakhstan public procurement contract from zakup.gov.kz by id: customer and supplier, the tender it came from, prices with and without VAT, amounts paid, dates of signature and execution, the item list with plan items, acts of acceptance and the contract files.
Takes the `id` of a goszakup/contracts/search row. An amendment points at the contract it changes in `parent_contract` and at the original in `root_contract`; `acts` are the signed acceptance acts with their amounts.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)id integer required — Contract id from goszakup/contracts/search (examples: 111838512; min: 0)@type string (default: "GoszakupContract")id integer requiredexternal_id integer nullablenumber string nullablesystem_number string nullablesystem object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablestatus object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablecontract_type object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablecontract_form object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullableyear_type object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablepurchase_method object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullableactual_purchase_method object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablepurchase_subject object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablebudget_type object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablefunding_source object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablecurrency string nullablecurrency_rate number nullableyear integer nullabledescription string nullabledescription_kk string nullablecustomer object nullable@type string (default: "GoszakupOrgRef")id integer nullableexternal_id integer nullableiin_bin string nullablename string nullablename_kk string nullablefull_name string nullablefull_name_kk string nullableis_resident boolean nullableorganization_type object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullableemail string nullablephone string nullablesupplier object nullable@type string (default: "GoszakupOrgRef")id integer nullableexternal_id integer nullableiin_bin string nullablename string nullablename_kk string nullablefull_name string nullablefull_name_kk string nullableis_resident boolean nullableorganization_type object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullableemail string nullablephone string nullabletender object nullable@type string (default: "GoszakupContractTender")id integer nullableexternal_id integer nullablenumber string nullablename string nullableurl string nullabletotal_price number nullablepublished_at integer nullableoffer_start_at integer nullableoffer_end_at integer nullablerepeated_offer_start_at integer nullablerepeated_offer_end_at integer nullablediscussion_start_at integer nullablediscussion_end_at integer nullableresults_published_at integer nullableis_among_disabled boolean nullableis_light_industry boolean nullableupdated_at integer nullableparent_contract object nullable@type string (default: "GoszakupContractRef")id integer nullablenumber string nullablesystem_number string nullableroot_contract object nullable@type string (default: "GoszakupContractRef")id integer nullablenumber string nullablesystem_number string nullableprice_with_vat number nullableprice_without_vat number nullablepaid_with_vat number nullablepaid_without_vat number nullableplan_sum_with_vat number nullableplan_sum_without_vat number nullablepurchase_total_with_vat number nullablepurchase_total_without_vat number nullablelocal_content_share number nullablepurchase_document_name string nullablepurchase_document_number string nullablepurchase_document_date string nullablesigning_reason_document_name string nullablesigning_reason_document_name_kk string nullablesigning_reason_document_number string nullablesigning_reason_document_at integer nullablesigned_at integer nullablestart_at integer nullableend_at integer nullablecontract_end_at integer nullablevalidity_at integer nullableplanned_execution_at integer nullableactual_execution_at integer nullableprocurement_executed_at integer nullableis_approved_by_customer boolean nullableis_approved_by_supplier boolean nullableis_enforced boolean nullableis_state_institution boolean nullableis_supplier_vat_payer boolean nullablefile object nullable@type string (default: "GoszakupFile")id string nullablename string nullableurl string nullableuuid string nullableuploaded_by string nullableuploaded_at integer nullableorganization_id integer nullableprint_file object nullable@type string (default: "GoszakupFile")id string nullablename string nullableurl string nullableuuid string nullableuploaded_by string nullableuploaded_at integer nullableorganization_id integer nullableline_items array (default: [])@type string (default: "GoszakupContractItem")id integer nullableexternal_id integer nullablequantity number nullableitem_price_with_vat number nullableitem_price_without_vat number nullableprice_with_vat number nullableprice_without_vat number nullablepurchase_total_with_vat number nullablepurchase_total_without_vat number nullablepaid_with_vat number nullablepaid_without_vat number nullableprepayment_paid number nullablevat_sum number nullablelocal_content_share number nullablelocal_content_sum number nullablesupplier_type string nullableplanned_execution_at integer nullableactual_execution_at integer nullablelot object nullable@type string (default: "GoszakupLotRef")id integer nullableexternal_id integer nullablenumber string nullablename string nullabletotal_price number nullableplan_item object nullable@type string (default: "GoszakupPlanItem")id integer requiredexternal_id integer nullablename string nullablename_kk string nullabledescription string nullabledescription_kk string nullableextra_description string nullableextra_description_kk string nullablesystem object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablestatus object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablepurchase_method object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablepurchase_method_justification object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablepurchase_subject object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullableitem_type object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablebudget_type object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablebudget_administrator object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablefunding_source object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullableenstru object nullable@type string (default: "GoszakupEnstru")id integer nullablecode string nullablename string nullablename_kk string nullableshort_description string nullableshort_description_kk string nullableitem_type object nullable (see schema GoszakupCode)is_for_disabled_people boolean nullableis_construction_work boolean nullableis_score_based_tender boolean nullableyear integer nullablemonth string nullableplan_id integer nullableplan_act_number string nullableplan_act_date string nullableorganization object nullable@type string (default: "GoszakupOrgRef")id integer nullableexternal_id integer nullableiin_bin string nullablename string nullablename_kk string nullablefull_name string nullablefull_name_kk string nullableis_resident boolean nullableorganization_type object nullable (see schema GoszakupRef)email string nullablephone string nullablestate_institution object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullablequantity number nullableunit string nullableunit_price number nullabletotal_price number nullabletotal_price_year_1 number nullabletotal_price_year_2 number nullabletotal_price_year_3 number nullabletotal_price_year_4 number nullabletotal_price_year_5 number nullableprepayment_percent number nullabledelivery_deadline string nullabledelivery_deadline_kk string nullabledelivery_address object nullable@type string (default: "GoszakupKato")id integer nullablecode string nullablename string nullablefull_name string nullablefull_name_kk string nullablelevel integer nullabledeliveries array (default: [])financing array (default: [])attributes array (default: [])is_quasi_sector boolean nullableis_externally_active boolean nullableis_externally_deleted boolean nullablepurchase_limitation_sign integer nullableupdated_at integer nullableupdated_at integer nullableacts array (default: [])@type string (default: "GoszakupAct")id integer nullableexternal_id integer nullablenumber string nullablestatus object nullable@type string (default: "GoszakupRef")id integer nullablename string nullablename_kk string nullableact_at integer nullablesent_at integer nullableapproved_at integer nullablerevoked_at integer nullablesum number nullablesum_without_prepayment number nullablesigners array (default: [])@type string (default: "GoszakupActSigner")role string nullablesigned_at integer nullablelines array (default: [])@type string (default: "GoszakupActLine")id integer nullableexternal_id integer nullablenumber string nullablequantity number nullablesum number nullablesum_without_prepayment number nullableupdated_at integer nullableupdated_at integer nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — No contract with that id Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.