{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Bill of quantities and price list — Métré et bordereau de prix / Meetstaat en prijslijst (BE)","description":"Belgian bill of quantities of a contractor, in one of three roles: the price offer against a specification, the annex that fixes the unit prices and quantities of a works contract, or the measurement statement of the quantities actually executed. The issuer's identification (Code of economic law art. III.25), the client, the site, the specification, chapters and items (code, description, unit, quantity, kind of quantity or price, unit price, amount), the exclusions, the VAT regime and VAT lines, the total price. For a consumer offer the total price including VAT, the validity, the estimated duration, the place of conclusion of the contract and the withdrawal information are asked. Every amount is typed by the user; nothing is computed or defaulted.","type":"object","additionalProperties":false,"required":["document","company","client","site","quote","items"],"properties":{"document":{"type":"object","additionalProperties":false,"required":["role","number","date"],"description":"The document itself.","properties":{"role":{"type":"string","enum":["offer","contract_annex","measurement_statement"],"description":"offer: the contractor's price offer against a specification; contract_annex: annexed to the works contract (fixes the unit prices and quantities); measurement_statement: the statement (état de métré) of the quantities actually executed, which supports a progress statement."},"number":{"type":"string","description":"Number of the document."},"date":{"type":"string","format":"date","description":"Date of the document."},"valid_until":{"type":"string","format":"date","description":"Last day on which the offer is valid."},"estimated_duration":{"type":"string","description":"Estimated duration of the works, as the contractor states it (for example: 60 working days)."},"measurement":{"type":"object","additionalProperties":false,"required":["period_from","period_to","measured_by"],"description":"The measurement statement (role measurement_statement): the period measured, who measured it and who agreed.","properties":{"period_from":{"type":"string","format":"date","description":"First day of the period measured."},"period_to":{"type":"string","format":"date","description":"Last day of the period measured."},"measured_by":{"type":"string","description":"Name of the person or firm that measured the quantities."},"agreed_by":{"type":"object","additionalProperties":false,"description":"Who agreed the measured quantities (no default status).","properties":{"name":{"type":"string","description":"Name of the person who agreed the quantities."},"role":{"type":"string","description":"Function or capacity of that person (for example: client, architect, supervisor)."},"date":{"type":"string","format":"date","description":"Date of the agreement."}}}}}},"allOf":[{"if":{"properties":{"role":{"const":"measurement_statement"}},"required":["role"]},"then":{"required":["measurement"]}}]},"contract":{"type":"object","additionalProperties":false,"description":"The works contract the document relates to.","properties":{"signed_on":{"type":"string","format":"date","description":"Date of signature of the works contract the document relates to; it selects the legal regime (old Civil Code, or Book 7 from 1 September 2027). Leave out if not known."}}},"company":{"type":"object","additionalProperties":false,"required":["name","enterprise_number","address","postal_code","commune","iban"],"description":"The contractor (or subcontractor) that issues the document.","properties":{"name":{"type":"string","description":"Name or company name of the enterprise."},"legal_form":{"type":"string","description":"Legal form (for example SRL, SA, SC), as the enterprise writes it."},"enterprise_number":{"type":"string","description":"Belgian enterprise number (KBO/BCE), written 0123.456.789.","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"},"vat_number":{"type":"string","description":"Belgian VAT number, written BE0123456789 (leave out if the enterprise has none).","pattern":"^BE[01][0-9]{9}$"},"address":{"type":"string","description":"Street and number."},"postal_code":{"type":"string","description":"Postal code."},"commune":{"type":"string","description":"Municipality."},"phone":{"type":"string","description":"Telephone number."},"email":{"type":"string","description":"E-mail address."},"iban":{"type":"string","description":"IBAN of a payment account the enterprise holds (Code of economic law art. III.25, al. 2)."},"bic":{"type":"string","description":"BIC of that account."}}},"client":{"type":"object","additionalProperties":false,"required":["name"],"description":"The person or enterprise the document is addressed to.","properties":{"name":{"type":"string","description":"Name of the client."},"contact_person":{"type":"string","description":"Contact person at the client."},"address":{"type":"string","description":"Street and number."},"postal_code":{"type":"string","description":"Postal code."},"commune":{"type":"string","description":"Municipality."},"enterprise_number":{"type":"string","description":"Enterprise number of a business client, written 0123.456.789.","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"},"vat_number":{"type":"string","description":"VAT number of a business client."}}},"site":{"type":"object","additionalProperties":false,"required":["address"],"description":"The site of the works.","properties":{"address":{"type":"string","description":"Address of the site (street, number, postal code, municipality)."}}},"specification":{"type":"object","additionalProperties":false,"description":"The specification or plans the bill answers (the author's own reference).","properties":{"title":{"type":"string","description":"Title of the specification or plans."},"author":{"type":"string","description":"Author of the specification (for example the architect or the design office)."},"date":{"type":"string","format":"date","description":"Date of the specification."},"version":{"type":"string","description":"Version or index of the specification."}}},"quote":{"type":"object","additionalProperties":false,"required":["profile","vat_regime","total_excl_vat"],"description":"Profile of the client, VAT regime and totals.","properties":{"profile":{"type":"string","enum":["b2c","b2b"],"description":"b2c: the client is a consumer; b2b: the client is an enterprise."},"price_display":{"type":"string","enum":["incl_vat","excl_vat"],"description":"How the unit prices and amounts of the items are shown to the consumer: incl_vat (including VAT) or excl_vat (excluding VAT). The total including VAT is always given and printed (Code of economic law art. VI.4)."},"vat_regime":{"type":"string","enum":["standard","reverse_charge_art20","exempt","small_business_franchise","unknown"],"description":"VAT regime of the works, as the contractor states it: standard (VAT lines are printed), reverse_charge_art20 (royal decree no. 1 art. 20: no VAT amount is printed), exempt, small_business_franchise, unknown. The template decides nothing."},"conclusion_context":{"type":"string","enum":["premises","off_premises","distance"],"description":"Where the contract is concluded with a consumer: premises (in the enterprise's premises), off_premises (in the simultaneous physical presence of the enterprise and the consumer away from its premises; Code of economic law art. I.8, 31°, which also covers its cases c) and d)), distance."},"no_withdrawal_reason":{"type":"string","enum":["urgent_repairs","new_buildings"],"description":"The case of art. VI.73 without a withdrawal right that the contractor claims: urgent_repairs (8°, the consumer expressly asked for a visit to carry out urgent maintenance or repair work) or new_buildings (14°, construction of new buildings and major transformation of existing ones). Printed in the words of the law; the template decides nothing."},"withdrawal":{"type":"object","additionalProperties":false,"required":["start"],"properties":{"start":{"type":"string","enum":["service_conclusion","sale_possession","multiple_goods_last","lots_last","regular_delivery_first"],"description":"Event from which the 14-day withdrawal period runs (Annex 1, instruction 1)."},"goods_return":{"type":"string","enum":["seller_collects","consumer_returns"],"description":"For a contract with goods: whether the seller collects the goods or the consumer returns them (Annex 1, instruction 5 a)."},"return_recipient":{"type":"string","description":"Name and geographical address of a person authorised by the seller to receive the returned goods, if any."},"return_costs":{"type":"string","enum":["seller","consumer_direct_costs","consumer_fixed_amount","consumer_estimated_maximum","seller_collects_own_expense"],"description":"Who bears the cost of returning the goods (Annex 1, instruction 5 b); seller_collects_own_expense: in an off-premises contract, goods that by their nature cannot normally be returned by post and were delivered to the consumer's home when the contract was concluded."},"return_cost_eur":{"type":"number","minimum":0,"description":"Amount of the return cost (fixed amount, or estimated maximum)."},"online_interface":{"type":"boolean","description":"For a distance contract: whether it is concluded by means of an online interface (web shop, app); then art. VI.61/2 requires a withdrawal function."},"online_withdrawal_function":{"type":"string","description":"Web address or other reference where the online withdrawal function (art. VI.61/2) is found, if the seller provides one."},"online_form_address":{"type":"string","description":"Web address where the model form or another unambiguous statement can be filled in and sent online, if the seller offers it."},"exceptions":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["service_fully_performed","financial_market_price","made_to_specification","perishable","sealed_hygiene","mixed_after_delivery","alcoholic_beverages","urgent_repairs","sealed_media","newspapers","public_auction","dated_leisure_services","digital_content_started","betting_lotteries","new_buildings"]},"description":"Cases without a withdrawal right, chosen by the seller as applicable to its offer: art. VI.53 for a distance contract, art. VI.73 for an off-premises contract (new_buildings is art. VI.73, 14° only; betting_lotteries is art. VI.53, 14° only)."}},"allOf":[{"if":{"properties":{"start":{"enum":["sale_possession","multiple_goods_last","lots_last","regular_delivery_first"]}},"required":["start"]},"then":{"required":["goods_return","return_costs"]}},{"if":{"properties":{"return_costs":{"enum":["consumer_fixed_amount","consumer_estimated_maximum"]}},"required":["return_costs"]},"then":{"required":["return_cost_eur"]}},{"if":{"properties":{"online_interface":{"const":true}},"required":["online_interface"]},"then":{"required":["online_withdrawal_function"]}}]},"total_excl_vat":{"type":["string","number"],"description":"Total of the bill excluding VAT."},"total_vat":{"type":["string","number"],"description":"Total VAT."},"total_incl_vat":{"type":["string","number"],"description":"Total price including VAT (Code of economic law art. VI.4 for a consumer)."},"vat_lines":{"type":"array","description":"VAT breakdown by rate (printed only under the standard regime).","items":{"type":"object","additionalProperties":false,"required":["rate","base","amount"],"properties":{"rate":{"type":["string","number"],"description":"VAT rate, in percent."},"base":{"type":["string","number"],"description":"Taxable base."},"amount":{"type":["string","number"],"description":"VAT amount."}}}}},"allOf":[{"if":{"properties":{"profile":{"const":"b2c"}},"required":["profile"]},"then":{"required":["price_display"]}},{"if":{"properties":{"conclusion_context":{"enum":["off_premises","distance"]}},"required":["conclusion_context"]},"then":{"required":["withdrawal"]}}]},"items":{"type":"array","minItems":1,"description":"The items of the bill, in the order of the specification (flat list; the chapter code groups them).","items":{"type":"object","additionalProperties":false,"required":["description","quantity_kind","amount"],"properties":{"chapter_code":{"type":"string","description":"Code of the chapter (lot or post) the item belongs to, as given in the specification."},"item_code":{"type":"string","description":"Code of the item as given in the specification (the specification's own numbering)."},"description":{"type":"string","description":"Description of the work or supply."},"quantity_kind":{"type":"string","enum":["fixed","presumed","lump_sum","provisional_sum"],"description":"fixed (QF, quantité forfaitaire), presumed (QP, quantité présumée), lump_sum (PG, prix global) or provisional_sum (SAP, somme à justifier): the contractor's own convention, not a legal category."},"unit":{"type":"string","description":"Unit of the quantity (for example: m², m, piece). Required for a fixed or presumed quantity."},"quantity":{"type":["string","number"],"description":"Quantity of the contract (the contract quantity for the roles offer and contract_annex). Required for a fixed or presumed quantity."},"unit_price":{"type":["string","number"],"description":"Unit price (excluding VAT, or including VAT when price_display is incl_vat). Required for a fixed or presumed quantity."},"amount":{"type":["string","number"],"description":"Amount of the item (excluding VAT, or including VAT when price_display is incl_vat)."},"contract_quantity":{"type":["string","number"],"description":"Measurement statement: the quantity of the contract."},"measured_quantity":{"type":["string","number"],"description":"Measurement statement: the quantity measured."},"note":{"type":"string","description":"Note on the item."}},"allOf":[{"if":{"properties":{"quantity_kind":{"enum":["fixed","presumed"]}},"required":["quantity_kind"]},"then":{"required":["unit","quantity","unit_price"]}}]}},"chapters":{"type":"array","description":"The chapters (lots or posts) with their subtotals, as the user types them.","items":{"type":"object","additionalProperties":false,"required":["title","subtotal"],"properties":{"code":{"type":"string","description":"Code of the chapter (the chapter_code of its items)."},"title":{"type":"string","description":"Title of the chapter."},"subtotal":{"type":["string","number"],"description":"Subtotal of the chapter, as typed."}}}},"exclusions":{"type":"array","description":"What the bill does not include.","items":{"type":"string"}},"assumptions":{"type":"string","description":"Assumptions and remarks of the contractor."},"signature":{"type":"object","additionalProperties":false,"description":"Who signs for the contractor.","properties":{"signatory_name":{"type":"string","description":"Name of the person who signs for the contractor."},"signatory_title":{"type":"string","description":"Function of that person."}}},"acceptance":{"type":"object","additionalProperties":false,"description":"The client's acceptance of the offer.","properties":{"client_name":{"type":"string","description":"Name of the person who accepts for the client."},"date":{"type":"string","format":"date","description":"Date of the acceptance."}}}}}