{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Bank Reconciliation","description":"Periodic reconciliation between a company's internal book balance and the bank statement balance for a single account, listing every reconciling item (outstanding deposits, outstanding checks, bank fees, interest, errors) and computing a reconciled balance with preparer and reviewer sign-off.","type":"object","required":["entity","account","period","currency","balances","reconciling_items","totals","preparer","reviewer"],"additionalProperties":false,"properties":{"entity":{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1}}},"account":{"type":"object","required":["name","bank","number"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"bank":{"type":"string","minLength":1},"number":{"type":"string","minLength":1}}},"period":{"type":"object","required":["start","end"],"additionalProperties":false,"properties":{"start":{"type":"string","format":"date"},"end":{"type":"string","format":"date"}}},"currency":{"type":"string","minLength":3,"maxLength":3},"statement_reference":{"type":"string"},"balances":{"type":"object","required":["opening_book","closing_book","opening_bank","closing_bank"],"additionalProperties":false,"properties":{"opening_book":{"type":"number"},"closing_book":{"type":"number"},"opening_bank":{"type":"number"},"closing_bank":{"type":"number"}}},"reconciling_items":{"type":"array","minItems":1,"items":{"type":"object","required":["date","type","description","sign","amount"],"additionalProperties":false,"properties":{"date":{"type":"string","format":"date"},"type":{"type":"string","enum":["outstanding_deposit","outstanding_check","bank_fee","interest","error_book","error_bank","direct_debit","other"]},"description":{"type":"string","minLength":1},"sign":{"type":"string","enum":["add","subtract"]},"amount":{"type":"number","minimum":0}}}},"totals":{"type":"object","required":["adjustments_add","adjustments_subtract","reconciled_balance"],"additionalProperties":false,"properties":{"adjustments_add":{"type":"number"},"adjustments_subtract":{"type":"number"},"reconciled_balance":{"type":"number"},"variance":{"type":"number"},"variance_explanation":{"type":"string"}}},"notes":{"type":"string"},"preparer":{"type":"object","required":["name","title"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"date":{"type":"string","format":"date"}}},"reviewer":{"type":"object","required":["name","title"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"title":{"type":"string","minLength":1},"date":{"type":"string","format":"date"}}}}}