Privacy Policy
Last updated: 12 September 2026
Khazna is a personal finance application. It exists to show you your own money clearly, which means it necessarily holds detailed financial information about you. This policy explains what we collect, why, who else can see it, and what you can ask us to do with it.
We do not sell your personal information, and we do not share it with advertisers.
1. Information you give us
- Account details — your email address and a password, used to sign in.
- Financial records you create or import — accounts and balances, transactions, payees, categories, budgets, liabilities, investment holdings and trades. This is the substance of the service.
- Bank SMS messages, if you choose to import them. Khazna can read bank notification messages to create transactions automatically. Importing is optional and off until you enable it. Messages are parsed to extract an amount, a merchant, a date and a card or account reference; the resulting transaction is stored, and the original message text is stored with it so you can check what a transaction was derived from.
- Messages and images you send to the AI assistant — including photographs of broker confirmations or receipts, if you use that feature.
- Anything you send us directly — support emails and contact-form messages.
2. Information collected automatically
- Technical data needed to serve the application — IP address, browser or device type, and timestamps of requests, recorded in server logs.
- Essential cookies and local storage, used to keep you signed in and to remember preferences such as your language. We do not use advertising or cross-site tracking cookies.
3. Why we process it
- To provide the service — storing your records and computing balances, budgets and net worth.
- To authenticate you and keep your account secure.
- To fetch market prices for the instruments you track.
- To send notifications you have asked for.
- To take payment for a subscription.
- To diagnose faults, prevent abuse, and meet legal obligations.
4. Who else processes your data
Khazna relies on the following providers. Each receives only what its function requires.
| Provider | Purpose | What it receives |
|---|---|---|
| Supabase | Authentication | Email address, password credential, session tokens |
| StreamPay | Subscription payments | Billing identifiers and subscription status. Card details are entered with the payment provider and are never stored by Khazna. |
| Anthropic | AI assistant | Only the messages and images you send to the assistant, plus the account and holding data needed to answer them. Used only if you use the feature. |
| Yahoo Finance, CoinGecko, Saudi Exchange (Tadawul), Argaam | Market prices, dividends, company announcements, analyst data | Ticker symbols only — never your balances, holdings sizes or identity |
| Telegram | Notifications, if you link a chat | The contents of the notifications you enable, sent to the chat you link |
We also disclose information where the law requires it, or where it is necessary to protect the rights or safety of users.
5. If you connect Khazna to an AI client
Khazna can expose your data to an external AI client, such as Claude, through an API key or an authorised connection. This only happens when you create that connection yourself. You choose which groups of tools to grant — reading finances, writing transactions, reading or writing portfolio data — and you can revoke the key or authorisation at any time in Settings, which cuts off access immediately. While a connection is active, that client can read the data covered by the scopes you granted.
6. Storage, location and retention
Your data is stored in a PostgreSQL database on infrastructure we control, and transmitted over HTTPS. Passwords are handled by our authentication provider and are never stored in readable form.
We keep your data for as long as your account exists. If you delete your account, we delete your financial records within 30 days, except where we must retain something to meet a legal or accounting obligation. Backups are overwritten on a rolling basis and may hold residual copies for a short period after deletion.
7. Your rights
You may ask us to give you a copy of your data, correct it, delete it, or restrict how we use it. Much of this you can do yourself inside the application; for anything you cannot, write to [email protected] and we will respond within 30 days. If you are in a jurisdiction that grants you a right to complain to a data protection authority, you may do so.
8. Children
Khazna is not directed at children under 13, and we do not knowingly collect their information. If you believe a child has given us data, contact us and we will remove it.
9. Changes to this policy
If we change this policy we will update the date above, and for significant changes we will tell you in the application or by email before they take effect.
10. Contact
Questions about this policy or your data: [email protected]
سياسة الخصوصية
آخر تحديث: ١٢ سبتمبر ٢٠٢٦
خزنة تطبيق للإدارة المالية الشخصية، وغرضه أن يعرض لك أموالك بوضوح، وهذا يعني بالضرورة أنه يحتفظ بمعلومات مالية تفصيلية عنك. توضّح هذه السياسة ما الذي نجمعه، ولماذا، ومن يمكنه الاطلاع عليه، وما الذي يمكنك أن تطلب منّا فعله به.
لا نبيع معلوماتك الشخصية، ولا نشاركها مع المعلنين.
١. المعلومات التي تزوّدنا بها
- بيانات الحساب — بريدك الإلكتروني وكلمة المرور، لتسجيل الدخول.
- السجلات المالية التي تنشئها أو تستوردها — الحسابات والأرصدة والمعاملات والجهات والفئات والميزانيات والالتزامات والحيازات الاستثمارية وصفقاتها. وهذه هي جوهر الخدمة.
- رسائل البنك النصية، إن اخترت استيرادها. يمكن لخزنة قراءة رسائل إشعارات البنك لإنشاء معاملات تلقائيًا. الاستيراد اختياري ومعطّل حتى تفعّله. تُحلَّل الرسائل لاستخراج المبلغ والتاجر والتاريخ ورقم البطاقة أو الحساب، ثم تُحفظ المعاملة الناتجة، ويُحفظ نص الرسالة الأصلي معها لتتمكن من مراجعة مصدر المعاملة.
- الرسائل والصور التي ترسلها إلى المساعد الذكي — بما في ذلك صور إشعارات الوسيط المالي أو الإيصالات، إن استخدمت هذه الميزة.
- ما ترسله إلينا مباشرة — رسائل الدعم ونموذج التواصل.
٢. المعلومات التي تُجمع تلقائيًا
- بيانات تقنية لازمة لتشغيل التطبيق — عنوان IP ونوع المتصفح أو الجهاز وأوقات الطلبات، تُسجَّل في سجلات الخادم.
- ملفات تعريف ارتباط أساسية وتخزين محلي لإبقائك مسجّل الدخول ولتذكّر تفضيلاتك مثل اللغة. لا نستخدم ملفات تعريف ارتباط إعلانية أو للتتبع عبر المواقع.
٣. لماذا نعالج هذه البيانات
- لتقديم الخدمة — حفظ سجلاتك واحتساب الأرصدة والميزانيات وصافي الثروة.
- للتحقق من هويتك والحفاظ على أمان حسابك.
- لجلب أسعار السوق للأدوات التي تتابعها.
- لإرسال الإشعارات التي طلبتها.
- لتحصيل قيمة الاشتراك.
- لتشخيص الأعطال ومنع إساءة الاستخدام والوفاء بالالتزامات النظامية.
٤. الجهات الأخرى التي تعالج بياناتك
تعتمد خزنة على المزوّدين التالين، ويتلقى كل منهم ما تتطلبه وظيفته فقط.
| المزوّد | الغرض | ما الذي يتلقاه |
|---|---|---|
| Supabase | المصادقة | البريد الإلكتروني وبيانات كلمة المرور ورموز الجلسة |
| StreamPay | مدفوعات الاشتراك | معرّفات الفوترة وحالة الاشتراك. تُدخل بيانات البطاقة لدى مزوّد الدفع ولا تحفظها خزنة إطلاقًا. |
| Anthropic | المساعد الذكي | الرسائل والصور التي ترسلها إلى المساعد فقط، مع بيانات الحسابات والحيازات اللازمة للإجابة. يُستخدم فقط إن استخدمت الميزة. |
| Yahoo Finance وCoinGecko والسوق المالية السعودية (تداول) وأرقام | الأسعار والتوزيعات وإعلانات الشركات وبيانات المحللين | رموز الأسهم فقط — لا أرصدتك ولا أحجام حيازاتك ولا هويتك |
| Telegram | الإشعارات، إن ربطت محادثة | محتوى الإشعارات التي تفعّلها، تُرسل إلى المحادثة التي تربطها |
كما نفصح عن المعلومات عندما يقتضي النظام ذلك، أو عند الضرورة لحماية حقوق المستخدمين أو سلامتهم.
٥. إذا ربطت خزنة بمساعد ذكي خارجي
يمكن لخزنة أن تتيح بياناتك لعميل ذكاء اصطناعي خارجي، مثل Claude، عبر مفتاح واجهة برمجية أو اتصال مُصرّح به. ولا يحدث ذلك إلا إذا أنشأت هذا الاتصال بنفسك. أنت من يحدد مجموعات الأدوات الممنوحة — قراءة البيانات المالية، أو كتابة المعاملات، أو قراءة بيانات المحفظة أو الكتابة فيها — ويمكنك إلغاء المفتاح أو التصريح في أي وقت من الإعدادات، فيتوقف الوصول فورًا. وما دام الاتصال فعّالًا، يستطيع ذلك العميل قراءة البيانات التي تغطيها الصلاحيات الممنوحة.
٦. التخزين والموقع ومدة الاحتفاظ
تُحفظ بياناتك في قاعدة بيانات PostgreSQL على بنية تحتية نديرها، وتُنقل عبر HTTPS. تُدار كلمات المرور لدى مزوّد المصادقة ولا تُحفظ بصيغة قابلة للقراءة أبدًا.
نحتفظ ببياناتك ما دام حسابك قائمًا. وإذا حذفت حسابك، نحذف سجلاتك المالية خلال ٣٠ يومًا، إلا ما يلزمنا الاحتفاظ به للوفاء بالتزام نظامي أو محاسبي. وتُستبدل النسخ الاحتياطية دوريًا وقد تحتفظ بنسخ متبقية لفترة قصيرة بعد الحذف.
٧. حقوقك
يمكنك أن تطلب نسخة من بياناتك أو تصحيحها أو حذفها أو تقييد استخدامنا لها. ويمكنك تنفيذ كثير من ذلك بنفسك داخل التطبيق؛ ولما لا تستطيع، راسلنا على [email protected] وسنرد خلال ٣٠ يومًا. وإن كنت في دولة تمنحك حق التظلّم لدى جهة حماية بيانات، فلك ذلك.
٨. الأطفال
خزنة ليست موجّهة للأطفال دون سن ١٣، ولا نجمع معلوماتهم عن علم. وإن كنت تعتقد أن طفلًا زوّدنا ببيانات، فتواصل معنا وسنحذفها.
٩. تعديلات هذه السياسة
إن عدّلنا هذه السياسة فسنحدّث التاريخ أعلاه، وفي التغييرات الجوهرية سنبلغك داخل التطبيق أو عبر البريد الإلكتروني قبل سريانها.
١٠. التواصل
للاستفسار عن هذه السياسة أو عن بياناتك: [email protected]