29 lines · 4.7 KB · JSONRaw
{ "about": "A synthetic bank statement as a Cotton package carries it: one account, the statement's document, a read September statement with its opening and closing balances, three printed lines with the balance after each, the three money rows booked from them and the evidence tying each row to its line. Invented names and figures only. A local copy that imports it works the account's run from these balances (cotton-ffi phone_only_tests; the walk opens the same package, written by `write_walk_package`).", "tables": { "cotton_money_accounts": [ { "id": "synthetic-acct-everyday", "kind": "bank", "subtype": "bank", "name": "Synthetic Everyday", "currency": "INR", "institution": "Invented Bank", "number_mask": "XXXX4321", "is_default": true, "created_at": "2026-10-01T09:00:00.000Z", "updated_at": "2026-10-01T09:00:00.000Z" } ], "cotton_documents": [ { "id": "synthetic-doc-september", "title": "Invented Bank September statement", "original_name": "september.csv", "mime": "text/csv", "byte_size": 512, "sha256": "5d1be7e9a3f9b1c2d4e6f8a0b2c4d6e8f0a1b3c5d7e9f1a2b4c6d8e0f2a4b6c8", "storage_path": "synthetic-invented-bank/documents/synthetic-september.csv", "status": "ready", "doc_type": "bank_statement", "period_start": "2026-09-01", "period_end": "2026-09-30", "created_at": "2026-10-01T09:00:00.000Z", "updated_at": "2026-10-01T09:00:00.000Z" } ], "cotton_money_statements": [ { "id": "synthetic-stmt-september", "document_id": "synthetic-doc-september", "account_id": "synthetic-acct-everyday", "kind": "bank", "period_start": "2026-09-01", "period_end": "2026-09-30", "opening_balance_minor": 100000, "closing_balance_minor": 330000, "currency": "INR", "read_status": "read", "line_count": 3, "sum_in_minor": 500000, "sum_out_minor": 270000, "balance_check": "ok", "created_at": "2026-10-01T09:00:01.000Z", "updated_at": "2026-10-01T09:00:01.000Z" } ], "cotton_money_statement_lines": [ { "id": "synthetic-line-1", "statement_id": "synthetic-stmt-september", "page": 1, "line_no": 1, "posted_on": "2026-09-03", "text": "SALARY INVENTED WORKS", "amount_minor": 500000, "direction": "in", "balance_after_minor": 600000, "fingerprint": "synthetic-fp-1", "created_at": "2026-10-01T09:00:02.000Z" }, { "id": "synthetic-line-2", "statement_id": "synthetic-stmt-september", "page": 1, "line_no": 2, "posted_on": "2026-09-05", "text": "UPI/RENT/INVENTED LANDLORD", "amount_minor": 250000, "direction": "out", "balance_after_minor": 350000, "fingerprint": "synthetic-fp-2", "created_at": "2026-10-01T09:00:02.000Z" }, { "id": "synthetic-line-3", "statement_id": "synthetic-stmt-september", "page": 1, "line_no": 3, "posted_on": "2026-09-12", "text": "INVENTED GROCER", "amount_minor": 20000, "direction": "out", "balance_after_minor": 330000, "fingerprint": "synthetic-fp-3", "created_at": "2026-10-01T09:00:02.000Z" } ], "cotton_money_transactions": [ { "id": "synthetic-tx-salary", "occurred_on": "2026-09-03", "description": "SALARY INVENTED WORKS", "account_id": "synthetic-acct-everyday", "amount_minor": 500000, "amount_known": true, "direction": "in", "currency": "INR", "status": "actual", "moves_money": true, "source": "statement", "created_at": "2026-10-01T09:00:03.000Z", "updated_at": "2026-10-01T09:00:03.000Z" }, { "id": "synthetic-tx-rent", "occurred_on": "2026-09-05", "description": "UPI/RENT/INVENTED LANDLORD", "account_id": "synthetic-acct-everyday", "amount_minor": 250000, "amount_known": true, "direction": "out", "currency": "INR", "status": "actual", "moves_money": true, "source": "statement", "created_at": "2026-10-01T09:00:03.000Z", "updated_at": "2026-10-01T09:00:03.000Z" }, { "id": "synthetic-tx-grocer", "occurred_on": "2026-09-12", "description": "INVENTED GROCER", "account_id": "synthetic-acct-everyday", "amount_minor": 20000, "amount_known": true, "direction": "out", "currency": "INR", "status": "actual", "moves_money": true, "source": "statement", "created_at": "2026-10-01T09:00:03.000Z", "updated_at": "2026-10-01T09:00:03.000Z" } ], "cotton_money_evidence": [ { "id": "synthetic-ev-1", "transaction_id": "synthetic-tx-salary", "kind": "statement_line", "ref_id": "synthetic-line-1", "excerpt": "SALARY INVENTED WORKS", "attached_by": "import", "created_at": "2026-10-01T09:00:04.000Z" }, { "id": "synthetic-ev-2", "transaction_id": "synthetic-tx-rent", "kind": "statement_line", "ref_id": "synthetic-line-2", "excerpt": "UPI/RENT/INVENTED LANDLORD", "attached_by": "import", "created_at": "2026-10-01T09:00:04.000Z" }, { "id": "synthetic-ev-3", "transaction_id": "synthetic-tx-grocer", "kind": "statement_line", "ref_id": "synthetic-line-3", "excerpt": "INVENTED GROCER", "attached_by": "import", "created_at": "2026-10-01T09:00:04.000Z" } ] }}