{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","description":"Construction subcontract (Belgium), business to business: the contractor and the subcontractor, the main contract it refers to (its date and the signature date of the subcontract select the legal regime), the subcontracted works, price and VAT regime (reverse charge is the user's answer, never derived; no VAT amount is printed under it), payments, schedule, site rules (the two clauses of the law of 4 August 1996, art. 29, 2°, on a temporary or mobile site), reception between the parties, liability, sub-subcontracting and the direct action, the social-security and fiscal withholding mentions, termination, disputes, annexes, signatures. Nothing is computed or defaulted.","additionalProperties":false,"required":["contract","contractor","subcontractor","main_contract","works","price","payments","schedule","site_rules","acceptance","liability","signatures"],"properties":{"contract":{"type":"object","additionalProperties":false,"required":["reference","signed_on"],"properties":{"reference":{"type":"string","description":"Reference of the subcontract."},"signed_on":{"type":"string","format":"date","description":"Date the subcontract is signed: with the date of the main contract it selects the legal regime (old Civil Code or Book 7, from 1 September 2027)."},"place":{"type":"string","description":"Place where the subcontract is concluded."}},"description":"The subcontract: reference, signature date (with the main contract date it selects the legal regime), place."},"contractor":{"type":"object","additionalProperties":false,"required":["name","enterprise_number","address","postal_code","commune","iban","role"],"properties":{"name":{"type":"string","description":"Name or company name of the contractor."},"legal_form":{"type":"string","description":"Legal form, as written by the enterprise; a sole trader leaves it blank."},"enterprise_number":{"type":"string","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$","description":"Belgian enterprise number (KBO/BCE), written 0123.456.789."},"vat_number":{"type":"string","pattern":"^BE[01][0-9]{9}$","description":"Belgian VAT number, written BE0123456789."},"address":{"type":"string","description":"Street and number of the seat (domiciliation)."},"postal_code":{"type":"string","description":"Postal code of the seat."},"commune":{"type":"string","description":"Municipality of the seat."},"rpm_court":{"type":"string","description":"Seat of the enterprise court named after RPM / RPR (legal persons only)."},"in_liquidation":{"type":"boolean","description":"True when the legal person is in liquidation; printed only when true."},"iban":{"type":"string","description":"IBAN of a payment account the contractor holds (CDE art. III.25, al. 2)."},"bic":{"type":"string","description":"BIC of that account."},"email":{"type":"string","description":"E-mail address of the contractor."},"phone":{"type":"string","description":"Telephone number of the contractor."},"signatory":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","description":"Name of the person who signs for the contractor."},"title":{"type":"string","description":"Capacity of the signatory."}},"description":"The person who signs for the contractor."},"role":{"type":"string","enum":["main_contractor","subcontractor_of_main_contractor","subcontractor_of_a_subcontractor"],"description":"Role of the contractor in the chain: main contractor, subcontractor of the main contractor, or subcontractor of a subcontractor."}},"description":"The contractor (company block; IBAN required: CDE art. III.25, al. 2)."},"subcontractor":{"type":"object","additionalProperties":false,"required":["name","established_in_belgium","address"],"properties":{"name":{"type":"string","description":"Name or company name of the subcontractor."},"legal_form":{"type":"string","description":"Legal form of the subcontractor; a sole trader leaves it blank."},"established_in_belgium":{"type":"string","enum":["yes","no"],"description":"Whether the subcontractor is established in Belgium (a Belgian enterprise number is required only then)."},"enterprise_number":{"type":"string","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$","description":"Belgian enterprise number (KBO/BCE) of the subcontractor, written 0123.456.789 (required when it is established in Belgium)."},"vat_number":{"type":"string","pattern":"^BE[01][0-9]{9}$","description":"Belgian VAT number of the subcontractor, written BE0123456789."},"foreign_identification":{"type":"string","description":"Foreign company or VAT number of a subcontractor not established in Belgium, as the user gives it."},"address":{"type":"string","description":"Street, number and, for a subcontractor abroad, country of the seat."},"postal_code":{"type":"string","description":"Postal code of the seat."},"commune":{"type":"string","description":"Municipality of the seat."},"email":{"type":"string","description":"E-mail address of the subcontractor."},"phone":{"type":"string","description":"Telephone number of the subcontractor."},"signatory":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","description":"Name of the person who signs for the subcontractor."},"title":{"type":"string","description":"Capacity of the signatory."}},"description":"The person who signs for the subcontractor."}},"description":"The subcontractor (company block; the enterprise number is required only for a subcontractor established in Belgium)."},"main_contract":{"type":"object","additionalProperties":false,"required":["client_name","site_address","date"],"properties":{"client_name":{"type":"string","description":"Name of the client of the main contract."},"site_address":{"type":"string","description":"Address of the site."},"reference":{"type":"string","description":"Reference of the main contract."},"date":{"type":"string","format":"date","description":"Date the main contract is signed: with the subcontract date it selects the legal regime."},"flow_down_documents":{"type":"array","description":"Documents of the main contract that bind the subcontractor back to back (plans, specifications, safety and health plan...), as the user lists them.","items":{"type":"string"}},"flow_down_clauses":{"type":"string","description":"Clauses of the main contract applicable back to back to the subcontractor, in the parties' own words."}},"description":"The main contract the subcontract refers to: client, site, reference, date, documents flowed down."},"works":{"type":"object","additionalProperties":false,"required":["description","art30bis_scope"],"properties":{"description":{"type":"string","description":"Description of the subcontracted works."},"exclusions":{"type":"string","description":"Works expressly excluded from the subcontract."},"art30bis_scope":{"type":"string","enum":["yes","no","unknown"],"description":"Whether the works are 'travaux' within the meaning of art. 30bis, § 1 of the law of 27 June 1969 (activities of art. 20, § 2 of AR no. 1 on VAT): the user's answer, never derived."}},"description":"The subcontracted works."},"price":{"type":"object","additionalProperties":false,"required":["method","vat_regime","customer_vat_return_filer"],"properties":{"method":{"type":"string","enum":["fixed_price","unit_prices","cost_plus","mixed"],"description":"Price method."},"total_excl_vat":{"type":"number","minimum":0,"description":"Total price excluding VAT."},"vat_regime":{"type":"string","enum":["standard","reverse_charge_art20","exempt","small_business_franchise","unknown"],"description":"VAT regime of the price (user's answer): standard, reverse charge (AR no. 1, art. 20), exempt, small business franchise, unknown."},"customer_vat_return_filer":{"type":"string","enum":["yes","no","unknown"],"description":"Whether the customer is a taxable person required to file periodic VAT returns (AR no. 1, art. 20, § 1): the user's answer, never derived."},"vat_lines":{"type":"array","description":"VAT lines: base, rate and amount (printed only for standard VAT).","items":{"type":"object","additionalProperties":false,"required":["base","rate","amount"],"properties":{"base":{"type":"number","minimum":0,"description":"Taxable base of the line."},"rate":{"type":"number","minimum":0,"description":"VAT rate of the line, in percent."},"amount":{"type":"number","minimum":0,"description":"VAT amount of the line."}},"description":"VAT lines: base, rate and amount (printed only for standard VAT)."}},"total_incl_vat":{"type":"number","minimum":0,"description":"Total price including VAT (compulsory under standard VAT)."}},"description":"Price and VAT regime of the subcontract."},"payments":{"type":"object","additionalProperties":false,"properties":{"by_progress_statement":{"type":"boolean","description":"Whether the sub-contractor invoices on progress statements."},"term_days":{"type":"integer","minimum":0,"description":"Payment term in days, as agreed."},"conditional_on_client_payment":{"type":"boolean","description":"Whether the subcontractor is paid only once the client has paid the contractor (pay-when-paid)."},"retention_pct":{"type":"number","minimum":0,"description":"Retention, in percent of the price, as agreed."},"retention_release":{"type":"string","description":"How and when the retention is released."},"direct_payment_clause":{"type":"string","description":"Direct-payment or consignation clause, in the parties' own words (a legal choice)."}},"description":"Payments: progress statements, term, retention, direct payment (an object, possibly empty)."},"schedule":{"type":"object","additionalProperties":false,"required":["start_date","duration_value","duration_unit"],"properties":{"start_date":{"type":"string","format":"date","description":"Start date of the subcontracted works."},"duration_value":{"type":"number","minimum":0,"description":"Execution period (number)."},"duration_unit":{"type":"string","enum":["working_days","calendar_days","weeks","months"],"description":"Unit of the execution period."},"end_date":{"type":"string","format":"date","description":"End date of the works, as the parties give it."},"coordination":{"type":"string","description":"How the subcontract schedule is coordinated with the schedule of the main contract."},"delay_damages_per_day":{"type":"number","minimum":0,"description":"Delay damages per day of delay, as agreed."}},"description":"Schedule of the subcontracted works."},"site_rules":{"type":"object","additionalProperties":false,"required":["temporary_or_mobile_site","presence_registration_applies"],"properties":{"temporary_or_mobile_site":{"type":"string","enum":["yes","no","unknown"],"description":"Whether the works take place on a temporary or mobile site (art. 2 of the royal decree of 25 January 2001): the user's answer, never derived."},"measures_at_defaulter_cost_cases":{"type":"string","description":"Cases in which the contractor may itself take the necessary safety and health measures at the defaulting party's cost, in the parties' own words (required on a temporary or mobile site)."},"pss_received":{"type":"boolean","description":"Whether the safety and health plan was received by the subcontractor."},"coordinator":{"type":"string","description":"Name of the safety coordinator."},"basic_safety_training_attested":{"type":"boolean","description":"Whether the basic safety training of the subcontractor's workers is attested (only where the subcontractor has workers; blank otherwise)."},"access_hours":{"type":"string","description":"Access and working hours on the site."},"waste":{"type":"string","description":"Waste handling on the site."},"equipment_provided_by":{"type":"string","enum":["contractor","subcontractor","client","other"],"description":"Who provides the shared equipment (scaffolding, lifting, tools)."},"presence_registration_applies":{"type":"string","enum":["yes","no","unknown"],"description":"Whether the site is subject to the presence registration (works of a total amount excluding VAT equal to or above the legal threshold): the user's answer, the threshold is never computed."},"presence_system_provided_by":{"type":"string","enum":["contractor","main_contractor","other_method"],"description":"Who provides the presence registration system (required when the registration applies)."},"works_declaration_number":{"type":"string","description":"Identification number of the works declaration (asked for sites registered from 1 January 2027)."},"presence_note":{"type":"string","description":"Note on the presence registration, as the user gives it."}},"description":"Site rules and safety (an object; the presence registration answers are flat members)."},"acceptance":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"type":"string","enum":["own_reception","with_main_contract_reception"],"description":"Mode of reception between the parties: own reception, or tied to the reception of the main contract."},"reserves_procedure":{"type":"string","description":"Procedure for reserves at reception."}},"description":"Reception of the subcontracted works between the contractor and the subcontractor."},"liability":{"type":"object","additionalProperties":false,"properties":{"insurance_insurer":{"type":"string","description":"Insurer of the subcontractor's liability, as the user gives it."},"insurance_policy_number":{"type":"string","description":"Policy number of that insurance, as the user gives it."}},"description":"Liability and insurance references as given (an object, possibly empty)."},"sub_subcontracting":{"type":"object","additionalProperties":false,"properties":{"allowed":{"type":"boolean","description":"Whether the subcontractor may in turn subcontract the works."},"notice_to_contractor_in_writing_before":{"type":"string","description":"The parties' rule on the prior written notice to the contractor of a further subcontractor (when sub-subcontracting is allowed)."}},"description":"Sub-subcontracting by the subcontractor."},"withholding":{"type":"object","additionalProperties":false,"properties":{"works_declared_to_onss_on":{"type":"string","format":"date","description":"Date the works were declared to the ONSS (the user's own record)."},"social_check_at_signing_on":{"type":"string","format":"date","description":"Date of the user's check of the ONSS public database at signing."},"social_check_done_on":{"type":"string","format":"date","description":"Date of the user's last check, before the last payment."},"attestations_received":{"type":"array","description":"Attestations received from the subcontractor (labelled list; no legal claim attached).","items":{"type":"object","additionalProperties":false,"required":["type"],"properties":{"type":{"type":"string","description":"Kind of attestation or document, as the user labels it."},"date":{"type":"string","format":"date","description":"Date of the attestation or document."}},"description":"Attestations received from the subcontractor (labelled list; no legal claim attached)."}}},"description":"Records kept by the user for the social-security and fiscal withholding duties (30bis)."},"termination":{"type":"object","additionalProperties":false,"properties":{"contractor_clause":{"type":"string","description":"Termination clause for the contractor, in the parties' own words."},"subcontractor_clause":{"type":"string","description":"Termination clause for the subcontractor, in the parties' own words."}},"description":"Termination clauses."},"dispute":{"type":"object","additionalProperties":false,"properties":{"court":{"type":"string","description":"Court with jurisdiction, as agreed."},"mediation":{"type":"boolean","description":"Whether the parties try mediation first."}},"description":"Disputes."},"additional_clauses":{"type":"array","description":"Additional clauses.","items":{"type":"object","additionalProperties":false,"required":["title","text"],"properties":{"title":{"type":"string","description":"Title of the clause."},"text":{"type":"string","description":"Text of the clause."}},"description":"Additional clauses."}},"annexes":{"type":"array","description":"List of the annexes.","items":{"type":"string"}},"signatures":{"type":"object","additionalProperties":false,"required":["date"],"properties":{"date":{"type":"string","format":"date","description":"Date of signature."},"place":{"type":"string","description":"Place of signature."}},"description":"Signature of the subcontract."}}}