{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Bank reconciliation - Rapprochement bancaire / Bankafstemming (BE)","description":"Bank reconciliation of a Belgian SME for one account and one period: opening and closing balances in the books and at the bank, the items to add and to subtract, totals, reconciled balance and variance as the user states them, preparer and reviewer. Nothing is computed and no process sentence is printed.","type":"object","additionalProperties":false,"required":["entity","account","period","currency","balances","totals","preparer"],"properties":{"entity":{"type":"object","description":"The enterprise the reconciliation is for.","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the enterprise."},"enterprise_number":{"type":"string","description":"Enterprise number.","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"}},"required":["name"]},"account":{"type":"object","description":"The bank account that is reconciled.","additionalProperties":false,"properties":{"label":{"type":"string","description":"Label of the account in the books."},"bank":{"type":"string","description":"Bank that holds the account."},"iban":{"type":"string","description":"IBAN of the reconciled account."}},"required":["label","bank","iban"]},"period":{"type":"object","description":"The period reconciled.","additionalProperties":false,"properties":{"start":{"type":"string","description":"First day of the period.","format":"date"},"end":{"type":"string","description":"Last day of the period.","format":"date"}},"required":["start","end"]},"currency":{"type":"string","description":"Currency of the amounts, as the user writes it (for example EUR)."},"statement_references":{"type":"array","description":"References of the bank statements used.","items":{"type":"string"}},"balances":{"type":"object","description":"The four balances.","additionalProperties":false,"properties":{"opening_book":{"type":"number","description":"Opening balance in the books."},"closing_book":{"type":"number","description":"Closing balance in the books."},"opening_bank":{"type":"number","description":"Opening balance on the bank statement."},"closing_bank":{"type":"number","description":"Closing balance on the bank statement."}},"required":["opening_book","closing_book","opening_bank","closing_bank"]},"items_add":{"type":"array","description":"Items to add to the book balance.","items":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","description":"Date of the item.","format":"date"},"type":{"type":"string","description":"Kind of reconciling item (a label only).","enum":["outstanding_deposit","outstanding_check","bank_fee","interest","error_book","error_bank","direct_debit","transfer_in_transit","card_batch_pending","coda_timing","other"]},"description":{"type":"string","description":"Description of the item; it states the direction (to add / to subtract)."},"reference":{"type":"string","description":"Reference of the voucher, statement line or entry."},"amount":{"type":"number","description":"Amount of the item, zero or more (the list it sits in gives its direction).","minimum":0}},"required":["date","type","description","amount"]}},"items_subtract":{"type":"array","description":"Items to subtract from the book balance.","items":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","description":"Date of the item.","format":"date"},"type":{"type":"string","description":"Kind of reconciling item (a label only).","enum":["outstanding_deposit","outstanding_check","bank_fee","interest","error_book","error_bank","direct_debit","transfer_in_transit","card_batch_pending","coda_timing","other"]},"description":{"type":"string","description":"Description of the item; it states the direction (to add / to subtract)."},"reference":{"type":"string","description":"Reference of the voucher, statement line or entry."},"amount":{"type":"number","description":"Amount of the item, zero or more (the list it sits in gives its direction).","minimum":0}},"required":["date","type","description","amount"]}},"totals":{"type":"object","description":"The totals and the result, as the user states them.","additionalProperties":false,"properties":{"adjustments_add":{"type":"number","description":"Total of the items to add."},"adjustments_subtract":{"type":"number","description":"Total of the items to subtract."},"reconciled_balance":{"type":"number","description":"Reconciled balance, as the user states it (never computed)."},"variance":{"type":"number","description":"Unreconciled variance, as the user states it; a stated 0 is printed, a blank is printed as a dash."},"variance_explanation":{"type":"string","description":"Explanation of the variance."}},"required":["adjustments_add","adjustments_subtract","reconciled_balance"]},"corrections_to_book":{"type":"array","description":"Corrections still to be entered in the books.","items":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","description":"Date of the correction.","format":"date"},"description":{"type":"string","description":"Description of the correction."},"amount":{"type":"number","description":"Amount of the correction."}}}},"procedure_note":{"type":"string","description":"Procedure note, typed by the user; nothing is printed when it is absent."},"notes":{"type":"string","description":"Notes."},"preparer":{"type":"object","description":"Who prepared the reconciliation.","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the preparer."},"title":{"type":"string","description":"Title of the preparer."},"date":{"type":"string","description":"Date of preparation.","format":"date"}},"required":["name","title"]},"reviewer":{"type":"object","description":"Who reviewed the reconciliation, if anyone.","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the reviewer."},"title":{"type":"string","description":"Title of the reviewer."},"date":{"type":"string","description":"Date of the review.","format":"date"}}}}}