Henry Expense là app ghi chép thu chi cá nhân dành cho iPhone. Chính sách này nói rõ app lưu gì, gửi gì và gửi cho ai. Mặc định mọi dữ liệu ở lại trên máy của bạn.
Tóm tắt
- Dữ liệu thu chi lưu trên máy bạn, trong cơ sở dữ liệu SQLite của app. Cơ sở dữ liệu này được mã hoá, khoá nằm trong Keychain của iPhone; nếu bạn bật Chuỗi khoá iCloud (iCloud Keychain), khoá có thêm một bản đồng bộ qua đó, được Apple mã hoá đầu-cuối và không chứa dữ liệu thu chi (xem mục Dữ liệu lưu trên máy).
- App Henry Expense không có tài khoản người dùng và không có quảng cáo. App gửi thống kê sử dụng ẩn danh tới TelemetryDeck (mặc định bật, tắt được trong Cài đặt): chỉ gửi tên màn, phiên bản app và iOS, ngôn ngữ, giao diện, món đã mua, mã lỗi và bản tóm tắt ngắn của báo cáo lỗi và hiệu năng do iOS tạo, không bao giờ có số tiền, ghi chú hay dữ liệu thu chi (xem mục Thống kê sử dụng ẩn danh). Henry Expense chỉ có một máy chủ nhỏ, dùng cho Đồng bộ trực tiếp (tính năng tuỳ chọn, cần thuê bao) và cho Tôm (khung Hỏi Tôm trên trang web, và câu hỏi về cách dùng app trong app khi bạn đồng ý); máy chủ này không lưu cuộc trò chuyện với Tôm, và chỉ giữ tạm giao dịch ngân hàng mới của bạn ở dạng mã hoá trên máy chủ (không phải mã hoá đầu-cuối), tối đa 7 ngày, và xoá ngay khi app đã nhận (xem mục Đồng bộ trực tiếp).
- Dữ liệu chỉ rời máy khi bạn tự bật một tính năng tuỳ chọn (Tôm và gợi ý danh mục bằng AI, Gmail, mở app ngân hàng qua dl.vietqr.io trong Chuyển khoản QR, tự động cập nhật tỷ giá, tự cập nhật giá tài sản, tra giá cổ phiếu và tiền mã hoá bằng AI, đọc sao kê ngân hàng bằng AI, Đồng bộ trực tiếp; riêng tỷ giá và giá tài sản tiền mã hoá chỉ gửi mã tiền như VND hoặc USD, giá vàng hiện tại không gửi tham số nào, tra giá bằng AI chỉ gửi mã cổ phiếu hoặc mã BTC/USDT kèm ngày hay thời điểm tra, không gửi số lượng hay dữ liệu thu chi, Đồng bộ trực tiếp gửi bằng chứng mua thuê bao do Apple ký tới máy chủ của Henry Expense, còn đối tác kết nối ngân hàng của Henry Expense gửi giao dịch mới của tài khoản bạn liên kết tới máy chủ này để máy chủ giữ tạm ở dạng mã hoá rồi trả về máy bạn; khi bạn tự chọn "Đồng bộ theo ngày", máy chủ hỏi đối tác giao dịch trong khoảng ngày đó, từ ngày liên kết trở đi, của chính các tài khoản bạn đã liên kết rồi trả thẳng về máy bạn, không lưu lại), tự lưu và chia sẻ tệp sao lưu, tệp xuất, ảnh biểu đồ giá vàng hay ảnh Bảng giá vàng, hoặc tự gửi một email mẫu, thư yêu cầu hỗ trợ ngân hàng hay thư góp ý cho nhà phát triển bằng ứng dụng Mail của máy (bạn thấy trước toàn bộ nội dung và tự bấm gửi). Ngoài ra, khi mở, app tự hỏi máy chủ Expo (u.expo.dev) xem có bản cập nhật của chính ứng dụng không (xem mục Cập nhật ứng dụng qua mạng); việc này không gửi dữ liệu thu chi. Thống kê sử dụng ẩn danh cũng tự gửi khi bạn chưa tắt (xem mục Thống kê sử dụng ẩn danh). Khi bạn mở màn Sổ vàng, Bảng giá vàng hoặc Biểu đồ vàng, app cũng tự tải lịch sử giá vàng công khai từ vang.today, không cần bật hay đồng ý; yêu cầu chỉ có số ngày cần tải, không có dữ liệu nào của bạn (xem mục Lịch sử giá vàng cho biểu đồ). Nếu bạn bật Chuỗi khoá iCloud trong Cài đặt của iPhone, iOS đồng bộ khoá mã hoá dữ liệu sang các thiết bị cùng Apple ID của bạn (xem dòng Mã hoá trên máy); Henry Expense không nhận khoá này. Tính năng "Sao lưu lên iCloud Drive" (mặc định tắt) hiện đang tạm ẩn trong app, nên app không chép gì lên iCloud Drive; khi tính năng được mở lại và bạn bật nó, app chép bản sao lưu tự động đã mã hoá vào iCloud Drive của chính bạn, do Apple lưu giữ; bản này không qua máy chủ nào của Henry Expense và nhà phát triển không xem được (xem mục Sao lưu và xuất dữ liệu). Với Gmail, app chỉ trao đổi dữ liệu trực tiếp với Google, không qua máy chủ nào của Henry Expense, và tuân thủ yêu cầu Sử dụng Hạn chế (Limited Use) của Google; mặc định Tôm (phần đọc sổ) không nhận từng giao dịch nhập từ Gmail, Đồng bộ trực tiếp hay sao kê ngân hàng (cùng công tắc "Giao dịch từ ngân hàng"; xem mục Tôm). Quét hoá đơn và mã QR bằng camera, cùng việc nhập sao kê ngân hàng (kể cả tệp PDF), được xử lý trên máy; riêng khi bạn tự bấm "Đọc bằng AI" ở màn nhập sao kê và đã đồng ý, phần chữ của sao kê đã che số mới được gửi tới nhà cung cấp AI bạn chọn (xem mục Nhập sao kê ngân hàng). Khi bạn bấm micro để nói với Tôm, lời bạn nói được chuyển thành chữ ngay trên máy, không gửi đi và không lưu âm thanh (xem mục Nói với Tôm). Mua trong ứng dụng do Apple xử lý; app chỉ hỏi App Store ngay trên máy xem bạn đã mua món nào (xem mục Mua trong ứng dụng).
- Trang web henryexpense.com có khung để bạn tự tải thư mẫu của ngân hàng lên. Việc này tách khỏi app và chỉ xảy ra khi bạn tự làm trên trang web. Tệp được lưu tại Netlify, chỉ giữ có thời hạn (xem mục Tải thư mẫu lên trang web).
- Tôm trong app: câu hỏi về cách dùng app, nếu bạn đồng ý ở hộp "Hỏi Tôm", đi qua máy chủ của Henry Expense tới một nhà cung cấp dịch vụ AI bên thứ ba (đã che số tiền, chuỗi số dài và email; không có dữ liệu sổ thu chi; máy chủ không lưu cuộc trò chuyện; mỗi ngày có giới hạn lượt). Câu hỏi về sổ của bạn không qua máy chủ này mà dùng khoá AI của chính bạn (xem mục Tôm).
- Trang web henryexpense.com có khung chat Hỏi Tôm. Câu bạn hỏi ở đó đi qua máy chủ của Henry Expense tới một nhà cung cấp dịch vụ AI bên thứ ba để AI trả lời; máy chủ không lưu cuộc trò chuyện. Khung chat tách khỏi app và không xem được dữ liệu thu chi (xem mục Trang web Henry Expense).
Cách chúng tôi bảo vệ dữ liệu
Mục này tóm tắt cách Henry Expense bảo vệ dữ liệu nhạy cảm: dữ liệu thu chi, dữ liệu nhận từ tài khoản Google (Gmail) của bạn và các mã bí mật. Chi tiết nằm ở từng mục bên dưới.
- Giữ ít dữ liệu nhất: app không có tài khoản người dùng hay quảng cáo. Thống kê sử dụng chỉ gồm tín hiệu ẩn danh và mã lỗi cố định (kể cả phần tóm tắt báo cáo lỗi của iOS), không có nội dung lỗi hay dữ liệu thu chi, và bạn tắt được (xem mục Thống kê sử dụng ẩn danh). Dữ liệu thu chi và dữ liệu lấy từ Gmail chỉ được xử lý và lưu trên iPhone của bạn; không có máy chủ nào của Henry Expense nhận chúng. Ngoại lệ duy nhất là giao dịch mới của Đồng bộ trực tiếp: máy chủ của Henry Expense giữ tạm bản rút gọn, mã hoá trên máy chủ, tới khi app nhận (tối đa 7 ngày). Khi đọc thư ngân hàng, app chỉ lấy các ô cần cho giao dịch (số tiền, thời gian, mã giao dịch, nội dung giao dịch), không lưu tên chủ thẻ, tên chủ tài khoản hay thông tin người nhận. Khi nhập sao kê ngân hàng, app không lưu số tài khoản ghi trong tệp, và mật khẩu của tệp PDF chỉ dùng để mở tệp rồi bỏ (xem mục Nhập sao kê ngân hàng).
- Mã hoá khi truyền: mọi địa chỉ máy chủ có sẵn trong app (Google, nhà cung cấp AI, nguồn tỷ giá và giá tài sản, máy chủ Đồng bộ trực tiếp, máy chủ cập nhật của Expo, TelemetryDeck, dl.vietqr.io) đều dùng HTTPS (TLS), nên dữ liệu được mã hoá trên đường truyền. Với địa chỉ máy chủ Đồng bộ trực tiếp, app chỉ chấp nhận HTTPS. Ngoại lệ duy nhất: với nhà cung cấp AI loại Tương thích OpenAI, app chỉ cho dùng http khi bạn tự nhập máy chủ trong mạng nội bộ của mình (ví dụ localhost hay 192.168.x.x); địa chỉ trên Internet phải là HTTPS.
- Mã hoá khi lưu: cơ sở dữ liệu của app (gồm giao dịch, hàng chờ duyệt và cài đặt Gmail) được mã hoá AES-256 (SQLCipher) bằng một khoá ngẫu nhiên tạo ngay trên máy. Bản sao lưu app tự lưu trong máy được mã hoá AES-256-GCM bằng khoá riêng suy ra từ khoá đó; nếu bạn bật sao lưu lên iCloud Drive (hiện đang tạm ẩn trong app), app chỉ chép đúng bản đã mã hoá này lên đó, không bao giờ chép bản chưa mã hoá. Ngoài ra, iOS bảo vệ các tệp của app ở mức cao nhất: khi iPhone đang khoá, không ai đọc được các tệp này. Dữ liệu từ bản cũ của app chỉ được mã hoá sau khi app chuyển xong (xem dòng Mã hoá trên máy ở mục Dữ liệu lưu trên máy).
- Nơi giữ khoá và mã bí mật: khoá mã hoá dữ liệu, mã băm của PIN, token đăng nhập Google và khoá API AI nằm trong Keychain của iOS, ở mục riêng của app (app khác không đọc được); chúng không nằm trong cơ sở dữ liệu, tệp sao lưu hay tệp xuất. App không ghi nội dung thư, token, khoá API, PIN hay khoá mã hoá vào nhật ký. App không chứa khoá bí mật nào dùng chung cho mọi người dùng: khoá để làm việc với đối tác kết nối ngân hàng và khoá AI mà Tôm dùng để trả lời câu hỏi về cách dùng app chỉ nằm trong kho bí mật của máy chủ Henry Expense.
- Kiểm soát truy cập trên máy: dữ liệu chỉ mở được bằng app trên iPhone có khoá mã hoá. Bạn có thể bật khoá app bằng PIN hoặc Face ID/Touch ID; app chặn tạm sau nhiều lần nhập sai PIN, che nội dung khi bạn rời app, và hỏi xác thực lại trước khi xuất sao lưu, CSV, Excel hay xoá dữ liệu ứng dụng (xem mục Khoá app).
- Tệp đưa ra ngoài máy: tệp sao lưu bạn xuất luôn có mật khẩu do bạn đặt, được mã hoá AES-256-GCM bằng khoá suy ra từ mật khẩu (PBKDF2-HMAC-SHA256, từ 210.000 tới 600.000 vòng tuỳ tốc độ máy); app phát hiện và từ chối tệp đã bị sửa. Tệp CSV và Excel không có mật khẩu và chứa hầu hết các sổ của bạn, hãy giữ ở nơi an toàn (xem mục Sao lưu và xuất dữ liệu).
- Dữ liệu Google: app chỉ xin quyền đọc thư
gmail.readonly cùng quyền định danh cơ bản, đăng nhập bằng OAuth của Google với PKCE trong trình duyệt của hệ điều hành (app không thấy mật khẩu Google) và gọi thẳng máy chủ của Google qua HTTPS. App chỉ đọc thư của các địa chỉ người gửi bạn chọn và dùng dữ liệu theo yêu cầu Sử dụng Hạn chế của Google: không bán, không chuyển cho bên khác, không dùng cho quảng cáo hay huấn luyện AI. Ghi chú lấy từ thư, tiêu đề, đoạn trích và địa chỉ người gửi không bao giờ được gửi cho nhà cung cấp AI. Bạn xoá dữ liệu Gmail bằng "Ngắt kết nối" (thu hồi quyền với Google và xoá token) hoặc "Xoá toàn bộ dữ liệu Gmail", và tự thu hồi quyền bất cứ lúc nào tại https://myaccount.google.com/permissions (xem các mục về Gmail).
- Nhà phát triển không truy cập dữ liệu trên máy bạn: không có máy chủ nào nhận dữ liệu thu chi trên máy hay dữ liệu Gmail của bạn, nên nhà phát triển không xem được chúng, và Henry Expense không bao giờ nhận khoá mã hoá của bạn. Riêng giao dịch mới của Đồng bộ trực tiếp nằm tạm ở máy chủ dạng mã hoá, nhưng máy chủ giải mã được để trả cho app; nhà phát triển cam kết không mở xem chúng (xem mục Đồng bộ trực tiếp). Nhà phát triển chỉ thấy những gì bạn tự gửi (email cho nhà phát triển, tệp tải lên trang web, cuộc gọi hay tin nhắn tới hotline, tin nhắn qua Messenger, bài bạn đăng trong nhóm Facebook) và số liệu thống kê ẩn danh không gắn với bạn (xem mục Thống kê sử dụng ẩn danh).
- Máy chủ Đồng bộ trực tiếp (api.henryexpense.com): chỉ dùng HTTPS. Mọi yêu cầu từ app phải kèm bằng chứng mua thuê bao mà máy chủ đã kiểm đúng chữ ký của Apple. Mỗi tài khoản liên kết có một địa chỉ nhận giao dịch riêng, ngẫu nhiên, và đối tác phải gửi kèm mã bí mật riêng của địa chỉ đó (máy chủ chỉ lưu mã băm của mã này). Máy chủ giới hạn số yêu cầu theo từng khách và theo địa chỉ IP; địa chỉ IP chỉ dùng làm khoá đếm tạm của bộ giới hạn yêu cầu, không được ghi vào cơ sở dữ liệu hay nhật ký của máy chủ. Máy chủ chỉ lưu bản rút gọn của giao dịch mới, mã hoá AES-256-GCM bằng khoá riêng cho từng khách (suy ra từ một khoá chỉ nằm trong kho bí mật của máy chủ), tối đa 7 ngày; máy chủ tự giải mã khi trả cho app, nên đây không phải mã hoá đầu-cuối; số tài khoản chỉ lưu 4 số cuối và một mã băm có khoá. Khi bạn tự lấy lại giao dịch theo khoảng ngày, máy chủ chỉ hỏi đối tác với số tài khoản đang liên kết của chính bạn, rồi trả kết quả đã rút gọn thẳng về app, không ghi vào cơ sở dữ liệu. Máy chủ không lưu bằng chứng mua, chỉ gửi cho đối tác một mã khách đã băm có khoá, và chỉ trả về 4 số cuối tài khoản. Nhật ký chỉ ghi loại yêu cầu, mã kết quả và thời gian xử lý (xem mục Đồng bộ trực tiếp).
- Báo lỗ hổng bảo mật: nếu bạn tìm thấy lỗ hổng, hãy gửi email tới địa chỉ ở mục Liên hệ, tiêu đề bắt đầu bằng [Security]. Nhà phát triển thường trả lời trong 7 ngày, báo kết quả đánh giá trong 30 ngày và đặt mục tiêu sửa trong 90 ngày.
Dữ liệu lưu trên máy
- Ví, giao dịch, danh mục, ngân sách, nợ, tiết kiệm, mục tiêu, tài sản (nhà đất, xe, vàng... cùng các lần mua, lần bán và các lần định giá) và các dữ liệu bạn nhập khác được lưu cục bộ trong SQLite. Sổ vàng, Bảng giá vàng và Biểu đồ vàng được tính ngay trên máy từ các dữ liệu này cùng giá vàng công khai app đã tải về (xem mục Tự cập nhật giá tài sản và mục Lịch sử giá vàng cho biểu đồ); app không gửi dữ liệu nào của bạn đi để tính.
- Cài đặt app cũng lưu trên máy.
- Báo cáo lỗi và hiệu năng do iOS tạo được lưu tạm trong bộ nhớ của app cho tới khi app rút gọn xong, rồi bị xoá; không nằm trong tệp sao lưu của app hay bản sao lưu iCloud (xem mục Thống kê sử dụng ẩn danh).
- Hướng dẫn nhanh (tour) ở màn Hướng dẫn và trong tin Tôm báo tính năng mới chạy trên máy, không gửi gì đi. Tour không đọc hay ghi dữ liệu thu chi của bạn; bản nháp mẫu trong tour chỉ để minh hoạ, không được lưu. App chỉ nhớ trên máy bạn đã xem hướng dẫn nào (theo máy, không nằm trong tệp sao lưu; "Xoá dữ liệu ứng dụng" xoá dấu này).
- Ngôn ngữ bạn chọn (Tiếng Việt hoặc English) lưu trong phần cài đặt của iOS trên máy và không nằm trong tệp sao lưu của app. App không gửi lựa chọn này cho Henry Expense. Khi bạn dùng Tôm hoặc Điểm tin, app dặn AI trả lời bằng ngôn ngữ này (xem mục Tôm). Khi app kết nối mạng cho các tính năng tuỳ chọn ở trên, iOS có thể tự kèm ngôn ngữ ưu tiên của app như với mọi ứng dụng.
- Ghi nhớ danh mục: khi bạn chọn hoặc đổi danh mục cho một khoản thu/chi có ghi chú (trên form, ở màn Phân loại giao dịch, khi duyệt thư Gmail hoặc khi nhập sao kê ngân hàng), khi bạn lưu giao dịch có danh mục điền sẵn từ hoá đơn, app lưu ghi chú đã rút gọn (chữ thường, bỏ dấu, bỏ số có từ 4 chữ số, email, đường dẫn web và từ đệm như "chuyen tien"; tối đa 80 ký tự) cùng danh mục bạn chọn và số lần chọn, để lần sau tự gợi ý đúng danh mục. App không lưu số tiền, ví hay ngày giao dịch trong ghi nhớ này. Giữ tối đa 2.000 dòng, dòng cũ nhất bị bỏ trước. Bạn tắt "Nhớ lựa chọn danh mục", xem và xoá từng dòng, hoặc bấm "Xoá bộ nhớ phân loại" trong Cài đặt AI. Ghi nhớ và từ khoá gợi ý danh mục chạy hoàn toàn trên máy, kể cả khi bạn không dùng AI.
- Từ bảng ghi nhớ đó, app tự tạo một tệp chữ dễ đọc
ai-memory/ghi-nho-danh-muc.md trong bộ nhớ tạm của app (cùng nội dung: ghi chú đã rút gọn, tên danh mục, số lần; dòng học từ thư Gmail hay từ sao kê ngân hàng ghi "từ email, không gửi AI"). Tệp do app viết lại sau mỗi thay đổi, AI không viết vào tệp, sửa tệp không có tác dụng, và tệp không được gửi đi đâu. Tệp không hiện trong ứng dụng Tệp của iPhone và không nằm trong bản sao lưu iCloud hay bản sao lưu máy tính của iPhone. iOS có thể tự dọn bộ nhớ tạm khi máy thiếu chỗ; app tạo lại tệp từ bảng ghi nhớ. Tệp không được app mã hoá riêng, nhưng được iOS bảo vệ như các tệp khác của app (xem dòng Mã hoá trên máy). Bản cũ của app để tệp này trong thư mục tài liệu của app; khi mở, app xoá chỗ cũ đó.
- Mã PIN của khoá app (lưu dạng băm có salt, không lưu PIN gốc) và các mã bí mật khác (token Gmail, khoá API AI) lưu trong SecureStore, tức Keychain của iOS, không lưu trong cơ sở dữ liệu. Khoá mã hoá dữ liệu cũng nằm trong Keychain, ở mục riêng của app (xem dòng Mã hoá trên máy).
- Sổ ghi lần đầu dùng tính năng: app ghi ngày đầu tiên bạn dùng mỗi tính năng (ví dụ Tài sản, Ngân sách, Quy đổi, Tôm). Ngày này lấy từ lúc bạn dùng tính năng, hoặc từ ngày tạo mục đầu tiên đã có trong app (ví dụ tài sản đầu tiên). Mục đích: khi một tính năng chuyển sang trả phí, người đã dùng tính năng đó từ trước được tiếp tục dùng miễn phí. Lúc đó app xét một lần cho tính năng ấy (dựa vào sổ, và với một số tính năng, dựa thêm vào ngày bạn tải app lần đầu do App Store cung cấp, xem mục Mua trong ứng dụng) rồi ghi kết quả vào sổ: được dùng miễn phí hay không, kèm ngày xét, để kết quả không đổi về sau. Sổ chỉ gồm tên tính năng, ngày, kết quả xét ưu đãi và mốc thời gian mới nhất app đã thấy (để chỉnh lùi đồng hồ máy không làm sai sổ). Sổ không có số tiền, ghi chú hay dữ liệu thu chi nào. Sổ này lưu trong Keychain của iOS, không gửi đi đâu và không nằm trong tệp sao lưu của app. Khôi phục tệp sao lưu không ghi đè sổ, và "Xoá dữ liệu ứng dụng" không xoá sổ. Sổ không đồng bộ qua iCloud Keychain, nhưng có thể theo sang iPhone mới nếu bạn chuyển dữ liệu bằng bản sao lưu iPhone trên máy tính có đặt mật khẩu (xem dòng Đổi sang iPhone mới). Cách xoá hẳn xem mục Quyền của bạn và xoá dữ liệu.
- Trên iOS, hệ thống có thể đưa dữ liệu của app vào bản sao lưu iCloud hoặc bản sao lưu máy tính của chính bạn, tuỳ cài đặt thiết bị. Đó là bản sao lưu của hệ điều hành, do bạn kiểm soát, không phải do Henry Expense gửi đi.
- Mã hoá trên máy: cơ sở dữ liệu của app và các bản sao lưu app tự lưu trong máy (bản sao lưu tự động và bản sao lưu an toàn) được mã hoá AES-256 bằng một khoá ngẫu nhiên do app tạo ngay trên máy. Khoá chỉ là một dãy số ngẫu nhiên, không chứa dữ liệu thu chi. Khoá không nằm trong cơ sở dữ liệu hay tệp nào và không có trong tệp sao lưu của app; cạnh cơ sở dữ liệu, app chỉ lưu một tệp nhỏ ghi tên của khoá (không phải khoá) để biết cần dùng khoá nào. Khoá được lưu hai bản trong Keychain, ở mục riêng của app (app khác không đọc được): một bản chỉ ở trên máy, và một bản đồng bộ qua Chuỗi khoá iCloud khi bạn bật tính năng này trong Cài đặt của iPhone. Theo tài liệu của Apple, Chuỗi khoá iCloud được mã hoá đầu-cuối, nên Apple không đọc được khoá; Henry Expense không bao giờ nhận khoá. Vì còn bản trên máy, tắt Chuỗi khoá iCloud không làm app mất khoá. App không bao giờ sửa hay xoá khoá đã lưu; khi cài mới, app tạo một khoá mới. App đọc được khoá sau lần đầu bạn mở khoá iPhone kể từ khi bật máy. Ngoài ra, các tệp app tạo ra được iOS bảo vệ ở mức cao nhất: khi iPhone đang khoá, không ai đọc được các tệp này, kể cả chính app.
- Khi cập nhật từ bản cũ, app chuyển dữ liệu sẵn có sang dạng mã hoá ngay trên máy lúc mở app, không gửi đi đâu. Nếu chưa chuyển được (ví dụ máy thiếu chỗ trống), dữ liệu vẫn dùng bình thường như trước (chưa mã hoá) và app thử lại ở lần mở sau. Màn Bảo mật cho biết dữ liệu trên máy đã được mã hoá hay chưa.
- Đổi sang iPhone mới: nếu iPhone mới dùng cùng Apple ID và bật Chuỗi khoá iCloud, khoá tự theo sang qua iCloud. Khi bạn khôi phục iPhone mới từ bản sao lưu iCloud, dữ liệu có thể về trước khi khoá đồng bộ xong; nếu app báo chưa mở được dữ liệu, hãy giữ máy mở khoá và có mạng, chờ vài phút rồi bấm Thử lại. Chuyển trực tiếp từ iPhone cũ sang iPhone mới, hoặc dùng bản sao lưu iPhone trên máy tính có đặt mật khẩu, cũng mang theo bản khoá trên máy. Theo tài liệu của Apple, bản sao lưu iCloud và bản sao lưu máy tính không đặt mật khẩu không mang bản khoá trên máy sang iPhone khác; khi đó app cần bản khoá trong Chuỗi khoá iCloud. Nếu bạn đăng nhập Apple ID khác trên máy và bật Chuỗi khoá iCloud, bản đồng bộ của khoá sẽ theo Apple ID mới. Khi không có khoá (ví dụ khác Apple ID, hoặc Chuỗi khoá iCloud tắt trên máy cũ), app trên iPhone mới không mở được dữ liệu cũ và các bản sao lưu tự động, kể cả bản đã chép lên iCloud Drive. Cách chắc chắn nhất: trước khi đổi máy, hãy xuất tệp sao lưu có mật khẩu (xem mục Sao lưu và xuất dữ liệu) rồi khôi phục tệp đó trên máy mới.
- Khi app không mở được dữ liệu (ví dụ thiếu khoá sau khi đổi máy), app không tự xoá gì và không tạo khoá mới. Bạn có thể thử lại, khôi phục từ tệp sao lưu, hoặc bắt đầu với dữ liệu trống; nếu vừa đổi máy, hãy chờ và thử lại trước. Khi bắt đầu lại, dữ liệu cũ (cùng tệp ghi tên khoá cũ) được cất sang một bên trong bộ nhớ của app, không bị xoá, và khoá cũ vẫn còn trong Keychain; "Xoá dữ liệu ứng dụng" xoá phần đã cất này.
Khoá app
- Khoá app dùng MỘT phương thức mở khoá tại một thời điểm: Không khoá, Mã PIN, hoặc Sinh trắc học (Face ID hoặc Touch ID). Không bật PIN và sinh trắc cùng lúc. Đổi phương thức phải xác nhận bằng phương thức đang dùng (nhập đúng PIN, hoặc xác thực của hệ điều hành). Nếu bản cũ của app đang bật cả PIN lẫn sinh trắc, khi cập nhật app giữ PIN và tắt sinh trắc.
- Mã PIN gồm đúng 4 chữ số (10.000 khả năng). Để chống đoán PIN, sau mỗi 5 lần nhập sai app khoá tạm và tăng dần thời gian chờ, từ 30 giây lên tối đa 60 phút mỗi lần; số lần sai được tính cả khi bạn nhập PIN để đổi phương thức. Thời gian chờ chỉ được tính khi app đang chạy: lúc app bị đóng hay máy tắt thì không tính, và đổi giờ của máy không làm thời gian chờ ngắn lại. Vì vậy hãy để app mở và màn hình sáng trong lúc chờ. App chỉ lưu mã băm của PIN trong kho bảo mật của hệ điều hành (Keychain), không gửi PIN đi đâu và không đưa vào tệp sao lưu của app.
- Khi chọn Sinh trắc học, app không có PIN dự phòng: nếu máy không nhận được khuôn mặt/vân tay (hoặc bạn đã xoá sinh trắc trong cài đặt máy), hệ điều hành sẽ cho mở bằng mật mã của thiết bị. Số lần thử sinh trắc do hệ điều hành giới hạn. Vì vậy ai biết mật mã thiết bị cũng mở được app ở chế độ này.
- Ngoại lệ: nếu thiết bị không đặt mật mã và không có sinh trắc nào, khoá bằng sinh trắc tạm không có hiệu lực (app mở không cần xác thực) và màn Bảo mật hiện cảnh báo. Lựa chọn của bạn vẫn được giữ; trong lúc đó, nhắc nhở trên màn hình khoá của máy vẫn có thể hiện số tiền; khoá tự có hiệu lực lại khi bạn đặt mật mã thiết bị. Muốn khoá trên máy như vậy, hãy chọn Mã PIN.
- Khi bạn rời app hoặc mở màn đa nhiệm, app luôn che nội dung bằng một màn có logo của app, kể cả khi chưa bật khoá app. Che không phải khoá: khi chưa bật khoá, quay lại app là dùng tiếp, không cần mở khoá. Khi app khoá, màn khoá nằm trên mọi thứ đang mở trong app, kể cả form ghi chép, bảng chọn, trang trả tiền, bộ chọn tệp và bảng chia sẻ. Riêng hộp hỏi nhỏ của hệ thống (ví dụ hộp xác nhận hay hộp báo lỗi) có thể hiện phía trên màn khoá, kể cả khi hiện ra sau lúc khoá.
- Khi app đang khoá, liên kết từ ngoài app không mở được màn nào. Liên kết của chính app được giữ lại và chỉ mở sau khi bạn mở khoá (trong vòng 5 phút); liên kết khác bị bỏ.
- Bảng chia sẻ (tệp sao lưu, tệp xuất CSV/Excel, nội dung chữ) chỉ mở khi app đã mở khoá và không bị che. Nếu app khoá trong lúc đang chuẩn bị tệp, app không chia sẻ: tệp sao lưu vẫn được lưu trong app, tệp xuất tạm bị xoá.
- Khi khoá app bật, mỗi lần bạn bấm xuất sao lưu, CSV hoặc Excel, app hỏi xác thực lại bằng đúng phương thức đang dùng (PIN, hoặc Face ID/Touch ID/mật mã thiết bị) trước khi tạo tệp. Bạn huỷ hoặc xác thực không được thì app không tạo tệp nào. Sao lưu tự động và bản sao lưu an toàn do app tự tạo không hỏi, vì chúng chỉ được lưu trong bộ nhớ của app.
- Khoá app là lớp bảo vệ bổ sung khi người khác cầm máy đang mở khoá, không thay thế mật mã của thiết bị. Hãy đặt mật mã thiết bị và không dùng PIN dễ đoán (như 0000, 1234 hay ngày sinh).
- Xác thực bằng Face ID, Touch ID, mật mã thiết bị hoặc PIN đều được xử lý trên máy. App không nhận hay lưu dữ liệu sinh trắc học hay mật mã thiết bị; việc nhận diện do hệ điều hành thực hiện.
- Thông tin khoá không được đưa vào tệp sao lưu của app.
- Thao tác "Xoá dữ liệu ứng dụng" (Khác -> Cài đặt) chỉ làm được khi khoá app đang bật và yêu cầu xác thực lại bằng đúng phương thức đang dùng (PIN, hoặc sinh trắc học/mật mã thiết bị). PIN bạn nhập chỉ được dùng để kiểm tra, không được lưu hay ghi log; số lần nhập sai được tính chung với màn hình khoá. Đặt lại không xoá cài đặt khoá app của bạn.
Thông báo nhắc nhở
- Nhắc nhở (khoản định kỳ và kế hoạch, hạn thanh toán thẻ tín dụng, kỳ trả khoản vay, kỳ trả góp, đáo hạn tiết kiệm, ngày góp mục tiêu, ngày nhắc góp vòng Quỹ nhóm, nhắc nhập liệu hằng ngày) là thông báo cục bộ do app lên lịch trên máy bạn.
- App không dùng thông báo đẩy từ máy chủ và không gửi dữ liệu nào ra ngoài để tạo thông báo.
- Bạn bật hoặc tắt nhắc nhở trong Cài đặt. Nhắc nhập liệu hằng ngày có nội dung cố định, không kèm số tiền.
- Mặc định, nhắc nhở chỉ nêu loại nhắc và ngày, không có tên hay số tiền. Chỉ khi bạn bật "Hiện số tiền trong thông báo", đồng thời ẩn số dư và khoá app đều tắt, nhắc nhở mới kèm chi tiết: số tiền và ghi chú hoặc tên (danh mục, khoản vay, khoản trả góp, thẻ, sổ tiết kiệm, mục tiêu, quỹ, vòng góp). Nhắc góp vòng Quỹ nhóm khi đó nêu số người chưa góp đủ và số tiền còn thiếu, không bao giờ nêu tên thành viên. Thông báo có thể hiện trên màn hình khoá của máy.
Rung phản hồi và phông chữ
- Máy rung nhẹ khi bạn lưu giao dịch, ghi nhanh, hoàn tác, mở menu Ghi sổ, hoặc khi lượt đồng bộ bạn bấm ở đầu Tổng quan chạy xong. Rung chỉ xảy ra khi bạn đang thao tác trong app và không gửi dữ liệu nào ra ngoài. Rung không cần bạn cấp quyền và không cho app đọc dữ liệu nào. Bạn tắt rung trong Khác -> Cài đặt; lựa chọn bật/tắt này có trong tệp sao lưu.
- Phông chữ của theme Sổ ghi (Be Vietnam Pro, IBM Plex Mono) được nhúng sẵn trong app; app không tải phông chữ qua mạng.
- Chế độ màu (Sáng, Tối hoặc Theo máy, ở Khác -> Cài đặt -> Giao diện) chỉ đổi màu hiển thị trên máy. Khi chọn Theo máy, app đọc chế độ sáng/tối của hệ thống để đổi màu; app không cần quyền nào cho việc này và không gửi gì ra ngoài. Lựa chọn này có trong tệp sao lưu.
Camera: quét hoá đơn và mã QR
- Khi thêm giao dịch, bạn có thể chụp hoặc chọn ảnh hoá đơn để app đọc chữ (OCR), hoặc quét mã VietQR chuyển khoản bằng camera hay từ ảnh trong thư viện. App chỉ xin quyền camera, khi bạn chụp hoá đơn hoặc quét QR bằng camera lần đầu. Chọn ảnh dùng bộ chọn ảnh của iOS: app chỉ nhận ảnh bạn chọn và không xin quyền xem thư viện ảnh. Nếu trước đây bạn đã cho app quyền xem ảnh, bạn tắt được trong Cài đặt của iPhone, ở mục Henry Expense, phần Ảnh. Quyền thêm ảnh vào Ảnh chỉ được iOS hỏi khi bạn chọn "Lưu hình ảnh" trong bảng chia sẻ ảnh biểu đồ giá vàng hoặc ảnh Bảng giá vàng; quyền này chỉ cho thêm ảnh, không cho app xem thư viện (xem mục Lịch sử giá vàng cho biểu đồ). Camera và bộ chọn ảnh không dùng micro; app chỉ xin quyền micro cho Nói với Tôm (xem mục Nói với Tôm).
- Việc đọc chữ và giải mã QR làm hoàn toàn trên máy bằng công cụ có sẵn của iOS: Apple Vision đọc chữ, bộ quét mã của hệ thống giải mã QR từ camera và từ ảnh. Ảnh, chữ đọc được và nội dung mã QR không được gửi tới Henry Expense hay dịch vụ nào khác.
- Ảnh chụp và các bản ảnh tạm app tạo ra để quét được xoá ngay sau khi quét xong, kể cả khi quét lỗi hoặc bạn huỷ. App không lưu ảnh chụp vào thư viện và không giữ ảnh trong cơ sở dữ liệu. Camera chỉ chạy khi màn quét QR đang mở.
- Kết quả quét chỉ dùng để điền sẵn form (số tiền, ngày, ghi chú); bạn kiểm tra rồi tự bấm lưu, app không tự tạo giao dịch. Ngoại lệ duy nhất: khi quét từ nút + ở thanh dưới cùng (nút này mở thẳng camera quét mã QR; đóng camera để ghi tay) hoặc nút tắt "Quét QR" ở màn Tổng quan, với tính năng Chuyển khoản QR đã bật, cho phép mở qua dl.vietqr.io và cách ghi sổ "Ghi ngay", app tự lưu giao dịch rồi mở app ngân hàng (xem mục dưới).
- Với mã VietQR, tên người nhận, ngân hàng và số tài khoản (chỉ hiện 4 số cuối) được hiển thị để bạn kiểm tra và không được lưu. Ghi chú điền sẵn lấy từ nội dung chuyển khoản trong mã, hoặc "Chuyển khoản tới" kèm tên người nhận; app không chèn số tài khoản vào ghi chú.
- Ghi chú điền từ hoá đơn hay mã QR, khi bạn lưu, là ghi chú bình thường: nằm trong tệp sao lưu và tệp xuất, và có thể được gửi tới nhà cung cấp AI nếu bạn dùng Tôm (phần đọc sổ) và không tắt chia sẻ ghi chú (xem mục Tôm).
Chuyển khoản QR qua dl.vietqr.io (tính năng tuỳ chọn)
- Sau khi quét mã VietQR, app có thể hiện nút "Chuyển khoản ngay" để mở app ngân hàng của bạn với màn chuyển khoản điền sẵn. Nút chỉ hiện khi bạn đã bật cả "Bật chuyển khoản QR" lẫn "Cho phép mở qua dl.vietqr.io" trong Khác -> Cài đặt -> Chuyển khoản QR. Công tắc "Cho phép mở qua dl.vietqr.io" mặc định tắt; khi tắt, app chỉ điền sẵn form như mục Camera ở trên và không gửi gì đi. Nếu "Bật chuyển khoản QR" đang bật nhưng công tắc này đang tắt, mỗi lần bạn quét từ nút + ở thanh dưới cùng hoặc nút tắt "Quét QR" ở màn Tổng quan một mã có số tiền (giao dịch Chi, VND), app hỏi có bật không (nêu rõ dữ liệu gửi tới vietqr.io). Chọn "Để sau" (hoặc đóng hộp thoại) thì không gửi gì và công tắc vẫn tắt; chọn "Bật và chuyển khoản" thì công tắc được bật cho cả các lần sau (tắt lại trong Khác -> Cài đặt -> Chuyển khoản QR) và app mở liên kết ngay.
- Chỉ khi bạn bấm nút (và chọn app ngân hàng, nếu chưa đặt app mặc định), hoặc khi bạn quét mã từ nút + ở thanh dưới cùng hay nút tắt "Quét QR" ở màn Tổng quan (app tự mở app ngân hàng ngay sau khi quét, không cần bấm nút, chỉ khi công tắc "Cho phép mở qua dl.vietqr.io" đã bật; khi đó nội dung chuyển khoản là ghi chú vừa điền từ mã QR), app mới mở trang dl.vietqr.io bằng trình duyệt trong app (không đưa bạn ra Safari). Trang tự chạy như trình duyệt thông thường rồi chuyển sang app ngân hàng bạn chọn. App không còn gửi yêu cầu nền tới dl.vietqr.io. Nếu trình duyệt trong app không mở được, app mở chính liên kết đó bằng trình duyệt mặc định của máy (thường là Safari). Liên kết chứa: mã app ngân hàng bạn chọn, mã ngân hàng dạng chữ của VietQR (vd vcb, mb; suy ra từ BIN trong mã QR) và số tài khoản đầy đủ của người nhận lấy từ mã QR, số tiền đang nhập trên form và nội dung chuyển khoản là ghi chú đang có trên form (đã bỏ dấu và ký tự đặc biệt, cắt còn tối đa 25 ký tự), kèm một địa chỉ quay lại cố định https://www.vietqr.io/deeplink (tham số bắt buộc để vietqr.io dựng liên kết tự điền; không chứa dữ liệu của bạn). Với các app ngân hàng có hỗ trợ (hiện là MB, BIDV, VietinBank, ACB, OCB), vietqr.io chuyển các thông tin trên sang app ngân hàng để điền sẵn màn chuyển khoản. Nếu bạn đã sửa ghi chú, nội dung đã sửa sẽ được gửi. App không gửi tên ví, danh mục, số dư hay dữ liệu thu chi khác.
- Bộ nhớ tạm: với app ngân hàng không tự điền số tiền (không có nhãn "Tự điền" trong danh sách chọn app), trước khi mở app, Henry Expense sao chép riêng số tiền (số nguyên, không kèm số tài khoản hay nội dung) vào bộ nhớ tạm của máy và báo cho bạn để dán vào app ngân hàng. Các app khác trên máy (hoặc thiết bị Apple liên kết qua Clipboard chung) có thể đọc số tiền này cho tới khi bạn sao chép nội dung khác; Henry Expense không gửi nó đi đâu.
- vietqr.io là dịch vụ của bên thứ ba, không thuộc Henry Expense. Trang được mở trong trình duyệt trong app (Safari View Controller), nên vietqr.io nhận các thông tin trên cùng địa chỉ IP và thông tin trình duyệt như mọi trang web, và trang có thể đặt cookie hay chạy kiểm tra trình duyệt của riêng họ; hai bên xử lý dữ liệu theo chính sách riêng của họ. App không đọc, không lưu và không ghi log nội dung trang. Trình duyệt trong app có thể lưu cookie của vietqr.io; cookie này nằm trong trình duyệt của hệ thống, không phải trong Henry Expense. Safari View Controller không ghi trang này vào lịch sử Safari và không dùng chung cookie với Safari. Khi phải mở bằng trình duyệt mặc định (đường dự phòng), liên kết (gồm số tài khoản người nhận, số tiền, nội dung) có thể được lưu vào lịch sử của trình duyệt đó; bạn xoá được trong lịch sử của trình duyệt.
- App không tự chuyển tiền: bạn vẫn kiểm tra và xác nhận giao dịch trong app ngân hàng.
- Số tài khoản đầy đủ chỉ giữ trong bộ nhớ khi form đang mở để dựng liên kết, không hiển thị, không ghi log, không lưu vào cơ sở dữ liệu hay tệp sao lưu, và bị xoá khi bạn đóng form, bỏ kết quả quét hoặc đổi loại giao dịch. Liên kết cũng không được lưu.
- Với cách ghi sổ "Hỏi khi quay lại", trạng thái chờ xác nhận chỉ nằm trong bộ nhớ; giao dịch chỉ được lưu khi bạn chọn "Ghi vào sổ" sau khi quay lại app. Với "Ghi ngay", giao dịch được lưu như bình thường trước khi mở app ngân hàng. Giao dịch đã lưu không chứa số tài khoản.
- Các cài đặt của tính năng (bật/tắt, app ngân hàng mặc định, ví và danh mục mặc định, cách ghi sổ) lưu trên máy và nằm trong tệp sao lưu; chúng không chứa số tài khoản. Riêng công tắc "Cho phép mở qua dl.vietqr.io" không nằm trong tệp sao lưu và không bị khôi phục ghi đè, nên sau khi khôi phục bạn phải tự bật lại. Tắt "Cho phép mở qua dl.vietqr.io" bất cứ lúc nào để ngừng gửi.
Tự động cập nhật tỷ giá (tuỳ chọn)
- Mặc định tắt. Bạn bật trong Khác -> Cài đặt -> Tiền tệ & tỷ giá, mục Cài đặt, công tắc "Tự động cập nhật tỷ giá"; lần đầu bật, app hiện hộp hỏi đồng ý lấy dữ liệu từ Internet, và chỉ khi bạn đồng ý app mới gọi mạng. Trên màn này, hàng tần suất (Mỗi ngày hoặc Mỗi lần mở app) và khối "Cập nhật ngay" ở đầu màn (nút và dòng trạng thái lần cập nhật gần nhất) chỉ hiện khi công tắc đang bật; liên kết ghi nguồn hiện ở mục Ngoại tệ, không phụ thuộc công tắc. Chưa đồng ý thì app không gửi yêu cầu nào; khi đã tắt, app không gửi yêu cầu nào, kể cả khi bạn bấm làm mới ở mục "Tiền mã hoá (tham khảo)" của màn Quy đổi (nút này chỉ hoạt động khi tự cập nhật tỷ giá đang bật và đã đồng ý, hoặc khi công tắc "Tiền mã hoá" của tra giá bằng AI đang bật, tức đã đồng ý loại này); tỷ giá chỉ là số bạn tự nhập.
- Khi bật, app tự lấy tỷ giá tham khảo theo tần suất bạn chọn (mỗi ngày, hoặc mỗi lần mở app nhưng không quá một lần mỗi giờ; lần trước lỗi thì thử lại sau ít nhất 15 phút), khi bạn bấm "Cập nhật ngay" (trong Tiền tệ & tỷ giá hoặc màn Quy đổi), sau khi bạn đổi tiền tệ chính, khi bạn thêm vào danh sách tiền tệ một loại tiền chưa có tỷ giá, và sau lượt đồng bộ Gmail có giao dịch ngoại tệ đang chờ duyệt mà chưa có tỷ giá. App gửi một yêu cầu HTTPS tải bảng tỷ giá công khai, thử lần lượt tới khi được: cdn.jsdelivr.net (gói dữ liệu currency-api), latest.currency-api.pages.dev (bản sao của cùng dữ liệu) và open.er-api.com (ExchangeRate-API).
- Dữ liệu gửi đi chỉ có mã tiền tệ chính của bạn (ví dụ VND) nằm trong địa chỉ yêu cầu. App không gửi giao dịch, số dư, ví, danh mục, danh sách loại tiền bạn dùng hay bất kỳ dữ liệu thu chi nào. Như mọi kết nối Internet, các máy chủ này thấy địa chỉ IP của bạn và thông tin kỹ thuật của kết nối (ví dụ tên hệ điều hành, phiên bản ứng dụng trong thông tin trình khách), và xử lý theo chính sách riêng của họ. Các bên này không thuộc Henry Expense; Henry Expense không có máy chủ trung gian.
- Tỷ giá nhận về được ghi đè lên tỷ giá hiện có (kể cả tỷ giá bạn nhập tay), trừ loại tiền bạn bật "Giữ tỷ giá thủ công". App bỏ qua giá trị không hợp lệ và giá trị lệch hơn 50% so với tỷ giá đang có (bạn kiểm tra rồi nhập tay nếu đúng). Tỷ giá chỉ để tham khảo, không phải tỷ giá của ngân hàng. Nếu không có mạng hoặc nguồn lỗi, tỷ giá cũ được giữ nguyên.
- App không ghi địa chỉ yêu cầu hay nội dung phản hồi vào nhật ký; chỉ lưu trên máy thời điểm, nguồn và ngày dữ liệu của lần cập nhật gần nhất, hoặc loại lỗi (ví dụ "không có mạng").
- Các cài đặt của tính năng (bật/tắt, đồng ý, tần suất, kết quả lần cập nhật gần nhất) lưu theo thiết bị, không nằm trong tệp sao lưu và không bị khôi phục ghi đè, nên khôi phục một tệp sao lưu không tự bật tính năng trên máy khác. Bản thân tỷ giá (kèm nguồn và trạng thái "Giữ tỷ giá thủ công") là dữ liệu thu chi nên nằm trong tệp sao lưu. Tắt công tắc bất cứ lúc nào để ngừng gửi.
- Danh sách tiền tệ của bạn (các loại tiền hiện ở màn Quy đổi) và loại tiền nguồn đã chọn ở màn Quy đổi là cài đặt lưu trên máy, nằm trong tệp sao lưu và không được gửi đi. Thêm một loại tiền vào danh sách chỉ gọi mạng khi tự động cập nhật đang bật và bạn đã đồng ý; khi đó app vẫn chỉ gửi mã tiền tệ chính rồi lọc trên máy các tỷ giá cần dùng. Số tiền bạn nhập ở màn Quy đổi chỉ nằm trong bộ nhớ, không được lưu hay gửi đi.
- Mục "Tiền mã hoá (tham khảo)" ở màn Quy đổi (BTC, USDT): tiền mã hoá không phải loại tiền của app, chỉ để quy đổi tham khảo; số coin bạn nhập chỉ nằm trong bộ nhớ, không được lưu hay gửi đi. Giá đối chứng (USD của 1 coin) lấy từ chính bảng currency-api mà tự động cập nhật tỷ giá đã tải (không thêm yêu cầu nào), hoặc khi bạn bấm "Cập nhật giá" ở mục này. Nút "Cập nhật giá" chỉ hoạt động khi tự động cập nhật tỷ giá đang bật và đã đồng ý, không gọi AI; mỗi lần bấm app luôn gửi một yêu cầu HTTPS cố định tải bảng giá theo USD (usd.min.json) tới cdn.jsdelivr.net rồi latest.currency-api.pages.dev (không xét tuổi của giá đã lưu); yêu cầu này không chứa dữ liệu nào của bạn (kể cả tiền tệ chính). Khi tự động cập nhật tỷ giá tắt hoặc chưa đồng ý, nút này không gửi yêu cầu nào. Giá đối chứng, giá AI đã chấp nhận, hàng chờ và kết quả lần làm mới gần nhất lưu theo thiết bị (nhóm cài đặt cryptoRate), không nằm trong tệp sao lưu và không bị khôi phục ghi đè. Phần tra giá bằng AI của mục này xem mục "Tra giá cổ phiếu và tiền mã hoá bằng AI".
- Ghi nguồn: tỷ giá từ open.er-api.com do ExchangeRate-API cung cấp ("Rates By Exchange Rate API", https://www.exchangerate-api.com); dữ liệu currency-api do dự án mã nguồn mở fawazahmed0/exchange-api phát hành. Liên kết "Rates By Exchange Rate API" hiện ở màn tỷ giá của loại tiền lấy từ open.er-api.com, ở màn Quy đổi và ở mục Ngoại tệ của màn Tiền tệ & tỷ giá (khi có tỷ giá lấy từ nguồn này, kể cả lúc tự cập nhật đang tắt); app chỉ mở trình duyệt tới https://www.exchangerate-api.com khi bạn bấm.
Tự cập nhật giá tài sản: tiền mã hoá và vàng (tuỳ chọn)
- Mặc định tắt. Tính năng nằm ở Khác -> Cài đặt, nhóm Tra cứu, hàng "Giá tài sản". App chỉ gọi mạng sau khi bạn đồng ý ở một hộp đồng ý riêng (tách khỏi đồng ý của tỷ giá và của AI). Chưa đồng ý thì app không gửi yêu cầu nào. Từng tài sản chỉ được cập nhật khi bạn bật "Tự cập nhật giá" trong form tài sản và đã nhập số lượng; tài sản đã bán không được cập nhật. Bật "Tự cập nhật giá" cho một tài sản vàng hay tiền mã hoá không cần đồng ý và tự nó không gửi gì.
- Bật công tắc "Tự cập nhật giá tài sản" là cấp đồng ý: app hiện hộp đồng ý, chỉ khi bạn chọn "Đồng ý và bật" thì công tắc mới bật và đồng ý được lưu; chọn "Không đồng ý" thì công tắc vẫn tắt và app không gửi gì. Khi công tắc bật, app tự lấy giá tối đa một lần mỗi ngày khi mở app (lần trước lỗi thì thử lại sau ít nhất 15 phút), và nút "Cập nhật ngay" chạy luôn, không hỏi lại. Mục "Loại tài sản" có công tắc Vàng và Tiền mã hoá (mặc định tắt). Khi bạn chọn "Đồng ý và bật" lần đầu mà chưa chọn loại nào, app bật cả hai loại; nếu bạn đã bật một loại, loại còn lại vẫn tắt. Loại nào tắt thì cả lần tự cập nhật lẫn "Cập nhật ngay" không gọi nguồn của loại đó; nếu bạn tắt một loại giữa lúc đang lấy giá, các lần gọi nguồn của loại đó sau lúc tắt sẽ bị bỏ. App chỉ gửi yêu cầu khi có tài sản bật "Tự cập nhật giá" thuộc loại tương ứng, nên việc app gửi yêu cầu cho thấy bạn có tài sản loại đó. Nếu bạn đã tắt một loại và loại kia chưa bật, bật công tắc chính chỉ hiện lời nhắc "Hãy bật ít nhất một loại tài sản trước.", không mở hộp đồng ý và không gửi gì.
- Tắt công tắc "Tự cập nhật giá tài sản", hoặc tắt cả hai loại Vàng và Tiền mã hoá (khi đó công tắc chính cũng tắt theo), là thu hồi đồng ý, không cần xác nhận. Nếu app đang lấy giá, app dừng trước khi hỏi nguồn giá tiếp theo và không ghi thêm giá nào (giá đã ghi trước đó được giữ); màn hiện dòng báo đã thu hồi đồng ý. Lần bật sau, app hỏi đồng ý lại. App không có nút thu hồi riêng: bật hoặc tắt công tắc là cách cấp hoặc thu hồi đồng ý.
- Khi công tắc chính đang tắt (chưa có đồng ý đang hiệu lực), nút "Cập nhật ngay", dòng trạng thái và kết quả vẫn hiện. Bấm "Cập nhật ngay" lúc này, app hiện hộp đồng ý với nút "Đồng ý một lần". Đồng ý một lần chỉ dùng cho đúng lần bấm đó: app không lưu đồng ý, không bật công tắc chính, và lần bấm sau app hỏi lại. Chọn "Không đồng ý" thì app không gửi gì. Đồng ý một lần chỉ lấy giá của loại bạn đã bật ở mục "Loại tài sản"; loại chưa bật không được gửi. Nếu chưa bật loại nào, bấm "Cập nhật ngay" chỉ hiện lời nhắc "Hãy bật ít nhất một loại tài sản trước.", không mở hộp đồng ý và không gửi gì. Khi bạn đã đồng ý (hoặc vừa thu hồi đồng ý) mà cả hai loại đều tắt, nút "Cập nhật ngay" không bấm được.
- Tài sản loại Ngoại tệ (ví dụ USD) được tính theo tỷ giá đang có trong app, nên không cần đồng ý này và không gửi thêm gì ra ngoài máy. Tỷ giá trong app là do bạn nhập hoặc do tự động cập nhật tỷ giá mang về (mục trên); app chỉ thêm mã ngoại tệ bạn đang giữ vào danh sách mã nhận về, còn yêu cầu gửi đi vẫn chỉ có mã tiền tệ chính.
- Bạn cũng có thể lấy giá ngay cho một tài sản bằng nút "Lấy giá ngay" của tài sản đó (trong "Cập nhật giá trị", chọn "Theo giá thị trường"). Khi công tắc chính đang bật và loại của tài sản đó đang bật, nút chạy luôn. Khi công tắc chính tắt, hoặc loại của tài sản đó đang tắt (kể cả chưa bật) ở mục "Loại tài sản", app hỏi đồng ý một lần như trên cho đúng lần bấm đó. Nút chỉ chạy khi bạn bấm, và app vẫn chỉ gửi đúng các yêu cầu nêu dưới đây (tiền mã hoá: mã tiền định giá; vàng: không tham số), không gửi gì thêm.
- Nếu bạn đã đồng ý ở bản cũ (khi đó tắt công tắc không bỏ đồng ý), sau khi nâng cấp app thu hồi đồng ý đó khi công tắc "Tự cập nhật giá tài sản" đang tắt, hoặc khi công tắc đang bật mà cả hai loại đều tắt (công tắc cũng tắt theo), và hiện dòng báo đã thu hồi. Công tắc đang bật và còn ít nhất một loại bật thì đồng ý được giữ; loại bạn chưa từng tắt được giữ bật như trước.
- Tiền mã hoá (BTC, USDT): app tải bảng giá công khai của currency-api, thử lần lượt cdn.jsdelivr.net rồi latest.currency-api.pages.dev (cùng hai máy chủ của mục Tự động cập nhật tỷ giá). Dữ liệu gửi đi chỉ có mã tiền định giá của tài sản (ví dụ VND) nằm trong địa chỉ yêu cầu; không gửi mã đồng coin, số lượng, tên tài sản hay số dư; mã coin chỉ dùng để đọc bảng giá ngay trên máy.
- Vàng: app gửi một yêu cầu tới https://www.vang.today/api/prices không kèm tham số nào (máy chủ không biết bạn giữ loại vàng nào) và lấy giá mua vào cùng giá bán ra (khi nguồn có) theo VND mỗi lượng, rồi quy đổi trên máy theo loại vàng và đơn vị bạn chọn. Chỉ áp dụng cho tài sản vàng tính bằng VND. Mỗi bản định giá vàng tự động lưu cả giá bán ra để Sổ vàng hiện giá mua vào, bán ra của tiệm.
- Bảng giá vàng: mỗi lần nguồn giá vàng trả lời, app lưu trên máy bảng giá vừa nhận (giá mua vào, bán ra của mọi loại vàng và giờ nguồn báo) cùng bảng của ngày có giá trước đó, để màn Bảng giá vàng trong Sổ vàng hiện giá và mức tăng giảm. Bảng giá này không làm app gọi nguồn thêm lần nào. Tuy vậy, mở màn Bảng giá vàng có thể làm app tải lịch sử giá vàng (xem mục Lịch sử giá vàng cho biểu đồ); khi chưa có bảng giá này, màn dựng bảng từ ngày mới nhất trong lịch sử giá đã tải. Bảng chỉ có giá công khai, không có số lượng, tài sản hay dữ liệu nào của bạn. Bảng lưu theo thiết bị, không nằm trong tệp sao lưu. Tắt công tắc (thu hồi đồng ý) không xoá bảng giá này, cũng như không xoá các bản định giá đã ghi; app chỉ ngừng lấy giá mới. Nếu bạn thu hồi đồng ý khi app đã hỏi nguồn nhưng chưa kịp lưu, bảng giá của lần đó không được lưu. "Xoá dữ liệu ứng dụng" xoá bảng giá này.
- Các yêu cầu không gửi cookie hay thông tin đăng nhập. Như mọi kết nối Internet, các máy chủ này thấy địa chỉ IP của bạn và thông tin kỹ thuật của kết nối, và xử lý theo chính sách riêng của họ. Các bên này không thuộc Henry Expense. App không ghi địa chỉ yêu cầu hay nội dung phản hồi vào nhật ký; chỉ lưu trên máy thời điểm và số tài sản đã cập nhật/bỏ qua/lỗi của lần gần nhất, hoặc loại lỗi.
- Giá nhận về là dữ liệu tham khảo, có thể lệch so với giá giao dịch thực tế; mỗi bản định giá ghi rõ nguồn (currency-api hoặc vang.today) và ngày. Giá nhận về thay giá bạn nhập tay trong cùng ngày (cả khi bấm cập nhật ngay lẫn khi app tự cập nhật). App bỏ qua giá không hợp lệ, giá chênh lệch quá lớn so với lần tự động trước (vàng hơn 20%, tiền mã hoá hơn 50%, trong vòng 7 ngày) và giá USDT lệch xa 1 USD.
- Cài đặt của tính năng (bật/tắt, công tắc từng loại, đồng ý, dòng báo đã thu hồi, kết quả gần nhất, lần cập nhật cuối của từng loại) lưu theo thiết bị, không nằm trong tệp sao lưu và không bị khôi phục ghi đè. Đồng ý một lần không được lưu ở đâu. Các bản định giá đã ghi (kèm nguồn, đơn giá và giá bán ra của vàng) là dữ liệu tài sản nên nằm trong tệp sao lưu. "Xoá dữ liệu ứng dụng" xoá mọi cài đặt này, kể cả đồng ý; sau đó app hỏi lại trước khi gửi yêu cầu.
Lịch sử giá vàng cho biểu đồ
- Tính năng này không có công tắc và không hỏi đồng ý, vì yêu cầu chỉ lấy bảng giá vàng công khai và không chứa dữ liệu nào của bạn. App tự tải khi bạn mở màn Sổ vàng, Bảng giá vàng hoặc Biểu đồ vàng (tab Báo cáo -> Sổ vàng). Việc tải không phụ thuộc vào việc bạn có vàng hay không và không cần bật "Tự cập nhật giá tài sản". Sổ vàng không cần mua; Bảng giá vàng và Biểu đồ vàng cần mua món "Bảng giá và biểu đồ vàng" mới mở được, nên khi chưa mua thì hai màn này không tải gì. Nếu không muốn app gửi yêu cầu này, bạn đừng mở các màn vàng.
- Thay đổi so với bản 1.96.0: bản đó có công tắc "Lịch sử giá vàng" (mặc định tắt, ở Khác -> Cài đặt -> Giá tài sản) và hộp đồng ý riêng. Từ các bản sau 1.96.0, công tắc và hộp đồng ý được bỏ. Nếu trước đây bạn đã tắt công tắc, không đồng ý hoặc thu hồi đồng ý, app nay vẫn tự tải lịch sử giá khi bạn mở các màn vàng. App xoá hai cài đặt cũ (công tắc và phiên bản đồng ý) khỏi máy; giá đã tải trước đó được giữ và dùng tiếp.
- Dữ liệu gửi đi: app gửi yêu cầu tới https://www.vang.today/api/prices với đúng một tham số là số ngày cần tải (
days, chỉ có thể là 7, 31 hoặc 366). App không gửi loại vàng, số chỉ, tài sản, dữ liệu thu chi hay mã nào định danh bạn; yêu cầu không có cookie hay thông tin đăng nhập. Như mọi kết nối Internet, trang này thấy địa chỉ IP của bạn, thông tin kỹ thuật của kết nối, thời điểm yêu cầu và biết yêu cầu đến từ app này. Trang vang.today không thuộc Henry Expense và xử lý theo chính sách riêng của họ. App không ghi địa chỉ yêu cầu hay nội dung phản hồi vào nhật ký.
- Khi nào app tải: chỉ khi bạn mở màn Sổ vàng, Bảng giá vàng hoặc Biểu đồ vàng, bấm "Thử lại", hoặc bấm nút "Cập nhật giá vàng" (biểu tượng làm mới ở đầu màn Bảng giá vàng) khi chưa mua món "Cập nhật tự động giá tài sản". Đã mua món này thì nút đó cập nhật giá tài sản như mục Tự cập nhật giá tài sản. Lần đầu (máy chưa có giá nào) app tải giá của một năm (366 ngày). Mỗi ngày (theo giờ của máy) app tải thành công nhiều nhất một lần: 7 ngày nếu ngày mới nhất trong giá đã tải cách hôm nay dưới 7 ngày, 31 ngày nếu cách từ 7 tới 31 ngày, một năm nếu cách hơn 31 ngày. Lần tải lỗi thì app chờ ít nhất 15 phút mới tự thử lại; bấm "Thử lại" hoặc nút "Cập nhật giá vàng" thì thử ngay. App không tải khi chạy nền, và không tải khi bạn mở app mà không vào màn vàng. Riêng lần đầu sau khi cập nhật lên bản có giá vàng thế giới, nếu giá đã tải trên máy chưa có giá vàng thế giới, app tải lại giá của một năm (366 ngày) đúng một lần, kể cả khi hôm đó đã tải; yêu cầu này giống hệt các lần khác (cùng địa chỉ, cùng tham số
days).
- App coi phản hồi là dữ liệu không tin cậy: bỏ phản hồi lớn hơn 2 MB, chỉ giữ các loại vàng app biết và giá vàng thế giới (mã XAU/USD, tính bằng USD) với giá trong khoảng hợp lệ, bỏ ngày ở tương lai và giá lệch hơn 20% so với cả hai ngày kề.
- Lưu trên máy: app lưu giá mua vào, bán ra của các loại vàng theo ngày, cùng giá vàng thế giới (USD mỗi ounce) có sẵn trong cùng phản hồi (tối đa 731 ngày gần nhất) cùng lúc tải và lần thử gần nhất. Đây chỉ là giá công khai, không có dữ liệu của bạn. Tất cả lưu theo thiết bị, không nằm trong tệp sao lưu và không bị khôi phục ghi đè. Giá này không thành bản định giá tài sản, không thay giá bạn nhập, không vào hàng chờ xác nhận giá, không có trong tệp xuất CSV, Excel hay "Xuất sổ vàng", và không được gửi tới Tôm hay nhà cung cấp AI nào.
- Khi đã có giá tải về, biểu đồ giá ở màn Biểu đồ vàng và Sổ vàng, biểu đồ giá trị vàng đang giữ (số chỉ giữ mỗi ngày nhân giá mua vào thị trường), đường giá 7 ngày ở Bảng giá vàng và các số ở màn Biểu đồ vàng dùng giá này; mọi phép tính làm trên máy. Giá bạn nhập hiện thành chấm riêng trên biểu đồ. Số "Tổng giá trị sổ vàng", thẻ từng loại vàng ở Sổ vàng và tệp xuất vẫn theo định giá trong tài sản. Khi chưa tải được giá (mất mạng hoặc lỗi), biểu đồ dùng giá trong app và màn hiện nút "Thử lại".
- Giá vàng thế giới: màn Biểu đồ vàng và Bảng giá vàng hiện giá vàng thế giới (USD mỗi ounce), đường so sánh phần trăm giữa loại vàng đang xem và giá thế giới, cùng giá thế giới quy đổi ra đồng (mỗi chỉ hoặc mỗi lượng) và mức chênh với giá trong nước của ngày mới nhất. Giá thế giới lấy từ chính phản hồi lịch sử giá vàng ở trên, nên app không gửi thêm yêu cầu hay tham số nào. Phép quy đổi làm trên máy bằng tỷ giá USD đang có trong app (màn Tiền tệ & tỷ giá); tỷ giá không được gửi đi đâu. Khi app chưa có tỷ giá USD, phần quy đổi và chênh lệch được ẩn.
- "Xoá dữ liệu ứng dụng" xoá giá đã tải và lần thử gần nhất. Nếu app đang tải đúng lúc bạn xoá dữ liệu, kết quả lần đó không được lưu. Sau đó, lần đầu bạn mở lại màn vàng, app tải lại như lần đầu.
- Chia sẻ ảnh biểu đồ: khi biểu đồ đang dùng giá thị trường đã tải, màn Biểu đồ vàng có nút chia sẻ ảnh. App vẽ ảnh ngay trên máy, chỉ gồm tên loại vàng đang xem (loại vàng có trong Sổ vàng của bạn, hoặc Vàng thế giới), khoảng thời gian, giá mua vào thị trường mới nhất, mức tăng giảm, đường giá mua vào (và bán ra nếu đang hiện), giá thấp nhất, cao nhất kèm ngày, ngày của giá và tên app. Với Vàng thế giới, ảnh chỉ có giá thế giới tính bằng USD mỗi ounce, không có giá quy đổi ra đồng, tỷ giá hay mức chênh với giá trong nước. Ảnh không có số chỉ bạn giữ, giá vốn, giá trị, lãi lỗ, các lần mua bán hay giá bạn nhập. Khi "Ẩn số tiền" đang bật, mọi số tiền trên ảnh thành dấu chấm (vẫn có đường giá và phần trăm). App lưu ảnh vào bộ nhớ tạm, mở bảng chia sẻ của iOS rồi xoá tệp tạm khi bảng đóng, kể cả khi lỗi; nếu app đang khoá lúc sắp mở bảng chia sẻ, app không chia sẻ. Vì ảnh chỉ có giá công khai, app không hỏi xác thực lại như khi xuất tệp dữ liệu. App không tự gửi ảnh đi đâu: bạn chọn nơi gửi trong bảng chia sẻ. Nếu bạn chọn "Lưu hình ảnh", iOS hỏi quyền thêm ảnh vào Ảnh; quyền này chỉ cho thêm ảnh, không cho app xem thư viện.
- Chia sẻ ảnh Bảng giá vàng: khi đã có bảng giá, màn Bảng giá vàng có nút chia sẻ ảnh. App vẽ ảnh ngay trên máy, chỉ gồm ngày và giờ cập nhật của bảng giá (giờ chỉ có khi nguồn báo), đơn vị đang chọn (chỉ hoặc lượng), giá mua vào và bán ra của các loại vàng miếng và vàng nhẫn trong bảng, giá vàng thế giới tính bằng USD mỗi ounce (nếu có), dòng "Chỉ để tham khảo" và tên app. Ảnh luôn có mọi loại vàng của bảng theo cùng một thứ tự, nên không cho biết bạn giữ loại nào. Ảnh không có số chỉ bạn giữ, giá vốn, giá trị, lãi lỗ, dòng "Nếu bán", mức tăng giảm, giá thế giới quy đổi ra đồng hay tỷ giá. Khi "Ẩn số tiền" đang bật, mọi giá trên ảnh (cả giá thế giới) thành dấu chấm. Cách lưu tệp tạm, việc không chia sẻ khi app đang khoá, không hỏi xác thực lại và quyền thêm ảnh khi chọn "Lưu hình ảnh" giống ảnh biểu đồ ở dòng trên.
Tra giá cổ phiếu và tiền mã hoá bằng AI (tuỳ chọn)
- Mặc định tắt và chỉ dùng được khi AI đang dùng nhà cung cấp có công cụ tìm kiếm web (hiện là Anthropic và Google Gemini; app không tra giá theo trí nhớ của mô hình). Mọi nút của tính năng chỉ nằm ở Khác -> Trí tuệ nhân tạo -> Cài đặt AI, nhóm "Tra giá các loại tài sản": hai công tắc riêng "Cổ phiếu" (dòng gợi ý "Tra giá cổ phiếu Việt Nam bằng AI có tìm kiếm web.") và "Tiền mã hoá" (dòng gợi ý "Tra giá BTC, USDT bằng AI có tìm kiếm web."; gồm tài sản tiền mã hoá và mục "Tiền mã hoá (tham khảo)" ở màn Quy đổi), cùng công tắc "Tự tra mỗi ngày" (chỉ hiện khi có ít nhất một loại đang bật). Màn "Giá tài sản" (mục trên) không có nút tra giá bằng AI nào; ở đó chỉ còn mục "Giá chờ xác nhận" (xem dưới) và hàng "Cổ phiếu" là hàng mờ ghi "Đang phát triển", không bấm được và không gửi gì ra ngoài máy. Khi "Bật AI" đang tắt hoặc nhà cung cấp không có tìm kiếm web (OpenAI, Tương thích OpenAI), công tắc đang tắt không bật được (với nhà cung cấp không có tìm kiếm web, nhóm hiện thêm một dòng giải thích), còn công tắc đang bật vẫn tắt được.
- Mỗi loại có đồng ý riêng, tách khỏi đồng ý "Chia sẻ dữ liệu" với nhà cung cấp AI ở cùng màn. Khi bạn bật công tắc của một loại, app hiện hộp đồng ý của riêng loại đó ("Tra giá cổ phiếu bằng AI" hoặc "Tra giá tiền mã hoá bằng AI"), nêu dữ liệu gửi đi của loại đó, chi phí, và việc tắt công tắc sau này là thu hồi đồng ý. Chỉ khi bạn chọn "Đồng ý và bật" thì công tắc mới bật; chọn "Không đồng ý" thì công tắc vẫn tắt và app không gửi gì. Đồng ý tra giá không bật chia sẻ dữ liệu; ngược lại, thu hồi chia sẻ dữ liệu thì mọi loại tra giá tắt theo (xem dưới).
- Tắt công tắc của một loại là thu hồi đồng ý của loại đó, không cần xác nhận: app ngừng tra loại đó ngay, xoá các giá đang chờ xác nhận của loại đó (với tiền mã hoá, xoá cả hàng chờ của mục Quy đổi tham khảo) và hiện thông báo ngắn rằng đã thu hồi; tắt hết các loại thì "Tự tra mỗi ngày" cũng tắt. Lần bật sau, app hỏi đồng ý lại. Công tắc đang bật luôn tắt được, kể cả khi AI đang tắt, nhà cung cấp không có tìm kiếm web hay bạn chưa mua món trả phí. App không có nút thu hồi riêng, nút "Tra giá ngay" hay hộp "đồng ý lại": bật hoặc tắt công tắc là cách cấp hoặc thu hồi đồng ý.
- Nếu bạn đã đồng ý tra giá bằng AI ở bản cũ (một đồng ý chung cho mọi loại), app chuyển một lần sang đồng ý riêng mà không hỏi lại: cổ phiếu được coi là đã đồng ý; tiền mã hoá chỉ được coi là đã đồng ý nếu đồng ý cũ của bạn là bản đã nêu tiền mã hoá (đồng ý cũ chỉ cho cổ phiếu thì tiền mã hoá cần bạn tự bật và đồng ý). Công tắc của mỗi loại giữ trạng thái bật hay tắt như cũ (tiền mã hoá chỉ bật khi công tắc tra tiền mã hoá cũ cũng đang bật), và "Tự tra mỗi ngày" được giữ nếu còn loại đang bật. Một loại đã được chuyển đồng ý nhưng đang tắt thì lần bật đầu tiên không hỏi lại; sau khi bạn tắt loại đó (thu hồi), lần bật sau app hỏi như thường lệ.
- Cổ phiếu: khi công tắc "Cổ phiếu" đang bật và bạn bật thêm "Tự tra mỗi ngày" (mặc định tắt; một lần mỗi ngày khi mở app), app gửi tới nhà cung cấp AI đang chọn một yêu cầu chứa hướng dẫn tra giá, ngày hôm nay và danh sách mã cổ phiếu của các tài sản bật "Tự cập nhật giá" (tối đa 20 mã mỗi lần, ví dụ FPT, VNM).
- Bạn cũng có thể tra giá ngay cho một cổ phiếu bằng nút "Lấy giá ngay" của tài sản đó. Việc này cần công tắc "Cổ phiếu" đang bật (tức đã đồng ý loại này) và chỉ chạy khi bạn bấm. Nếu app đang tra giá hàng loạt thì nút dùng kết quả đó, không hỏi AI lần hai. Yêu cầu chỉ chứa hướng dẫn tra giá, ngày hôm nay và mã của cổ phiếu đó.
- Tiền mã hoá: khi công tắc "Tiền mã hoá" đang bật, trong lượt "Tự tra mỗi ngày" nếu có tài sản BTC/USDT bật "Tự cập nhật giá", app gửi một yêu cầu riêng chỉ chứa hướng dẫn tra giá, thời điểm hiện tại (giờ UTC) và mã coin bạn đang giữ trong số BTC, USDT. Ở màn Quy đổi, nút "Tra giá bằng AI" của mục "Tiền mã hoá (tham khảo)" chỉ chạy khi công tắc "Tiền mã hoá" đang bật; mỗi lần bấm, app gửi yêu cầu tương tự với cố định cả hai mã BTC và USDT (không phụ thuộc bạn có giữ hay không).
- Nhà cung cấp dùng công cụ tìm kiếm web của họ (có thể qua đối tác tìm kiếm), nên các mã này cũng đi tới công cụ tìm kiếm đó. Vì vậy nhà cung cấp AI và công cụ tìm kiếm có thể biết bạn đang giữ những mã cổ phiếu hay đồng coin nào. App không gửi số lượng, số coin bạn nhập, tên tài sản, ghi chú, giá mua, số dư, tài sản ròng hay dữ liệu thu chi nào.
- Chi phí tính vào khoá API của bạn: mỗi lần tra là một lời gọi AI có tìm kiếm web; lượt "Tự tra mỗi ngày" khi cả hai loại đang bật là hai lời gọi (một cho cổ phiếu, một cho tiền mã hoá). Nút "Lấy giá ngay" của một cổ phiếu và nút tra bằng AI ở màn Quy đổi là một lời gọi mỗi lần bấm. Nhà cung cấp có thể tính thêm phí tìm kiếm. Hộp đồng ý của mỗi loại cũng nói rõ chi phí tính vào khoá API của bạn.
- Giá do AI tra cứu có thể sai, và trang web mà AI đọc có thể chứa nội dung sai hoặc cố tình đánh lừa mô hình; app dặn mô hình coi nội dung trang là dữ liệu, không phải chỉ thị, và không tin bất kỳ chữ nào ngoài các trường giá được kiểm. App kiểm tra trên máy: mã phải đúng mã đã hỏi, lời trả lời phải có dấu vết tìm kiếm web, và trang nguồn phải là địa chỉ https thuộc danh sách trang tin cậy cố định trong app và khớp nguồn mà công cụ tìm kiếm trả về. Cổ phiếu: giá theo VND là số nguyên hợp lý (giá ghi theo nghìn đồng bị từ chối), ngày giá không quá 5 ngày. Tiền mã hoá: giá tính bằng USD cho một coin, đúng cặp giao dịch (BTCUSD, BTCUSDT, USDTUSD), trong khoảng hợp lý (BTC 1.000 tới 10.000.000 USD, USDT 0,9 tới 1,1 USD), thời điểm giá không cũ quá 48 giờ và không ở tương lai.
- Tiền mã hoá còn được đối chiếu với giá đối chứng của currency-api (bảng giá công khai, xem mục Tự động cập nhật tỷ giá). Để có giá này, khi bạn bấm "Tra giá bằng AI" ở mục Quy đổi (cần công tắc "Tiền mã hoá" đang bật, tức đã đồng ý loại này) app gửi thêm một yêu cầu HTTPS cố định tải bảng giá theo USD (usd.min.json) tới cdn.jsdelivr.net rồi latest.currency-api.pages.dev; với tra giá tài sản, app dùng giá đối chứng đã lưu nếu còn mới (không quá 12 giờ), không thì tải lại bằng yêu cầu cố định trên. Yêu cầu không chứa mã coin hay dữ liệu nào của bạn. Khi công tắc "Tiền mã hoá" tắt, màn Quy đổi không tải giá đối chứng nhờ đồng ý tra giá nữa; nó chỉ tải khi tự động cập nhật tỷ giá đang bật và đã đồng ý. Mỗi tài sản chỉ có một nguồn giá tự động mỗi ngày: đã có giá tự động từ currency-api hôm nay thì không tra AI cho tài sản đó. Giá AI chỉ được ghi thẳng khi khớp giá đối chứng (BTC lệch không quá 5%, USDT không quá 2%) và không chênh lớn so với giá AI lần trước; nếu không có giá đối chứng, lệch giá đối chứng, nguồn không khớp, là giá lần đầu hay chênh lớn, giá nằm trong "Giá chờ xác nhận" để bạn tự đối soát (ví dụ mở liên kết nguồn) rồi bấm Xác nhận; Từ chối thì không ghi gì. Mục "Giá chờ xác nhận" ở màn Giá tài sản hiện mỗi khi có giá chờ, kể cả khi nhà cung cấp AI hiện tại không có tìm kiếm web; xác nhận hay từ chối không gửi gì ra ngoài máy. Giá trị tài sản tiền mã hoá được quy ra tiền của tài sản trên máy bằng tỷ giá USD đang lưu.
- Giá AI không bao giờ thay giá bạn nhập tay trong cùng ngày. Mỗi bản định giá do AI tra ghi rõ "Giá do AI tra cứu" kèm liên kết nguồn (chỉ mở được khi thuộc danh sách tin cậy).
- Câu trả lời của AI không được lưu ngoài phần giá đã kiểm; app không ghi lời gọi, địa chỉ yêu cầu hay phản hồi vào nhật ký. Hàng chờ xác nhận (mã, giá, ngày hay thời điểm giá, liên kết nguồn; không có số lượng), giá AI đã chấp nhận của mục Quy đổi tham khảo và các cài đặt của tính năng (gồm đồng ý và phiên bản đồng ý của từng loại) lưu theo thiết bị, không nằm trong tệp sao lưu và không bị khôi phục ghi đè, nên khôi phục sao lưu không tự bật tính năng. Bản định giá tài sản đã ghi (kèm đơn giá và liên kết nguồn) là dữ liệu tài sản nên nằm trong tệp sao lưu. Giá và hàng chờ này không được đưa vào Tôm hay tệp xuất CSV. Tệp xuất Excel chỉ có giá trị của các bản định giá đã ghi (trang "Lịch sử tài sản"), không có đơn giá, nguồn hay liên kết nguồn; hàng chờ và giá của mục Quy đổi tham khảo không có trong tệp Excel.
- Thu hồi đồng ý với nhà cung cấp AI đang dùng (kể cả khi tắt "Chia sẻ dữ liệu"), xoá nhà cung cấp hoặc đổi loại/địa chỉ máy chủ của nhà cung cấp thì app thu hồi đồng ý của cả hai loại: tắt công tắc "Cổ phiếu", "Tiền mã hoá" và "Tự tra mỗi ngày", xoá mọi giá đang chờ xác nhận (của tài sản và của mục Quy đổi tham khảo). Việc này không đụng tới đồng ý lấy giá vàng và tiền mã hoá từ currency-api, vang.today của màn Giá tài sản; đồng ý đó thu hồi bằng cách tắt công tắc ở màn đó (xem mục "Tự cập nhật giá tài sản"). Lưu ý: nếu bạn chuyển sang một nhà cung cấp khác đã được đồng ý ở Cài đặt AI, lần tra sau gửi mã tới nhà cung cấp mới đó.
Cập nhật ứng dụng qua mạng (EAS Update)
- Khi mở, app tự hỏi máy chủ Expo (u.expo.dev) xem có bản cập nhật nhỏ (mã JS và hình ảnh của ứng dụng) không. Đây không phải tính năng tuỳ chọn và không có công tắc tắt trong app. Máy chủ này không phải của Henry Expense và không cần tài khoản.
- Thông tin kỹ thuật được gửi đi: phiên bản ứng dụng, phiên bản runtime, nền tảng (iOS), kênh cập nhật và mã định danh bản cập nhật đang chạy. Kèm theo là một mã ngẫu nhiên gắn với lần cài app này (không gắn với danh tính của bạn hay dữ liệu thu chi; xoá app là mất mã). Nếu lần chạy trước gặp lỗi nghiêm trọng lúc khởi động, app có thể gửi kèm đoạn nhật ký lỗi ngắn của lần đó.
- App không gửi giao dịch, số dư, ví, danh mục hay bất kỳ dữ liệu thu chi nào. Như mọi kết nối Internet, máy chủ Expo thấy địa chỉ IP của bạn và xử lý theo chính sách riêng của họ.
- Bản cập nhật chỉ thay mã chạy của ứng dụng, không đọc hay thay đổi dữ liệu thu chi trên máy.
Thống kê sử dụng ẩn danh (TelemetryDeck)
- App gửi thống kê sử dụng ẩn danh tới TelemetryDeck, một dịch vụ thống kê cho ứng dụng của một công ty ở Đức. Thống kê giúp nhà phát triển biết màn nào hay được dùng, món nào được mua và lỗi nào hay gặp, để sửa lỗi và làm app tốt hơn.
- Mặc định bật, kể cả khi bạn cập nhật từ bản cũ. App không hỏi đồng ý riêng. Bạn tắt được bất cứ lúc nào ở Khác -> Cài đặt, mục "Thông tin", công tắc "Gửi thống kê sử dụng ẩn danh". Tắt thì app ngừng gửi ngay và bỏ các tín hiệu chưa gửi. Bật lại thì app không hỏi gì.
- App chỉ gửi: phiên bản app, phiên bản iOS, giao diện và ngôn ngữ đang dùng; việc bạn mở app; tên màn bạn mở, ở dạng mẫu (ví dụ "/transaction/[id]"), không có mã của giao dịch, ví hay mục nào; việc bạn mở Cửa hàng, tên món bạn mua hoặc khôi phục và kết quả (đã mua, đã huỷ, đang chờ, lỗi); mã lỗi cố định khi một tính năng hoặc việc chạy nền gặp lỗi; bản tóm tắt báo cáo lỗi và hiệu năng của iOS (xem dòng dưới). Mỗi tín hiệu kèm thời điểm, một mã phiên ngẫu nhiên và một cờ cho biết đây có phải bản thử (TestFlight) hay không.
- Báo cáo lỗi và hiệu năng của iOS: khoảng một lần mỗi ngày, iOS có thể đưa cho app một báo cáo về các lần app dừng đột ngột, bị treo, dùng quá nhiều bộ xử lý hay ghi quá nhiều dữ liệu, và về thời gian mở app. Báo cáo do iOS tạo, không chứa dữ liệu thu chi. App lưu tạm báo cáo trong bộ nhớ của app, ở lần mở sau rút thành vài giá trị trong danh sách cố định rồi xoá báo cáo. Các giá trị đó là: loại sự cố (dừng đột ngột, treo, quá tải bộ xử lý, ghi quá nhiều), tên mã lỗi của hệ thống (ví dụ EXC_BAD_ACCESS hay SIGABRT), và nhóm thời gian (ví dụ dưới 1 giây, 1 tới 2 giây) của lần treo hoặc của việc mở app. Mỗi lần mở app gửi không quá 12 tín hiệu loại này.
- App không gửi nguyên báo cáo của iOS: không gửi danh sách lệnh đang chạy lúc lỗi, địa chỉ bộ nhớ, mã của tệp chương trình, đường dẫn tệp, mẫu máy, vùng, nội dung hay lời mô tả lỗi, và không gửi thời điểm xảy ra sự cố. App không có màn xem báo cáo này.
- App không bao giờ gửi: số tiền, số dư, ghi chú, tên ví, danh mục, người hay dự án, nội dung thư, email, số tài khoản, số thẻ, khoá API, nội dung lỗi, hay bất kỳ dữ liệu thu chi nào. App chỉ gửi giá trị có trong một danh sách cố định soạn sẵn; giá trị khác bị bỏ trước khi gửi.
- Mã ẩn danh: app tạo một mã ngẫu nhiên trên máy và chỉ gửi bản đã băm (SHA-256) của mã đó; theo TelemetryDeck, máy chủ của họ còn băm thêm một lần nữa. Mã này không gắn với tên, email hay Apple ID của bạn, khác mã ẩn danh của Hỏi Tôm, và không có trong tệp sao lưu (khôi phục sao lưu không đổi lựa chọn bật hay tắt của bạn). "Xoá dữ liệu ứng dụng" tạo mã mới và đưa công tắc về bật.
- Cách gửi: app giữ tín hiệu trong bộ nhớ rồi gửi theo lô qua HTTPS tới nom.telemetrydeck.com, khi đủ 20 tín hiệu, sau khoảng 1 phút, hoặc khi bạn rời app. Mỗi ngày app gửi không quá 300 tín hiệu. Tín hiệu chưa gửi mất khi app bị tắt hẳn. App không dùng thư viện của TelemetryDeck, không dùng cookie và không gửi mã quảng cáo của iPhone.
- Như mọi kết nối Internet, TelemetryDeck thấy địa chỉ IP và thông tin kết nối của máy bạn (ví dụ tên app và phiên bản hệ điều hành mà iOS tự gắn vào kết nối). TelemetryDeck cho biết họ không lưu địa chỉ IP, nhưng họ có thể suy ra quốc gia hoặc vùng từ kết nối của bạn. Họ xử lý dữ liệu theo chính sách riêng: https://telemetrydeck.com/privacy/
- Vì mã đã băm không dẫn ngược về bạn, nhà phát triển và TelemetryDeck không tìm được tín hiệu của riêng bạn để xoá hộ. Muốn ngừng gửi, hãy tắt công tắc.
- App không gửi thống kê ở bản kiểm thử tự động, ở bản xem trước trên web, và khi bản app không có cấu hình TelemetryDeck. Khi đó, và khi bạn tắt công tắc, app xoá báo cáo lỗi và hiệu năng của iOS đang chờ mà không gửi. Báo cáo nằm trên máy quá 30 ngày cũng bị xoá.
Trang web Henry Expense
- App có dòng "Trang web Henry Expense" trong Khác và nút "Xem bản trên web" ở màn Chính sách quyền riêng tư; hộp giới thiệu Gmail cũng có liên kết tới chính sách. Chỉ khi bạn bấm, app mới mở trang henryexpense.com (hoặc trang chính sách trên đó) bằng trình duyệt của máy. App không tự mở trang này và không tải gì từ trang này ở chế độ nền.
- Địa chỉ trang là cố định, không chứa dữ liệu thu chi, số dư, tên ví, email hay mã nào nhận diện bạn. Nếu không mở được trang, app mở bản chính sách có sẵn trong app (khi bấm từ hộp giới thiệu Gmail).
- Trang web là của nhà phát triển và đặt tại Netlify. Như mọi trang web, máy chủ của trang có thể ghi nhận thông tin kỹ thuật thông thường của lượt truy cập (địa chỉ IP, loại trình duyệt, thời điểm). Trình duyệt có thể lưu trang vào lịch sử; bạn xoá được trong lịch sử của trình duyệt.
- Dòng "Nhóm cộng đồng trên Facebook" ở Khác, Hỗ trợ và cộng đồng cũng chỉ mở một địa chỉ cố định của nhóm trên Facebook bằng app Facebook (nếu máy có) hoặc trình duyệt khi bạn bấm. App không dùng bộ công cụ của Facebook và không gửi dữ liệu nào của bạn cho Facebook. Facebook là dịch vụ của bên thứ ba, nhận địa chỉ IP, thông tin trình duyệt và tài khoản Facebook nếu bạn đăng nhập, theo chính sách riêng của họ; nội dung bạn đăng trong nhóm thì những ai xem được nhóm đều thấy.
- Trang Đồng bộ ngân hàng trên trang web có khung để bạn tự tải thư mẫu của ngân hàng lên; xem mục Tải thư mẫu lên trang web.
- Hỏi Tôm trên trang web: nút Tôm ở góc trang mở khung chat để bạn hỏi về Henry Expense; một dịch vụ AI trả lời thay Tôm. Khung chat nằm trên trang web, không ở trong app, và không xem được dữ liệu thu chi của ai. Chỉ khi bạn gửi câu hỏi, trang mới gửi câu hỏi đó, các câu hỏi và câu trả lời gần nhất trong khung chat (tối đa 6 tin, kể cả câu vừa hỏi) và ngôn ngữ của trang tới máy chủ của Henry Expense (api.henryexpense.com). Máy chủ chuyển tiếp nội dung đó tới một nhà cung cấp dịch vụ AI bên thứ ba để tạo câu trả lời; nhà cung cấp này xử lý ở nước ngoài. Máy chủ của Henry Expense không lưu nội dung trò chuyện và không ghi câu hỏi, câu trả lời hay địa chỉ IP vào nhật ký; địa chỉ IP chỉ dùng làm khoá đếm tạm để giới hạn số câu hỏi mỗi phút, và máy chủ chỉ đếm tổng số câu hỏi của cả trang trong ngày (không gắn với ai). Nhà cung cấp này xử lý và có thể lưu nội dung nhận được trong một thời gian theo chính sách của họ; theo điều khoản thương mại hiện hành của nhà cung cấp, nội dung gửi qua API không được dùng để huấn luyện mô hình. Đừng nhập thông tin cá nhân, số tài khoản, mật khẩu hay mã OTP vào khung chat. Cuộc trò chuyện chỉ được giữ trong thẻ trình duyệt đang mở (bộ nhớ phiên của trình duyệt) và mất khi bạn đóng thẻ hoặc bấm "Bắt đầu lại"; số câu đã hỏi trong ngày được lưu trong trình duyệt của bạn để giới hạn lượt hỏi. Nút Messenger và nút email trong khung chat chỉ mở Messenger của Facebook hoặc ứng dụng email khi bạn bấm; khung chat không tự gửi gì cho Facebook. Câu trả lời do AI tạo ra có thể chưa đúng.
Gmail (tính năng tuỳ chọn)
Tính năng Gmail tự thêm giao dịch từ email thông báo biến động số dư của ngân hàng. Tính năng mặc định tắt và có thể chưa có trong một số bản phát hành; chỉ chạy khi bạn tự kết nối tài khoản Google trong màn hình Đồng bộ Gmail. Trước khi đăng nhập, app hiện hộp giới thiệu nêu dữ liệu được đọc, mục đích sử dụng và liên kết tới chính sách này; bạn phải chọn "Tôi đã đọc và đồng ý" thì mới tiếp tục được.
- Quyền xin:
gmail.readonly (chỉ đọc thư) cùng quyền định danh cơ bản (openid, email) để app biết địa chỉ tài khoản đã kết nối. App không gửi, xoá, sửa hay gắn nhãn thư. Về kỹ thuật, quyền chỉ đọc của Google cho phép đọc mọi thư trong hộp thư; app chỉ tìm và đọc thư gửi từ các địa chỉ người gửi bạn đã chọn trong danh sách nguồn email.
- Màn Đồng bộ ngân hàng (Khác -> Đồng bộ ngân hàng) có công tắc "Qua Gmail" cho từng ngân hàng mà app đọc được email. Công tắc chỉ đổi danh sách nguồn email trên máy: bật thì thêm hoặc bật địa chỉ người gửi có sẵn của ngân hàng đó; tắt thì app ngừng đọc thư của ngân hàng đó nhưng vẫn giữ nguồn, quy tắc và giao dịch đã nhập. Công tắc không tự kết nối Gmail và không gửi gì ra khỏi máy; app chỉ đọc thư khi đồng bộ, sau khi bạn đã kết nối Gmail. App đồng bộ khi bạn bấm "Đồng bộ ngay" ở màn Đồng bộ Gmail, khi bạn chạm biểu tượng đồng bộ ở đầu Tổng quan (biểu tượng này đồng bộ mọi kênh bạn đã thiết lập), khi bạn đồng bộ theo khoảng ngày, và khi mở app nếu "Tự đồng bộ" đang bật (không quá một lần mỗi 15 phút).
- Đăng nhập dùng OAuth của Google với PKCE, mở trong trình duyệt của hệ điều hành; app không thấy mật khẩu Google của bạn.
- App gọi trực tiếp máy chủ của Google (đăng nhập, Gmail API, lấy địa chỉ email tài khoản) ngay trên máy bạn. Không có máy chủ nào của Henry Expense nhận hay lưu thư, token hay dữ liệu lấy từ thư.
- Mục đích duy nhất: nhận diện email giao dịch của ngân hàng để tạo giao dịch trong sổ thu chi của bạn (số tiền, thời gian, mô tả, mã tham chiếu để không ghi trùng). Thư nào app chưa chắc chắn thì đưa vào hàng chờ duyệt để bạn xác nhận hoặc bỏ qua, không tự ghi.
- Kiểm tra người gửi: khi nhận thư, Gmail tự ghi vào thư kết quả kiểm tra xem thư có đúng do tên miền của người gửi gửi đi không (DKIM, DMARC). App chỉ đọc kết quả có sẵn đó trong thư đã tải về, không gửi thêm yêu cầu nào lên mạng và không lưu kết quả. Thư có người gửi khác địa chỉ của nguồn, có nhiều người gửi, hoặc được Gmail báo là không qua kiểm tra tên miền của ngân hàng thì bị bỏ qua. Thư mà app chưa xác minh được là do ngân hàng gửi không bao giờ được tự ghi hay tự gắn vào giao dịch có sẵn: thư đó vào hàng chờ duyệt kèm cảnh báo, và hàng chờ chỉ giữ tối đa 20 thư như vậy (thư thừa bị bỏ qua). Thư có nội dung lớn hơn 512 KB bị bỏ qua, app không đọc nội dung thư đó.
Dữ liệu Google: Sử dụng Hạn chế (Limited Use)
Việc sử dụng và chuyển giao thông tin nhận từ Google APIs của Henry Expense tuân thủ Chính sách Dữ liệu Người dùng của Google API Services (Google API Services User Data Policy), bao gồm các yêu cầu về Sử dụng Hạn chế (Limited Use). Cụ thể:
- Dữ liệu nhận từ Gmail chỉ được dùng để cung cấp tính năng mà bạn nhìn thấy trong app: tự thêm giao dịch và hàng chờ duyệt từ email ngân hàng.
- Không bán dữ liệu, không chuyển cho bên quảng cáo, môi giới dữ liệu hay bên thứ ba nào khác, và không dùng để hiển thị hoặc nhắm quảng cáo.
- Không ai đọc dữ liệu này ngoài bạn. Nhà phát triển không có quyền truy cập vì dữ liệu chỉ nằm trên máy bạn; ngoại lệ duy nhất chỉ có thể là khi bạn đồng ý cụ thể, khi cần cho mục đích bảo mật (ví dụ điều tra lạm dụng) hoặc khi pháp luật bắt buộc.
- Không dùng dữ liệu này để phát triển, cải thiện hay huấn luyện mô hình AI hoặc học máy tổng quát.
- Ghi chú của giao dịch tạo từ thư (lấy từ nội dung thư), tiêu đề, đoạn trích và địa chỉ người gửi không bao giờ được đưa vào dữ liệu gửi tới nhà cung cấp AI, kể cả khi bạn bật "Ghi chú và tên người" hay bật "Giao dịch từ ngân hàng" trong Cài đặt AI.
- Gợi ý danh mục cho hàng chờ duyệt và giao dịch tạo từ thư (kể cả giao dịch tự ghi đã gắn thư) chỉ chạy trên máy (ghi nhớ lựa chọn của bạn và từ khoá). Các mục này không bao giờ được gửi tới nhà cung cấp AI để phân loại, kể cả khi bạn bật "Gợi ý phân loại giao dịch". Khi bạn duyệt một thư kèm danh mục (hoặc chọn danh mục cho giao dịch tạo từ thư ở màn Phân loại giao dịch), app ghi nhớ ghi chú đã rút gọn của thư đó trên máy, đánh dấu "từ email"; dòng ghi nhớ này chỉ dùng để gợi ý trên máy và không bao giờ được gửi làm ví dụ cho AI. Dòng đã đánh dấu "từ email" luôn giữ dấu đó, kể cả khi bạn sau này chọn danh mục cho ghi chú giống hệt; chúng bị xoá khi bạn ngắt kết nối hoặc xoá dữ liệu Gmail.
- Công tắc "Giao dịch từ ngân hàng" mặc định tắt. Khi tắt, Tôm và "Viết tóm tắt bằng AI" không nhận từng giao dịch tạo từ thư (không có trong danh sách, kết quả tìm kiếm hay tín hiệu khoản chi lớn, khoản trùng, khoản lặp). Tuy vậy, giao dịch tạo từ thư là giao dịch trong sổ của bạn nên các số tổng hợp mà Tôm đọc (số dư ví, tổng thu/chi, tiến độ ngân sách, thẻ tín dụng, tổng theo danh mục, ví hoặc ngày, mức tăng của danh mục) vẫn tính cả chúng; nếu một ngày hay một danh mục chỉ có một giao dịch thì con số tổng đó bằng đúng số tiền của giao dịch ấy. Chỉ khi bạn bật công tắc (app hỏi đồng ý mỗi lần bật), số tiền, ngày, ví và danh mục của từng giao dịch này mới được gửi như giao dịch khác khi Tôm cần; tên người và chuyến đi/sự kiện bạn tự thêm vào giao dịch đó cũng được gửi nếu "Ghi chú và tên người" đang bật, còn ghi chú thì không bao giờ (xem mục Tôm). Việc gửi này chỉ để trả lời câu hỏi bạn đặt ra, tới nhà cung cấp AI do bạn chọn.
Dữ liệu Gmail lưu ở đâu
- Token đăng nhập Google (access token, refresh token) và địa chỉ email của tài khoản lưu trong SecureStore (Keychain của iOS). Client ID Google mà bản dành cho nhà phát triển cho phép tự dán cũng lưu trong SecureStore. Token và Client ID không nằm trong cơ sở dữ liệu hay tệp sao lưu. Riêng địa chỉ Gmail đã kết nối còn được lưu thêm trong cài đặt của app (SQLite) để hiện trên màn Đồng bộ Gmail; đây là dữ liệu theo thiết bị, không nằm trong tệp sao lưu (xem dưới).
- Giao dịch tạo từ thư lưu trong SQLite như giao dịch thường, kèm mã nguồn (ví dụ
gmail-vpbank) và mã tham chiếu của ngân hàng để không ghi trùng. Ghi chú có thể lấy từ nội dung thư; danh mục do app tự chọn ngay trên máy trong các danh mục sẵn có, trước hết theo ghi nhớ lựa chọn của bạn, sau đó theo từ khoá trong mô tả đó (không dùng AI). Khi bị xoá, giao dịch (kèm ghi chú, mã nguồn, mã tham chiếu) nằm trong Thùng rác cho tới khi Thùng rác được dọn. Lưu ý với thư báo số dư của ACB: thư không có mã giao dịch nên app tự tạo mã tham chiếu bằng cách băm (SHA-256, giữ 32 ký tự đầu) 4 số cuối của tài khoản, ngày, số tiền, số dư sau giao dịch và nội dung ghi chú trong thư; mã chỉ có dạng acb: kèm 32 ký tự hex, không chứa số tài khoản, số dư hay ghi chú ở dạng đọc được. Mã này lưu cùng giao dịch và trong tệp sao lưu, không hiện trên màn hình (dòng nguồn chỉ ghi "Gmail" và tên ngân hàng); vì chỉ tạo từ 4 số cuối tài khoản nên không thể dò ra số tài khoản đầy đủ. Mục chờ duyệt lập bằng bản cũ (còn mã cũ hoặc số tài khoản đầy đủ) được đổi sang dạng này và che còn 4 số cuối khi app mở lại. Mã không được gửi tới nhà cung cấp AI và không có trong tệp xuất CSV/Excel. Các giao dịch ACB nhập từ phiên bản cũ được đổi sang dạng băm này khi cập nhật app (kể cả trong Thùng rác).
- Ngân hàng có bộ đọc riêng: VPBank, ACB, VietBank, VIB (thẻ tín dụng) và Cake. Bộ đọc chỉ lấy các ô cần cho giao dịch: số tiền, thời gian, mã giao dịch, số thẻ/tài khoản của bạn (chỉ để chọn ví, không lưu vào giao dịch) và nội dung giao dịch làm ghi chú (với VIB là nơi mua). App không lấy tên chủ thẻ, tên chủ tài khoản, tên người nhận, số tài khoản người nhận hay ngân hàng người nhận. Ghi chú là nội dung giao dịch trong thư (tối đa 200 ký tự), nên nếu nội dung đó có tên (ví dụ "NGUYEN VAN A chuyen tien") hay số thẻ đã che thì ghi chú cũng có. Mã tham chiếu của VietBank và Cake có dạng
vietbank: hoặc cake: kèm ngày giao dịch và mã giao dịch của ngân hàng. Thư VIB không có mã giao dịch nên app tự tạo mã bằng cách băm (SHA-256, giữ 32 ký tự đầu) 4 số cuối của thẻ, thời gian (đến phút), số tiền (kèm mã tiền nếu là ngoại tệ) và nơi mua; mã có dạng vib: kèm 32 ký tự hex, không chứa số thẻ. Giống mã ACB, các mã này lưu cùng giao dịch và trong tệp sao lưu, không hiện trên màn hình, không gửi tới nhà cung cấp AI và không có trong tệp xuất CSV/Excel.
- Giao dịch bằng ngoại tệ (thư của bất kỳ ngân hàng nào ghi số tiền bằng USD, EUR hay tiền khác): app đổi ra VND ngay trên máy theo tỷ giá đang lưu trong app. Giao dịch ngoại tệ luôn vào hàng chờ duyệt, không tự ghi. Bạn sửa số tiền VND cho khớp sao kê rồi duyệt; chưa có tỷ giá thì bạn tự nhập số tiền. Ghi chú giữ số tiền gốc, ví dụ "SHOP ABC (9 USD)". Thư chỉ ghi "$" hoặc "¥" thì app đoán là USD hoặc JPY và nhắc bạn kiểm tra lại. Tiền mã hoá (như BTC, USDT) không được coi là tiền. Nếu thiếu tỷ giá của loại tiền trong thư, app chỉ tải tỷ giá khi bạn đã bật và đồng ý "Tự động cập nhật tỷ giá"; yêu cầu này giống hệt lần tự cập nhật tỷ giá thường (chỉ gửi mã tiền tệ chính, không gửi loại tiền, số tiền hay nội dung thư; xem mục Tự động cập nhật tỷ giá). Tỷ giá tải về được lưu vào bảng tỷ giá của app, nên nằm trong tệp sao lưu như tỷ giá khác. Chưa bật hoặc chưa đồng ý thì app không gọi mạng. Với tài khoản ACB bằng ngoại tệ, mã tham chiếu băm thêm mã tiền và số tiền gốc, vẫn chỉ dùng 4 số cuối tài khoản.
- Chống ghi trùng với giao dịch bạn tự ghi: khi thư về, app so với giao dịch ngay trên máy (cùng ví, cùng loại thu/chi, cùng số tiền, lệch tối đa 24 giờ). Đúng một giao dịch khớp thì app gắn mã nguồn và mã tham chiếu của thư vào đúng giao dịch đó, không đổi số tiền, ví, danh mục hay ghi chú của bạn; chưa chắc thì thư nằm ở hàng chờ duyệt để bạn chọn. Vì vậy một giao dịch bạn tự ghi mà đã được gắn thư sẽ được coi là giao dịch tạo từ thư: ghi chú của nó không được gửi tới nhà cung cấp AI và nó bị lọc như giao dịch Gmail khi "Giao dịch từ ngân hàng" tắt. Giao dịch tạo từ quét QR chuyển khoản mang nhãn nguồn
vietqr để so khớp như trên; nhãn này không chứa số tài khoản hay mã ngân hàng, chỉ nằm trong dữ liệu trên máy và tệp sao lưu như các nhãn nguồn khác. Nếu bạn dùng cả Đồng bộ trực tiếp, thư đã xác minh của một khoản đã nhập qua Đồng bộ trực tiếp không được ghi thêm (xem mục Đồng bộ trực tiếp).
- Cài đặt Gmail lưu trong cài đặt của app (SQLite): danh sách nguồn email (địa chỉ người gửi, tên, ví mặc định, quy tắc chọn ví theo số thẻ/tài khoản bạn nhập), bảng ghép số thẻ đã che với ví, bật/tắt tự đồng bộ; cùng các dữ liệu theo thiết bị: hàng chờ duyệt (tiêu đề thư và một đoạn trích ngắn, tối đa 200 ký tự, chuỗi số dài được che: với ngân hàng có bộ đọc riêng, đoạn trích chỉ là ghi chú đã đọc từ thư, không lấy lời chào hay dòng người nhận; với ngân hàng khác, đoạn trích là phần đầu thư như ngân hàng viết nên có thể có tên bạn trong lời chào; số thẻ/tài khoản chỉ giữ ở dạng ngân hàng đã che trong thư hoặc 4 số cuối, kể cả thư ACB, VietBank và Cake; mã tham chiếu của thư ACB và VIB là chuỗi băm nêu trên; với giao dịch ngoại tệ còn có mã tiền, số tiền gốc, số VND tạm tính và ngày của tỷ giá đã dùng; mục của thư chưa xác minh được người gửi có thêm dấu cho biết điều đó), danh sách thư đã bỏ qua, kết quả đồng bộ gần nhất (chỉ số đếm), mốc đồng bộ và địa chỉ Gmail đã kết nối.
- Số tài khoản/thẻ của ví: với ví ngân hàng và thẻ tín dụng, bạn có thể nhập (hoặc dán) số tài khoản/thẻ; app chỉ lưu 4 chữ số cuối trong thông tin ví (SQLite), phần còn lại bị bỏ ngay, không lưu. 4 số này chỉ dùng trên máy để khớp thư ngân hàng với đúng ví: thư có số khớp đúng một ví thì ghi vào ví đó; nếu bạn đã gắn số cho ví cùng ngân hàng mà thư không khớp ví nào hoặc khớp nhiều ví, giao dịch vào hàng chờ duyệt kèm lý do để bạn tự chọn ví. 4 số cuối không được gửi tới nhà cung cấp AI, không có trong tệp xuất CSV/Excel, không ghi vào nhật ký hay thông báo. Đây là dữ liệu ví nên nằm trong tệp sao lưu (được khoá bằng mật khẩu hoặc khoá của máy, xem mục Sao lưu và xuất dữ liệu) và không bị xoá khi Ngắt kết nối hay "Xoá toàn bộ dữ liệu Gmail"; muốn xoá, hãy xoá ô số trong màn sửa ví.
- App không ghi nội dung thư, token hay địa chỉ email vào nhật ký (log) và không tạo thông báo từ nội dung thư.
Lưu giữ và xoá dữ liệu Gmail
- Dữ liệu lấy từ Gmail chỉ giữ trên máy cho tới khi bạn xoá. Hàng chờ duyệt giữ tối đa 100 thư, trong đó tối đa 20 thư chưa xác minh được người gửi; duyệt hoặc bỏ qua một thư sẽ xoá thư đó khỏi hàng chờ.
- "Ngắt kết nối": thu hồi quyền với Google (best effort khi có mạng), xoá token khỏi SecureStore, xoá hàng chờ duyệt, danh sách thư đã bỏ qua, kết quả đồng bộ gần nhất, mốc đồng bộ và địa chỉ Gmail đã kết nối. Ghi nhớ danh mục học từ thư (đánh dấu "từ email") cũng bị xoá; cấu hình nguồn email, quy tắc ví và các giao dịch đã ghi vẫn được giữ.
- "Xoá toàn bộ dữ liệu Gmail" (màn hình Đồng bộ Gmail, mục Dữ liệu và quyền riêng tư): làm như Ngắt kết nối, đồng thời xoá cấu hình nguồn email, quy tắc và bảng ghép số thẻ với ví, cài đặt tự đồng bộ và Client ID đã dán. Thao tác này không xoá giao dịch đã ghi vào sổ vì đó là dữ liệu thu chi của bạn, và xoá cả ghi nhớ danh mục học từ thư (ghi chú đã rút gọn kèm danh mục, đánh dấu "từ email"), kể cả trong tệp
ghi-nho-danh-muc.md. Ghi nhớ do chính bạn chọn danh mục (không từ thư) được giữ.
- "Danh sách giao dịch đã nhập" (cùng mục Dữ liệu và quyền riêng tư): liệt kê các giao dịch tạo từ thư ngay trên máy, kể cả giao dịch bạn tự ghi mà đã được gắn thư (xem mục chống ghi trùng); bạn chọn xoá từng giao dịch hoặc xoá tất cả, và "Xoá tất cả" cũng xoá cả các giao dịch tự ghi đã gắn thư này. Giao dịch bị xoá (kèm giao dịch phí con của chúng) được chuyển vào Thùng rác, không đụng tới kết nối, cấu hình nguồn hay hàng chờ duyệt. Số dư các ví thay đổi theo. Trong Thùng rác, giao dịch vẫn giữ đủ nội dung (số tiền, ngày, ghi chú lấy từ thư, mã nguồn, mã tham chiếu) và khôi phục được trong 30 ngày; sau đó Thùng rác tự xoá hẳn, hoặc bạn tự xoá hẳn sớm hơn. Trong lúc giao dịch còn trong Thùng rác, thư tương ứng không bị nhập lại; sau khi Thùng rác được dọn, lần đồng bộ sau có thể nhập lại các thư còn nằm trong khoảng đồng bộ nếu bạn vẫn kết nối Gmail. Bạn cũng có thể xoá từng giao dịch như bình thường.
- Bạn có thể tự thu hồi quyền của Henry Expense bất cứ lúc nào tại https://myaccount.google.com/permissions, nhất là khi app báo không thu hồi được do không có mạng. Sau khi thu hồi, app không đọc được thư nữa cho tới khi bạn kết nối lại.
- Tệp sao lưu và tệp xuất bạn đã tạo trước đó không bị các thao tác trên sửa lại (xem mục Sao lưu và xuất dữ liệu).
Tôm, trợ lý AI (tính năng tuỳ chọn)
- Tôm là khung chat AI duy nhất trong app (trước đây gọi là Trợ lý AI), mở bằng nút nổi trên màn hình hoặc ở Khác -> Trí tuệ nhân tạo -> Tôm - Trợ lý cá nhân. Tôm trả lời theo hai cách, tuỳ câu bạn hỏi: (a) câu hỏi về cách dùng app đi qua máy chủ của Henry Expense, (b) câu hỏi về sổ thu chi của bạn đi bằng khoá AI của chính bạn. Riêng câu bạn nhắn để ghi một khoản thu hoặc chi được đọc ngay trên máy (xem dòng "Tôm ghi giao dịch" bên dưới). Tắt "Hiện hình Tôm" chỉ ẩn hình Tôm, không đổi gì về dữ liệu.
- (a) Hỏi cách dùng app qua máy chủ (tuỳ chọn, mặc định tắt: chỉ khi bạn đồng ý ở hộp "Hỏi Tôm" hoặc bật "Hỏi Tôm qua máy chủ" trong Cài đặt AI; tắt công tắc này, hoặc tắt "Chia sẻ dữ liệu", là thu hồi, và app bỏ các lượt hỏi đáp qua máy chủ khỏi cuộc trò chuyện đang mở). Máy của bạn xem trước từng câu hỏi: câu rõ là về sổ của bạn (có số tiền, tên tài khoản hay danh mục của bạn, hoặc kiểu "tháng này chi bao nhiêu"...) không bao giờ được gửi lên máy chủ. Câu chưa rõ được gửi sau khi đã che số tiền, chuỗi số dài và email (thành "[số tiền]" hoặc "[ẩn]"). Số tiền được che cả khi viết bằng chữ (như "hai triệu") hoặc là số nhỏ đứng sau từ chỉ tiền (như "tiêu 350"), cùng tối đa 2 cặp hỏi và đáp gần nhất về cách dùng app (câu hỏi cũng đã che), ngôn ngữ của app và một mã cài đặt ngẫu nhiên (không gắn với tên hay tài khoản nào). Việc xem trước chỉ dựa vào dấu hiệu nên có thể bỏ sót: chữ khác bạn tự gõ trong câu chưa rõ (như tên người, hay số nhỏ không đi sau từ chỉ tiền như "mua 2 ly cà phê 45") vẫn được gửi nguyên. Dữ liệu sổ thu chi, kết quả của các công cụ đọc sổ, câu hỏi đã gửi bằng khoá của bạn và câu trả lời tạo bằng khoá của bạn không bao giờ được gửi. Câu hỏi đi tới máy chủ của Henry Expense (api.henryexpense.com), rồi tới một nhà cung cấp dịch vụ AI bên thứ ba để tạo câu trả lời; nhà cung cấp này xử lý ở nước ngoài và có thể lưu nội dung trong một thời gian theo chính sách của họ. Máy chủ của Henry Expense không lưu cuộc trò chuyện và không ghi câu hỏi, câu trả lời, địa chỉ IP hay mã cài đặt gốc vào nhật ký; địa chỉ IP và mã cài đặt đã băm chỉ dùng làm khoá đếm tạm để giới hạn số câu mỗi phút; mã cài đặt đã băm cũng dùng để đếm số câu mỗi ngày của máy (tối đa 30 câu mỗi ngày mỗi máy; dòng đếm tự xoá sau tối đa 4 ngày); máy chủ cũng đếm tổng số câu của cả hệ thống trong giờ và trong ngày, không gắn với ai. Nếu câu hỏi không về cách dùng app, Tôm báo lại và app chuyển câu hỏi gốc (chưa che) sang khoá AI của bạn (nếu bạn đã cài khoá và đã đồng ý chia sẻ dữ liệu với nhà cung cấp đó). Hết lượt, mất mạng hoặc máy chủ lỗi thì Tôm báo cho bạn và không tự gửi câu hỏi sang khoá của bạn; bạn tự chọn có gửi hay không. Đừng gửi tên, số tài khoản, mật khẩu hay mã OTP. Cuộc trò chuyện chỉ giữ trong bộ nhớ khi app chạy. Mã cài đặt và lựa chọn đồng ý lưu theo máy, không nằm trong tệp sao lưu; "Xoá dữ liệu ứng dụng" xoá cả hai (app tạo mã mới sau khi mở lại).
- (b) Đọc sổ bằng khoá của bạn: các mục còn lại của phần này (nhà cung cấp, đồng ý, công tắc chia sẻ, dữ liệu gửi đi) nói về phần Tôm đọc sổ và các tính năng AI khác dùng khoá của bạn, giữ nguyên như trước. Nếu bạn đã cài khoá AI và đồng ý chia sẻ dữ liệu với nhà cung cấp đó nhưng chưa đồng ý Hỏi Tôm, câu chưa rõ (kể cả câu hỏi cách dùng app) cũng đi bằng khoá của bạn tới nhà cung cấp này, không lên máy chủ của Henry Expense. Cài đặt AI nằm ở Khác -> Trí tuệ nhân tạo -> Cài đặt AI, nơi bạn chọn nhà cung cấp, thu hồi đồng ý và xoá khoá API.
- Tôm ghi giao dịch: khi công tắc "Tôm ghi giao dịch" trong Cài đặt AI (mặc định bật) đang bật, câu bạn nhắn để ghi một khoản thu hoặc chi (ví dụ "ăn phở 50k") được đọc ngay trên máy để tạo bản nháp. Câu đó không được gửi lên máy chủ của Henry Expense, không gửi cho nhà cung cấp AI, và không nằm trong các câu cũ gửi kèm lượt hỏi sau. Tôm không tự ghi gì: giao dịch chỉ được lưu khi bạn bấm "Lưu" (app đang khoá thì không lưu); "Hoàn tác" chuyển giao dịch vừa lưu vào Thùng rác. Bản nháp chỉ giữ trong bộ nhớ, mất khi bạn bấm "Cuộc trò chuyện mới" hoặc đóng app. Giao dịch Tôm ghi là giao dịch bình thường của bạn: có trong tệp sao lưu, mang nhãn Thủ công trong tệp xuất, và ghi chú của nó có thể được gửi cho AI như giao dịch bạn tự ghi khi "Ghi chú và tên người" bật. Công tắc này không gửi dữ liệu đi nên bật hay tắt đều không hỏi đồng ý; lựa chọn này nằm trong tệp sao lưu. Khi công tắc tắt, câu như vậy chỉ đi bằng khoá AI của chính bạn như câu về sổ ở (b) (chưa có khoá thì app báo cần khoá), và không bao giờ được gửi lên máy chủ của Henry Expense, kể cả khi bạn đã đồng ý Hỏi Tôm. Nút "Nhờ AI đọc câu này" chỉ hiện khi Tôm không đọc ra số tiền hoặc loại thu/chi, và bạn đã cài khoá AI, đã đồng ý chia sẻ dữ liệu với nhà cung cấp đó và đang bật "Ghi chú và tên người". Chỉ khi bạn bấm nút, app mới gửi tới nhà cung cấp AI của bạn (không qua máy chủ của Henry Expense): chính câu đó (đã cắt độ dài và che các dãy từ 8 chữ số trở lên như số tài khoản, thẻ, điện thoại, chỉ giữ 4 số cuối; số tiền viết nhóm nghìn hoặc có đơn vị đi kèm được giữ nguyên), ngày hôm nay, tên và mã nội bộ của các tài khoản và danh mục bạn còn dùng (kèm loại tài khoản, mã tiền tệ và loại thu/chi của danh mục), cùng chỉ dẫn cố định của app; chi phí tính vào khoá API của bạn. App không gửi số dư, giao dịch cũ hay ghi chú khác. AI chỉ đề xuất, không ghi được gì; app kiểm lại từng trường (tài khoản và danh mục phải có thật, số tiền dương, ngày không sau hôm nay) rồi mới hiện bản nháp, và bạn vẫn phải bấm "Lưu". Nếu bạn thu hồi đồng ý hoặc tắt "Ghi chú và tên người" trong lúc chờ, hoặc app bị khoá, kết quả bị bỏ.
- Tôm báo tính năng mới: sau khi app cập nhật, Tôm báo các tính năng mới ngay trong khung chat, và trả lời khi bạn hỏi "có gì mới?". Danh sách này có sẵn trong app, giống nhau với mọi người và không có dữ liệu của bạn. Việc này chạy trên máy: app không gửi gì đi, câu "có gì mới?" không lên máy chủ của Henry Expense, không gửi cho nhà cung cấp AI và không nằm trong các câu cũ gửi kèm lượt hỏi sau. App chỉ ghi trên máy bản app mà bạn đã xem tin (theo máy, không nằm trong tệp sao lưu). Bạn tắt việc tự báo bằng công tắc "Tôm báo tính năng mới" trong Cài đặt AI; công tắc này không gửi dữ liệu đi nên bật hay tắt đều không hỏi đồng ý, và lựa chọn này nằm trong tệp sao lưu.
- Mặc định app không gửi gì cho bên AI nào. Bạn tự chọn nhà cung cấp và tự nhập khoá API của mình. Các nhà cung cấp hiện có: Anthropic (Claude), OpenAI, Google Gemini, Tương thích OpenAI (tự chọn máy chủ). Với loại tương thích OpenAI, dữ liệu đi tới máy chủ mà bạn nhập địa chỉ.
- Trước lần gửi đầu tiên tới mỗi nhà cung cấp, app hiện hộp đồng ý "Chia sẻ dữ liệu với AI". Hộp này, dòng "Đang chia sẻ dữ liệu với" trong khung chat và thẻ trạng thái ở Cài đặt AI ghi đúng loại nhà cung cấp sẽ nhận dữ liệu (như Anthropic, OpenAI, Google Gemini); với máy chủ tương thích OpenAI thì kèm địa chỉ máy chủ. Tên bạn tự đặt cho nhà cung cấp chỉ hiện thêm phía sau. Hộp liệt kê theo các công tắc hiện tại của bạn: dòng "Gửi" (luôn có giao dịch bạn tự ghi kèm số tiền, ngày, tài khoản, danh mục và số dư; thêm ghi chú và tên người trong giao dịch, hay từng giao dịch từ ngân hàng, nếu công tắc tương ứng đang bật, và chữ trong sao kê đã che số nếu bạn đã đồng ý "Đọc sao kê ngân hàng bằng AI") và dòng "Không gửi" (các mục đang tắt, cùng những thứ không bao giờ gửi như ghi chú của giao dịch từ ngân hàng, số tài khoản và số thẻ app lưu). Nếu chưa đọc được các công tắc, hộp hiện một câu chung. Chỉ sau khi bạn bấm "Đồng ý", dữ liệu mới được gửi; "Để sau" chỉ đóng hộp, không ghi nhận đồng ý và không gửi gì. Bạn có thể thu hồi đồng ý trong Cài đặt AI bằng cách tắt "Chia sẻ dữ liệu". Khi đồng ý với nhà cung cấp đang dùng bị thu hồi (tắt "Chia sẻ dữ liệu", xoá nhà cung cấp đó, hay đổi loại hoặc địa chỉ máy chủ của nó), app tắt luôn "Ghi chú và tên người", "Giao dịch từ ngân hàng", "Gửi ví dụ đã nhớ" và "Đọc sao kê ngân hàng bằng AI" (muốn dùng lại phải bật lại và đồng ý lại; khi bạn chuyển sang một nhà cung cấp chưa đồng ý, app cũng tắt bốn công tắc này), đồng thời thu hồi đồng ý tra giá bằng AI của cả hai loại: app tắt công tắc "Cổ phiếu", "Tiền mã hoá" và "Tự tra mỗi ngày", xoá các giá đang chờ xác nhận (của tài sản và của mục Quy đổi tham khảo); muốn tra giá lại phải bật lại và đồng ý lại (xem mục Tra giá cổ phiếu và tiền mã hoá bằng AI).
- Nguyên tắc chung của Cài đặt AI: mỗi công tắc cho dữ liệu rời máy là một quyền bạn cấp. Bật là cho phép; với "Chia sẻ dữ liệu", "Ghi chú và tên người", "Giao dịch từ ngân hàng", "Gửi ví dụ đã nhớ", "Đọc sao kê ngân hàng bằng AI" và từng loại tra giá, app hỏi đồng ý mỗi lần bạn bật, kể cả bật lại. "Ghi chú và tên người" và "Giao dịch từ ngân hàng" chỉ bật được khi đã đồng ý "Chia sẻ dữ liệu". Tắt là thu hồi ngay, không hỏi lại (riêng "Chia sẻ dữ liệu" hỏi xác nhận "Ngừng chia sẻ" trước): app ngừng gửi loại dữ liệu đó và xoá dữ liệu liên quan còn chờ (cuộc trò chuyện đang mở khi bạn tắt "Chia sẻ dữ liệu", "Ghi chú và tên người" hoặc "Giao dịch từ ngân hàng"; giá chờ xác nhận khi bạn tắt một loại tra giá; chữ sao kê đang giữ và lượt đọc đang chạy khi bạn tắt "Đọc sao kê ngân hàng bằng AI"). Các công tắc này, khi đang bật, vẫn tắt được cả khi "Bật AI" đang tắt.
- Khi cập nhật lên bản có công tắc gộp, app chuyển đổi một lần và chỉ theo hướng tắt: "Ghi chú và tên người" chỉ còn bật nếu trước đó bạn bật cả "Ghi chú giao dịch" lẫn "Tên người trong giao dịch"; "Giao dịch từ ngân hàng" chỉ còn bật nếu trước đó bạn bật cả "Giao dịch đồng bộ" lẫn "Giao dịch sao kê"; "Ghi chú và tên người" tắt thì "Gửi ví dụ đã nhớ" cũng tắt. App không tự bật thêm loại dữ liệu nào.
- Từ bản cập nhật ngày 28/11/2026, "Ghi chú và tên người" mặc định tắt (trước đó công tắc này bật sẵn khi bạn đồng ý "Chia sẻ dữ liệu"). Nếu bạn đã dùng app và đã đồng ý chia sẻ dữ liệu với một nhà cung cấp AI ở bản cũ mà chưa từng tự đổi công tắc này, app ghi lại lựa chọn đang bật một lần khi cập nhật, nên cách chia sẻ của bạn giữ như cũ; bạn tắt được bất cứ lúc nào. Người chưa đồng ý chia sẻ dữ liệu thì công tắc tắt.
- Khi bạn đặt câu hỏi, app gửi câu hỏi của bạn và dữ liệu mà các công cụ đọc của Tôm lấy ra để trả lời (số dư, giao dịch, tổng hợp, ngân sách, vay nợ cá nhân, sổ tiết kiệm, mục tiêu tiết kiệm, trả góp, thẻ tín dụng, giao dịch định kỳ và kế hoạch chi). Kèm theo là chỉ dẫn cố định của app: ngày hôm nay, mã tiền tệ chính, khoảng ngày của "tháng này" và "tuần này" theo cài đặt kỳ của bạn, và ngôn ngữ trả lời (theo ngôn ngữ bạn chọn). Khi câu hỏi chưa rõ là về sổ, chỉ dẫn kèm thêm phần giới thiệu tính năng và cách dùng app (chữ cố định, giống nhau với mọi người, không có dữ liệu của bạn). Tôm chỉ đọc, không sửa hay xoá dữ liệu của bạn. Giao dịch nhập từ Gmail, Đồng bộ trực tiếp hay sao kê ngân hàng có quy tắc riêng (xem dưới).
- Mục "Điểm tin" ở Tổng quan phát hiện bất thường (danh mục tăng đột biến, khoản chi lớn, khoản trùng, khoản lặp, ngân sách) hoàn toàn trên máy, không gửi gì đi. Chỉ khi bạn bấm "Viết tóm tắt bằng AI", app mới gửi các tín hiệu đã tổng hợp tới nhà cung cấp AI bạn chọn, sau khi bạn đã đồng ý; app không tự gửi nền. Nội dung gửi gồm tên danh mục, tên ngân sách, số tiền và phần trăm của từng tín hiệu (không gửi danh sách giao dịch thô); ghi chú và tên người tuân theo cài đặt chia sẻ của bạn. Khi "Giao dịch từ ngân hàng" tắt, các tín hiệu khoản chi lớn, khoản trùng và khoản lặp có liên quan tới giao dịch tạo từ thư, nhập qua Đồng bộ trực tiếp hoặc nhập từ sao kê không được gửi (vẫn hiện trên máy). Khi các tín hiệu này được gửi, ghi chú của giao dịch Gmail, Đồng bộ trực tiếp hay sao kê luôn bị bỏ. Tín hiệu danh mục và ngân sách là số tổng nên vẫn tính cả các giao dịch đó. Bản tóm tắt AI được lưu trên máy để dùng lại, gắn với nhà cung cấp đã viết và đúng dữ liệu đã gửi: đổi nhà cung cấp, tắt AI, đổi ngôn ngữ hoặc đổi các cài đặt chia sẻ làm thay đổi dữ liệu gửi đi thì bản cũ không còn hiện, và khi bạn bật ẩn số dư thì nội dung không hiển thị. Cả bản tóm tắt lẫn lựa chọn Tuần/Tháng của Điểm tin đều không nằm trong tệp sao lưu.
- Ghi chú giao dịch và tên người (người vay, người nhận, thành viên chia tiền...) dùng chung công tắc "Ghi chú và tên người" trong Cài đặt AI, nhóm "Dữ liệu". Công tắc này mặc định tắt, kể cả khi bạn đồng ý "Chia sẻ dữ liệu" lần đầu: hộp đồng ý ghi chúng ở dòng "Không gửi" và nhắc rằng bạn có thể bật sau ở Cài đặt AI, mục Dữ liệu. Muốn AI đọc ghi chú và tên người, bạn tự bật công tắc này (app hỏi đồng ý mỗi lần bật). Khi công tắc tắt, "Gợi ý phân loại giao dịch" và nút "Nhờ AI đọc câu này" của Tôm không gửi gì. Ghi chú được gửi nguyên văn (cắt còn tối đa 200 ký tự), app không che số trong đó, nên đừng ghi số thẻ hay mật khẩu vào ghi chú. Khi tắt, các trường đó bị thay bằng "[ẩn]" trước khi gửi.
- Tài sản: khi trò chuyện, Tôm không đọc danh sách tài sản, các lần mua, lần bán, các lần định giá, ghi chú của tài sản hay tài sản ròng mở rộng. Riêng tính năng "Tra giá cổ phiếu bằng AI" (nếu bạn bật) gửi mã cổ phiếu của các tài sản đã bật "Tự cập nhật giá" cùng ngày hôm nay tới nhà cung cấp AI và công cụ tìm kiếm web của họ, không kèm số lượng hay tên tài sản (xem mục Tra giá cổ phiếu bằng AI). Riêng giao dịch mua/bán tài sản là giao dịch ví bình thường (danh mục "Mua tài sản"/"Bán tài sản", ghi chú mặc định "Mua: <tên tài sản>", "Mua thêm: <tên tài sản>" hoặc "Bán: <tên tài sản>"), nên Tôm có thể nhận số tiền, ngày, ví, danh mục và ghi chú đó (tức tên tài sản) như giao dịch khác; tắt chia sẻ ghi chú thì ghi chú bị thay bằng "[ẩn]". Các giao dịch này mặc định không tính vào báo cáo nên không vào Điểm tin.
- Đọc sao kê ngân hàng bằng AI: chỉ khi bạn bấm "Đọc bằng AI" ở màn Nhập sao kê ngân hàng và đã đồng ý "Đọc sao kê ngân hàng bằng AI", app gửi phần chữ của tệp sao kê đó (ngày, số tiền, số dư và nội dung từng dòng) sau khi đã bỏ dòng thông tin khách hàng và che số tài khoản, số thẻ, số điện thoại, email và các dãy số dài, kèm chỉ dẫn cố định của app. Đây là quyền riêng, không phụ thuộc "Ghi chú và tên người" hay "Giao dịch từ ngân hàng"; app không gửi nền, và Tôm (phần đọc sổ) không đọc chữ này. Chi tiết xem mục Nhập sao kê ngân hàng.
- Giao dịch tạo từ thư Gmail, nhập qua Đồng bộ trực tiếp hoặc nhập từ sao kê ngân hàng: ghi chú (lấy từ nội dung thư, nội dung chuyển khoản hoặc cột nội dung của sao kê) không bao giờ được đưa vào dữ liệu gửi AI, kể cả khi bạn bật chia sẻ ghi chú, và tìm kiếm của Tôm không khớp theo ghi chú đó. Công tắc "Giao dịch từ ngân hàng" trong Cài đặt AI (nhóm "Dữ liệu"), mặc định tắt, quyết định Tôm có nhận từng giao dịch này không; công tắc áp chung cho cả ba nguồn (Gmail, Đồng bộ trực tiếp, sao kê) và hiện ở mọi bản cài. Khi công tắc tắt, Tôm không nhận từng giao dịch thuộc ba nguồn đó (không có trong danh sách hay kết quả tìm kiếm), chỉ nhận các số tổng hợp đã tính cả chúng; nếu một ngày hay một danh mục chỉ có một giao dịch thì con số tổng đó bằng đúng số tiền của giao dịch ấy. Khi bật (app hỏi đồng ý mỗi lần bật), số tiền, ngày, ví và danh mục của từng giao dịch được gửi như giao dịch khác, vẫn không kèm ghi chú; tên người và chuyến đi/sự kiện bạn tự thêm (kể cả khi sửa trước khi ghi ở Chờ duyệt) được gửi nếu "Ghi chú và tên người" đang bật. Tắt "Chia sẻ dữ liệu" thì công tắc này cũng tắt. Công tắc lưu theo thiết bị, không nằm trong tệp sao lưu. Giao dịch nhập từ tệp CSV/Excel, kể cả dòng mang nhãn Gmail hay Đồng bộ trực tiếp, được coi như giao dịch bạn tự ghi: ghi chú của chúng có thể được gửi nếu bạn bật "Ghi chú và tên người", và công tắc "Giao dịch từ ngân hàng" không áp dụng cho chúng; riêng dòng mang nhãn Sao kê ngân hàng được giữ kín ghi chú như giao dịch nhập từ sao kê và theo công tắc "Giao dịch từ ngân hàng". Nếu bạn bấm "Lưu thành mẫu" trên một giao dịch Gmail, Đồng bộ trực tiếp hay sao kê ngân hàng, mẫu không chép ghi chú của giao dịch đó, nên ghi chú này cũng không tới AI qua giao dịch bạn ghi từ mẫu. Chi tiết xem mục Dữ liệu Google: Sử dụng Hạn chế.
- Phân loại danh mục bằng AI: app luôn gợi ý danh mục trên máy trước (ghi nhớ lựa chọn của bạn, rồi từ khoá). Chỉ khi hai cách này không đoán được, ghi chú không quá chung (ví dụ chỉ có "chuyen tien" thì không hỏi) và mục đó không phải từ Gmail, Đồng bộ trực tiếp hay sao kê ngân hàng, app mới cho hỏi AI. Công tắc "Gợi ý phân loại giao dịch" (nhóm "Phân loại giao dịch" của Cài đặt AI) mặc định tắt. Khi bật, app chỉ hỏi AI lúc bạn bấm "Hỏi AI" (trên form ghi chép hoặc ở màn Phân loại giao dịch; ghi chú gửi đi có thể là chữ app điền sẵn từ hoá đơn hay mã QR), không tự hỏi khi bạn gõ và không chạy nền. App cũng chỉ hỏi khi đã bật AI, đã chọn nhà cung cấp, có khoá API, bạn đã đồng ý và đang bật "Ghi chú và tên người"; tắt công tắc này thì không gửi gì. Mỗi lần bấm hỏi tối đa 200 mục, trong tối đa 7 lời gọi (mỗi lời gọi tối đa 30 mục; ghi chú giống nhau chỉ gửi một lần); chi phí tính vào khoá API của bạn.
- Nội dung gửi khi phân loại: loại (thu hoặc chi), danh sách tên danh mục của loại đó (không gồm "Khác" và danh mục hệ thống, tên gửi nguyên văn) và ghi chú của các mục cần gợi ý, mỗi ghi chú cắt còn tối đa 120 ký tự. Trước khi gửi, app thay địa chỉ email, đường dẫn web và chuỗi từ 6 chữ số trở lên (như số tài khoản, số điện thoại, mã giao dịch) bằng "[ẩn]"; số ngắn hơn mà bạn tự gõ trong ghi chú (ví dụ số tiền) vẫn được gửi. Vì phân loại chỉ chạy khi "Ghi chú và tên người" bật, tên người có trong ghi chú được gửi như phần còn lại của ghi chú; tên người ghi ở giao dịch không được gửi riêng. App không gửi số tiền, ngày, ví, số dư, mã giao dịch hay mã định danh nào.
- Ví dụ đã nhớ: công tắc "Gửi ví dụ đã nhớ" nằm dưới "Gợi ý phân loại giao dịch" (chỉ hiện khi công tắc đó bật), mặc định tắt và chỉ bật được khi "Ghi chú và tên người" đang bật. Khi bật, app gửi kèm tối đa 20 dòng ghi nhớ của chính bạn có từ trùng với các ghi chú đang hỏi (ghi chú đã rút gọn của các giao dịch trước, kèm tên danh mục bạn đã chọn; mỗi dòng được làm sạch lại trước khi gửi) để AI đoán sát hơn. Dòng ghi nhớ học từ thư Gmail hay từ sao kê ngân hàng không bao giờ được gửi. Tắt công tắc này để không gửi ví dụ; tắt "Ghi chú và tên người" hoặc "Gợi ý phân loại giao dịch" cũng tắt luôn công tắc này. App không gửi nguyên tệp ghi nhớ.
- Kết quả AI chỉ là gợi ý: app chỉ nhận tên có đúng trong danh sách danh mục đã gửi (tên khác bị bỏ), và bạn duyệt rồi mới lưu. "Hỗ trợ phân loại giao dịch" (trong Cài đặt AI) mặc định tắt và chỉ có tác dụng ở màn Phân loại giao dịch; khi bật, sau lần bấm "Hỏi AI" app lưu ngay các gợi ý AI rất chắc chắn mà không chờ bạn duyệt. Các gợi ý tự áp dụng này KHÔNG được ghi nhớ: app chỉ ghi nhớ khi chính bạn chọn hoặc tích rồi bấm "Áp dụng". Nút "Hoàn tác" trả lại danh mục cũ của giao dịch và cũng hoàn nguyên các dòng ghi nhớ vừa thay đổi trong lượt đó (xoá dòng mới tạo, trả lại dòng cũ). App dặn mô hình coi ghi chú là dữ liệu, không phải chỉ thị.
- Gợi ý AI đã nhận được nhớ tạm trên máy (ghi chú đã rút gọn và tên danh mục, tối đa 500 mục) để không hỏi lại cùng một ghi chú. Bộ nhớ tạm này theo thiết bị, không nằm trong tệp sao lưu, và bị xoá khi bạn thu hồi đồng ý với nhà cung cấp đang dùng, xoá hay đổi nhà cung cấp hoặc mô hình (kể cả khi app tự chọn phiên bản mô hình mới), bấm "Xoá bộ nhớ phân loại" hoặc Xoá dữ liệu ứng dụng. App không ghi ghi chú gửi đi hay câu trả lời của AI vào nhật ký. Các công tắc "Gợi ý phân loại giao dịch", "Hỗ trợ phân loại giao dịch" và "Gửi ví dụ đã nhớ" lưu theo thiết bị, không nằm trong tệp sao lưu.
- Mô hình: với Anthropic, OpenAI và Google Gemini, bạn chỉ chọn mức ("Mạnh nhất", "Cân bằng" hoặc "Nhanh và rẻ"), app tự chọn phiên bản mới nhất của mức đó theo danh sách mô hình mà nhà cung cấp trả về; với loại Tương thích OpenAI, bạn tự nhập tên mô hình. Để đọc danh sách này, app gửi một yêu cầu đọc (có thể thử lại khi mạng lỗi) tới địa chỉ danh sách mô hình của chính nhà cung cấp đó, chỉ kèm khoá API (và Workspace ID nếu bạn nhập, với Anthropic); yêu cầu không có câu hỏi, không có dữ liệu thu chi và không dùng mô hình nên không phát sinh phí dùng AI. App đọc danh sách vào ba lúc: khi bạn bấm "Lưu và kiểm tra" (cho nhà cung cấp bạn đang sửa); mỗi ngày một lần khi bạn mở hoặc quay lại app, chỉ cho nhà cung cấp đang dùng và chỉ khi đã bật AI, nhà cung cấp đó đang bật, có khoá API, bạn đã đồng ý chia sẻ dữ liệu với nhà cung cấp đó, đang chọn một mức và hôm nay chưa đọc được (lỗi thì app không báo, giữ phiên bản cũ và thử lại lần mở sau); và ngay trước một lần gửi tới AI nếu chưa chọn được phiên bản cho mức. Khi phiên bản đổi, lần dùng kế tiếp dùng bản mới; app không báo và không xoá cuộc trò chuyện. Ngày đọc gần nhất lưu theo thiết bị, không nằm trong tệp sao lưu.
- Nút "Lưu và kiểm tra" chỉ lưu cấu hình rồi đọc danh sách mô hình như trên để kiểm tra kết nối và chọn phiên bản (hoặc kiểm tên mô hình bạn nhập có trong danh sách); nút không gửi câu hỏi thật và không gửi dữ liệu thu chi. Nếu bạn đổi loại nhà cung cấp hoặc địa chỉ máy chủ của một nhà cung cấp đã lưu, bạn phải nhập lại khoá API (hoặc xoá khoá) và đồng ý lại trước khi gửi dữ liệu; khoá API cũ không được gửi tới địa chỉ mới. Đổi tên, mô hình hay Workspace ID thì giữ khoá.
- Dữ liệu gửi đi do nhà cung cấp bạn chọn xử lý theo chính sách riêng của họ. Henry Expense không có máy chủ trung gian và không xem được nội dung đó.
- Khoá API lưu trong SecureStore (Keychain), không nằm trong cơ sở dữ liệu và không vào tệp sao lưu.
- Cuộc trò chuyện chỉ giữ trong bộ nhớ khi app chạy. Các câu trả lời trước trong cuộc trò chuyện đang mở được gửi lại cùng câu hỏi tiếp theo; vì vậy khi bạn tắt "Chia sẻ dữ liệu" hoặc một công tắc chia sẻ (ghi chú, tên người, giao dịch đồng bộ, giao dịch sao kê), app xoá cuộc trò chuyện đang mở để dữ liệu đã đọc trước đó không bị gửi lại. Bạn cũng có thể bấm "Cuộc trò chuyện mới" bất cứ lúc nào.
Nói với Tôm (micro, nhận dạng giọng nói)
- Trong khung Tôm, bạn có thể bấm nút micro rồi nói thay cho gõ. Nút micro chỉ hiện khi iPhone nhận dạng được ngôn ngữ của app (Tiếng Việt hoặc English) ngay trên máy. Nếu máy không làm được việc này, app ẩn nút micro và không chuyển sang nhận dạng qua máy chủ của Apple.
- Quyền: lần đầu bạn bấm micro, iOS hỏi quyền dùng micro và quyền nhận dạng giọng nói. App chỉ dùng micro trong lúc đang nghe: từ khi bạn bấm micro tới khi bạn bấm "Dừng" hoặc "Huỷ", ngừng nói, hoặc hết 30 giây. Bạn tắt hai quyền này được trong Cài đặt của iPhone, ở mục Henry Expense. Nếu bạn từ chối, chỉ nút micro không dùng được, các phần khác của app vẫn chạy bình thường.
- Xử lý trên máy: lời bạn nói được bộ nhận dạng giọng nói có sẵn của iOS chuyển thành chữ ngay trên iPhone. App không gửi âm thanh hay chữ nghe được tới Henry Expense, nhà cung cấp AI hay dịch vụ nào khác. App không lưu âm thanh, không ghi chữ nghe được vào nhật ký, và không gửi tín hiệu thống kê nào về việc bạn dùng micro.
- Chữ nghe được chỉ được đưa vào ô nhập. Tôm không tự gửi: bạn xem, sửa rồi tự bấm Gửi. Khi bạn bấm Gửi, câu đó được xử lý giống hệt câu bạn gõ (xem mục Tôm): câu ghi một khoản thu hoặc chi được đọc ngay trên máy và chỉ ra bản nháp, bạn phải bấm "Lưu" mới ghi; câu hỏi khác đi theo cách (a) hoặc (b) của mục Tôm. Bấm "Huỷ" thì app bỏ chữ đang nghe, không giữ gì.
- App ngừng nghe và bỏ chữ đang nghe khi app bị khoá hoặc bị che, khi bạn rời app, hoặc khi bạn rời khung Tôm.
- Tính năng này không có công tắc riêng, không thêm cài đặt nào và không có gì trong tệp sao lưu.
Gửi email mẫu cho nhà phát triển
- Trong Hướng dẫn sử dụng, chủ đề Đồng bộ Gmail, một số bản cài có nút "Gửi email mẫu cho nhà phát triển" để bạn gửi mẫu email thông báo của ngân hàng chưa được hỗ trợ. Nút chỉ có khi bản cài được cấu hình sẵn địa chỉ nhận của nhà phát triển; không có địa chỉ thì không có nút.
- Bạn tự điền form: tên ngân hàng, địa chỉ người gửi của ngân hàng, tiêu đề và nội dung thư mẫu, ghi chú. Form không tự lấy gì từ kết nối Gmail, hàng chờ duyệt hay sổ thu chi; nội dung là những gì bạn tự gõ hoặc dán vào, và có thể chứa thông tin từ email ngân hàng của bạn. Ngoài phần bạn nhập, app chỉ thêm phiên bản ứng dụng và hệ điều hành (ví dụ ios 18). App không đính kèm giao dịch, số dư, ví, token Gmail, khoá API hay địa chỉ Gmail đã kết nối.
- Trước khi soạn thư, app tự làm mờ mọi chuỗi liền nhau từ 8 chữ số trở lên trong tiêu đề, nội dung và ghi chú, chỉ giữ 4 chữ số cuối. App cũng làm mờ các nhóm số ngắt bằng dấu cách, dấu chấm hay gạch nối khi tổng từ 12 chữ số trở lên (ví dụ 1234 5678 9012), cũng chỉ giữ 4 chữ số cuối. Cách này không ẩn được số ngắn hơn (như mã OTP, số điện thoại ngắt nhóm dưới 12 chữ số, số tiền, số dư), chữ số kiểu khác (ví dụ chữ số Ả Rập-Ấn Độ), họ tên, địa chỉ hay nội dung chuyển khoản. Tên ngân hàng và địa chỉ người gửi giữ nguyên. Vì vậy hãy tự xoá họ tên, số tài khoản/thẻ, số dư, mã OTP và địa chỉ trước khi gửi. Nội dung quá dài được cắt gọn (app báo cho bạn biết) để mở được ứng dụng Mail.
- Bấm "Xem lại" để thấy nguyên văn thư: địa chỉ nhận, tiêu đề và nội dung đã làm mờ. Chỉ khi bạn bấm "Mở ứng dụng Mail", app mới mở ứng dụng Mail của máy với thư soạn sẵn; bạn vẫn sửa được và tự bấm gửi trong Mail. App không tự gửi, không gửi nền và không gửi qua máy chủ nào của Henry Expense.
- Thư được gửi từ tài khoản email trong ứng dụng Mail của bạn, nên nhà phát triển sẽ thấy địa chỉ email (và tên hiển thị, nếu có) mà bạn dùng để gửi, cùng nội dung thư. Thư đi qua nhà cung cấp email của bạn và của nhà phát triển như mọi email khác, và bản đã gửi nằm trong hộp thư Đã gửi của bạn. Nhà phát triển chỉ dùng thư mẫu để thêm hoặc sửa cách đọc email của ngân hàng đó; bạn có thể trả lời cùng thư để yêu cầu xoá.
- Ở bước xem lại luôn có nút "Chia sẻ nội dung": thư dài bị cắt bớt khi mở trong Mail (đường dẫn thư có giới hạn độ dài), nên nút này chuyển bản đầy đủ (đã làm mờ) cho ứng dụng bạn chọn trong bảng chia sẻ của hệ điều hành; ứng dụng đó xử lý theo chính sách riêng của nó. Nếu máy không mở được ứng dụng Mail, app hiện thêm địa chỉ nhận để bạn tự gửi.
- Nội dung form chỉ nằm trong bộ nhớ khi form đang mở, mất khi bạn đóng form; app không lưu, không ghi log và không đưa nội dung này vào tệp sao lưu.
Yêu cầu hỗ trợ ngân hàng
- Trên màn Đồng bộ ngân hàng, ngân hàng hoặc kênh chưa được hỗ trợ ghi "Đang phát triển". Khi bạn bấm vào đó, app mở bảng xem trước thư yêu cầu hỗ trợ ngân hàng. Lúc này app chưa gửi gì.
- App tự soạn toàn bộ thư. Thư chỉ có tên ngắn và mã ngân hàng, kênh bạn muốn dùng ("Qua Gmail" hoặc "Trực tiếp") và phiên bản app. Thư không có dữ liệu thu chi, số dư, ví, địa chỉ Gmail đã kết nối hay chữ nào bạn gõ.
- Bảng xem trước hiện địa chỉ nhận, tiêu đề và nội dung thư. Địa chỉ nhận là của nhà phát triển: địa chỉ nhận thư mẫu nếu bản cài có cấu hình sẵn, nếu không thì địa chỉ ở mục Liên hệ.
- Chỉ khi bạn bấm "Mở ứng dụng Mail", app mới mở ứng dụng Mail của máy (hoặc ứng dụng email mặc định bạn đã chọn) với thư soạn sẵn. Bạn vẫn sửa được và tự bấm gửi. App không tự gửi, không gửi nền và không gửi qua máy chủ nào của Henry Expense.
- Nếu máy không mở được ứng dụng Mail, app hiện địa chỉ nhận để bạn tự gửi, kèm nút "Chia sẻ nội dung". Nút này chỉ chuyển tiêu đề và nội dung thư cho ứng dụng bạn chọn trong bảng chia sẻ của hệ điều hành; ứng dụng đó xử lý theo chính sách riêng của nó.
- Thư được gửi từ tài khoản email trong ứng dụng Mail của bạn, nên nhà phát triển sẽ thấy địa chỉ email (và tên hiển thị, nếu có) mà bạn dùng để gửi. Nhà phát triển chỉ dùng thư này để biết nên hỗ trợ ngân hàng nào trước; bạn có thể trả lời cùng thư để yêu cầu xoá.
- App không lưu, không ghi log yêu cầu này và không đưa nó vào tệp sao lưu.
Hỏi cảm nhận và góp ý
- Thỉnh thoảng, ngay sau khi bạn thêm giao dịch hoặc bấm đồng bộ ở Tổng quan và có giao dịch mới, màn Tổng quan có thể hỏi bạn thấy Henry Expense thế nào. App chỉ hỏi khi bạn đã dùng app từ 7 ngày và có từ 20 giao dịch; app tự đếm trên máy, không gửi số này đi đâu. Hai lần hỏi cách nhau ít nhất 30 ngày (khi bạn chọn "Để sau"), hoặc 90 ngày nếu bạn đã chọn "Có, tôi thích" hay "Chưa hài lòng". Câu hỏi không hiện khi app đang khoá. Bạn không phải trả lời, và không có quà hay tính năng nào đổi lấy câu trả lời.
- Để biết lúc nào được hỏi, app chỉ lưu trên máy bốn mốc: ngày bắt đầu tính (lần đầu bạn mở Tổng quan ở phiên bản có tính năng này), lần hỏi gần nhất, lựa chọn của lần đó và lần app mở hộp đánh giá của Apple. Các mốc này nằm trong cài đặt theo máy, không nằm trong tệp sao lưu, không bị khôi phục ghi đè và bị xoá khi bạn chọn "Xoá dữ liệu ứng dụng". App không gửi các mốc này cho nhà phát triển hay ai khác.
- Chọn "Có, tôi thích": app mở hộp đánh giá của App Store do iOS hiện. Số sao và nhận xét bạn viết do Apple nhận và xử lý theo chính sách của Apple; app không thấy, không biết bạn đã đánh giá hay chưa và không gửi gì kèm theo. iOS có thể không hiện hộp này dù app đã xin (ví dụ trên bản thử TestFlight).
- Chọn "Chưa hài lòng": app mở bảng góp ý. Bạn chọn lý do (Khó dùng, Thiếu tính năng, Gặp lỗi, Đồng bộ ngân hàng, Chậm, Khác) và có thể viết thêm. Lúc này app chưa gửi gì.
- Chỉ khi bạn bấm "Viết góp ý", app mới mở ứng dụng Mail của máy (hoặc ứng dụng email mặc định bạn đã chọn) với thư soạn sẵn tới nhà phát triển: địa chỉ nhận thư mẫu nếu bản cài có cấu hình sẵn, nếu không thì địa chỉ ở mục Liên hệ. Thư chỉ có lý do bạn chọn, chữ bạn viết và phiên bản app; không có dữ liệu thu chi, số dư, ví, hệ điều hành hay địa chỉ Gmail đã kết nối. App giữ nguyên chữ bạn viết, không tự làm mờ số, nên đừng ghi số tài khoản, số thẻ hay mã OTP. Chữ quá dài bị cắt bớt cho vừa thư; khi đó, trước khi mở Mail, app báo cho bạn và hiện nút "Chia sẻ" để gửi bản đầy đủ; thư rút gọn có dòng ghi "đã cắt bớt" ở cuối. Bạn xem lại toàn bộ, sửa được và tự bấm gửi trong Mail. App không tự gửi, không gửi nền và không gửi qua máy chủ nào của Henry Expense.
- Nếu máy không mở được ứng dụng Mail, app hiện địa chỉ nhận để bạn tự gửi, kèm nút "Chia sẻ" (nút này cũng hiện khi thư bị cắt bớt). Nút này chỉ chuyển tiêu đề và nội dung thư cho ứng dụng bạn chọn trong bảng chia sẻ của hệ điều hành; ứng dụng đó xử lý theo chính sách riêng của nó.
- Thư được gửi từ tài khoản email trong ứng dụng Mail của bạn, nên nhà phát triển sẽ thấy địa chỉ email (và tên hiển thị, nếu có) mà bạn dùng để gửi. Nhà phát triển chỉ dùng góp ý để sửa lỗi và làm app tốt hơn; bạn có thể trả lời cùng thư để yêu cầu xoá. Lý do và chữ bạn viết chỉ nằm trong bộ nhớ khi bảng góp ý đang mở; app không lưu, không ghi log và không đưa chúng vào tệp sao lưu.
Mua trong ứng dụng
- App bán một số món trả phí: món mua một lần, và thuê bao cho Đồng bộ trực tiếp ở bản có tính năng này. Bạn mua bằng tính năng Mua trong ứng dụng của Apple. Apple xử lý thanh toán theo điều khoản của Apple; app không thấy thẻ, Apple ID hay email của bạn. Giá hiện trong app do App Store cung cấp theo quốc gia App Store của bạn.
- Để biết bạn đã mua món nào, app hỏi App Store ngay trên máy (qua iOS, giữa iPhone và Apple): khi mở app, khi app quay lại (không quá một lần mỗi phút), khi bạn bấm "Khôi phục giao dịch đã mua", và khi có giao dịch mới (ví dụ bạn mua trên iPhone khác cùng Apple ID, giao dịch được phụ huynh duyệt qua Yêu cầu mua, hoặc bạn đổi mã khuyến mãi). App chỉ nhận giao dịch đã được Apple xác minh chữ ký; món đã được Apple hoàn tiền thì app thu lại quyền.
- Danh sách món đã mua chỉ nằm trong bộ nhớ khi app đang chạy. App không lưu biên nhận, mã giao dịch hay bằng chứng mua vào cơ sở dữ liệu, Keychain, tệp sao lưu hay nhật ký, và không gửi chúng cho nhà phát triển (thống kê ẩn danh, nếu đang bật, chỉ có tên món và kết quả mua, xem mục Thống kê sử dụng ẩn danh). Ngoại lệ duy nhất: bằng chứng mua thuê bao Đồng bộ trực tiếp được gửi tới máy chủ của Henry Expense khi bạn dùng tính năng này (xem mục Đồng bộ trực tiếp).
- App đọc ngày bạn tải app lần đầu từ App Store (do Apple ký) để xét ưu đãi cho người dùng từ trước (xem dòng Sổ ghi lần đầu dùng tính năng ở mục Dữ liệu lưu trên máy). Khi app chưa lấy được ngày này (ví dụ chưa kết nối được App Store), app có thể tạm cho bạn dùng tiếp tính năng bạn đã dùng từ trước, rồi xét khi lấy được ngày này. Ngày này chỉ dùng trên máy; app không lưu và không gửi nó đi.
- Nhập mã khuyến mãi: app mở hộp nhập mã của Apple (không mở được thì mở trang đổi mã của App Store). Bạn nhập mã trong hộp của Apple nên app không thấy mã. Quản lý hoặc huỷ thuê bao: app mở trang quản lý thuê bao của Apple. Hoàn tiền do Apple xử lý theo yêu cầu của bạn.
- Apple cung cấp cho nhà phát triển báo cáo bán hàng tổng hợp (ví dụ số lượt mua theo món, quốc gia và ngày), không có tên, email hay Apple ID của người mua.
- Hotline: sau khi bạn mua món "Hỗ trợ và góp ý qua hotline", app hiện số hotline cùng các nút gọi điện, nhắn Zalo và sao chép số. Trước khi mua, số không hiện trong app. Gọi điện mở ứng dụng Điện thoại; nhắn Zalo mở ứng dụng Zalo hoặc trang Zalo trong trình duyệt; app không gửi kèm dữ liệu nào. Nút sao chép chỉ ghi số hotline vào bộ nhớ tạm của máy khi bạn bấm. Cuộc gọi và tin nhắn diễn ra ngoài app: nhà mạng và Zalo (dịch vụ của bên thứ ba, theo chính sách riêng của họ) xử lý chúng, còn nhà phát triển thấy số điện thoại hoặc tài khoản Zalo của bạn cùng nội dung bạn trao đổi, và chỉ dùng để hỗ trợ bạn. Muốn xoá các thông tin này, hãy gửi email tới địa chỉ ở mục Liên hệ.
Đồng bộ trực tiếp (tính năng tuỳ chọn, cần thuê bao)
- Đồng bộ trực tiếp tự lấy giao dịch từ tài khoản ngân hàng bạn liên kết, qua đối tác kết nối ngân hàng của Henry Expense. Đối tác là một công ty khác, xử lý dữ liệu cho Henry Expense theo thoả thuận giữa hai bên (Henry Expense quyết định mục đích, đối tác là bên xử lý dữ liệu). Tính năng nằm ở hàng "Đồng bộ trực tiếp" ở đầu màn Đồng bộ ngân hàng, mặc định chưa liên kết. Bạn không cần tạo tài khoản với đối tác. App không gửi gì cho tới khi bạn tự liên kết.
- Thuê bao: bạn mua thuê bao Đồng bộ trực tiếp bằng tính năng Mua trong ứng dụng của Apple. Apple xử lý thanh toán; app và máy chủ của Henry Expense không thấy thẻ, Apple ID hay email của bạn.
- Máy chủ của Henry Expense: app không gọi thẳng tới đối tác mà đi qua một máy chủ nhỏ của Henry Expense tại api.henryexpense.com (HTTPS). Khoá của Henry Expense với đối tác chỉ nằm ở máy chủ, không nằm trong app. Mỗi yêu cầu từ app gửi kèm phiên bản app và bằng chứng mua thuê bao do Apple ký. Bằng chứng này gồm mã giao dịch mua, mã sản phẩm, ngày mua, ngày hết hạn, quốc gia của App Store, giá, tiền tệ và vài trường kỹ thuật khác của Apple; không có tên, email hay Apple ID. Bằng chứng nằm trong thân yêu cầu (không nằm trong địa chỉ), chỉ gửi tới địa chỉ cố định của máy chủ; app không lưu nó mà xin lại từ App Store trên máy mỗi lần cần.
- Máy chủ kiểm chữ ký của Apple để biết thuê bao còn hạn và chưa bị hoàn tiền; khi được cấu hình, máy chủ hỏi thêm Apple trạng thái của thuê bao (chỉ gửi mã giao dịch mua gốc). Từ bằng chứng mua, máy chủ tạo một mã khách bằng cách băm có khoá bí mật (không suy ngược ra mã mua hay Apple ID) và chỉ gửi mã này cho đối tác. Đối tác không nhận tên, email hay Apple ID của bạn từ Henry Expense. Mọi iPhone dùng cùng Apple ID có cùng mã khách nên thấy cùng các tài khoản đã liên kết.
- Liên kết: lần đầu, app hiện hộp "Trước khi liên kết"; bạn đánh dấu "Tôi đã đọc và đồng ý" rồi bấm "Tiếp tục". Khi bạn bấm "Liên kết ngân hàng", app xin máy chủ tạo một phiên liên kết rồi mở trang liên kết trong cửa sổ đăng nhập riêng của iOS. Cửa sổ này không dùng chung cookie hay dữ liệu duyệt web với Safari và không giữ lại gì sau khi đóng. Trang trung gian của máy chủ Henry Expense mở trang của đối tác; bạn chọn ngân hàng, nhập thông tin đăng nhập ngân hàng và mã xác thực (OTP) ngay trên trang của đối tác. Henry Expense (cả app lẫn máy chủ) không thấy những thông tin này. Trang của đối tác có thể hiện tên và điều khoản của đối tác. Đóng trang thì app quay về và hỏi máy chủ kết quả.
- Đối tác giữ liên kết với ngân hàng và nhận giao dịch của các tài khoản bạn liên kết, dưới tài khoản đối tác của Henry Expense. Đối tác lưu thông tin cần để giữ liên kết (tuỳ ngân hàng), dữ liệu giao dịch và nhật ký các lần gửi giao dịch tới máy chủ của Henry Expense, theo thoả thuận xử lý dữ liệu với Henry Expense và theo quy định pháp luật. Mỗi thuê bao liên kết được tối đa 3 tài khoản (mua thử, ví dụ qua TestFlight, chỉ 1 tài khoản).
- Nhận giao dịch: sau khi bạn liên kết, máy chủ đăng ký với đối tác một địa chỉ nhận riêng cho từng tài khoản. Khi tài khoản có giao dịch mới, đối tác gửi giao dịch tới địa chỉ đó. App chỉ nhận giao dịch phát sinh sau lúc liên kết, không có giao dịch cũ; giao dịch bị lỡ từ ngày liên kết trở đi có thể lấy lại bằng "Đồng bộ theo ngày" (xem dòng Đồng bộ theo ngày). Máy chủ kiểm mã bí mật của địa chỉ nhận, bỏ mục không thuộc tài khoản đã liên kết, rồi giữ tạm bản rút gọn (xem dòng dưới). Khi bạn bấm "Đồng bộ ngay" ở màn Đồng bộ trực tiếp hoặc chạm biểu tượng đồng bộ ở đầu Tổng quan, và khi mở app nếu "Tự đồng bộ" đang bật (mặc định bật; không quá một lần mỗi 15 phút), app gửi bằng chứng mua tới máy chủ, nhận các giao dịch đang chờ của đúng mã khách đó (mỗi lần tối đa 500), ghi vào máy (trừ giao dịch của ngân hàng đang tạm dừng, xem dòng Tạm dừng theo ngân hàng) rồi báo máy chủ đã nhận để máy chủ xoá. App không bao giờ nhận số tài khoản đầy đủ. Các iPhone dùng cùng Apple ID dùng chung một hàng chờ: giao dịch về iPhone nào lấy trước.
- Máy chủ giữ gì: với mỗi giao dịch mới, máy chủ chỉ giữ ngày giờ, số tiền, thu hay chi, nội dung chuyển khoản (bỏ ký tự điều khiển, che các dãy từ 8 chữ số trở lên chỉ để lại 4 số cuối, tối đa 1.000 ký tự), tên ngân hàng, mã giao dịch của đối tác và 4 số cuối tài khoản của bạn. Ngay khi nhận và trước khi lưu, máy chủ bỏ số tài khoản đầy đủ, mã giao dịch của ngân hàng, mã thanh toán, mã kiểm tra, tên, số tài khoản và ngân hàng của người chuyển cùng các chi tiết khác. Nội dung do ngân hàng ghi có thể có tên người chuyển; máy chủ không lọc được tên trong chữ. Bản rút gọn được mã hoá AES-256-GCM bằng khoá riêng cho từng khách rồi mới ghi vào cơ sở dữ liệu của máy chủ; khoá gốc chỉ nằm trong kho bí mật của máy chủ. Đây là mã hoá trên máy chủ, không phải mã hoá đầu-cuối: máy chủ tự giải mã giao dịch để trả cho app, nên về kỹ thuật máy chủ đọc được nội dung. Nhà phát triển cam kết không mở xem hàng chờ; đây là cam kết về cách vận hành, không phải giới hạn kỹ thuật. Máy chủ xoá giao dịch ngay khi app báo đã nhận, khi bạn gỡ liên kết tài khoản đó, hoặc sau 7 ngày nếu app chưa nhận (khi đó app báo số giao dịch đã mất). Mỗi khách có tối đa 3.000 giao dịch chờ; giao dịch vượt mức bị bỏ và được tính vào số đã mất. Sau khi app đã nhận, máy chủ chỉ giữ thêm một mã băm có khoá của mã giao dịch (không có nội dung) trong 8 ngày để không nhận trùng.
- Đồng bộ theo ngày: ở màn Đồng bộ trực tiếp, bạn có thể bấm "Đồng bộ theo ngày", chọn khoảng ngày (tối đa 31 ngày, trong 90 ngày gần đây) rồi bấm "Lấy giao dịch". App chỉ làm việc này khi bạn bấm. App gửi bằng chứng mua và khoảng ngày tới máy chủ; app không gửi số tài khoản. Máy chủ hỏi đối tác danh sách tài khoản đang liên kết của đúng mã khách đó và chỉ giữ tài khoản khớp với thông tin liên kết mà máy chủ đã lưu cho chính mã khách đó (xem dòng Thông tin liên kết trên máy chủ); tài khoản chưa rõ ngân hàng thì không lấy. Với mỗi tài khoản, máy chủ chỉ hỏi từ ngày bạn liên kết tài khoản đó trở đi (ngày theo giờ Việt Nam), mỗi lần chỉ gửi một số tài khoản của bạn. Máy chủ bỏ mọi mục không khớp số tài khoản, ngân hàng hay khoảng ngày, rút gọn như dòng Máy chủ giữ gì, rồi trả thẳng về app trong cùng yêu cầu. Máy chủ không ghi các giao dịch này vào cơ sở dữ liệu hay hàng chờ; nhật ký không ghi khoảng ngày, số tài khoản hay giao dịch. App xử lý như một lần đồng bộ: giao dịch đã có, đã bỏ qua hay đang ở Thùng rác không bị ghi lại, còn lại được tự ghi hoặc nằm ở "Chờ duyệt" như dòng Lưu trên máy (trừ ngân hàng đang tạm dừng, xem dòng Tạm dừng theo ngân hàng). Tính năng cần thuê bao còn hạn và có giới hạn số lần dùng mỗi phút.
- Thông tin liên kết trên máy chủ: với mỗi tài khoản đã liên kết, máy chủ lưu mã khách đã băm có khoá, mã ngân hàng, 4 số cuối, một mã băm có khoá của số tài khoản (để kiểm giao dịch đúng tài khoản; không suy ngược ra số), mã của tài khoản và của địa chỉ nhận ở đối tác, mã băm của mã bí mật địa chỉ nhận và các mốc thời gian; máy chủ cũng ghi lần cuối app dùng được thuê bao và số giao dịch đã mất. Máy chủ không lưu số tài khoản đầy đủ, bằng chứng mua hay mã khách dạng đọc được. Thông tin này bị xoá khi bạn gỡ liên kết. Nếu bạn không gỡ, lượt dọn hằng ngày của máy chủ huỷ địa chỉ nhận ở đối tác, xoá giao dịch đang chờ (tính vào số đã mất) và xoá thông tin liên kết khi đã quá 8 ngày kể từ lần cuối app, trên bất kỳ iPhone nào dùng cùng Apple ID, liên lạc với máy chủ bằng thuê bao còn hạn; lượt dọn chạy mỗi ngày một lần nên có thể muộn thêm tối đa một ngày. Mã khách đã băm có khoá, mốc lần cuối dùng được thuê bao và số giao dịch đã mất được giữ thêm, tối đa 30 ngày kể từ mốc đó, để app báo cho bạn số giao dịch đã mất khi bạn quay lại; nếu không có giao dịch nào bị mất thì chúng bị xoá cùng lượt dọn trên. Nhật ký của máy chủ chỉ ghi loại yêu cầu, mã kết quả và thời gian xử lý; không ghi địa chỉ IP, bằng chứng mua, mã khách, địa chỉ nhận, số tài khoản hay giao dịch. Về kỹ thuật, khoá của Henry Expense với đối tác dùng được cho mọi tài khoản liên kết dưới tài khoản đối tác của Henry Expense; máy chủ chỉ dùng khoá để tạo phiên liên kết và xem tài khoản cho đúng mã khách có bằng chứng mua hợp lệ, và để tạo hay huỷ địa chỉ nhận giao dịch và nhờ đối tác gửi lại lần gửi bị lỗi. Để đồng bộ theo ngày, máy chủ dùng thêm một khoá đọc giao dịch của tài khoản đối tác của Henry Expense; khoá này cũng chỉ nằm trong kho bí mật của máy chủ và về kỹ thuật đọc được giao dịch của mọi tài khoản liên kết dưới tài khoản đối tác của Henry Expense. Máy chủ chỉ dùng khoá này khi bạn bấm "Lấy giao dịch", và chỉ cho các tài khoản đang liên kết của đúng mã khách có bằng chứng mua hợp lệ.
- Máy chủ chạy trên Cloudflare (Cloudflare Workers và cơ sở dữ liệu Cloudflare D1; Cloudflare là công ty Mỹ). Như mọi kết nối mạng, Cloudflare thấy địa chỉ IP của máy và xử lý yêu cầu trên hạ tầng của họ, có thể ở ngoài Việt Nam. Cơ sở dữ liệu của máy chủ được đặt ở khu vực châu Á - Thái Bình Dương, ngoài Việt Nam; vì vậy các giao dịch và thông tin liên kết nêu trên được chuyển ra nước ngoài để xử lý và lưu tạm. Cloudflare tự giữ bản khôi phục của cơ sở dữ liệu khoảng 30 ngày: trong thời gian đó, giao dịch đã xoá vẫn có thể còn trong bản khôi phục, vẫn ở dạng mã hoá. Nhật ký chi tiết từng yêu cầu của Cloudflare được tắt; Cloudflare vẫn có thể giữ số liệu thống kê ở mức tài khoản (như số lượt yêu cầu và mã kết quả) theo chính sách của Cloudflare.
- Lưu trên máy: app chỉ giữ số tiền, thu hay chi, ngày giờ, mã giao dịch của đối tác, tên ngân hàng, 4 số cuối tài khoản của bạn và nội dung chuyển khoản làm ghi chú. Ghi chú được che các dãy từ 8 chữ số trở lên (chỉ để lại 4 số cuối) và cắt còn tối đa 200 ký tự; nội dung do ngân hàng ghi có thể có tên người chuyển, app không lọc được tên trong chữ. App kiểm từng trường nhận về và bỏ mục sai. Giao dịch được ghi vào sổ như giao dịch khác (nhãn "Từ Đồng bộ trực tiếp") và nằm trong tệp sao lưu. App chỉ tự ghi khi khớp đúng một ví VND có 4 số cuối trùng (cùng ngân hàng, nếu app nhận ra ngân hàng); không khớp thì giao dịch nằm ở "Chờ duyệt" để bạn chọn, app không bao giờ ghi vào ví mặc định. Khoản bạn đã tự ghi hoặc đã nhập từ Gmail thì được gắn hoặc gộp thay vì ghi đôi; giao dịch tự ghi đã gắn với kênh này được coi là giao dịch của Đồng bộ trực tiếp. Danh sách tài khoản đã liên kết (mã của đối tác, ngân hàng, 4 số cuối), phiên liên kết đang chờ, hàng chờ duyệt (tối đa 100 mục), danh sách đã bỏ qua, danh sách đã gộp (có cả mã tham chiếu của thư Gmail trùng), tài khoản đã thấy, danh sách ngân hàng đang tạm dừng, mốc và kết quả đồng bộ lưu theo thiết bị, không nằm trong tệp sao lưu và không bị khôi phục ghi đè.
- Ghi chú của giao dịch Đồng bộ trực tiếp không bao giờ được gửi tới nhà cung cấp AI; từng giao dịch chỉ tới AI khi bạn bật "Giao dịch từ ngân hàng" (xem mục Tôm). Hàng chờ duyệt không bao giờ tới AI. Gợi ý danh mục cho giao dịch này chỉ chạy trên máy.
- Tạm dừng theo ngân hàng: khi thuê bao còn hạn, mỗi ngân hàng đã liên kết có một công tắc ở ô "Trực tiếp" trên màn Đồng bộ ngân hàng. Tắt công tắc là tạm dừng ngân hàng đó trên iPhone này: liên kết vẫn giữ, nhưng app không ghi giao dịch của ngân hàng đó và không đưa vào "Chờ duyệt". Tạm dừng KHÔNG ngăn đối tác lấy giao dịch và gửi tới máy chủ của Henry Expense: máy chủ vẫn nhận và giữ tạm như trên (mã hoá trên máy chủ, tối đa 7 ngày). Khi đồng bộ, app vẫn nhận các giao dịch này, báo máy chủ đã nhận để máy chủ xoá, rồi bỏ đi. Trong lúc xử lý, nội dung chuyển khoản và 4 số cuối tài khoản của giao dịch bị bỏ chỉ đi qua bộ nhớ của app, không được lưu và không ghi vào nhật ký. Giao dịch bị bỏ không còn trong hàng chờ, kể cả với iPhone khác dùng cùng Apple ID (các iPhone này dùng chung một hàng chờ). App xét theo lúc nhận chứ không theo giờ giao dịch, nên giao dịch phát sinh trước lúc tạm dừng mà app chưa lấy về cũng bị bỏ. Bật lại công tắc thì app ghi tiếp các giao dịch nhận được từ lúc đó; muốn lấy lại giao dịch đã bị bỏ, hãy dùng "Đồng bộ theo ngày" (xem dòng Đồng bộ theo ngày; trong lúc tạm dừng, "Đồng bộ theo ngày" cũng không ghi giao dịch của ngân hàng đó). Lựa chọn tạm dừng (danh sách mã ngân hàng) chỉ lưu trên iPhone này, không gửi đi, không nằm trong tệp sao lưu hay tệp xuất. Lựa chọn này bị xoá khi bạn gỡ hết tài khoản của ngân hàng đó ngay trên iPhone này (liên kết lại trên iPhone này thì ngân hàng đó bắt đầu ở trạng thái bật), khi bấm "Ngừng trên máy này" hoặc "Xoá dữ liệu ứng dụng"; hết thuê bao thì lựa chọn vẫn giữ. Nếu ngân hàng bị gỡ ở nơi khác (iPhone khác, hoặc ngân hàng tự huỷ liên kết) rồi được liên kết lại, iPhone này vẫn nhớ lựa chọn tạm dừng cũ; hãy kiểm lại công tắc ở màn Đồng bộ ngân hàng. Muốn đối tác ngừng lấy giao dịch và máy chủ ngừng nhận, hãy gỡ liên kết.
- Gỡ và ngừng: "Gỡ liên kết" ở từng tài khoản mở trang của đối tác để bạn xác nhận; sau khi gỡ, đối tác ngừng lấy giao dịch mới của tài khoản đó, còn máy chủ huỷ địa chỉ nhận và xoá giao dịch đang chờ của tài khoản đó. Với nhiều ngân hàng, gỡ liên kết chỉ tắt liên kết ở phía đối tác; nếu muốn chắc chắn, hãy đổi mật khẩu ngân hàng điện tử hoặc huỷ quyền truy cập trong app ngân hàng. "Ngừng trên máy này" (nhóm "Dữ liệu và quyền riêng tư", có hỏi lại) xoá dữ liệu của kênh trên máy này và giữ giao dịch đã nhập, nhưng không gỡ liên kết ở đối tác: máy chủ vẫn nhận và giữ tạm giao dịch mới (mỗi giao dịch tối đa 7 ngày) cho tới khi bạn gỡ liên kết, hoặc tới khi đã quá 8 ngày không có iPhone nào dùng cùng Apple ID liên lạc với máy chủ bằng thuê bao còn hạn (xem dòng Thông tin liên kết trên máy chủ). "Ngừng trên máy này" không báo gì cho máy chủ. Nếu một iPhone khác dùng cùng Apple ID vẫn đồng bộ, máy chủ vẫn tiếp tục giữ tạm giao dịch mới và giao dịch sẽ về iPhone đó. Muốn xoá giao dịch đã nhập, mở "Giao dịch đã nhập" và chọn giao dịch để chuyển vào Thùng rác (giao dịch trong Thùng rác không bị nhập lại).
- Hết hạn: khi thuê bao hết hạn hoặc được Apple hoàn tiền, máy chủ không trả giao dịch cho app nữa (kể cả "Đồng bộ theo ngày"); giao dịch đã về vẫn xem, sửa, xoá và xuất được. Giao dịch đang chờ tự xoá sau 7 ngày. Lượt dọn hằng ngày của máy chủ huỷ địa chỉ nhận và xoá thông tin liên kết khi đã quá 8 ngày kể từ lần cuối app liên lạc với máy chủ bằng thuê bao còn hạn (xem dòng Thông tin liên kết trên máy chủ); máy chủ có thể làm việc này sớm hơn khi đã xác nhận được thuê bao hết hiệu lực. Liên kết ở đối tác không tự gỡ khi thuê bao hết hạn; bạn vẫn bấm "Gỡ liên kết" được sau khi hết hạn. Nếu không gỡ được trong app, hãy gửi email tới địa chỉ ở mục Liên hệ (ghi tên ngân hàng và 4 số cuối tài khoản), nhà phát triển sẽ nhờ đối tác gỡ hộ.
Tải thư mẫu lên trang web
- Trang Đồng bộ ngân hàng trên henryexpense.com có khung "Tải tệp .eml lên" để bạn gửi thư thông báo của ngân hàng chưa được hỗ trợ. Khung này chỉ có trên trang web, không có trong app. App không tự gửi tệp hay thư nào lên đây, kể cả thư app đọc qua kết nối Gmail. Tệp bạn tải lên là thư bạn tự lấy từ hộp thư của mình. Tệp chỉ được gửi khi bạn tự chọn tệp, đánh dấu ô đồng ý và bấm nút gửi.
- Dữ liệu được gửi: tên ngân hàng, tệp .eml (tối đa 7 MB) và ghi chú bạn tự nhập. Tệp .eml là nguyên văn thư: địa chỉ email và tên hiển thị của bạn, tiêu đề, thời điểm, thông tin kỹ thuật ở phần đầu thư và toàn bộ nội dung (có thể có họ tên, số tài khoản/thẻ, số tiền, số dư, nội dung chuyển khoản). Trang web gửi nguyên tệp, không làm mờ hay sửa gì trong tệp. Nếu không muốn gửi nguyên văn, hãy gửi thư mẫu bằng email (xem mục Gửi email mẫu cho nhà phát triển) và tự xoá thông tin cá nhân trước khi gửi.
- Nơi lưu: tệp và nội dung form được lưu tại Netlify, công ty Mỹ cung cấp chỗ đặt trang web, trên máy chủ của Netlify ở nước ngoài, và được xử lý theo chính sách riêng của Netlify. Với mỗi lượt gửi, Netlify ghi kèm địa chỉ IP, loại trình duyệt, trang đã gửi và thời điểm gửi. Netlify có thể dùng dịch vụ chặn thư rác (Akismet) để kiểm tra phần chữ của form.
- Người xem: nhà phát triển xem tệp khi đăng nhập vào tài khoản Netlify của trang. Ngoài Netlify là nơi lưu, nhà phát triển không cho ai khác xem. Nhà phát triển chỉ dùng tệp để thêm hoặc sửa cách app đọc thư của ngân hàng đó, không bán và không chia sẻ tệp cho bên khác.
- Trước khi đưa mẫu thư vào mã nguồn, dùng để kiểm thử hay đưa vào công cụ hỗ trợ lập trình (kể cả công cụ dùng AI), nhà phát triển thay họ tên, địa chỉ email, số tài khoản/thẻ, số tiền, số dư, mã giao dịch và nội dung chuyển khoản bằng giá trị giả. Mẫu đã thay như vậy có thể được giữ lâu dài trong mã nguồn.
- Thời gian lưu: nhà phát triển xoá lượt gửi (tệp và nội dung form) khỏi Netlify, cùng mọi bản sao (bản tải về máy, thư báo của Netlify nếu có), ngay khi cập nhật xong cách đọc thư của ngân hàng đó. Chậm nhất 90 ngày kể từ ngày nhận thì xoá, kể cả khi chưa cập nhật được. Netlify không tự xoá; việc xoá do nhà phát triển làm. Sau khi xoá, Netlify có thể còn giữ bản sao lưu nội bộ một thời gian theo chính sách của họ.
- Xin xoá sớm hơn: gửi email tới địa chỉ ở mục Liên hệ, ghi tên ngân hàng, ngày tải lên và địa chỉ email nhận thư đó để nhà phát triển tìm đúng tệp. Nhà phát triển xoá ở mọi nơi nêu trên và trả lời khi đã xoá xong, chậm nhất 30 ngày sau khi nhận yêu cầu.
Nhập sao kê ngân hàng
- Lối vào: Khác -> Nhập sao kê ngân hàng, nút cùng tên ở màn Nhập / xuất dữ liệu, hoặc "Nhập sao kê" trong menu của một tài khoản ngân hàng, thẻ tín dụng hay ví điện tử. Bạn chọn tài khoản rồi chọn tệp sao kê đã tải từ ngân hàng: Excel (.xlsx), CSV hoặc tệp chữ, tệp .xls dạng trang web, hoặc PDF có chữ (tối đa 25 MB; PDF tối đa 300 trang). Tính năng này miễn phí; riêng nút tuỳ chọn "Đọc bằng AI" là món trả phí.
- Mặc định chỉ xử lý trên máy: app đọc tệp, nhận cột, so với giao dịch đã có và gợi ý danh mục ngay trên iPhone. App không gửi tệp hay nội dung nào của tệp đi đâu, không dùng mạng và không dùng AI cho việc này (gợi ý danh mục chỉ dựa vào ghi nhớ lựa chọn của bạn và từ khoá trên máy), trừ khi bạn tự bấm "Đọc bằng AI" (xem các dòng Đọc bằng AI bên dưới). Tệp PDF được đọc bằng thư viện PDFKit có sẵn của iOS, qua một phần nhỏ viết riêng trong app; phần này không ghi tệp, không ghi nhật ký và không kết nối mạng. Bản web xem trước không đọc PDF.
- Đọc bằng AI (tuỳ chọn): khi app đọc được ít dòng hoặc không tìm thấy bảng giao dịch trong tệp, và AI đã sẵn sàng (đã bật, có khoá API, đã đồng ý "Chia sẻ dữ liệu"), màn nhập có nút "Đọc bằng AI". Đây là món trả phí; khi chưa mua, nút chỉ mở trang của món đó trong Cửa hàng và không gửi gì. App chỉ gửi khi bạn bấm nút và đã đồng ý riêng cho việc này: lần đầu, app hiện hộp "Đọc sao kê ngân hàng bằng AI" nêu rõ nhà cung cấp sẽ nhận, những gì được gửi và không được gửi. Bạn bật hay tắt đồng ý này bằng công tắc "Đọc sao kê ngân hàng bằng AI" trong Khác -> Trí tuệ nhân tạo -> Cài đặt AI (nhóm "Dữ liệu", mặc định tắt; lần nào bật lại cũng hỏi). Dữ liệu đi thẳng tới nhà cung cấp AI bạn chọn, bằng khoá API của bạn (chi phí tính vào khoá đó), không qua máy chủ nào của Henry Expense; nhà cung cấp xử lý theo chính sách riêng của họ.
- Đọc bằng AI gửi gì: chỉ phần chữ app lấy ra từ tệp (với PDF là các dòng chữ trên trang, với Excel, CSV hay trang web là các ô của từng hàng), chia thành khoảng tối đa 60 phần (phần nào bị cắt cụt thì chia nhỏ và gửi lại) và gửi lần lượt. Trước khi gửi, app bỏ các dòng thông tin khách hàng (họ tên, địa chỉ, số điện thoại, email, số giấy tờ, mã khách hàng, hạn mức...), ở phần đầu tệp chỉ giữ dòng kỳ sao kê, số dư và tiêu đề cột, rồi thay số tài khoản, số thẻ (kể cả 4 số cuối), số điện thoại, email và các dãy từ 8 chữ số trở lên bằng ký hiệu ngẫu nhiên như [SKQXT] (mỗi chỗ một ký hiệu riêng). Riêng ở cột số tiền và số dư của bảng (Excel, CSV, trang web), số tiền viết liền từ 8 chữ số được giữ để AI đọc đúng; từ 9 chữ số thì chỉ giữ khi chẵn nghìn. Số giống số điện thoại hay số thẻ, số bắt đầu bằng 0 và số dài hơn 12 chữ số vẫn bị thay. Với PDF và bảng app không nhận ra cột số tiền, mọi dãy từ 8 chữ số trở lên đều bị thay. Bảng đối chiếu ký hiệu với số thật chỉ nằm trong bộ nhớ của máy, không được gửi. Phần được gửi gồm ngày, số tiền, số dư và nội dung giao dịch của từng dòng; nội dung giao dịch có thể có tên người chuyển hoặc người nhận, và số ngắn hơn không có nhãn vẫn có thể còn. App lọc theo nhãn và cách trình bày thường gặp của sao kê, nên tệp trình bày lạ vẫn có thể sót thông tin. App không gửi tệp gốc, mật khẩu PDF, tên hay loại tài khoản trong app, hay dữ liệu thu chi khác của bạn.
- Sau khi đọc bằng AI: app không tin số do AI viết. App chỉ nhận dòng có số tiền, số dư và ngày đúng nguyên văn trong các dòng chữ đã gửi, rồi tự đọc lại các số đó; dòng không khớp vào nhóm Lỗi. Khi số tiền bị thay bằng ký hiệu, AI chỉ trả lại ký hiệu; app tự điền số thật ngay trên máy và chỉ nhận dòng khi số dư khớp. Số thật không được gửi đi. Kết quả đi qua cùng bước xem trước, chống trùng và đối chiếu số dư như khi app tự đọc; app không tự ghi, bạn xem lại rồi mới bấm "Nhập". Giao dịch nhập theo cách này được lưu và được giữ kín với AI như giao dịch nhập từ sao kê khác (các dòng dưới); app không lưu dấu "do AI đọc" và không lưu cách nhận cột. Chữ lấy từ tệp chỉ nằm trong bộ nhớ của app khi bạn đang ở màn nhập (tối đa 3 tệp gần nhất), không ghi vào cơ sở dữ liệu, tệp, nhật ký hay tệp sao lưu; app xoá chữ này khi bạn rời màn, chọn tệp khác hoặc thu hồi đồng ý. Tắt công tắc "Đọc sao kê ngân hàng bằng AI" là thu hồi ngay, không hỏi lại: app dừng lượt đọc đang chạy và xoá chữ đang giữ. Đồng ý này cũng bị thu hồi khi bạn tắt "Chia sẻ dữ liệu", xoá nhà cung cấp đang dùng, đổi loại hay địa chỉ máy chủ của nó, hoặc chuyển sang nhà cung cấp chưa đồng ý. Công tắc lưu theo thiết bị, không nằm trong tệp sao lưu.
- Bản sao tạm của tệp: khi bạn chọn tệp, bộ chọn tệp của iOS chép tệp vào bộ nhớ tạm của app. App xoá bản sao này ngay sau khi đọc xong, kể cả khi đọc lỗi; với PDF có mật khẩu, app giữ bản sao trong lúc chờ bạn nhập mật khẩu và xoá khi bạn huỷ hoặc rời màn. Nếu app bị đóng giữa chừng, bản sao còn lại tới khi iOS dọn bộ nhớ tạm hoặc bạn bấm "Xoá dữ liệu ứng dụng". iOS cũng có thể giữ thêm một bản sao trong thư mục tạm của app một thời gian rồi tự dọn. Các bản sao này chỉ nằm trong vùng riêng của app, được iOS bảo vệ như các tệp khác của app, không hiện trong ứng dụng Tệp và không nằm trong bản sao lưu iCloud hay bản sao lưu máy tính. App không sửa hay xoá tệp gốc của bạn.
- Mật khẩu PDF: nếu tệp PDF có mật khẩu, app hỏi mật khẩu ngay trên màn nhập. Mật khẩu chỉ dùng để mở tệp trên máy: app không lưu mật khẩu vào cơ sở dữ liệu, Keychain, tệp sao lưu hay nhật ký, và không gửi đi đâu. Ô mật khẩu ẩn ký tự và tắt tự điền; app xoá chữ trong ô khi mở xong, khi bạn huỷ, rời màn, chuyển sang app khác hoặc khi khoá app hiện lên. Giới hạn kỹ thuật: trong lúc mở tệp, mật khẩu nằm trong bộ nhớ của app ở dạng chuỗi chữ, và app không xoá hẳn được vùng nhớ đó ngay khi dùng xong; vùng nhớ này chỉ thuộc về app và được hệ điều hành thu hồi dần.
- Dữ liệu được lưu: chỉ khi bạn bấm "Nhập", app mới ghi các dòng bạn chọn thành giao dịch của tài khoản đó: ngày (và giờ nếu tệp có), số tiền, thu hay chi, danh mục và ghi chú lấy từ cột nội dung giao dịch. Ghi chú được bỏ ký tự điều khiển, che các dãy từ 8 chữ số liền nhau trở lên (như số tài khoản, số thẻ) chỉ để lại 4 số cuối, rồi cắt còn tối đa 200 ký tự; số viết tách bằng dấu cách hay dấu chấm và tên người trong nội dung chuyển khoản vẫn có thể còn trong ghi chú. App không lưu số tài khoản ghi trong tệp: chỉ dùng 4 số cuối trong bộ nhớ để gợi ý đúng tài khoản, rồi bỏ. Số dư, số tham chiếu và các cột khác chỉ dùng trong lúc xem trước (đối chiếu số dư, gộp dòng lặp) và không được lưu. Mỗi lần nhập có một mã lô ngẫu nhiên lưu cùng giao dịch, để bạn bấm "Hoàn tác lần nhập này" chuyển cả lần nhập vào Thùng rác.
- Cách nhận cột: app nhớ các cột bạn đã chọn cho mỗi kiểu tệp, để lần sau không phải chọn lại. Mỗi mục chỉ gồm một mã băm tạo từ tên các cột tiêu đề, vị trí các cột, thứ tự ngày tháng và tài khoản đã chọn; không có số tiền, nội dung dòng hay số tài khoản. App giữ tối đa 50 mục. Các mục này nằm trong cài đặt của app nên có trong tệp sao lưu (khôi phục xong app vẫn nhớ cách nhận cột) và bị xoá khi bạn bấm "Xoá dữ liệu ứng dụng".
- Ghi nhớ danh mục: nếu bạn đổi danh mục app gợi ý cho một dòng rồi bấm "Nhập", app ghi nhớ lựa chọn đó như ở mục Dữ liệu lưu trên máy. Dòng ghi nhớ này được đánh dấu giống dòng học từ thư Gmail: không bao giờ được gửi cho AI làm ví dụ, và bị xoá cùng lúc khi bạn Ngắt kết nối Gmail hoặc xoá dữ liệu Gmail.
- Tôm (phần đọc sổ): ghi chú của giao dịch nhập từ sao kê không bao giờ được gửi cho nhà cung cấp AI, kể cả khi bạn bật chia sẻ ghi chú, và không được dùng để hỏi AI phân loại danh mục. Từng giao dịch này (trong Tôm và "Viết tóm tắt bằng AI" của Điểm tin) chỉ tới nhà cung cấp AI khi bạn bật "Giao dịch từ ngân hàng" trong Khác -> Trí tuệ nhân tạo -> Cài đặt AI (mặc định tắt; bật thì app hỏi đồng ý), và khi đó chỉ gồm số tiền, ngày, ví và danh mục. Công tắc này áp chung cho giao dịch Gmail, Đồng bộ trực tiếp và sao kê. Tắt "Chia sẻ dữ liệu" thì công tắc này cũng tắt. Các số tổng hợp (số dư, tổng thu/chi, ngân sách) luôn tính cả các giao dịch này. "Lưu thành mẫu" trên giao dịch này không chép ghi chú (xem mục Tôm).
- Tệp xuất và gắn với kênh tự nhập: tệp xuất CSV/Excel có ghi chú của các giao dịch này, với nhãn nguồn "Sao kê ngân hàng" (xem mục Sao lưu và xuất dữ liệu). Nếu sau đó Gmail hoặc Đồng bộ trực tiếp nhận một giao dịch trùng với dòng đã nhập từ sao kê (cùng ví, cùng loại thu/chi, cùng số tiền, lệch tối đa 24 giờ), app gắn giao dịch đó vào dòng sao kê thay vì ghi thêm: dòng ấy trở thành giao dịch của kênh, bị xoá cùng khi bạn xoá giao dịch đã nhập của kênh đó, và không còn thuộc "Hoàn tác lần nhập này".
Sao lưu và xuất dữ liệu
- Sao lưu JSON, xuất CSV (một tệp nén .zip gồm 4 bảng CSV chính, bảng Dự án khi bạn có dự án, cùng các bảng chỉ để xem như Hạng mục, Khoản vay, Chia tiền, Thùng rác và Sổ vàng; xem các dòng dưới), xuất Excel và "Xuất sổ vàng" tạo ra tệp do bạn tự lưu hoặc chia sẻ. App không tự gửi các tệp này đi đâu. Khi khoá app bật, app hỏi xác thực lại trước khi tạo tệp (xem mục Khoá app).
- Tệp sao lưu bạn xuất ra luôn có mật khẩu do bạn đặt, tối thiểu 8 ký tự. Tệp được mã hoá AES-256 bằng khoá suy ra từ mật khẩu (PBKDF2); app không lưu mật khẩu và không gửi đi đâu. Quên mật khẩu thì không ai mở lại được tệp, kể cả nhà phát triển. Tệp chỉ an toàn khi mật khẩu khó đoán, vì ai có tệp đều có thể thử đoán mật khẩu trên máy khác; hãy dùng mật khẩu dài và cất riêng.
- App tạo tệp xuất trong bộ nhớ tạm, mở bảng chia sẻ để bạn lưu hoặc gửi, rồi xoá tệp tạm; app không giữ bản xuất nào trong máy. Nếu app đang khoá lúc sắp mở bảng chia sẻ, app xoá tệp và không chia sẻ. Khi khôi phục tệp có mật khẩu, app hỏi mật khẩu và chỉ giữ khoá suy ra trong bộ nhớ tối đa 10 phút để không phải hỏi lại. Tệp sao lưu không có mật khẩu do bản cũ của app tạo vẫn khôi phục được; các tệp đó không được mã hoá. Bản cũ của app không mở được tệp có mật khẩu, hãy cập nhật app.
- Tệp sao lưu chứa dữ liệu thu chi (gồm cả giao dịch tạo từ thư Gmail, nhập qua Đồng bộ trực tiếp hoặc nhập từ sao kê ngân hàng cùng ghi chú và mã giao dịch của chúng) và phần lớn cài đặt, gồm cấu hình nguồn email Gmail do bạn tạo (địa chỉ người gửi, quy tắc ví, bật/tắt tự đồng bộ; mốc đồng bộ của từng nguồn được để trống). Tệp sao lưu cũng chứa tài sản, các lần mua và lần bán của tài sản (số lượng, giá, phí, ghi chú), và các lần định giá (kể cả nguồn đơn giá và liên kết nguồn của giá tự động hoặc do AI tra), cùng 4 số cuối tài khoản/thẻ bạn gắn cho ví ngân hàng/thẻ tín dụng (tệp xuất CSV/Excel thì không có 4 số này). Tệp sao lưu cũng chứa bảng ghi nhớ danh mục (ghi chú đã rút gọn, danh mục đã chọn, số lần, nguồn ghi nhớ, kể cả dòng học từ thư Gmail) và công tắc "Nhớ lựa chọn danh mục"; tệp chữ
ghi-nho-danh-muc.md thì không nằm trong tệp sao lưu, app tạo lại nó từ bảng sau khi khôi phục. Tệp sao lưu cũng chứa cách nhận cột đã nhớ của Nhập sao kê ngân hàng (xem mục đó). Hãy giữ tệp sao lưu và mật khẩu của tệp ở nơi an toàn.
- Tệp xuất CSV (bảng giao dịch) và tệp xuất Excel đều chứa mọi giao dịch: ngày, giờ, loại, số tiền, tiền tệ, danh mục và danh mục con, ví và loại ví, ghi chú (gồm ghi chú của giao dịch tạo từ thư Gmail, của giao dịch nhập từ sao kê ngân hàng và của giao dịch mua/bán tài sản, thường có tên tài sản), người, chuyến đi/sự kiện, đánh dấu "Không tính báo cáo", phí chuyển khoản và các dòng điều chỉnh số dư. Tệp Excel có thêm số dư của ví sau từng dòng.
- Tệp xuất Excel có thêm ba trang, và tệp nén CSV có thêm ba bảng tương ứng với cùng nội dung (tai-khoan.csv, tai-san.csv, lich-su-tai-san.csv; trừ cột "Số dư" sau từng dòng chỉ có ở Excel). Trang/bảng "Tài khoản" ghi từng ví: tên, loại, tiền tệ, số dư ban đầu, tên ngân hàng, mô tả, đánh dấu lưu trữ và "Không tính báo cáo"; thẻ tín dụng thêm hạn mức, ngày sao kê, ngày đến hạn và phần trăm trả tối thiểu; sổ tiết kiệm thêm lãi suất, kỳ hạn, ngày gửi, cách trả lãi, cách xử lý khi đáo hạn và trạng thái; mục tiêu thêm số tiền mục tiêu, ngày mục tiêu và trạng thái. Trang/bảng "Tài sản" ghi từng tài sản: tên, loại, tiền tệ, thị trường, mã (ví dụ mã cổ phiếu, mã coin, loại vàng), đơn vị, số lượng đang giữ, đánh dấu tự cập nhật giá và "Không tính tài sản ròng", ghi chú và trạng thái. Trang/bảng "Lịch sử tài sản" ghi từng lần mua và lần bán (ngày, số lượng, số tiền tức giá vốn hoặc tiền bán, phí, tên ví trả hoặc nhận tiền, ghi chú) và từng lần định giá (ngày, giá trị, ghi chú), kể cả giá trị do app tự cập nhật hoặc do AI tra.
- Tệp xuất CSV/Excel có cột Nguồn, chỉ ghi một trong bốn nhãn: Thủ công, Gmail, Đồng bộ trực tiếp hoặc Sao kê ngân hàng (trong tệp CSV là
manual, gmail, direct, statement); giao dịch Tôm ghi mang nhãn Thủ công. Tệp không chứa nguồn chi tiết (ví dụ ngân hàng nào gửi thư, hay mã lô của lần nhập sao kê), mã tham chiếu giao dịch của Gmail/Đồng bộ trực tiếp/ngân hàng, mã ngân hàng (chỉ có tên ngân hàng), 4 số cuối tài khoản/thẻ, nguồn, đơn giá hay liên kết nguồn của các lần định giá, cài đặt nhắc hạn thẻ và ghi nhớ danh mục. Tệp CSV và Excel không có mật khẩu và không được mã hoá, để mở được bằng Excel hay Numbers; hãy giữ tệp ở nơi an toàn.
- "Xuất sổ vàng" (tab Báo cáo -> Sổ vàng) tạo một tệp Excel 2 trang (Mua bán, Tổng hợp) hoặc một tệp nén .zip gồm 2 bảng CSV cùng nội dung. Trang Mua bán ghi mọi lần mua, bán vàng: ngày, tên tài sản, loại vàng, khối lượng, số tiền, phí, giá mỗi chỉ, giá vốn, lãi lỗ, tên ví và ghi chú. Trang Tổng hợp ghi theo từng loại vàng: số đang giữ, giá vốn, giá trị hiện tại, lãi lỗ, giá mua vào, bán ra và ngày giá. Tệp không có 4 số cuối tài khoản/thẻ, nguồn hay liên kết nguồn của giá. Tệp này giống các tệp xuất khác: khoá app bật thì app hỏi xác thực lại trước khi tạo tệp, tệp nằm trong bộ nhớ tạm tới khi đóng bảng chia sẻ, không có mật khẩu và không được mã hoá. Tệp chỉ để xem, app không nhập lại tệp này.
- Khi bạn có tài sản vàng, tệp xuất Excel ở màn Nhập / xuất dữ liệu có thêm 2 trang "Sổ vàng - Mua bán" và "Sổ vàng - Tổng hợp", tệp nén CSV có thêm 2 bảng (so-vang-mua-ban.csv, so-vang-tong-hop.csv). Hai trang này có cùng nội dung như tệp "Xuất sổ vàng" ở trên, gồm tên tài sản, tên ví và ghi chú của các lần mua, bán vàng. Khi bạn nhập lại tệp, app bỏ qua hai trang này.
- Khi bạn có dự án của Sổ kinh doanh, tệp xuất có thêm trang "Dự án" (bảng du-an.csv): tên dự án, biểu tượng, màu, tiền tệ, vốn dự kiến, ngày bắt đầu và kết thúc, trạng thái và ghi chú.
- Tệp xuất Excel và tệp nén CSV ở màn Nhập / xuất dữ liệu còn có các trang chỉ để xem (mỗi trang Excel ứng với một bảng CSV cùng nội dung). Trang "Hạng mục" luôn có; mỗi trang khác chỉ có khi bạn có dữ liệu đó. Các dòng dưới nêu thông tin riêng tư trong từng trang.
- Trang "Hạng mục": tên hạng mục và hạng mục cha, thu hay chi, biểu tượng, màu.
- Trang "Sổ tiết kiệm": từng kỳ gửi, lãi suất, các lần gửi, rút, nhận lãi, cùng tên ví nguồn và tên ví nhận lãi.
- Trang "Khoản vay": tên khoản vay, tên bên cho vay, số tiền gốc, lãi suất, tên ví trả và ví nhận tiền, ghi chú và từng kỳ trả.
- Trang "Trả góp": tên khoản trả góp, tên thẻ hoặc ví, số tiền, phí, hạng mục và từng kỳ trả.
- Trang "Ngân sách": tên, hạng mục, tài khoản và hạn mức theo thời gian (không có số đã chi).
- Trang "Giao dịch định kỳ" và trang "Kế hoạch": số tiền, tài khoản, hạng mục, người, sự kiện, ghi chú, cách lặp lại, giờ nhắc và các lần đã ghi hoặc bỏ qua.
- Trang "Mẫu giao dịch": tên mẫu, số tiền, tài khoản, hạng mục, người và ghi chú.
- Trang "Mua sắm": tên danh sách, nhóm, từng món, số lượng, giá dự kiến, ghi chú và đã mua hay chưa.
- Trang "Chia tiền": tên chuyến hoặc nhóm, tên các thành viên, ai trả, ai tài trợ, từng khoản, cách chia, khoản cần trả giữa các thành viên và ghi chú.
- Trang "Quỹ nhóm": tên và mô tả quỹ, tên các thành viên, các vòng đóng góp và số tiền từng người đóng, các khoản thu chi của quỹ và ghi chú.
- Trang "Tỷ giá": mã tiền, tỷ giá và ngày cập nhật.
- Trang "Thùng rác": các giao dịch bạn đã xoá nhưng còn trong Thùng rác, kể cả giao dịch tạo từ thư Gmail, Đồng bộ trực tiếp hay sao kê ngân hàng mà bạn đã xoá: ngày xoá, ngày giờ, số tiền, tài khoản, hạng mục, người, sự kiện, ghi chú và nhãn nguồn (một trong bốn nhãn ở dòng trên). Muốn giao dịch đã xoá không còn trong tệp xuất, hãy dọn Thùng rác trước khi xuất.
- Các trang chỉ để xem không có mã nội bộ của app, mã tham chiếu giao dịch, nguồn chi tiết, mã ngân hàng, 4 số cuối tài khoản/thẻ, liên kết nguồn giá, ghi nhớ danh mục, cài đặt của app, hàng chờ duyệt của Gmail hay Đồng bộ trực tiếp, hay dữ liệu của Tôm và các tính năng AI. Khi bạn nhập lại tệp, app bỏ qua các trang này.
- Tệp xuất CSV/Excel không được mã hoá; bạn tự chọn nơi lưu hoặc gửi tệp. Tệp xuất không chứa đủ mọi thứ để dựng lại app (ví dụ cài đặt và nhiều sổ chỉ để xem không nhập lại được); muốn giữ đủ dữ liệu, hãy dùng Sao lưu: tệp sao lưu bạn xuất luôn được khoá bằng mật khẩu.
- Khi bạn nhập lại tệp CSV/Excel, app giữ nhãn nguồn của từng giao dịch, nhưng giao dịch nhập từ tệp được coi như giao dịch bạn tự ghi: không có mã tham chiếu, không nằm trong "Danh sách giao dịch đã nhập" nên không bị xoá cùng các giao dịch của Gmail hay Đồng bộ trực tiếp. App không bao giờ ghi một giao dịch nhập từ tệp thành giao dịch của Gmail hay Đồng bộ trực tiếp, kể cả khi tệp ghi chữ khác bốn nhãn trên; nhãn lạ được hiểu là Thủ công. Dòng mang nhãn Sao kê ngân hàng vẫn được giữ kín ghi chú với AI và theo công tắc "Giao dịch từ ngân hàng" như giao dịch nhập từ sao kê, nhưng không thuộc lần nhập sao kê nào nên không hoàn tác theo lần nhập.
- Bản sao tạm khi nhập hoặc khôi phục: khi bạn chọn tệp CSV/Excel để nhập hoặc tệp sao lưu để khôi phục, bộ chọn tệp của iOS chép tệp vào bộ nhớ tạm của app. App xoá bản sao ngay sau khi đọc xong, kể cả khi đọc lỗi; với tệp sao lưu, app xoá khi khôi phục xong hoặc lỗi, khi bạn huỷ và khi bạn rời màn. Nếu app bị đóng giữa chừng, bản sao còn lại trong bộ nhớ tạm tới khi iOS dọn hoặc bạn bấm "Xoá dữ liệu ứng dụng". Các bản sao này chỉ nằm trong vùng riêng của app, được iOS bảo vệ như các tệp khác của app, không hiện trong ứng dụng Tệp và không nằm trong bản sao lưu iCloud hay bản sao lưu máy tính. App không sửa hay xoá tệp gốc của bạn.
- Tệp sao lưu không chứa khoá API AI, token Gmail, bằng chứng mua thuê bao, Client ID Google đã dán, thông tin khoá app, cấu hình nhà cung cấp AI, cài đặt tự động cập nhật tỷ giá (gồm đồng ý), cài đặt tự cập nhật giá tài sản và tra giá cổ phiếu, tiền mã hoá bằng AI (gồm đồng ý, phiên bản đồng ý và hàng chờ xác nhận giá), bảng giá vàng và lịch sử giá vàng đã tải (kèm lần thử gần nhất), dữ liệu mục "Tiền mã hoá (tham khảo)" ở màn Quy đổi (giá đối chứng, giá AI, hàng chờ), cài đặt và bộ nhớ tạm của phân loại danh mục bằng AI, sổ ghi lần đầu dùng tính năng, và không chứa dữ liệu Gmail theo thiết bị: hàng chờ duyệt (tiêu đề, đoạn trích thư), danh sách thư đã bỏ qua, kết quả đồng bộ gần nhất, mốc đồng bộ và địa chỉ Gmail đã kết nối; cũng không chứa dữ liệu Đồng bộ trực tiếp theo thiết bị (tài khoản đã liên kết, phiên liên kết đang chờ, việc bạn đã đồng ý, hàng chờ duyệt, các danh sách đã bỏ qua và đã gộp, tài khoản đã thấy, mốc và kết quả đồng bộ).
- Tệp sao lưu do phiên bản cũ của app tạo có thể còn chứa hàng chờ duyệt Gmail và địa chỉ Gmail đã kết nối. Khi khôi phục, app bỏ qua các mục này (không đưa vào máy), nhưng chúng vẫn nằm trong tệp cũ; hãy xoá tệp cũ nếu không cần nữa, kể cả các tệp sao lưu tự động trong danh sách sao lưu của app.
- Sao lưu tự động được bật sẵn, mỗi ngày một lần: khi bạn mở app và đã đến kỳ, app tự ghi một tệp sao lưu (tên bắt đầu
henryexpense-tu-dong) vào bộ nhớ của app trên máy bạn. Tệp có cùng nội dung như tệp sao lưu ở trên (gồm cả ghi chú của giao dịch tạo từ thư Gmail và 4 số cuối tài khoản/thẻ) và được mã hoá bằng khoá của máy (xem dòng Mã hoá trên máy), nên chỉ mở được trên iPhone có khoá đó (iPhone này, hoặc iPhone khác cùng Apple ID có bật Chuỗi khoá iCloud). App không gửi tệp này đi đâu; trên iOS nó có thể nằm trong bản sao lưu iCloud/máy tính của chính bạn ở dạng đã mã hoá. Các tệp sao lưu cũ chưa mã hoá có sẵn trong máy được app mã hoá lại một lần khi mở app. Danh sách bản sao lưu trong app chỉ cho xoá, không cho chia sẻ; muốn mang dữ liệu sang nơi khác, hãy xuất tệp có mật khẩu.
- Mỗi tháng app chỉ giữ bản sao lưu tự động mới nhất. "Tự động dọn bản sao lưu cũ" cũng bật sẵn: mỗi lần mở app, app xoá các bản sao lưu tự động và bản
henryexpense-truoc-khoi-phuc cũ hơn 6 tháng, và luôn giữ bản mới nhất của mỗi loại. Ở Khác -> Sao lưu & khôi phục (màn Dữ liệu), bạn chọn Hằng ngày, Hằng tuần hoặc Tắt ở mục Sao lưu tự động; ở mục Dọn dữ liệu cũ, bạn tắt tự dọn và xoá từng bản trong danh sách Các bản sao lưu hiện có. Tắt sao lưu tự động không xoá các tệp đã có; nếu tự dọn vẫn bật, các bản cũ hơn 6 tháng vẫn bị xoá như trên.
- Trước khi khôi phục từ một tệp, và trước khi "Xoá dữ liệu ứng dụng", app tự lưu một bản sao lưu an toàn (tên bắt đầu
henryexpense-truoc-khoi-phuc) vào bộ nhớ của app để bạn quay lại được. Bản này chứa toàn bộ dữ liệu thu chi tại thời điểm đó (gồm cả ghi chú của giao dịch tạo từ thư Gmail), được mã hoá bằng khoá của máy như bản sao lưu tự động, và vẫn còn trên máy sau khi đặt lại; trên iOS nó có thể nằm trong bản sao lưu iCloud/máy tính của chính bạn ở dạng đã mã hoá. Bạn xoá nó trong màn Dữ liệu, mục Dọn dữ liệu cũ (danh sách Các bản sao lưu hiện có) khi không cần nữa.
- Sao lưu lên iCloud Drive (tuỳ chọn, mặc định tắt, miễn phí; hiện đang tạm ẩn): ở bản hiện tại, mục "Sao lưu lên iCloud" không hiện trong màn Dữ liệu và app chưa có quyền dùng iCloud Drive, nên app không chép, không dọn và không khôi phục bản nào trên iCloud Drive. Phần dưới đây mô tả cách tính năng chạy khi được mở lại. Ở Khác -> Sao lưu & khôi phục (màn Dữ liệu), mục "Sao lưu lên iCloud", khi bạn bật công tắc "Sao lưu lên iCloud Drive" và đồng ý, app chép bản sao lưu tự động mới nhất lên iCloud Drive của Apple ID đang đăng nhập trên iPhone. App chép ngay một bản khi bạn bật, sau đó chỉ chép khi bạn mở app, ngay sau lượt sao lưu tự động (theo tần suất Hằng ngày hoặc Hằng tuần; khi sao lưu tự động đang Tắt thì không chép), không chạy nền. Bản chép lên giữ nguyên nội dung và cách mã hoá của bản sao lưu tự động (xem dòng trên): được khoá bằng khoá của máy, không có mật khẩu riêng. App kiểm trước khi chép và từ chối mọi tệp chưa mã hoá. Bản sao lưu an toàn (
henryexpense-truoc-khoi-phuc) và tệp bạn xuất tay không được chép lên. Tệp đi thẳng từ iPhone lên iCloud của Apple, không qua máy chủ nào của Henry Expense; nhà phát triển không nhận và không xem được. Tệp nằm trong thư mục "Henry Expense" của iCloud Drive, hiện trong ứng dụng Tệp và trên các thiết bị đăng nhập cùng Apple ID của bạn. Ai vào được iCloud của bạn sẽ thấy tên tệp (gồm ngày giờ sao lưu) và kích thước, nhưng không đọc được nội dung nếu không có khoá của máy. Apple lưu tệp theo điều khoản iCloud của Apple; tệp chiếm dung lượng iCloud của bạn. App chỉ làm việc với thư mục riêng này, không đọc tệp nào khác trong iCloud Drive. Ai mở được: chỉ app Henry Expense trên iPhone có khoá của máy, tức iPhone đã tạo bản đó, hoặc iPhone khác cùng Apple ID có bật Chuỗi khoá iCloud (xem dòng Mã hoá trên máy). Nếu Chuỗi khoá iCloud tắt mà bạn mất hoặc xoá sạch iPhone, bản trên iCloud Drive không mở được nữa. Vì vậy, hãy vẫn xuất tệp sao lưu có mật khẩu khi đổi máy. Giữ bản: mỗi lần chép, app dọn bớt bản trên iCloud Drive. App luôn giữ bản mới nhất, bản vừa chép và bản mới nhất mà chính iPhone này đã chép. Để mỗi tháng chỉ còn bản cuối, app chỉ tính và chỉ xoá các tệp chính iPhone này đã chép lên, không bao giờ xoá bản do iPhone khác chép; hai iPhone cùng Apple ID mỗi máy giữ riêng bản của mình. Bản cũ hơn 6 tháng thì tự động bị xoá, kể cả bản do iPhone khác chép. App chỉ xoá tệp có tên bản sao lưu tự động (henryexpense-tu-dong). Máy chưa có dữ liệu (mới cài hoặc vừa đặt lại) thì app không chép và không dọn gì. Lần chép lỗi (mất mạng, hết dung lượng iCloud) thì app thử lại ở lần mở sau. Khôi phục: danh sách "Bản trên iCloud" hiện cả khi công tắc tắt, để bạn lấy lại dữ liệu sau khi cài lại app hay đổi máy. Khi bạn chạm Khôi phục, app tải bản đó về bộ nhớ tạm của app, kiểm là bản đã mã hoá, hỏi bạn xác nhận như khi khôi phục từ tệp (có lưu bản sao lưu an toàn trước), rồi xoá tệp tạm, kể cả khi lỗi. Tắt công tắc: bạn chọn giữ hoặc xoá các bản trên iCloud Drive. Chọn xoá thì app xoá tất cả bản sao lưu tự động của Henry Expense trên iCloud Drive này, kể cả bản do iPhone khác cùng Apple ID chép; hộp xác nhận nói rõ điều này, và app đang khoá thì không xoá. Khi khoá app đang bật, bật tính năng này cần xác thực lại bằng mã PIN hoặc sinh trắc học. Trạng thái của tính năng (bật/tắt, lần chép gần nhất, lỗi gần nhất) lưu theo thiết bị, không nằm trong tệp sao lưu; khôi phục một tệp sao lưu không tự bật lại tính năng. "Xoá dữ liệu ứng dụng" tắt tính năng nhưng không xoá các bản đã có trên iCloud Drive.
Quyền của bạn và xoá dữ liệu
- Bạn sở hữu dữ liệu của mình và có thể xem, sửa, xuất bất cứ lúc nào.
- Xoá từng giao dịch, ví hay danh mục ngay trong app. Giao dịch bị xoá nằm trong Thùng rác 30 ngày rồi bị xoá hẳn, hoặc bạn tự xoá hẳn sớm hơn.
- "Xoá dữ liệu ứng dụng" (Khác -> Cài đặt, mục "Cài đặt lại ứng dụng" cuối màn hình; cần xác thực bằng phương thức khoá app đang dùng) đưa app về trạng thái mới cài: xoá mọi giao dịch, ví, danh mục, ngân sách và cài đặt (kể cả bảng giá vàng và lịch sử giá vàng đã tải), ngắt kết nối và xoá dữ liệu Gmail như "Xoá toàn bộ dữ liệu Gmail", xoá dữ liệu Đồng bộ trực tiếp trên máy (không gỡ liên kết ở đối tác và không xoá giao dịch đang chờ trên máy chủ, xem mục Đồng bộ trực tiếp), xoá khoá API AI, xoá bộ nhớ phân loại (ghi nhớ danh mục, kể cả dòng học từ thư Gmail, và bộ nhớ tạm gợi ý AI) cùng tệp
ghi-nho-danh-muc.md, huỷ thông báo đã lên lịch, đưa công tắc "Gửi thống kê sử dụng ẩn danh" về bật và tạo mã ẩn danh mới, xoá báo cáo lỗi và hiệu năng của iOS đang chờ, xoá các bản sao tạm còn sót của tệp bạn đã chọn để nhập và ảnh giá vàng (biểu đồ, Bảng giá vàng) còn sót trong bộ nhớ tạm, xoá các tệp sao lưu trong bộ nhớ của app (kể cả bản xuất tay mà bản cũ của app để lại ở đó) và xoá dữ liệu cũ đã cất sang một bên (xem dòng Khi app không mở được dữ liệu). Cài đặt khoá app (PIN hoặc sinh trắc học), ngôn ngữ đã chọn và khoá mã hoá dữ liệu trong Keychain (cả bản đồng bộ qua Chuỗi khoá iCloud) được giữ. Sổ ghi lần đầu dùng tính năng (xem mục Dữ liệu lưu trên máy) cũng được giữ, để bạn không mất quyền dùng miễn phí sau này. Món bạn đã mua do Apple ghi theo Apple ID nên vẫn còn. Ngoại lệ: bản sao lưu an toàn vừa tạo (xem mục Sao lưu và xuất dữ liệu) được giữ lại, gồm toàn bộ dữ liệu cũ (đã mã hoá bằng khoá của máy); hãy xoá nó nếu bạn muốn dữ liệu biến mất hẳn. Tệp bạn đã chia sẻ ra ngoài, bản sao lưu của hệ điều hành và các bản đã chép lên iCloud Drive không bị xoá.
- Muốn xoá toàn bộ, hãy xoá app khỏi thiết bị. Dữ liệu SQLite của app sẽ bị xoá cùng app. iOS có thể giữ lại mục Keychain sau khi xoá app, kể cả khoá mã hoá dữ liệu, và bản đồng bộ của khoá vẫn còn trong Chuỗi khoá iCloud. Khoá này không chứa dữ liệu thu chi và app không có nút xoá nó; khi cài lại, app tạo khoá mới cho dữ liệu mới. Vì vậy, hãy dùng "Xoá toàn bộ dữ liệu Gmail" (hoặc ít nhất Ngắt kết nối), bấm "Gỡ liên kết" cho từng tài khoản trong Đồng bộ trực tiếp và xoá nhà cung cấp AI (cùng khoá API) trong app trước khi xoá app (xoá app không gỡ liên kết ở đối tác, và máy chủ vẫn giữ tạm giao dịch mới như nêu ở mục Đồng bộ trực tiếp); quyền Gmail cũng có thể thu hồi tại https://myaccount.google.com/permissions. Cách xoá riêng dữ liệu Gmail xem mục Lưu giữ và xoá dữ liệu Gmail.
- Xoá app không xoá các bản sao lưu đã chép lên iCloud Drive (nếu có). Muốn xoá, hãy xoá thư mục "Henry Expense" trong ứng dụng Tệp, hoặc xoá dữ liệu của app trong phần quản lý dung lượng iCloud ở Cài đặt của iPhone. Khi tính năng được mở lại, bạn cũng có thể tắt "Sao lưu lên iCloud Drive" và chọn xoá các bản trên iCloud trước khi xoá app.
- Sổ ghi lần đầu dùng tính năng không có nút xoá trong app. Xoá app có thể không xoá sổ (iOS có thể giữ lại mục Keychain), và khi cài lại, app đọc lại sổ cũ. Sổ chỉ mất hẳn khi bạn xoá toàn bộ iPhone (Cài đặt -> Cài đặt chung -> Chuyển hoặc đặt lại iPhone -> Xoá tất cả nội dung và cài đặt) rồi không khôi phục từ bản sao lưu cũ của iPhone.
- Bản sao lưu bạn đã tạo hoặc đã gửi cho dịch vụ khác nằm ngoài tầm kiểm soát của app; hãy xoá chúng ở nơi bạn lưu.
- Tắt thống kê sử dụng ẩn danh: Khác -> Cài đặt, mục "Thông tin", tắt công tắc "Gửi thống kê sử dụng ẩn danh". App ngừng gửi ngay, bỏ các tín hiệu chưa gửi và xoá báo cáo lỗi và hiệu năng của iOS đang chờ (xem mục Thống kê sử dụng ẩn danh).
- Ngoài Đồng bộ trực tiếp, app Henry Expense không thu thập dữ liệu về bạn nên không có dữ liệu nào để chúng tôi xoá hộ trên máy chủ. Thống kê sử dụng ẩn danh không gắn với bạn nên không tìm được để xoá riêng. Hỏi Tôm (trong app và trên trang web) không để lại cuộc trò chuyện trên máy chủ của Henry Expense; bộ đếm lượt hỏi tự xoá sau tối đa 4 ngày; nội dung đã tới nhà cung cấp dịch vụ AI do họ giữ theo chính sách của họ (xem mục Tôm). Với Đồng bộ trực tiếp, liên kết ngân hàng và dữ liệu giao dịch nằm ở đối tác dưới tài khoản đối tác của Henry Expense, còn máy chủ của Henry Expense giữ tạm giao dịch mới đã mã hoá và thông tin liên kết: bạn gỡ bằng "Gỡ liên kết" (máy chủ xoá giao dịch đang chờ và thông tin liên kết của tài khoản đó), hoặc gửi email tới địa chỉ ở mục Liên hệ (xem mục Đồng bộ trực tiếp). Ngoài ra có ba trường hợp, đều do bạn tự gửi. Một là email bạn gửi cho nhà phát triển (email mẫu hoặc thư yêu cầu hỗ trợ ngân hàng, xem mục Gửi email mẫu cho nhà phát triển và mục Yêu cầu hỗ trợ ngân hàng): thư đó nằm trong hộp thư của nhà phát triển, và bạn có thể yêu cầu xoá bằng cách trả lời cùng thư. Hai là tệp thư mẫu tải lên trang web: tệp được lưu và xoá như mục Tải thư mẫu lên trang web. Ba là cuộc gọi hay tin nhắn Zalo bạn gửi tới hotline (xem mục Mua trong ứng dụng): bạn yêu cầu xoá qua email ở mục Liên hệ.
Trẻ em
Henry Expense không hướng tới trẻ em và không cố ý thu thập thông tin của trẻ em. Ngoài Đồng bộ trực tiếp (dữ liệu ngân hàng bạn tự liên kết, xem mục Đồng bộ trực tiếp), app không thu thập dữ liệu cá nhân của bất kỳ ai (thống kê sử dụng ẩn danh không gắn với ai, xem mục Thống kê sử dụng ẩn danh); chỉ email bạn tự gửi cho nhà phát triển, cuộc gọi hay tin nhắn bạn tự gửi tới hotline, tệp thư mẫu bạn tự tải lên trang web, bài bạn tự đăng trong nhóm Facebook và thông tin kỹ thuật thông thường khi bạn tự mở trang web Henry Expense mới đến được nhà phát triển.
Thay đổi chính sách
Khi tính năng hoặc cách xử lý dữ liệu thay đổi, chính sách này sẽ được cập nhật và ngày "Cập nhật" ở đầu trang đổi theo. Bản mới nhất luôn có trên trang chính sách công khai tại henryexpense.com; trang này sẽ được liên kết từ trang ứng dụng trên App Store khi app có mặt ở đó. Bản trong app (Khác -> Cài đặt -> Chính sách quyền riêng tư) đổi theo khi app được cập nhật, nên có thể chậm hơn bản trên web.
Liên hệ
Nhà phát triển Henry Expense là Hộ kinh doanh Henry Mai, trụ sở tại 93 Xô Viết Nghệ Tĩnh, Phường Gia Định, TP.HCM, mã số thuế 079094010839.
Nếu có câu hỏi về quyền riêng tư hoặc muốn yêu cầu hỗ trợ xoá dữ liệu, hãy liên hệ nhà phát triển Henry Expense qua email [email protected].
Henry Expense is a personal income and expense tracking app for iPhone. This policy explains what the app stores, what it sends and who it sends it to. By default, all data stays on your device.
Summary
- Your income and expense data is stored on your device, in the app's SQLite database. The database is encrypted, and the key is kept in the iPhone Keychain; if you turn on iCloud Keychain, the key also has a synced copy there, which Apple encrypts end to end and which contains no income and expense data (see the section Data stored on your device).
- The Henry Expense app has no user accounts and no ads. The app sends anonymous usage statistics to TelemetryDeck (on by default, can be turned off in Settings): only screen names, app and iOS version, language, theme, purchased items, error codes and a short summary of the crash and performance reports created by iOS, never amounts, notes or income and expense data (see the section Anonymous usage statistics). Henry Expense has only one small server, used for Direct sync (an optional feature that needs a subscription) and for Tôm (the Ask Tôm chat on the website, and questions about how to use the app inside the app when you agree); this server does not store conversations with Tôm, and this server only holds your new bank transactions briefly, encrypted on the server (not end-to-end encrypted), for up to 7 days, and deletes them as soon as the app has received them (see the section Direct sync).
- Data leaves your device only when you turn on an optional feature yourself (Tôm and AI category suggestions, Gmail, opening your banking app through dl.vietqr.io in QR transfer, automatic exchange rate updates, automatic asset prices, AI price lookup for stocks and crypto, the AI bank statement reader, Direct sync; exchange rates and crypto asset prices send only a currency code such as VND or USD, current gold prices send no parameters at all, and AI price lookup sends only stock tickers or the codes BTC/USDT with the date or time of the lookup, never quantities or income and expense data, and Direct sync sends the subscription purchase proof signed by Apple to the Henry Expense server, while our bank-connection partner sends new transactions of the accounts you link to this server, which holds them briefly, encrypted, and returns them to your device; when you choose "Sync by date" yourself, the server asks the partner for the transactions in that date range, from the day you linked onward, of your own linked accounts only and returns them straight to your device without storing them), when you save and share a backup file, an export file, a gold price chart image or a Gold prices image yourself, or when you send a sample email, a bank support request or a feedback email to the developer yourself with your device's Mail app (you see the full content first and tap send yourself). In addition, when opened, the app automatically asks Expo's server (u.expo.dev) whether there is an update for the app itself (see the section Over-the-air app updates); this does not send any income and expense data. Anonymous usage statistics are also sent automatically unless you turn them off (see the section Anonymous usage statistics). When you open the Gold book, Gold prices or Gold chart screen, the app also downloads public gold price history from vang.today on its own, without you turning anything on or agreeing; the request only contains the number of days to download, with none of your data (see the section Gold price history for charts). If you turn on iCloud Keychain in your iPhone Settings, iOS syncs the data encryption key to your devices that use the same Apple ID (see the line Encryption on the device); Henry Expense does not receive this key. The "Back up to iCloud Drive" feature (off by default) is currently hidden in the app, so the app copies nothing to iCloud Drive; when the feature is available again and you turn it on, the app copies the encrypted automatic backup to your own iCloud Drive, stored by Apple; this copy does not go through any Henry Expense server and the developer cannot see it (see the section Backup and data export). For Gmail, the app exchanges data directly with Google only, not through any Henry Expense server, and complies with Google's Limited Use requirements; by default Tôm does not receive individual transactions imported from Gmail, Direct sync or bank statements (same "Transactions from banks" switch; see the section Tôm). Receipt and QR code scanning with the camera, and bank statement import (including PDF files), are processed on your device; only when you tap "Read with AI" on the statement import screen yourself and have agreed is the statement text, with numbers masked, sent to the AI provider you chose (see the section Bank statement import). When you tap the mic to talk to Tôm, what you say is turned into text right on your device, is not sent anywhere and no audio is kept (see the section Talk to Tôm). In-app purchases are handled by Apple; the app only asks the App Store on your device which items you bought (see the section In-app purchases).
- The henryexpense.com website has a form where you can upload sample bank emails yourself. This is separate from the app and happens only when you do it yourself on the website. Files are stored at Netlify and kept only for a limited time (see the section Uploading sample emails on the website).
- Tôm in the app: questions about how to use the app, if you agree in the "Ask Tôm" dialog, go through the Henry Expense server to a third-party AI service provider (with amounts, long digit strings and email addresses masked; no income and expense data; the server does not store the conversation; each day has a limit on questions). Questions about your own book do not go through this server and use your own AI key (see the section Tôm).
- The henryexpense.com website has an Ask Tôm chat. Questions you ask there go through the Henry Expense server to a third-party AI service provider so an AI can answer; the server does not store the conversation. The chat is separate from the app and cannot see income and expense data (see the section Henry Expense website).
How we protect your data
This section sums up how Henry Expense protects sensitive data: your income and expense data, data received from your Google account (Gmail) and secrets. Details are in each section below.
- Keeping as little data as possible: the app has no user accounts and no ads. Usage statistics only contain anonymous signals and fixed error codes (including the summary of iOS crash reports), with no error messages or income and expense data, and you can turn them off (see the section Anonymous usage statistics). Your income and expense data and data taken from Gmail are processed and stored only on your iPhone; no Henry Expense server receives them. The only exception is new Direct sync transactions: the Henry Expense server holds a reduced copy, encrypted on the server, until the app receives it (at most 7 days). When reading bank emails, the app takes only the fields needed for a transaction (amount, time, transaction ID, transaction description) and does not store the cardholder's name, the account holder's name or recipient details. When importing a bank statement, the app does not store the account number written in the file, and the password of a PDF file is only used to open the file and is then discarded (see the section Bank statement import).
- Encryption in transit: every server address built into the app (Google, AI providers, exchange rate and asset price sources, the Direct sync server, Expo's update server, TelemetryDeck, dl.vietqr.io) uses HTTPS (TLS), so data is encrypted on the way. For the Direct sync server address, the app accepts only HTTPS. The only exception: for the OpenAI-compatible AI provider type, the app allows http only when you enter a server on your own local network yourself (for example localhost or 192.168.x.x); Internet addresses must use HTTPS.
- Encryption at rest: the app's database (including transactions, the review queue and Gmail settings) is encrypted with AES-256 (SQLCipher) using a random key created on the device. The backups the app keeps on the device are encrypted with AES-256-GCM using a separate key derived from that key; if you turn on backup to iCloud Drive (currently hidden in the app), the app copies only this encrypted backup there, never an unencrypted one. In addition, iOS gives the app's files its highest level of protection: while the iPhone is locked, nobody can read these files. Data from older versions of the app is encrypted only after the app has finished converting it (see the line Encryption on the device in the section Data stored on your device).
- Where keys and secrets are kept: the data encryption key, the PIN hash, Google sign-in tokens and AI API keys are kept in the iOS Keychain, in items that belong only to the app (other apps cannot read them); they are not in the database, backup files or export files. The app does not write email content, tokens, API keys, the PIN or the encryption key to logs. The app contains no secret key shared by all users: the key for working with the bank-connection partner and the AI key Tôm uses to answer questions about how to use the app are only in the secret store of the Henry Expense server.
- Access control on the device: your data can only be opened by the app on an iPhone that has the encryption key. You can turn on the app lock with a PIN or Face ID/Touch ID; the app blocks for a while after repeated wrong PINs, covers its content when you leave the app, and asks you to verify again before exporting a backup, CSV or Excel file or erasing app data (see the section App lock).
- Files taken off the device: backup files you export always have a password that you set and are encrypted with AES-256-GCM using a key derived from the password (PBKDF2-HMAC-SHA256, 210,000 to 600,000 rounds depending on device speed); the app detects and rejects files that have been changed. CSV and Excel files have no password and hold most of your books, so keep them in a safe place (see the section Backup and data export).
- Google data: the app only asks for the read-only email permission
gmail.readonly plus basic identity permissions, signs in with Google OAuth with PKCE in the operating system's browser (the app never sees your Google password) and calls Google's servers directly over HTTPS. The app only reads emails from the sender addresses you choose and uses the data under Google's Limited Use requirements: it is not sold, not transferred to others, and not used for ads or for training AI. Notes taken from emails, subjects, snippets and sender addresses are never sent to the AI provider. You delete Gmail data with "Disconnect" (revokes access with Google and deletes tokens) or "Delete all Gmail data", and you can revoke access yourself at any time at https://myaccount.google.com/permissions (see the Gmail sections).
- The developer has no access to the data on your device: no server receives the income and expense data on your device or your Gmail data, so the developer cannot see it, and Henry Expense never receives your encryption key. Only new Direct sync transactions are held briefly on the server, encrypted, but the server can decrypt them to give them to the app; the developer commits not to open them (see the section Direct sync). The developer only sees what you send yourself (emails to the developer, files uploaded on the website, calls or messages to the hotline, messages on Messenger, posts you make in the Facebook group) and anonymous statistics not tied to you (see the section Anonymous usage statistics).
- The Direct sync server (api.henryexpense.com): uses HTTPS only. Every request from the app must include a subscription purchase proof whose Apple signature the server has checked. Each linked account has its own random address for receiving transactions, and the partner must send the secret code of that address (the server only stores a hash of this code). The server limits the number of requests per customer and per IP address; the IP address is only used as a temporary counter key by the request limiter and is not written to the server's database or log. The server only stores a reduced copy of new transactions, encrypted with AES-256-GCM using a separate key for each customer (derived from a key that is only in the server's secret store), for at most 7 days; the server decrypts them itself to give them to the app, so this is not end-to-end encryption; for account numbers it only stores the last 4 digits and a keyed hash. When you fetch transactions by date yourself, the server asks the partner only with your own linked account numbers, then returns the reduced result straight to the app without writing it to the database. The server does not store purchase proofs, sends the partner only a customer code made with a keyed hash, and returns only the last 4 digits of account numbers. Its log only records the request type, the result code and the handling time (see the section Direct sync).
- Reporting a security issue: if you find a vulnerability, email the address in the section Contact with a subject starting with [Security]. The developer usually replies within 7 days, reports the assessment within 30 days and aims to fix it within 90 days.
Data stored on your device
- Wallets, transactions, categories, budgets, debts, savings, goals, assets (real estate, vehicles, gold... with their purchases, sales and valuations) and other data you enter are stored locally in SQLite. The Gold book, Gold prices and the Gold chart are calculated on the device from this data and from the public gold prices the app has downloaded (see the sections Automatic asset prices and Gold price history for charts); the app sends none of your data to calculate them.
- App settings are also stored on your device.
- Crash and performance reports created by iOS are kept briefly in the app's storage until the app has summarized them, then deleted; they are not in the app's backup files or in iCloud backups (see the section Anonymous usage statistics).
- Quick guides (tours) on the Guide screen and in Tôm's new feature news run on your device and send nothing. A tour does not read or write your income and expense data; the sample draft in a tour is only an illustration and is never saved. The app only remembers on your device which guides you have watched (per device, not in the backup file; "Erase app data" deletes this record).
- The language you choose (Tiếng Việt or English) is stored in iOS settings on your device and is not included in the app's backup file. The app does not send this choice to Henry Expense. When you use Tôm or Insights, the app tells the AI to reply in this language (see the section Tôm). When the app connects to the network for the optional features above, iOS may add the app's preferred language, as it does for every app.
- Category memory: when you choose or change the category of an income or expense entry that has a note (on the form, on the Sort transactions screen, when reviewing a Gmail email or when importing a bank statement), and when you save a transaction whose category was pre-filled from a receipt, the app stores the shortened note (lowercase, accents removed, numbers with 4 or more digits, email addresses, web links and filler words such as "chuyen tien" removed; at most 80 characters) together with the category you chose and how many times you chose it, so it can suggest the right category next time. The app does not store the amount, wallet or transaction date in this memory. It keeps at most 2,000 rows, dropping the oldest first. You can turn off "Remember category choices", view and delete individual rows, or tap "Clear category memory" in AI settings. Category memory and keyword suggestions run entirely on your device, even when you do not use AI.
- From that memory table, the app also creates an easy-to-read text file
ai-memory/ghi-nho-danh-muc.md in the app's temporary storage (same content: shortened notes, category names, counts; rows learned from Gmail emails or bank statements are marked as coming from email and not sent to AI). The app rewrites the file after every change; AI does not write to the file, editing the file has no effect, and the file is not sent anywhere. The file does not appear in the iPhone Files app and is not included in iCloud backups or computer backups of the iPhone. iOS may clear temporary storage when the device runs low on space; the app recreates the file from the memory table. The app does not encrypt this file separately, but iOS protects it like the app's other files (see the line Encryption on the device). Older versions of the app kept this file in the app's documents folder; when it opens, the app deletes that old location.
- The app lock PIN (stored as a salted hash; the original PIN is never stored) and other secrets (Gmail tokens, AI API keys) are stored in SecureStore, which is the iOS Keychain, not in the database. The data encryption key is also kept in the Keychain, in an item that belongs only to the app (see the line Encryption on the device).
- First-use record of features: the app records the first date you used each feature (for example Assets, Budgets, Currency converter, Tôm). This date comes from when you use the feature, or from the creation date of the first item already in the app (for example your first asset). Purpose: when a feature becomes paid, people who used that feature before can keep using it for free. At that point the app checks once for that feature (based on the record and, for some features, also on the date you first downloaded the app as provided by the App Store, see the section In-app purchases) and writes the result in the record: free use or not, with the date of the check, so the result does not change later. The record contains only feature names, dates, the results of these checks and the latest time the app has seen (so that setting the device clock back does not corrupt the record). It contains no amounts, notes or income and expense data. This record is stored in the iOS Keychain, is not sent anywhere and is not included in the app's backup file. Restoring a backup file does not overwrite it, and "Erase app data" does not delete it. It is not synced through iCloud Keychain, but it may move to a new iPhone if you transfer data using an iPhone backup on a computer with a password set (see the line Moving to a new iPhone). To delete it completely, see the section Your rights and deleting data.
- On iOS, the system may include the app's data in your own iCloud backup or computer backup, depending on your device settings. That is an operating system backup controlled by you, not something Henry Expense sends.
- Encryption on the device: the app's database and the backups the app keeps on the device (automatic backups and safety backups) are encrypted with AES-256 using a random key that the app creates on the device. The key is only a random number and contains no income and expense data. The key is not in the database or any file and is not in the app's backup files; next to the database, the app only keeps a small file with the name of the key (not the key itself) so it knows which key to use. The key is stored twice in the Keychain, in items that belong only to the app (other apps cannot read them): one copy stays only on the device, and one copy syncs through iCloud Keychain when you turn that feature on in your iPhone Settings. According to Apple's documentation, iCloud Keychain is end-to-end encrypted, so Apple cannot read the key; Henry Expense never receives the key. Because the copy on the device remains, turning off iCloud Keychain does not make the app lose the key. The app never changes or deletes a stored key; on a fresh install, the app creates a new key. The app can read the key after you unlock the iPhone for the first time since it was turned on. In addition, iOS gives the files the app creates its highest level of protection: while the iPhone is locked, nobody can read these files, not even the app itself.
- When you update from an older version, the app converts your existing data to the encrypted form on the device when it opens, without sending anything. If it cannot convert yet (for example, the device is low on space), your data keeps working as before (not encrypted) and the app tries again the next time it opens. The Security screen shows whether the data on the device is encrypted.
- Moving to a new iPhone: if the new iPhone uses the same Apple ID and has iCloud Keychain turned on, the key follows you through iCloud. When you restore a new iPhone from an iCloud backup, your data may arrive before the key finishes syncing; if the app says it can't open your data yet, keep the phone unlocked and online, wait a few minutes, then tap Try again. A direct transfer from your old iPhone to the new one, or an iPhone backup on a computer with a password set, also carries the copy of the key on the device. According to Apple's documentation, iCloud backups and computer backups without a password do not carry the copy of the key on the device to another iPhone; in that case the app needs the copy in iCloud Keychain. If you sign in with a different Apple ID on the device and turn on iCloud Keychain, the synced copy of the key follows the new Apple ID. Without the key (for example, a different Apple ID, or iCloud Keychain turned off on the old iPhone), the app on the new iPhone cannot open your old data or the automatic backups, including the copies on iCloud Drive. The surest way: before you switch, export a backup file with a password (see the section Backup and data export) and restore that file on the new iPhone.
- When the app cannot open your data (for example, the key is missing after switching phones), the app does not delete anything by itself and does not create a new key. You can try again, restore from a backup file, or start with empty data; if you just changed phones, wait and try again first. If you start over, the old data (with the file naming the old key) is set aside in the app's storage and is not deleted, and the old key stays in the Keychain; "Erase app data" deletes what was set aside.
App lock
- App lock uses ONE unlock method at a time: No lock, PIN, or biometrics (Face ID or Touch ID). PIN and biometrics are never on at the same time. Changing the method requires confirming with the current method (entering the correct PIN, or the operating system's authentication). If an older version of the app had both PIN and biometrics on, the update keeps the PIN and turns biometrics off.
- The PIN has exactly 4 digits (10,000 combinations). To prevent guessing, after every 5 wrong attempts the app locks temporarily, with the wait time increasing from 30 seconds up to 60 minutes each time; wrong attempts are also counted when you enter the PIN to change the method. The wait time only counts while the app is running: time while the app is closed or the device is off does not count, and changing the device clock does not make the wait shorter. So keep the app open and the screen on while you wait. The app stores only a hash of the PIN in the operating system's secure storage (Keychain), never sends the PIN anywhere and does not include it in the app's backup file.
- When you choose biometrics, there is no backup PIN: if the device does not recognize your face/fingerprint (or you have removed biometrics in device settings), the operating system lets you unlock with the device passcode. The number of biometric attempts is limited by the operating system. So anyone who knows the device passcode can also open the app in this mode.
- Exception: if the device has no passcode and no biometrics set up, biometric lock temporarily has no effect (the app opens without authentication) and the Security screen shows a warning. Your choice is kept; during that time, reminders on the device lock screen may still show amounts; the lock takes effect again automatically once you set a device passcode. To lock the app on such a device, choose PIN.
- When you leave the app or open the app switcher, the app always covers its content with a screen showing the app logo, even if the app lock is off. Covering is not locking: with the app lock off, you go back to the app and carry on without unlocking. When the app locks, the lock screen sits on top of everything open in the app, including the entry form, pickers, the payment page, the file picker and the share sheet. Only small system dialogs (such as a confirmation or an error message) may appear above the lock screen, even when they appear after the app has locked.
- While the app is locked, links from outside the app cannot open any screen. Links of the app itself are kept and only opened after you unlock (within 5 minutes); other links are dropped.
- The share sheet (backup file, CSV/Excel export, text) only opens when the app is unlocked and not covered. If the app locks while it is preparing a file, the app does not share it: the backup file is still saved in the app, and the temporary export file is deleted.
- With the app lock on, each time you tap to export a backup, CSV or Excel file, the app asks you to verify again with the method in use (PIN, or Face ID/Touch ID/device passcode) before it creates the file. If you cancel or verification fails, the app creates no file. Automatic backups and the safety backups the app makes by itself do not ask, because they are only saved in the app storage.
- App lock is an extra layer of protection for when someone else holds your unlocked device; it does not replace the device passcode. Set a device passcode and do not use an easy-to-guess PIN (such as 0000, 1234 or a birthday).
- Authentication with Face ID, Touch ID, the device passcode or the PIN is all processed on the device. The app does not receive or store biometric data or the device passcode; recognition is done by the operating system.
- Lock information is not included in the app's backup file.
- "Erase app data" (More -> Settings) is available only when app lock is on, and requires authenticating again with the current method (PIN, or biometrics/device passcode). The PIN you enter is only used for checking and is never stored or logged; wrong attempts are counted together with the lock screen. Resetting does not erase your app lock settings.
Reminder notifications
- Reminders (recurring entries and plans, credit card payment due dates, bank loan payments, installment payments, savings maturity, goal contribution dates, group fund round reminder dates, daily entry reminder) are local notifications scheduled by the app on your device.
- The app does not use push notifications from a server and does not send any data out to create notifications.
- You turn reminders on or off in Settings. The daily entry reminder has fixed text with no amounts.
- By default, reminders only state the kind of reminder and the date, with no names or amounts. Only when you turn on "Show amount in notifications", and Hide balances and app lock are both off, do reminders include details: amounts and the note or a name (category, loan, installment, card, savings deposit, goal, fund, round). A group fund round reminder then states how many people have not fully paid and the amount still missing, and never names members. Notifications can appear on the device lock screen.
Haptic feedback and fonts
- The device vibrates lightly when you save a transaction, use quick add, undo, open the Log menu, or when a sync you started at the top of Overview finishes. Vibration only happens while you are using the app and sends no data out. Vibration needs no permission from you and does not let the app read any data. You turn vibration off in More -> Settings; this on/off choice is included in the backup file.
- The fonts of the Ledger theme (Be Vietnam Pro, IBM Plex Mono) are bundled in the app; the app does not download fonts over the network.
- Color mode (Light, Dark or System, in More -> Settings -> Appearance) only changes the display colors on your device. When you choose System, the app reads the system light/dark mode to change colors; the app needs no permission for this and sends nothing out. This choice is included in the backup file.
Camera: scanning receipts and QR codes
- When adding a transaction, you can take or choose a photo of a receipt for the app to read the text (OCR), or scan a VietQR transfer code with the camera or from a photo in your library. The app only asks for camera permission, the first time you take a receipt photo or scan a QR code with the camera. Choosing a photo uses the iOS photo picker: the app only receives the photo you pick and does not ask for permission to view your photo library. If you allowed the app to view your photos before, you can turn this off in the iPhone Settings app, under Henry Expense, Photos. iOS only asks for permission to add photos to Photos when you choose "Save Image" in the share sheet for a gold price chart image or a Gold prices image; this permission only lets the app add images, not view your library (see the section Gold price history for charts). The camera and the photo picker do not use the microphone; the app only asks for microphone permission for Talk to Tôm (see the section Talk to Tôm).
- Text reading and QR decoding are done entirely on the device with built-in iOS tools: Apple Vision reads text, and the system code scanner decodes QR codes from the camera and from photos. Photos, recognized text and QR code content are not sent to Henry Expense or any other service.
- Photos taken and the temporary image copies the app creates for scanning are deleted right after scanning finishes, even if scanning fails or you cancel. The app does not save the photos you take to your library and does not keep photos in its database. The camera only runs while the QR scan screen is open.
- Scan results are only used to pre-fill the form (amount, date, note); you check them and tap save yourself, and the app does not create transactions on its own. The only exception: when you scan from the + button in the bottom bar (this button opens the QR camera directly; close the camera to enter manually) or the "Scan QR" shortcut on the Overview screen, with QR transfer turned on, opening through dl.vietqr.io allowed and the recording mode "Record right away", the app saves the transaction automatically and then opens your banking app (see the section below).
- For VietQR codes, the recipient's name, bank and account number (only the last 4 digits shown) are displayed for you to check and are not stored. The pre-filled note comes from the transfer description in the code, or "Transfer to" followed by the recipient's name; the app does not insert the account number into the note.
- Notes filled in from a receipt or QR code are, once you save them, ordinary notes: they are included in backup and export files, and may be sent to the AI provider if you use Tôm (book reading) and have not turned off note sharing (see the section Tôm).
QR transfer through dl.vietqr.io (optional feature)
- After scanning a VietQR code, the app can show a "Transfer now" button that opens your banking app with a pre-filled transfer screen. The button only appears when you have turned on both "Turn on QR transfer" and "Allow opening through dl.vietqr.io" in More -> Settings -> QR transfer. The "Allow opening through dl.vietqr.io" switch is off by default; when it is off, the app only pre-fills the form as in the Camera section above and sends nothing. If "Turn on QR transfer" is on but this switch is off, each time you scan a code with an amount (an expense, in VND) from the + button in the bottom bar or the "Scan QR" shortcut on the Overview screen, the app asks whether to turn it on (clearly stating what data is sent to vietqr.io). Choosing "Not now" (or closing the dialog) sends nothing and the switch stays off; choosing "Turn on and transfer" turns the switch on for future scans too (turn it off again in More -> Settings -> QR transfer) and the app opens the link right away.
- Only when you tap the button (and choose a banking app, if you have not set a default), or when you scan a code from the + button in the bottom bar or the "Scan QR" shortcut on the Overview screen (the app opens the banking app right after scanning without a button tap, only when the "Allow opening through dl.vietqr.io" switch is already on; in that case the transfer description is the note just filled in from the QR code), does the app open the dl.vietqr.io page in an in-app browser (it does not send you out to Safari). The page runs as in a normal browser and then switches to the banking app you chose. The app no longer sends background requests to dl.vietqr.io. If the in-app browser cannot open, the app opens the same link in the device's default browser (usually Safari). The link contains: the code of the banking app you chose, VietQR's text bank code (e.g. vcb, mb; derived from the BIN in the QR code) and the recipient's full account number taken from the QR code, the amount currently entered on the form, and the transfer description, which is the note currently on the form (accents and special characters removed, cut to at most 25 characters), plus a fixed return address https://www.vietqr.io/deeplink (a required parameter for vietqr.io to build the auto-fill link; it contains none of your data). For supported banking apps (currently MB, BIDV, VietinBank, ACB, OCB), vietqr.io passes this information to the banking app to pre-fill the transfer screen. If you have edited the note, the edited text is sent. The app does not send wallet names, categories, balances or other income and expense data.
- Clipboard: for banking apps that do not auto-fill the amount (those without the "Auto-fill" label in the app list), before opening the app, Henry Expense copies only the amount (a whole number, without the account number or description) to the device clipboard and tells you, so you can paste it into the banking app. Other apps on the device (or Apple devices linked through Universal Clipboard) can read this amount until you copy something else; Henry Expense does not send it anywhere.
- vietqr.io is a third-party service, not part of Henry Expense. The page is opened in an in-app browser (Safari View Controller), so vietqr.io receives the information above together with your IP address and browser information, like any website, and the page may set cookies or run browser checks of its own; both parties process data under their own policies. The app does not read, store or log the page content. The in-app browser may store vietqr.io cookies; these cookies live in the system browser, not in Henry Expense. Safari View Controller does not record this page in Safari history and does not share cookies with Safari. When the link has to be opened in the default browser (the fallback), the link (including the recipient's account number, the amount and the description) may be saved in that browser's history; you can delete it in the browser's history.
- The app does not transfer money by itself: you still check and confirm the transaction in your banking app.
- The full account number is kept in memory only while the form is open, to build the link; it is not displayed, not logged, not stored in the database or backup file, and is cleared when you close the form, discard the scan result or change the transaction type. The link is not stored either.
- With the recording mode "Ask when I come back", the pending confirmation exists only in memory; the transaction is saved only when you choose "Record" after returning to the app. With "Record right away", the transaction is saved as usual before the banking app opens. Saved transactions do not contain the account number.
- The feature's settings (on/off, default banking app, default wallet and category, recording mode) are stored on your device and included in the backup file; they do not contain account numbers. Only the "Allow opening through dl.vietqr.io" switch is not included in the backup file and is not overwritten by a restore, so after restoring you must turn it on again yourself. Turn off "Allow opening through dl.vietqr.io" at any time to stop sending.
Automatic exchange rate updates (optional)
- Off by default. You turn it on in More -> Settings -> Currency & exchange rates, section Settings, the "Update rates automatically" switch; the first time you turn it on, the app asks you to agree to fetching data from the Internet, and the app only goes online after you agree. On this screen, the "How often" row (Every day or Every time the app opens) and the "Update now" block at the top of the screen (the button and the latest update status line) only appear while the switch is on; the source link sits in the Foreign currencies section and does not depend on the switch. Until you agree, the app sends no requests; when the feature is off, the app sends no requests, even when you tap refresh in the "Crypto (for reference)" section of the Currency converter screen (that button only works when automatic exchange rate updates are on and agreed to, or when the "Crypto" switch of AI price lookup is on, that is, you agreed to this type); exchange rates are then just numbers you enter yourself.
- When on, the app fetches reference exchange rates at the frequency you choose (every day, or every time you open the app but no more than once an hour; if the last attempt failed, it retries after at least 15 minutes), when you tap "Update now" (in Currency & exchange rates or on the Currency converter screen), after you change your main currency, when you add a currency that has no rate yet to your currency list, and after a Gmail sync that leaves foreign currency transactions waiting for review without a rate. The app sends one HTTPS request to download a public exchange rate table, trying in order until one works: cdn.jsdelivr.net (the currency-api data package), latest.currency-api.pages.dev (a mirror of the same data) and open.er-api.com (ExchangeRate-API).
- The only data sent is your main currency code (for example VND), as part of the request address. The app does not send transactions, balances, wallets, categories, the list of currencies you use or any income and expense data. As with any Internet connection, these servers see your IP address and technical information about the connection (for example the operating system name and app version in the client information) and process it under their own policies. These parties are not part of Henry Expense; Henry Expense has no intermediary server.
- Received rates overwrite the existing rates (including rates you entered manually), except for currencies where you turned on "Keep my manual rate". The app ignores invalid values and values that differ by more than 50% from the current rate (check them and enter them manually if they are correct). Rates are for reference only and are not bank rates. If there is no network or the source fails, the old rates are kept.
- The app does not write request addresses or response content to logs; it only stores on your device the time, source and data date of the latest update, or the error type (for example "no network").
- The feature's settings (on/off, consent, frequency, latest update result) are stored per device, are not included in the backup file and are not overwritten by a restore, so restoring a backup file does not turn the feature on for another device. The exchange rates themselves (with their source and "Keep my manual rate" status) are income and expense data, so they are included in the backup file. Turn off the switch at any time to stop sending.
- Your currency list (the currencies shown on the Currency converter screen) and the source currency selected on the Currency converter screen are settings stored on your device, included in the backup file and not sent anywhere. Adding a currency to the list only goes online when automatic updates are on and you have agreed; even then the app still sends only your main currency code and then picks out the rates it needs on the device. Amounts you enter on the Currency converter screen exist only in memory and are not stored or sent.
- The "Crypto (for reference)" section of the Currency converter screen (BTC, USDT): crypto is not one of the app's currencies and is only for reference conversion; the coin amount you enter exists only in memory and is not stored or sent. The reference price (USD per coin) comes from the same currency-api table that automatic exchange rate updates already downloaded (no extra request), or from when you tap "Update prices" in this section. The "Update prices" button only works when automatic exchange rate updates are on and agreed to, and does not use AI; each tap always sends one fixed HTTPS request downloading the USD price table (usd.min.json) to cdn.jsdelivr.net, then latest.currency-api.pages.dev (regardless of the age of the stored price); this request contains none of your data (not even your main currency). When automatic exchange rate updates are off or not agreed to, this button sends no requests. The reference price, accepted AI prices, the queue and the latest refresh result are stored per device (the cryptoRate settings group), are not included in the backup file and are not overwritten by a restore. For the AI price lookup part of this section, see the section "AI price lookup for stocks and crypto".
- Attribution: rates from open.er-api.com are provided by ExchangeRate-API ("Rates By Exchange Rate API", https://www.exchangerate-api.com); currency-api data is published by the open-source project fawazahmed0/exchange-api. The "Rates By Exchange Rate API" link appears on the rate screen of a currency whose rate came from open.er-api.com, on the Currency converter screen and in the Foreign currencies section of the Currency & exchange rates screen (when any rate came from this source, even while automatic updates are off); the app only opens the browser to https://www.exchangerate-api.com when you tap it.
Automatic asset prices: crypto and gold (optional)
- Off by default. The feature is in More -> Settings, Rates & prices group, row "Asset prices". The app only goes online after you agree in a separate consent dialog (separate from the exchange rate consent and from the AI consent). Until you agree, the app sends no requests. Each asset is only updated when you turn on "Update price automatically" in the asset form and have entered a quantity; sold assets are not updated. Turning on "Update price automatically" for a gold or crypto asset does not need consent and sends nothing by itself.
- Turning on the switch "Update asset prices automatically" is how you give consent: the app shows the consent dialog, and only when you choose "Agree and turn on" does the switch turn on and your consent get saved; if you choose "Don't agree", the switch stays off and the app sends nothing. While the switch is on, the app fetches prices by itself at most once a day when you open the app (if the last attempt failed, it retries after at least 15 minutes), and the "Update now" button runs right away without asking again. The "Asset types" section has a Gold switch and a Crypto switch (off by default). When you choose "Agree and turn on" for the first time and have not chosen any type, the app turns on both types; if you have already turned on one type, the other stays off. For a type that is off, neither automatic updates nor "Update now" contact that type's source; if you turn a type off while prices are being fetched, the app skips that type's source calls made after you turned it off. Requests are only sent when there are assets of the matching type with "Update price automatically" on, so the fact that the app sends a request shows that you have assets of that type. If you have turned off one type and the other is not on, turning on the main switch only shows the reminder "Turn on at least one asset type first.", does not open the consent dialog and sends nothing.
- Turning off the switch "Update asset prices automatically", or turning off both Gold and Crypto (the main switch then turns off too), withdraws your consent, without asking you to confirm. If the app is fetching prices, it stops before contacting the next price source and records no more prices (prices already recorded are kept); the screen shows a line saying your consent was withdrawn. The next time you turn it on, the app asks for consent again. The app has no separate withdraw button: turning the switch on or off is how you give or withdraw consent.
- While the main switch is off (no consent in effect), the "Update now" button, the status line and the result still appear. If you tap "Update now" then, the app shows the consent dialog with an "Agree once" button. Agreeing once only covers that one tap: the app does not save your consent, does not turn on the main switch, and asks again the next time you tap. If you choose "Don't agree", the app sends nothing. Agreeing once only gets prices for the types you have turned on in the "Asset types" section; a type that is not on is not sent. If no type is on yet, tapping "Update now" only shows the reminder "Turn on at least one asset type first.", does not open the consent dialog and sends nothing. When you have agreed (or have just withdrawn your consent) and both types are off, the "Update now" button cannot be tapped.
- Foreign currency assets (for example USD) are valued using the exchange rates already in the app, so they do not need this consent and send nothing extra off the device. Exchange rates in the app are entered by you or brought in by automatic exchange rate updates (section above); the app only adds the foreign currency codes you hold to the list of codes it keeps from the response, while the request sent still contains only the main currency code.
- You can also get a price right away for a single asset with that asset's "Get price now" button (in "Update value", choose "Market price"). When the main switch is on and that asset's type is on, the button runs right away. When the main switch is off, or that asset's type is off (including not yet turned on) in the "Asset types" section, the app asks you to agree once, as above, for that one tap. The button only runs when you tap it, and the app still sends exactly the requests described below (crypto: the valuation currency code; gold: no parameters), nothing more.
- If you agreed in an older version (when turning off the switch did not remove consent), after the update the app withdraws that consent if the switch "Update asset prices automatically" is off, or if the switch is on but both types are off (the switch then turns off too), and shows a line saying your consent was withdrawn. If the switch is on and at least one type is on, your consent is kept; a type you never turned off stays on as before.
- Crypto (BTC, USDT): the app downloads currency-api's public price table, trying cdn.jsdelivr.net then latest.currency-api.pages.dev (the same two servers as in the section Automatic exchange rate updates). The only data sent is the asset's valuation currency code (for example VND), as part of the request address; the coin code, quantity, asset name and balance are not sent; the coin code is only used to read the price table on the device.
- Gold: the app sends one request to https://www.vang.today/api/prices with no parameters (the server does not know which type of gold you hold) and takes the buying price and the selling price (when the source has it) in VND per tael, then converts them on the device according to the gold type and unit you chose. This only applies to gold assets valued in VND. Each automatic gold valuation also stores the selling price, so the Gold book can show the shop's buying and selling prices.
- Gold prices: each time the gold price source answers, the app stores on the device the price table it just received (buying and selling prices of every gold type and the time reported by the source) together with the table from the previous day with prices, so the Gold prices screen in the Gold book can show prices and how they changed. This table makes the app send no extra request to the source. However, opening the Gold prices screen may make the app download the gold price history (see the section Gold price history for charts); when this table is not there yet, the screen builds the table from the latest day in the downloaded price history. The table only contains public prices, with no quantity, asset or other data of yours. The table is stored per device and is not included in the backup file. Turning off the switch (withdrawing consent) does not delete this price table, just as it does not delete recorded valuations; the app only stops fetching new prices. If you withdraw consent after the app has asked the source but before it stores the result, the table from that run is not stored. "Erase app data" deletes this price table.
- Requests send no cookies or login information. As with any Internet connection, these servers see your IP address and technical information about the connection and process it under their own policies. These parties are not part of Henry Expense. The app does not write request addresses or response content to logs; it only stores on your device the time and the number of assets updated/skipped/failed in the latest run, or the error type.
- Received prices are reference data and may differ from actual trading prices; each valuation clearly records its source (currency-api or vang.today) and date. Received prices replace prices you entered manually on the same day (both when you tap update now and when the app updates on its own). The app ignores invalid prices, prices that change too much compared with the previous automatic price (gold more than 20%, crypto more than 50%, within 7 days) and USDT prices far from 1 USD.
- The feature's settings (on/off, the switch for each type, consent, the withdrawn-consent line, latest result, last update time of each type) are stored per device, are not included in the backup file and are not overwritten by a restore. A one-time consent is not stored anywhere. Recorded valuations (with source, unit price and the selling price of gold) are asset data, so they are included in the backup file. "Erase app data" deletes all these settings, including your consent; after that, the app asks again before sending any request.
Gold price history for charts
- This feature has no switch and does not ask for consent, because the request only fetches a public gold price table and contains none of your data. The app downloads on its own when you open the Gold book, Gold prices or Gold chart screen (Reports tab -> Gold book). Downloading does not depend on whether you have gold and does not need "Update asset prices automatically" to be on. The Gold book does not need a purchase; Gold prices and the Gold chart open only after you buy the "Gold prices and charts" item, so before you buy it these two screens download nothing. If you do not want the app to send this request, do not open the gold screens.
- Change from version 1.96.0: that version had a "Gold price history" switch (off by default, in More -> Settings -> Asset prices) and its own consent dialog. From the versions after 1.96.0, the switch and the consent dialog are removed. If you had turned off the switch, did not agree or withdrew your consent before, the app now still downloads the price history on its own when you open the gold screens. The app deletes the two old settings (the switch and the consent version) from the device; prices downloaded before are kept and still used.
- Data sent: the app sends a request to https://www.vang.today/api/prices with exactly one parameter, the number of days to download (
days, which can only be 7, 31 or 366). The app does not send the type of gold, the weight, assets, income and expense data or any code that identifies you; requests send no cookies or login information. As with any Internet connection, this site sees your IP address, technical information about the connection and the time of the request, and knows the request comes from this app. vang.today is not part of Henry Expense and processes this under its own policy. The app does not write request addresses or response content to logs.
- When the app downloads: only when you open the Gold book, Gold prices or Gold chart screen, tap "Try again", or tap the "Update gold prices" button (the refresh icon at the top of the Gold prices screen) before you buy the "Automatic asset price updates" item. After you buy that item, the button updates asset prices as described in the section Automatic asset prices. The first time (no prices on the device yet), the app downloads one year of prices (366 days). The app downloads successfully at most once per day (by the device clock): 7 days if the latest day in the downloaded prices is less than 7 days before today, 31 days if it is 7 to 31 days before, and one year if it is more than 31 days before. If a download fails, the app waits at least 15 minutes before retrying on its own; tapping "Try again" or the "Update gold prices" button retries right away. The app does not download in the background, and does not download when you open the app without going to a gold screen. Only the first time after you update to the version with world gold prices, if the prices downloaded on the device do not have world gold prices yet, the app downloads one year of prices (366 days) again exactly once, even if it already downloaded that day; this request is exactly like the others (same address, same
days parameter).
- The app treats the response as untrusted data: it drops responses larger than 2 MB, keeps only the gold types the app knows and the world gold price (code XAU/USD, in USD) with prices in a valid range, and drops future days and prices that differ by more than 20% from both neighbouring days.
- Stored on the device: the app stores the buying and selling prices of the gold types by day, together with the world gold price (USD per ounce) included in the same response (at most the latest 731 days) with the time of download and the latest attempt. These are public prices only, with none of your data. All of this is stored per device, is not included in the backup file and is not overwritten by a restore. These prices do not become asset valuations, do not replace prices you entered, do not go into the price confirmation queue, are not in CSV, Excel or "Export gold book" files, and are not sent to Tôm or any AI provider.
- Once prices have been downloaded, the price chart on the Gold chart and Gold book screens, the chart of the value of gold you hold (the weight you hold each day times the market buy-in price), the 7-day price line on Gold prices and the numbers on the Gold chart screen use these prices; all calculations are done on the device. Prices you entered appear as separate dots on the chart. The "Gold book total value" number, the card for each gold type in the Gold book and export files still use the valuations in your assets. When prices could not be downloaded (no connection or an error), the charts use the prices in the app and the screen shows a "Try again" button.
- World gold price: the Gold chart and Gold prices screens show the world gold price (USD per ounce), a percentage comparison line between the gold type you are viewing and the world price, and the world price converted to dong (per chi or per luong) with the gap to the domestic price for the latest day. The world price comes from the same gold price history response above, so the app sends no extra request or parameter. The conversion is done on the device with the USD exchange rate already in the app (Currency & exchange rates screen); the exchange rate is not sent anywhere. When the app has no USD exchange rate, the conversion and the gap are hidden.
- "Erase app data" deletes the downloaded prices and the latest attempt. If the app is downloading right when you erase the data, the result of that run is not stored. After that, the first time you open a gold screen again, the app downloads as it did the first time.
- Sharing a chart image: while the chart uses downloaded market prices, the Gold chart screen has a button to share an image. The app draws the image on the device, and it only contains the name of the gold type you are viewing (a gold type in your Gold book, or World gold), the time range, the latest market buy-in price, the change, the buying price line (and the selling price line if shown), the lowest and highest prices with their days, the day of the price and the app name. For World gold, the image only has the world price in USD per ounce, with no price converted to dong, exchange rate or gap to the domestic price. The image does not contain the weight you hold, cost, value, gain or loss, your purchases and sales or prices you entered. While "Hide balances" is on, every amount on the image becomes dots (the price line and percentage remain). The app saves the image in temporary storage, opens the iOS share sheet and deletes the temporary file when the sheet closes, even on errors; if the app is locked when it is about to open the share sheet, it does not share. Because the image only contains public prices, the app does not ask you to authenticate again as it does for data exports. The app does not send the image anywhere by itself: you choose where to send it in the share sheet. If you choose "Save Image", iOS asks for permission to add photos to Photos; this permission only lets the app add images, not view your library.
- Sharing a Gold prices image: once there is a price table, the Gold prices screen has a button to share an image. The app draws the image on the device, and it only contains the day and update time of the price table (the time only when the source reports it), the chosen unit (chi or luong), the buying and selling prices of the gold bars and gold rings in the table, the world gold price in USD per ounce (if available), the line "For reference only" and the app name. The image always lists every gold type of the table in the same order, so it does not show which type you hold. The image does not contain the weight you hold, cost, value, gain or loss, the "If you sold" line, the change, the world price converted to dong or the exchange rate. While "Hide balances" is on, every price on the image (including the world price) becomes dots. Temporary storage, not sharing while the app is locked, not asking you to authenticate again and the permission to add photos when you choose "Save Image" work as for the chart image in the line above.
AI price lookup for stocks and crypto (optional)
- Off by default, and only usable when your AI is using a provider with a web search tool (currently Anthropic and Google Gemini; the app never looks up prices from the model's memory). All of the feature's controls are only in More -> Artificial intelligence -> AI settings, group "Asset price lookup by type": two separate switches, "Stocks" (with the hint "Looks up Vietnamese stock prices with AI web search.") and "Crypto" (with the hint "Looks up BTC and USDT prices with AI web search."; it covers crypto assets and the "Crypto (for reference)" section of the Currency converter screen), plus a "Look up every day" switch (only shown while at least one type is on). The "Asset prices" screen (section above) has no AI price lookup controls; it only keeps the "Prices waiting for your OK" section (see below) and a dimmed "Stocks" row labeled "In development" that cannot be tapped and sends nothing off the device. While "Turn on AI" is off or the provider has no web search (OpenAI, OpenAI-compatible), a switch that is off cannot be turned on (for a provider without web search, the group also shows a line explaining why), but a switch that is on can still be turned off.
- Each type has its own consent, separate from the "Share data" consent for the AI provider on the same screen. When you turn on the switch of a type, the app shows a consent dialog for that type only ("Look up stock prices with AI" or "Look up crypto prices with AI"), stating the data sent for that type, the cost, and that turning the switch off later withdraws the consent. The switch only turns on when you choose "Agree and turn on"; if you choose "Don't agree", the switch stays off and nothing is sent. Agreeing to price lookup does not turn on data sharing; the other way round, withdrawing data sharing turns every price lookup type off (see below).
- Turning off the switch of a type withdraws the consent for that type, without asking you to confirm: the app stops looking up that type right away, deletes the prices of that type waiting for your OK (for crypto, also the queue of the Currency converter reference section) and shows a short notice that the consent is withdrawn; when every type is off, "Look up every day" is turned off too. The next time you turn it on, the app asks for consent again. A switch that is on can always be turned off, even while AI is off, the provider has no web search or you have not bought the paid item. The app has no separate withdraw button, no "Look up now" button and no "agree again" dialog: turning a switch on or off is how you give or withdraw consent.
- If you agreed to AI price lookup in an older version (one shared consent for all types), the app moves you once to the separate consents without asking again: stocks count as agreed; crypto only counts as agreed if your earlier consent was the version that mentioned crypto (if your earlier consent covered stocks only, you need to turn crypto on and agree yourself). Each type's switch keeps its earlier on or off state (crypto is only on if the old crypto lookup switch was also on), and "Look up every day" is kept if at least one type is still on. A type whose consent was moved over but is off does not ask again the first time you turn it on; after you turn that type off (withdraw), the app asks as usual the next time.
- Stocks: while the "Stocks" switch is on and you also turn on "Look up every day" (off by default; once a day when you open the app), the app sends the selected AI provider one request containing price lookup instructions, today's date and the list of stock tickers of the assets with "Update price automatically" on (at most 20 tickers per request, for example FPT, VNM).
- You can also look up a price right away for a single stock with that asset's "Get price now" button. This needs the "Stocks" switch to be on (that is, you agreed to this type) and only runs when you tap it. If the app is already running a bulk lookup, the button uses that result and does not ask the AI a second time. The request contains only the lookup instructions, today's date and that stock's ticker.
- Crypto: while the "Crypto" switch is on, in the "Look up every day" run, if there are BTC/USDT assets with "Update price automatically" on, the app sends a separate request containing only the lookup instructions, the current time (UTC) and the coin codes you hold among BTC and USDT. On the Currency converter screen, the "Look up price with AI" button of the "Crypto (for reference)" section only works while the "Crypto" switch is on; each tap sends a similar request that always contains both codes BTC and USDT (whether or not you hold them).
- The provider uses its own web search tool (possibly through a search partner), so these codes also go to that search tool. Therefore the AI provider and the search tool may learn which stock tickers or coins you hold. The app does not send quantities, the coin amount you enter, asset names, notes, purchase prices, balances, net worth or any income and expense data.
- Costs are charged to your API key: each lookup is one AI call with web search; a "Look up every day" run with both types on is two calls (one for stocks, one for crypto). The "Get price now" button of a single stock and the AI lookup button on the Currency converter screen are one call per tap. The provider may charge extra for searches. The consent dialog of each type also says clearly that costs go to your API key.
- Prices looked up by AI may be wrong, and the web pages the AI reads may contain wrong content or content meant to mislead the model; the app tells the model to treat page content as data, not as instructions, and trusts nothing outside the checked price fields. The app checks on the device: the code must match the code asked for, the answer must show evidence of a web search, and the source page must be an https address on the app's fixed list of trusted sites and match a source returned by the search tool. Stocks: the price in VND must be a reasonable whole number (prices written in thousands of dong are rejected), and the price date must be no more than 5 days old. Crypto: the price must be in USD per coin, for the correct trading pair (BTCUSD, BTCUSDT, USDTUSD), within a reasonable range (BTC 1,000 to 10,000,000 USD, USDT 0.9 to 1.1 USD), and the price time must be no more than 48 hours old and not in the future.
- Crypto prices are also compared with the currency-api reference price (a public price table, see the section Automatic exchange rate updates). To get this price, when you tap "Look up price with AI" in the Currency converter section (this requires the "Crypto" switch to be on, that is, you agreed to this type), the app sends an extra fixed HTTPS request downloading the USD price table (usd.min.json) to cdn.jsdelivr.net then latest.currency-api.pages.dev; for asset price lookups, the app uses the stored reference price if it is recent (no more than 12 hours old), otherwise it downloads it again with the same fixed request. The request contains no coin codes and none of your data. While the "Crypto" switch is off, the Currency converter screen no longer downloads the reference price based on the price lookup consent; it only downloads it while automatic exchange rate updates are on and agreed to. Each asset has only one automatic price source per day: if it already has an automatic currency-api price today, the app does not ask AI for that asset. An AI price is written directly only when it matches the reference price (BTC within 5%, USDT within 2%) and does not differ much from the previous AI price; if there is no reference price, it differs from the reference price, the source does not match, it is the first price or it changes a lot, the price goes to "Prices waiting for your OK" so you can check it yourself (for example by opening the source link) and then tap Confirm; Reject records nothing. The "Prices waiting for your OK" section of the Asset prices screen appears whenever there are waiting prices, even when the current AI provider has no web search; confirming or rejecting sends nothing off the device. The value of crypto assets is converted into the asset's currency on the device using the stored USD exchange rate.
- AI prices never replace prices you entered manually on the same day. Every valuation looked up by AI is clearly marked "Price looked up by AI" with a source link (which can only be opened if it is on the trusted list).
- AI answers are not stored beyond the checked price; the app does not write calls, request addresses or responses to logs. The confirmation queue (code, price, price date or time, source link; no quantities), the accepted AI prices of the Currency converter reference section and the feature's settings (including each type's consent and consent version) are stored per device, are not included in the backup file and are not overwritten by a restore, so restoring a backup does not turn the feature on. Recorded asset valuations (with unit price and source link) are asset data, so they are included in the backup file. These prices and queues are not given to Tôm or included in CSV exports. Excel exports contain only the values of recorded valuations (the asset history sheet), without unit price, source or source link; the queue and the prices of the Currency converter reference section are not in the Excel file.
- Withdrawing consent for the AI provider in use (including by turning off "Share data"), deleting the provider, or changing the provider's type/server address withdraws the consent for both types: the app turns off the "Stocks", "Crypto" and "Look up every day" switches and deletes every price waiting for your OK (for assets and for the Currency converter reference section). This does not touch the consent for gold and crypto prices from currency-api and vang.today on the Asset prices screen; you withdraw that consent by turning off the switch on that screen (see the section "Automatic asset prices"). Note: if you switch to another provider that you have already agreed to in AI settings, the next lookup sends the codes to that new provider.
Over-the-air app updates (EAS Update)
- When opened, the app automatically asks Expo's server (u.expo.dev) whether there is a small update (the app's JS code and images). This is not an optional feature and there is no switch to turn it off in the app. This server does not belong to Henry Expense and needs no account.
- Technical information sent: app version, runtime version, platform (iOS), update channel and the ID of the update currently running. A random ID tied to this installation of the app is also included (it is not tied to your identity or your income and expense data; deleting the app removes it). If the previous run hit a serious error at startup, the app may also send a short error log from that run.
- The app does not send transactions, balances, wallets, categories or any income and expense data. As with any Internet connection, Expo's server sees your IP address and processes it under its own policy.
- Updates only replace the app's running code; they do not read or change the income and expense data on the device.
Anonymous usage statistics (TelemetryDeck)
- The app sends anonymous usage statistics to TelemetryDeck, an app analytics service run by a company in Germany. The statistics help the developer see which screens are used, which items are bought and which errors happen, to fix bugs and improve the app.
- On by default, including when you update from an older version. The app does not ask for separate consent. You can turn it off at any time in More -> Settings, "About" section, switch "Share anonymous usage stats". When you turn it off, the app stops sending right away and drops the signals not yet sent. When you turn it back on, the app asks nothing.
- The app only sends: the app version, the iOS version, the theme and language in use; that you opened the app; the name of the screen you open, as a pattern (for example "/transaction/[id]"), with no ID of a transaction, wallet or other item; that you opened the Store, the name of the item you buy or restore and the result (purchased, cancelled, pending, failed); a fixed error code when a feature or a background job fails; the summary of iOS crash and performance reports (see the next line). Each signal comes with the time, a random session ID and a flag that says whether this is a test build (TestFlight).
- iOS crash and performance reports: about once a day, iOS may give the app a report about times the app stopped unexpectedly, froze, used too much processor time or wrote too much data, and about how long the app took to open. iOS creates the report, and it contains no income and expense data. The app keeps the report briefly in its storage, turns it into a few values from a fixed list the next time it opens, and then deletes the report. These values are: the kind of problem (stopped unexpectedly, froze, processor overuse, too many writes), the system error code name (for example EXC_BAD_ACCESS or SIGABRT), and a time range (for example under 1 second, 1 to 2 seconds) for a freeze or for opening the app. Each time the app opens, it sends no more than 12 signals of this kind.
- The app does not send the iOS report itself: it does not send the list of code running at the time of the error, memory addresses, IDs of program files, file paths, device model, region, error content or descriptions, or the time the problem happened. The app has no screen for viewing these reports.
- The app never sends: amounts, balances, notes, names of wallets, categories, people or projects, email content, email addresses, account numbers, card numbers, API keys, error messages, or any income and expense data. The app only sends values from a fixed, prepared list; any other value is dropped before sending.
- Anonymous ID: the app creates a random ID on the device and only sends a hashed (SHA-256) copy of it; according to TelemetryDeck, their server hashes it once more. This ID is not tied to your name, email or Apple ID, is different from the anonymous ID of Ask Tôm, and is not in backup files (restoring a backup does not change your on or off choice). "Erase app data" creates a new ID and turns the switch back on.
- How it is sent: the app keeps signals in memory and sends them in batches over HTTPS to nom.telemetrydeck.com, when there are 20 signals, after about 1 minute, or when you leave the app. The app sends no more than 300 signals per day. Signals not yet sent are lost when the app is fully closed. The app does not use the TelemetryDeck library, does not use cookies and does not send the iPhone advertising ID.
- As with any Internet connection, TelemetryDeck sees your IP address and connection information (for example the app name and system version that iOS adds to the connection). TelemetryDeck states that it does not store the IP address, but it may infer your country or region from the connection. They process data under their own policy: https://telemetrydeck.com/privacy/
- Because the hashed ID does not lead back to you, neither the developer nor TelemetryDeck can find your own signals to delete them for you. To stop sending, turn the switch off.
- The app does not send statistics in the automated test build, in the web preview, or when the app build has no TelemetryDeck setup. In those cases, and when you turn the switch off, the app deletes waiting iOS crash and performance reports without sending them. Reports kept on the device for more than 30 days are also deleted.
Henry Expense website
- The app has a "Henry Expense website" row in More and a "View the web version" button on the Privacy policy screen; the Gmail introduction dialog also links to this policy. Only when you tap does the app open henryexpense.com (or the policy page on it) in the device's browser. The app does not open this site on its own and does not load anything from it in the background.
- The site address is fixed and contains no income and expense data, balances, wallet names, email addresses or any code that identifies you. If the page cannot be opened, the app opens the copy of the policy built into the app (when tapped from the Gmail introduction dialog).
- The website belongs to the developer and is hosted at Netlify. Like any website, the site's server may record ordinary technical information about the visit (IP address, browser type, time). The browser may save the page in its history; you can delete it in the browser's history.
- The "Facebook community group" row in More, Support and community also only opens a fixed address of the group on Facebook in the Facebook app (if installed) or the browser when you tap it. The app does not use any Facebook SDK and does not send any of your data to Facebook. Facebook is a third-party service; it receives your IP address, browser information and your Facebook account if you are signed in, under its own policy; what you post in the group is visible to everyone who can see the group.
- The Bank sync page on the website has a form where you can upload sample bank emails yourself; see the section Uploading sample emails on the website.
- Ask Tôm on the website: the Tôm button in the corner of the site opens a chat where you can ask about Henry Expense; an AI service answers as Tôm. The chat lives on the website, not in the app, and cannot see anyone's income and expense data. Only when you send a question does the page send that question, the most recent questions and answers in the chat (up to 6 messages, including the question you just asked) and the page language to the Henry Expense server (api.henryexpense.com). The server forwards that content to a third-party AI service provider to generate the answer; this provider processes it outside Vietnam. The Henry Expense server does not store the conversation and does not write questions, answers or IP addresses to its logs; the IP address is only used as a temporary counting key to limit the number of questions per minute, and the server only counts the total number of questions for the whole site each day (not linked to anyone). This provider processes and may retain the content it receives for a period of time under its own policy; under the provider's current commercial terms, content sent through the API is not used to train its models. Do not enter personal information, account numbers, passwords or OTP codes in the chat. The conversation is only kept in the open browser tab (the browser's session storage) and is gone when you close the tab or tap "Start over"; the number of questions asked today is stored in your browser to limit questions. The Messenger and email buttons in the chat only open Facebook Messenger or your email app when you tap them; the chat does not send anything to Facebook by itself. AI-generated answers can be wrong.
Gmail (optional feature)
The Gmail feature adds transactions automatically from your bank's balance change notification emails. The feature is off by default and may not be available in some releases; it only runs when you connect your Google account yourself on the Gmail sync screen. Before you sign in, the app shows an introduction dialog that states what data is read, how it is used and a link to this policy; you must check "I have read and agree" before you can continue.
- Permissions requested:
gmail.readonly (read emails only) plus basic identity permissions (openid, email) so the app knows the address of the connected account. The app does not send, delete, change or label emails. Technically, Google's read-only permission allows reading every email in the mailbox; the app only searches for and reads emails from the sender addresses you chose in your email source list.
- The Bank sync screen (More -> Bank sync) has a "Via Gmail" switch for each bank whose emails the app can read. The switch only changes the email source list on your device: turning it on adds or turns on that bank's known sender addresses; turning it off stops the app from reading that bank's emails but keeps the sources, rules and imported transactions. The switch does not connect Gmail by itself and sends nothing off your device; the app reads emails only when it syncs, after you have connected Gmail. The app syncs when you tap "Sync now" on the Gmail sync screen, when you tap the sync icon at the top of Overview (this icon syncs every channel you have set up), when you sync a date range, and when you open the app if "Auto sync" is on (at most once every 15 minutes).
- Sign-in uses Google OAuth with PKCE, opened in the operating system's browser; the app never sees your Google password.
- The app calls Google's servers directly (sign-in, Gmail API, fetching the account's email address) right on your device. No Henry Expense server receives or stores emails, tokens or data taken from emails.
- Sole purpose: to recognize bank transaction emails and create transactions in your ledger (amount, time, description, and a reference code to avoid recording the same transaction twice). Emails the app is not sure about go to a review queue for you to confirm or skip; they are not recorded automatically.
- Sender check: when an email arrives, Gmail itself adds to the email the result of checking whether it really came from the sender's domain (DKIM, DMARC). The app only reads that existing result in the downloaded email; it sends no extra request over the network and does not store the result. Emails whose sender differs from the source address, that have several senders, or that Gmail reports as failing the bank's domain check are skipped. Emails the app cannot confirm were sent by the bank are never recorded automatically or attached to an existing transaction: they go to the review queue with a warning, and the queue keeps at most 20 such emails (extra ones are skipped). Emails with content larger than 512 KB are skipped and the app does not read their content.
Google data: Limited Use
Henry Expense's use and transfer to any other app of information received from Google APIs will adhere to the Google API Services User Data Policy, including the Limited Use requirements. Specifically:
- Data received from Gmail is used only to provide the user-facing feature you see in the app: automatically adding transactions and the review queue from bank emails.
- The data is not sold, not transferred to advertisers, data brokers or any other third parties, and not used to serve or target ads.
- No one other than you reads this data. The developer has no access because the data stays only on your device; the only possible exceptions are with your specific consent, when needed for security purposes (for example investigating abuse) or when required by law.
- This data is not used to develop, improve or train generalized AI or machine learning models.
- The note of a transaction created from an email (taken from the email content), the subject, the snippet and the sender address are never included in data sent to the AI provider, even if you turn on "Notes and names" or "Transactions from banks" in AI settings.
- Category suggestions for the review queue and for transactions created from emails (including manually recorded transactions that have been linked to an email) run only on the device (your remembered choices and keywords). These items are never sent to the AI provider for categorization, even if you turn on "Suggest categories". When you approve an email with a category (or choose a category for a transaction created from an email on the Sort transactions screen), the app remembers that email's shortened note on the device, marked "from email"; this memory row is only used for on-device suggestions and is never sent to AI as an example. Rows marked "from email" always keep that mark, even if you later choose a category for an identical note; they are deleted when you disconnect or delete Gmail data.
- The "Transactions from banks" switch is off by default. When it is off, Tôm and "Write a summary with AI" do not receive individual transactions created from emails (they are not in lists, search results or signals for large expenses, duplicates or recurring payments). However, transactions created from emails are transactions in your ledger, so the totals Tôm reads (wallet balances, total income/expenses, budget progress, credit cards, totals by category, wallet or day, category increases) still include them; if a day or a category has only one transaction, that total equals exactly that transaction's amount. Only when you turn on the switch (the app asks for your consent each time you turn it on) are the amount, date, wallet and category of each such transaction sent like other transactions when Tôm needs them; the person and the trip or event you added to that transaction yourself are also sent if "Notes and names" is on, but the note never is (see the section Tôm). This sending is only to answer the questions you ask, to the AI provider you chose.
Where Gmail data is stored
- Google sign-in tokens (access token, refresh token) and the account's email address are stored in SecureStore (the iOS Keychain). The Google Client ID that developer builds let you paste is also stored in SecureStore. Tokens and the Client ID are not in the database or the backup file. The connected Gmail address is also stored in the app settings (SQLite) so it can be shown on the Gmail sync screen; this is per-device data and is not included in the backup file (see below).
- Transactions created from emails are stored in SQLite like ordinary transactions, with a source code (for example
gmail-vpbank) and the bank's reference code to avoid recording the same transaction twice. The note may come from the email content; the category is chosen by the app on the device from your existing categories, first from your remembered choices, then from keywords in that description (no AI). When deleted, the transaction (with its note, source code and reference code) stays in Trash until Trash is emptied. Note for ACB balance emails: these emails have no transaction ID, so the app creates a reference code by hashing (SHA-256, keeping the first 32 characters) the last 4 digits of the account, the date, the amount, the balance after the transaction and the note in the email; the code only has the form acb: followed by 32 hex characters and does not contain the account number, balance or note in readable form. This code is stored with the transaction and in the backup file, and is not shown on screen (the source line only shows "Gmail" and the bank name); because it is created only from the last 4 digits of the account, the full account number cannot be worked out from it. Review queue items created by older versions (still holding the old code or the full account number) are converted to this form and masked to the last 4 digits when the app opens again. The code is not sent to the AI provider and is not in CSV/Excel exports. ACB transactions imported by older versions are converted to this hashed form when the app is updated (including those in Trash).
- Banks with a dedicated reader: VPBank, ACB, VietBank, VIB (credit cards) and Cake. The reader only takes the fields needed for a transaction: amount, time, transaction ID, your card/account number (only to choose the wallet, not stored in the transaction) and the transaction description as the note (for VIB, the merchant). The app does not take the cardholder's name, the account holder's name, the recipient's name, the recipient's account number or the recipient's bank. The note is the transaction description from the email (at most 200 characters), so if that description contains a name (for example "NGUYEN VAN A chuyen tien") or a masked card number, the note does too. VietBank and Cake reference codes have the form
vietbank: or cake: followed by the transaction date and the bank's transaction ID. VIB emails have no transaction ID, so the app creates a code by hashing (SHA-256, keeping the first 32 characters) the last 4 digits of the card, the time (to the minute), the amount (with the currency code if it is a foreign currency) and the merchant; the code has the form vib: followed by 32 hex characters and does not contain the card number. Like the ACB code, these codes are stored with the transaction and in the backup file, are not shown on screen, are not sent to the AI provider and are not in CSV/Excel exports.
- Foreign currency transactions (emails from any bank that state the amount in USD, EUR or another currency): the app converts the amount to VND on the device using the exchange rate stored in the app. Foreign currency transactions always go to the review queue and are never recorded automatically. You adjust the VND amount to match your statement and then approve; if there is no rate, you enter the amount yourself. The note keeps the original amount, for example "SHOP ABC (9 USD)". If an email only shows "$" or "¥", the app assumes USD or JPY and reminds you to check. Crypto (such as BTC, USDT) is not treated as currency. If the rate for the email's currency is missing, the app only downloads rates when you have turned on and agreed to automatic exchange rate updates; this request is exactly the same as a normal automatic rate update (it sends only your main currency code, not the currency, the amount or the email content; see the section Automatic exchange rate updates). Downloaded rates are saved in the app's exchange rate table, so they are included in the backup file like other rates. If the feature is not on or not agreed to, the app does not go online. For ACB accounts in a foreign currency, the reference code also hashes the currency code and the original amount, still using only the last 4 digits of the account.
- Avoiding duplicates with transactions you recorded yourself: when an email arrives, the app compares it with the transactions on the device (same wallet, same income/expense type, same amount, at most 24 hours apart). If exactly one transaction matches, the app attaches the email's source code and reference code to that transaction, without changing your amount, wallet, category or note; if unsure, the email stays in the review queue for you to choose. So a transaction you recorded yourself that has been linked to an email is treated as a transaction created from an email: its note is not sent to the AI provider and it is filtered like a Gmail transaction when "Transactions from banks" is off. Transactions created from QR transfer scans carry the source label
vietqr for matching as above; this label contains no account number or bank code and exists only in the data on the device and in the backup file, like other source labels. If you also use Direct sync, a verified email for a payment already imported through Direct sync is not recorded again (see the section Direct sync).
- Gmail settings are stored in the app settings (SQLite): the email source list (sender address, name, default wallet, wallet selection rules by the card/account numbers you enter), the table matching masked card numbers to wallets and auto-sync on/off; together with per-device data: the review queue (email subject and a short snippet of at most 200 characters with long digit strings masked: for banks with a dedicated reader, the snippet is only the note read from the email, not the greeting or recipient lines; for other banks, the snippet is the start of the email as the bank wrote it, so it may include your name in the greeting; card/account numbers are kept only in the form the bank masked them in the email or as the last 4 digits, including in ACB, VietBank and Cake emails; the reference code of ACB and VIB emails is the hash described above; for foreign currency transactions, also the currency code, the original amount, the estimated VND amount and the date of the rate used; items from emails whose sender could not be confirmed also carry a mark saying so), the list of skipped emails, the latest sync result (counts only), the sync checkpoint and the connected Gmail address.
- Wallet account/card number: for bank wallets and credit cards, you can enter (or paste) the account/card number; the app stores only the last 4 digits in the wallet information (SQLite) and discards the rest immediately without storing it. These 4 digits are only used on the device to match bank emails to the right wallet: if an email's number matches exactly one wallet, the transaction is recorded in that wallet; if you have set numbers for wallets of the same bank and the email matches no wallet or several wallets, the transaction goes to the review queue with the reason, so you can choose the wallet yourself. The last 4 digits are not sent to the AI provider, are not in CSV/Excel exports, and are not written to logs or notifications. This is wallet data, so it is included in the backup file (locked with a password or with the device key, see the section Backup and data export) and is not deleted by Disconnect or "Delete all Gmail data"; to delete it, clear the number field on the edit wallet screen.
- The app does not write email content, tokens or email addresses to logs and does not create notifications from email content.
Keeping and deleting Gmail data
- Data taken from Gmail is kept on the device only until you delete it. The review queue keeps at most 100 emails, of which at most 20 can be emails whose sender could not be confirmed; approving or skipping an email removes it from the queue.
- "Disconnect": revokes access with Google (best effort, when online), deletes tokens from SecureStore, and deletes the review queue, the list of skipped emails, the latest sync result, the sync checkpoint and the connected Gmail address. Category memory learned from emails (marked "from email") is also deleted; email source settings, wallet rules and recorded transactions are kept.
- "Delete all Gmail data" (Gmail sync screen, Data and privacy section): does everything Disconnect does, and also deletes the email source settings, rules and the table matching card numbers to wallets, the auto-sync setting and the pasted Client ID. This does not delete transactions already recorded in your ledger, because they are your income and expense data; it also deletes the category memory learned from emails (shortened notes with categories, marked "from email"), including in the file
ghi-nho-danh-muc.md. Memory from categories you chose yourself (not from emails) is kept.
- "Imported transactions" (same Data and privacy section): lists the transactions created from emails right on the device, including transactions you recorded yourself that have been linked to an email (see the part on avoiding duplicates); you choose to delete individual transactions or all of them, and "Delete all imported transactions" also deletes these linked self-recorded transactions. Deleted transactions (with their child fee transactions) are moved to Trash, without touching the connection, the source settings or the review queue. Wallet balances change accordingly. In Trash, transactions keep their full content (amount, date, note from the email, source code, reference code) and can be restored within 30 days; after that Trash deletes them permanently, or you can delete them permanently sooner. While a transaction is still in Trash, the corresponding email is not imported again; after Trash is emptied, the next sync may import again any emails still within the sync range if you are still connected to Gmail. You can also delete individual transactions as usual.
- You can revoke Henry Expense's access yourself at any time at https://myaccount.google.com/permissions, especially when the app reports that it could not revoke access because there was no network. After revoking, the app can no longer read emails until you connect again.
- Backup and export files you created earlier are not changed by the actions above (see the section Backup and data export).
Tôm, the AI assistant (optional feature)
- Tôm is the only AI chat in the app (it used to be called the AI assistant). Open it with the floating button on the screen or at More -> Artificial intelligence -> Tôm - Personal assistant. Tôm answers in two ways, depending on your question: (a) questions about how to use the app go through the Henry Expense server, (b) questions about your own income and expense book go through your own AI key. A message you send to record an income or expense entry is read right on your device instead (see the "Tôm records transactions" item below). Turning off "Show Tôm" only hides the Tôm picture and changes nothing about your data.
- (a) Asking how to use the app through the server (optional, off by default: only after you agree in the "Ask Tôm" dialog or turn on "Ask Tôm via the server" in AI settings; turning this switch off, or turning off "Share data", withdraws your consent, and the app removes the turns answered through the server from the open chat). Your device checks each question first: a question that is clearly about your own book (it has an amount, the name of your account or category, or reads like "how much did I spend this month"...) is never sent to the server. An unclear question is sent after amounts, long digit strings and email addresses are masked (as "[amount]" or "[hidden]"). Amounts are masked even when written in words (such as "two hundred dollars") or as a small number right after a money word (such as "spent 35"), together with at most the 2 latest question and answer pairs about using the app (the questions also masked), the app language and a random install code (not linked to any name or account). The check only looks for signs, so it can miss things: other words you type in an unclear question (such as a person's name, or a small number that does not follow a money word, like "bought 2 coffees 45") are still sent as typed. Your income and expense data, the results of the book-reading tools, questions sent with your own key and answers made with your own key are never sent. The question goes to the Henry Expense server (api.henryexpense.com) and then to a third-party AI service provider that writes the answer; this provider processes it abroad and may keep the content for a while under its own policy. The Henry Expense server does not store the conversation and does not write the question, the answer, the IP address or the raw install code to its logs; the IP address and the hashed install code are only temporary counting keys to limit questions per minute; the hashed install code is also used to count the device's questions per day (at most 30 questions per day per device; the count rows delete themselves after at most 4 days); the server also counts the total questions of the whole system per hour and per day, not linked to anyone. If the question is not about using the app, Tôm tells you and the app passes your original question (not masked) to your own AI key (if you set up a key and agreed to share data with that provider). When the limit is reached, the network is down or the server fails, Tôm tells you and does not send the question to your key by itself; you choose. Do not send names, account numbers, passwords or OTP codes. The conversation is kept in memory only while the app runs. The install code and your consent choice are stored per device and are not in the backup file; "Erase app data" deletes both (the app makes a new code after it is opened again).
- (b) Reading your book with your own key: the other items in this section (providers, consent, sharing switches, data sent) are about Tôm reading your book and the other AI features that use your key, unchanged. If you set up an AI key and agreed to share data with that provider but have not agreed to Ask Tôm, an unclear question (including a question about using the app) also goes with your key to that provider, not to the Henry Expense server. AI settings are at More -> Artificial intelligence -> AI settings, where you choose the provider, withdraw consent and delete the API key.
- Tôm records transactions: when the "Tôm records transactions" switch in AI settings (on by default) is on, a message you send to record an income or expense entry (for example "spent 50k on lunch") is read right on your device to make a draft. That message is not sent to the Henry Expense server, is not sent to the AI provider, and is not among the earlier messages sent with later questions. Tôm never saves anything by itself: the transaction is saved only when you tap "Save" (nothing is saved while the app is locked); "Undo" moves the transaction you just saved to the Trash. Drafts are kept in memory only and are lost when you tap "New chat" or close the app. A transaction recorded by Tôm is an ordinary transaction of yours: it is in the backup file, it is labeled manual in export files, and its note may be sent to AI like transactions you add yourself when "Notes and names" is on. This switch sends no data, so turning it on or off never asks for consent; this choice is included in the backup file. When the switch is off, such a message goes only through your own AI key, like a question about your ledger in (b) (if you have no key, the app says a key is needed), and is never sent to the Henry Expense server, even if you agreed to ask Tôm through the server. The "Ask AI to read this" button only shows when Tôm cannot read the amount or whether it is income or expense, and you have set up an AI key, agreed to share data with that provider and turned on "Notes and names". Only when you tap the button does the app send to your AI provider (not through the Henry Expense server): that message (cut to a maximum length, with runs of 8 or more digits such as account, card or phone numbers masked except the last 4; amounts written with thousands separators or a currency unit are kept as written), today's date, the names and internal codes of the accounts and categories you still use (with the account type, currency code and whether each category is income or expense), and fixed instructions from the app; costs are charged to your API key. The app does not send balances, earlier transactions or other notes. The AI can only suggest and cannot save anything; the app checks every field again (the account and category must exist, the amount must be positive, the date cannot be after today) before it shows the draft, and you still have to tap "Save". If you withdraw consent or turn off "Notes and names" while waiting, or the app gets locked, the result is dropped.
- Tôm announces new features: after the app updates, Tôm lists the new features right in the chat, and answers when you ask "what's new?". This list is built into the app, is the same for everyone and has none of your data. It runs on your device: the app sends nothing, and the "what's new?" question is not sent to the Henry Expense server, is not sent to the AI provider, and is not among the earlier messages sent with later questions. The app only records on your device which app version you have seen the news for (per device, not in the backup file). You can turn off the automatic announcement with the "Tôm announces new features" switch in AI settings; this switch sends no data, so turning it on or off never asks for consent, and this choice is included in the backup file.
- By default the app sends nothing to any AI party. You choose the provider and enter your own API key. Available providers: Anthropic (Claude), OpenAI, Google Gemini, OpenAI-compatible (your own server). With the OpenAI-compatible type, data goes to the server whose address you enter.
- Before the first sending to each provider, the app shows the "Share data with AI" consent dialog. This dialog, the "Sharing data with" line in the chat and the status card in AI settings show the real type of the provider that receives the data (such as Anthropic, OpenAI, Google Gemini); for an OpenAI-compatible server they also show the server address. A name you give the provider is only shown after it. The dialog lists, based on your current switches, a "Sent" line (always transactions you add yourself with their amount, date, account and category, and balances; plus notes and names in transactions, or individual transactions from banks, if the matching switch is on, and statement text with numbers masked if you have agreed to "AI bank statement reader") and a "Not sent" line (the items that are off, together with things that are never sent, such as notes of transactions from banks, and account and card numbers stored by the app). If the switches cannot be read yet, the dialog shows a general sentence. Data is sent only after you tap "Agree"; "Later" only closes the dialog, records no consent and sends nothing. You can withdraw consent in AI settings by turning off "Share data". When consent for the provider in use is withdrawn (turning off "Share data", deleting that provider, or changing its type or server address), the app also turns off "Notes and names", "Transactions from banks", "Send remembered examples" and "AI bank statement reader" (to use them again you must turn them on and agree again; when you switch to a provider you have not agreed to, the app also turns off these four switches), and withdraws the AI price lookup consent for both types: the app turns off the "Stocks", "Crypto" and "Look up every day" switches and deletes the prices waiting for your OK (for assets and for the Currency converter reference section); to look up prices again you must turn them on and agree again (see the section AI price lookup for stocks and crypto).
- General rule of AI settings: each switch that lets data leave the device is a permission you give. Turning it on allows it; for "Share data", "Notes and names", "Transactions from banks", "Send remembered examples", "AI bank statement reader" and each price lookup type, the app asks for your consent each time you turn it on, including turning it back on. "Notes and names" and "Transactions from banks" can only be turned on after you agree to "Share data". Turning a switch off withdraws the permission right away, without asking again (only "Share data" first asks you to confirm "Stop sharing"): the app stops sending that data and deletes related data still waiting (the open chat when you turn off "Share data", "Notes and names" or "Transactions from banks"; the prices waiting for your OK when you turn off a price lookup type; the statement text being held and the reading in progress when you turn off "AI bank statement reader"). These switches, when on, can still be turned off while "Turn on AI" is off.
- When you update to the version with combined switches, the app converts your settings once and only toward off: "Notes and names" stays on only if you had both "Transaction notes" and "Names in transactions" on; "Transactions from banks" stays on only if you had both "Synced transactions" and "Statement transactions" on; if "Notes and names" ends up off, "Send remembered examples" turns off too. The app never turns on any extra kind of data by itself.
- Since the update of 28/11/2026, "Notes and names" is off by default (before, this switch was on as soon as you agreed to "Share data"). If you already used the app and had agreed to share data with an AI provider in an older version, and never changed this switch yourself, the app saves your current "on" choice once when it updates, so your sharing stays as before; you can turn it off at any time. If you had not agreed to share data, the switch is off.
- When you ask a question, the app sends your question and the data that Tôm's read tools retrieve to answer it (balances, transactions, summaries, budgets, personal debts, savings books, savings goals, instalments, credit cards, recurring transactions and spending plans). Fixed instructions from the app are sent along: today's date, the main currency code, the dates of "this month" and "this week" under your period settings, and the reply language (the language you chose). When the question is not clearly about your book, the instructions also include an overview of the app's features and how to use them (fixed text, the same for everyone, with none of your data). Tôm only reads; it does not change or delete your data. Transactions imported from Gmail, Direct sync or bank statements have special rules (see below).
- The "Insights" section on Overview detects unusual patterns (category spikes, large expenses, duplicates, recurring payments, budgets) entirely on the device and sends nothing. Only when you tap "Write a summary with AI" does the app send the summarized signals to the AI provider you chose, after you have agreed; the app does not send in the background. The content sent includes category names, budget names, and the amount and percentage of each signal (no raw transaction list); notes and people's names follow your sharing settings. When "Transactions from banks" is off, the large expense, duplicate and recurring payment signals related to transactions created from emails, imported through Direct sync or imported from statements are not sent (they still show on the device). When these signals are sent, the note of Gmail, Direct sync or statement transactions is always left out. Category and budget signals are totals, so they still include those transactions. The AI summary is stored on the device for reuse, tied to the provider that wrote it and to the exact data sent: changing the provider, turning off AI, changing the language or changing sharing settings in a way that changes the data sent means the old summary is no longer shown, and when you turn on "Hide balances", its content is not displayed. Neither the summary nor the Week/Month choice of Insights is included in the backup file.
- Transaction notes and people's names (borrowers, recipients, bill-splitting members...) share one switch, "Notes and names", in AI settings, group "Data". This switch is off by default, even when you first agree to "Share data": the consent dialog lists them in the "Not sent" line and reminds you that you can turn this on later in AI settings, under Data. To let AI read notes and names, you turn this switch on yourself (the app asks for consent each time you turn it on). While this switch is off, "Suggest categories" and Tôm's "Ask AI to read this" button send nothing. Notes are sent as written (cut to at most 200 characters) and the app does not mask numbers in them, so do not put card numbers or passwords in notes. When off, those fields are replaced with "[ẩn]" (Vietnamese for "hidden") before sending.
- Assets: in chats, Tôm does not read the asset list, purchases, sales, valuations, asset notes or extended net worth. Only the AI stock price lookup feature (if you turn it on) sends the tickers of the assets with "Update price automatically" on, together with today's date, to the AI provider and its web search tool, without quantities or asset names (see the section AI price lookup for stocks and crypto). Asset purchase/sale transactions, however, are ordinary wallet transactions (in the categories for buying and selling assets, with a default note made of a short Vietnamese word for buying or selling followed by the asset name, for example "Mua: <asset name>"), so Tôm may receive their amount, date, wallet, category and that note (that is, the asset name) like other transactions; if note sharing is off, the note is replaced with "[ẩn]". These transactions are excluded from reports by default, so they are not in Insights.
- AI bank statement reader: only when you tap "Read with AI" on the Import bank statement screen and have agreed to "AI bank statement reader" does the app send the text of that statement file (date, amount, balance and description of each row), after removing customer information lines and masking account numbers, card numbers, phone numbers, emails and long runs of digits, together with fixed instructions from the app. This is a separate permission that does not depend on "Notes and names" or "Transactions from banks"; the app does not send it in the background, and Tôm (book reading) does not read this text. For details, see the section Bank statement import.
- Transactions created from Gmail emails, imported through Direct sync or imported from bank statements: the note (taken from the email content, the transfer description or the description column of the statement) is never included in data sent to AI, even if you turn on note sharing, and Tôm's search does not match against that note. The "Transactions from banks" switch in AI settings (group "Data"), off by default, decides whether Tôm receives these individual transactions; it covers all three sources (Gmail, Direct sync, statements) and is shown in every install. When the switch is off, Tôm does not receive the individual transactions from these three sources (they are not in lists or search results), only totals that include them; if a day or a category has only one transaction, that total equals the amount of that transaction. When on (the app asks for your consent each time you turn it on), the amount, date, wallet and category of each transaction are sent like other transactions, still without the note; the person and the trip or event you added yourself (including when you edit an item before recording it from "To review") are sent if "Notes and names" is on. Turning off "Share data" turns this switch off too. The switch is stored per device and is not included in the backup file. Transactions imported from a CSV/Excel file, including rows labeled Gmail or Direct sync, are treated as transactions you recorded yourself: their notes may be sent if you turn on "Notes and names", and the "Transactions from banks" switch does not apply to them; rows labeled Bank statement have their notes kept private like transactions imported from a statement and follow the "Transactions from banks" switch. If you tap "Save as template" on a Gmail, Direct sync or bank statement transaction, the template does not copy that transaction's note, so the note does not reach AI through transactions you record from the template either. For details see the section Google data: Limited Use.
- AI category sorting: the app always suggests categories on the device first (your remembered choices, then keywords). Only when neither can guess, the note is not too generic (for example a note of just "chuyen tien" is not asked about) and the item is not from Gmail, Direct sync or a bank statement does the app let you ask AI. The "Suggest categories" switch (group "Categorizing transactions" of AI settings) is off by default. When on, the app only asks AI when you tap "Ask AI" (on the entry form or on the Sort transactions screen; the note sent may be text the app pre-filled from a receipt or QR code), never while you type and never in the background. The app also only asks when AI is turned on, a provider is chosen, there is an API key, you have agreed and "Notes and names" is on; with this switch off, nothing is sent. Each tap asks about at most 200 items, in at most 7 calls (at most 30 items per call; identical notes are sent only once); costs are charged to your API key.
- Content sent when sorting: the type (income or expense), the list of category names of that type (excluding "Other" and system categories; names are sent as they are) and the notes of the items that need suggestions, each note cut to at most 120 characters. Before sending, the app replaces email addresses, web links and strings of 6 or more digits (such as account numbers, phone numbers, transaction IDs) with "[ẩn]"; shorter numbers you typed in the note (for example amounts) are still sent. Because sorting only runs when "Notes and names" is on, people's names inside a note are sent like the rest of the note; the person's name recorded on the transaction is not sent separately. The app does not send amounts, dates, wallets, balances, transaction IDs or any identifiers.
- Remembered examples: the "Send remembered examples" switch sits under "Suggest categories" (shown only when that switch is on), is off by default and can only be turned on while "Notes and names" is on. When on, the app also sends up to 20 of your own memory rows that share words with the notes being asked about (shortened notes of earlier transactions, with the category names you chose; each row is cleaned again before sending) so AI can guess more accurately. Memory rows learned from Gmail emails or bank statements are never sent. Turn off this switch to stop sending examples; turning off "Notes and names" or "Suggest categories" also turns this switch off. The app does not send the whole memory file.
- AI results are only suggestions: the app only accepts names that are exactly in the category list sent (other names are dropped), and you review them before saving. "Help with categorizing" (in AI settings) is off by default and only takes effect on the Sort transactions screen; when on, after you tap "Ask AI" the app immediately saves the AI suggestions that are very sure without waiting for your review. These automatically applied suggestions are NOT remembered: the app only remembers when you yourself choose or tick and then tap "Apply". The "Undo" button restores the transactions' previous categories and also reverts the memory rows just changed in that round (deleting newly created rows and restoring old ones). The app tells the model to treat notes as data, not as instructions.
- AI suggestions received are cached on the device (shortened notes and category names, at most 500 items) so the same note is not asked about again. This cache is per device, is not included in the backup file, and is deleted when you withdraw consent for the current provider, delete or change the provider or model (including when the app picks a new model version itself), tap "Clear category memory" or erase app data. The app does not log the notes sent or the AI's answers. The switches "Suggest categories", "Help with categorizing" and "Send remembered examples" are stored per device and are not included in the backup file.
- Model: with Anthropic, OpenAI and Google Gemini, you only choose a level ("Strongest", "Balanced" or "Fast and cheap"), and the app picks the newest version for that level from the model list the provider returns; with the OpenAI-compatible type, you enter the model name yourself. To read this list, the app sends one read request (it may retry if the network fails) to the model list address of that same provider, with only the API key (and the Workspace ID if you enter one, for Anthropic); the request contains no question and no income and expense data and does not use a model, so it adds no AI usage fees. The app reads the list at three moments: when you tap "Save and test" (for the provider you are editing); once a day when you open or return to the app, only for the provider in use and only when AI is turned on, that provider is turned on, there is an API key, you have agreed to share data with that provider, a level is chosen and the list has not been read yet today (on errors the app shows nothing, keeps the old version and tries again the next time you open it); and right before something is sent to AI if no version has been picked for the level yet. When the version changes, the next use takes the new one; the app does not notify you and does not clear the chat. The date of the last read is stored per device and is not included in the backup file.
- The "Save and test" button only saves the settings and then reads the model list as above to check the connection and pick the version (or to check that the model name you entered is in the list); it does not send a real question and sends no income and expense data. If you change the provider type or the server address of a saved provider, you must enter the API key again (or delete the key) and agree again before any data is sent; the old API key is not sent to the new address. Changing the name, model or Workspace ID keeps the key.
- Data sent is processed by the provider you choose under its own policy. Henry Expense has no intermediary server and cannot see that content.
- API keys are stored in SecureStore (Keychain), not in the database and not in the backup file.
- Chats are only kept in memory while the app is running. Earlier answers in the open chat are sent again with the next question, so when you turn off "Share data" or a sharing switch (notes, names, synced transactions, statement transactions), the app clears the open chat so that data read earlier is not sent again. You can also tap "New chat" at any time.
Talk to Tôm (microphone, speech recognition)
- In the Tôm chat, you can tap the mic button and speak instead of typing. The mic button only shows when your iPhone can recognize the app language (Tiếng Việt or English) right on the device. If the device cannot do this, the app hides the mic button and does not switch to recognition through Apple's servers.
- Permissions: the first time you tap the mic, iOS asks for microphone permission and speech recognition permission. The app only uses the microphone while it is listening: from when you tap the mic until you tap "Stop" or "Cancel", stop speaking, or 30 seconds pass. You can turn off these two permissions in the iPhone Settings app, under Henry Expense. If you decline, only the mic button stops working; the rest of the app works as usual.
- Processed on your device: what you say is turned into text by the built-in iOS speech recognizer right on your iPhone. The app does not send the audio or the recognized text to Henry Expense, an AI provider or any other service. The app does not keep the audio, does not write the recognized text to logs, and does not send any usage statistics signal about your use of the mic.
- The recognized text only goes into the input box. Tôm does not send it on its own: you check it, edit it and tap Send yourself. When you tap Send, the sentence is handled exactly like a sentence you type (see the section Tôm): a sentence to record income or an expense is read right on your device and only becomes a draft, and nothing is saved until you tap "Save"; other questions go through way (a) or (b) of the section Tôm. Tapping "Cancel" drops the text being heard and keeps nothing.
- The app stops listening and drops the text being heard when the app is locked or covered, when you leave the app, or when you leave the Tôm chat.
- This feature has no switch of its own, adds no setting and puts nothing in the backup file.
Sending a sample email to the developer
- In the Guide, topic Gmail sync, some installations have a "Send a sample email to the developer" button so you can send a sample notification email from a bank that is not yet supported. The button only exists when the installation is configured with the developer's receiving address; without an address there is no button.
- You fill in the form yourself: bank name, the bank's sender address, the subject and body of the sample email, and a note. The form does not take anything from the Gmail connection, the review queue or the ledger; its content is whatever you type or paste, and may contain information from your bank emails. Besides what you enter, the app only adds the app version and the operating system (for example ios 18). The app does not attach transactions, balances, wallets, Gmail tokens, API keys or the connected Gmail address.
- Before composing the email, the app automatically masks every continuous string of 8 or more digits in the subject, body and note, keeping only the last 4 digits. The app also masks groups of digits separated by spaces, dots or hyphens when they total 12 or more digits (for example 1234 5678 9012), also keeping only the last 4 digits. This cannot hide shorter numbers (such as OTP codes, phone numbers in groups totalling fewer than 12 digits, amounts, balances), digits of other scripts (for example Arabic-Indic digits), full names, addresses or transfer descriptions. The bank name and sender address are kept as they are. So please delete full names, account/card numbers, balances, OTP codes and addresses yourself before sending. Content that is too long is shortened (the app tells you) so the Mail app can open it.
- Tap "Review" to see the email exactly as it will be: the receiving address, the subject and the masked body. Only when you tap "Open Mail app" does the app open the device's Mail app with the email already composed; you can still edit it and you tap send yourself in Mail. The app does not send by itself, does not send in the background and does not send through any Henry Expense server.
- The email is sent from the email account in your Mail app, so the developer will see the email address (and display name, if any) you send from, together with the email content. The email passes through your email provider and the developer's like any other email, and the sent copy stays in your Sent folder. The developer only uses sample emails to add or fix how that bank's emails are read; you can reply to the same email to ask for deletion.
- The review step always has a "Share content" button: long emails are cut when opened in Mail (mail links have a length limit), so this button passes the full (masked) version to the app you choose in the operating system's share sheet; that app processes it under its own policy. If the device cannot open the Mail app, the app also shows the receiving address so you can send the email yourself.
- The form content exists only in memory while the form is open and is lost when you close the form; the app does not store it, log it or include it in the backup file.
Bank support request
- On the Bank sync screen, banks or channels that are not supported yet show "In development". When you tap one, the app opens a preview of a bank support request email. At this point the app has not sent anything.
- The app writes the whole email. It only has the bank's short name and code, the channel you want ("Via Gmail" or "Direct") and the app version. It has no income and expense data, balances, wallets, connected Gmail address or any text you type.
- The preview shows the receiving address, subject and message. The receiving address belongs to the developer: the sample email receiving address if your installation is configured with one, otherwise the address in the Contact section.
- Only when you tap "Open Mail app" does the app open your device's Mail app (or the default email app you chose) with the email ready. You can still edit it, and you tap send yourself. The app does not send it by itself, does not send in the background and does not send through any Henry Expense server.
- If your device cannot open the Mail app, the app shows the receiving address so you can send the email yourself, plus a "Share message" button. This button only passes the subject and message to the app you choose in the system share sheet; that app handles it under its own policy.
- The email is sent from the email account in your Mail app, so the developer will see the email address (and display name, if any) you send from. The developer only uses these emails to decide which banks to support first; you can reply to the same email to ask for it to be deleted.
- The app does not store or log this request and does not put it in backup files.
Asking how you like the app
- Now and then, right after you add a transaction or tap sync on Overview and new transactions arrive, the Overview screen may ask how you like Henry Expense. The app only asks once you have used it for at least 7 days and have at least 20 transactions; the app counts this on your device and does not send these numbers anywhere. Two questions are at least 30 days apart (if you chose "Maybe later"), or 90 days if you chose "Yes, I like it" or "Not quite happy". The question does not appear while the app is locked. You do not have to answer, and no gift or feature is given in return for an answer.
- To know when it may ask, the app only stores four timestamps on your device: the start date (the first time you open Overview in a version with this feature), the last time it asked, your choice that time, and the last time the app opened Apple's rating prompt. They are part of the per-device settings, are not in the backup file, are not overwritten by a restore, and are erased when you choose "Erase app data". The app does not send them to the developer or anyone else.
- If you choose "Yes, I like it": the app opens the App Store rating prompt shown by iOS. Your star rating and any review you write are received and handled by Apple under Apple's policy; the app does not see them, does not know whether you rated it, and sends nothing along with them. iOS may not show the prompt even when the app asks (for example in TestFlight test builds).
- If you choose "Not quite happy": the app opens a feedback sheet. You pick reasons (Hard to use, Missing features, Found a bug, Bank sync, Slow, Other) and may add more details. At this point the app has not sent anything.
- Only when you tap "Write feedback" does the app open your device's Mail app (or the default email app you chose) with an email to the developer ready: the sample email receiving address if your installation is configured with one, otherwise the address in the Contact section. The email only has the reasons you picked, the text you wrote and the app version; it has no income and expense data, balances, wallets, operating system or connected Gmail address. The app keeps your text as written and does not mask numbers, so do not include account numbers, card numbers or OTP codes. Text that is too long is shortened to fit the email; before opening Mail, the app tells you and shows a "Share" button to send the full text; a shortened email ends with a "shortened" note. You review all of it, can edit it, and tap send yourself in Mail. The app does not send it by itself, does not send in the background and does not send through any Henry Expense server.
- If your device cannot open the Mail app, the app shows the receiving address so you can send the email yourself, plus a "Share" button (this button also appears when the email was shortened). This button only passes the subject and message to the app you choose in the system share sheet; that app handles it under its own policy.
- The email is sent from the email account in your Mail app, so the developer will see the email address (and display name, if any) you send from. The developer only uses feedback to fix problems and improve the app; you can reply to the same email to ask for it to be deleted. The reasons and text you write exist only in memory while the feedback sheet is open; the app does not store or log them and does not put them in backup files.
In-app purchases
- The app sells some paid items: one-time purchases, and a subscription for Direct sync in versions that have this feature. You buy them with Apple's In-App Purchase. Apple handles the payment under Apple's terms; the app does not see your card, Apple ID or email. Prices shown in the app come from the App Store for your App Store country.
- To know which items you bought, the app asks the App Store on your device (through iOS, between your iPhone and Apple): when you open the app, when you return to the app (at most once a minute), when you tap "Restore purchases", and when there is a new transaction (for example you bought on another iPhone with the same Apple ID, a parent approved a purchase through Ask to Buy, or you redeemed a promo code). The app only accepts transactions whose signature Apple has verified; if Apple refunds an item, the app removes access to it.
- The list of items you bought is kept only in memory while the app is running. The app does not store receipts, transaction IDs or purchase proofs in the database, the Keychain, backup files or logs, and does not send them to the developer (anonymous statistics, when on, only contain the item name and the purchase result, see the section Anonymous usage statistics). The only exception: the Direct sync subscription purchase proof is sent to the Henry Expense server when you use that feature (see the section Direct sync).
- The app reads the date you first downloaded the app from the App Store (signed by Apple) to check offers for earlier users (see the line First-use record of features in the section Data stored on your device). While the app cannot get this date yet (for example it cannot reach the App Store), it may let you keep using a feature you used before for the time being, and checks once it gets the date. This date is used only on your device; the app does not store it or send it anywhere.
- Promo codes: the app opens Apple's code entry box (if that fails, it opens the App Store code redemption page). You type the code in Apple's box, so the app does not see the code. Managing or cancelling a subscription: the app opens Apple's subscription management page. Refunds are handled by Apple when you ask for one.
- Apple gives the developer aggregated sales reports (for example the number of purchases by item, country and date), without the buyer's name, email or Apple ID.
- Hotline: after you buy the item "Hotline support and feedback", the app shows the hotline number with buttons to call, message on Zalo and copy the number. Before you buy, the number is not shown in the app. Calling opens the Phone app; messaging on Zalo opens the Zalo app or the Zalo website in your browser; the app does not attach any data. The copy button only puts the hotline number on the device clipboard when you tap it. Calls and messages happen outside the app: your carrier and Zalo (a third-party service, under its own policy) handle them, and the developer sees your phone number or Zalo account and what you say, and uses it only to help you. To have this information deleted, email the address in the section Contact.
Direct sync (optional feature, needs a subscription)
- Direct sync gets transactions automatically from the bank accounts you link, through our bank-connection partner. The partner is another company that processes data for Henry Expense under an agreement between the two (Henry Expense decides the purpose; the partner is the data processor). The feature is the "Direct sync" row at the top of the Bank sync screen and is not linked by default. You do not need an account with the partner. The app sends nothing until you link a bank yourself.
- Subscription: you buy the Direct sync subscription with Apple's In-App Purchase. Apple handles the payment; the app and the Henry Expense server do not see your card, Apple ID or email.
- The Henry Expense server: the app does not call the partner directly; it goes through a small Henry Expense server at api.henryexpense.com (HTTPS). The Henry Expense key for the partner is only on the server, never in the app. Each request from the app includes the app version and the subscription purchase proof signed by Apple. This proof contains the purchase transaction ID, the product ID, the purchase date, the expiry date, the App Store country, the price, the currency and a few other Apple technical fields; it has no name, email or Apple ID. The proof is in the request body (not in the address) and is only sent to the server's fixed address; the app does not store it and asks the App Store on the device for it again each time.
- The server checks Apple's signature to know that the subscription is active and has not been refunded; when configured, the server also asks Apple for the subscription status (sending only the original purchase transaction ID). From the purchase proof, the server creates a customer code with a keyed hash (it cannot be reversed to the purchase ID or Apple ID) and sends only this code to the partner. The partner does not receive your name, email or Apple ID from Henry Expense. All iPhones that use the same Apple ID have the same customer code, so they see the same linked accounts.
- Linking: the first time, the app shows the "Before you link" box; you tick "I have read and agree" and tap "Continue". When you tap "Link a bank", the app asks the server to create a link session and opens the link page in a separate iOS sign-in window. This window does not share cookies or browsing data with Safari and keeps nothing after it closes. A Henry Expense server page opens the partner page; you choose your bank and enter your bank sign-in details and verification code (OTP) directly on the partner page. Henry Expense (neither the app nor the server) does not see these details. The partner page may show the partner's name and terms. When the page closes, the app comes back and asks the server for the result.
- The partner keeps the link to your bank and receives the transactions of the accounts you link, under Henry Expense's partner account. The partner stores the information needed to keep the link (depending on the bank), the transaction data and a log of each time it sends transactions to the Henry Expense server, under its data processing agreement with Henry Expense and as the law requires. Each subscription can link at most 3 accounts (test purchases, for example through TestFlight, only 1 account).
- Receiving transactions: after you link, the server registers with the partner a separate receiving address for each account. When the account has a new transaction, the partner sends it to that address. The app only receives transactions made after you link; older ones do not come in; missed transactions from the day you linked onward can be fetched again with "Sync by date" (see the line Sync by date). The server checks the secret code of the receiving address, drops items that do not belong to the linked account, and then holds a reduced copy (see the next line). When you tap "Sync now" on the Direct sync screen or tap the sync icon at the top of Overview, and when you open the app if "Auto sync" is on (on by default; at most once every 15 minutes), the app sends the purchase proof to the server, receives the waiting transactions of that customer code only (at most 500 at a time), records them on the device (except transactions of paused banks, see the line Pausing a bank) and then tells the server they were received so the server deletes them. The app never receives the full account number. iPhones that use the same Apple ID share one queue: transactions go to whichever iPhone fetches them first.
- What the server holds: for each new transaction, the server only keeps the date and time, the amount, income or expense, the transfer description (control characters removed, runs of 8 or more digits masked so only the last 4 digits stay, at most 1,000 characters), the bank name, the partner's transaction ID and the last 4 digits of your account. As soon as it receives a transaction and before storing it, the server removes the full account number, the bank's transaction ID, the payment code, the checksum, the sender's name, account number and bank, and other details. The description written by the bank may contain the sender's name; the server cannot filter names out of the text. The reduced copy is encrypted with AES-256-GCM using a separate key for each customer before it is written to the server's database; the root key is only in the server's secret store. This is encryption on the server, not end-to-end encryption: the server decrypts transactions itself to give them to the app, so technically the server can read the content. The developer commits not to open the queue; this is a commitment about how the server is run, not a technical limit. The server deletes a transaction as soon as the app reports it was received, when you unlink that account, or after 7 days if the app has not received it (the app then shows how many transactions were lost). Each customer can have at most 3,000 waiting transactions; transactions over this limit are dropped and counted as lost. After the app has received a transaction, the server only keeps a keyed hash of its transaction ID (with no content) for 8 days so it does not take the same transaction twice.
- Sync by date: on the Direct sync screen, you can tap "Sync by date", pick a date range (up to 31 days, within the last 90 days) and tap "Fetch transactions". The app only does this when you tap. The app sends the purchase proof and the date range to the server; the app does not send account numbers. The server asks the partner for the list of linked accounts of that customer code only and keeps only accounts that match the link information the server stored for that same customer code (see the line Link information on the server); accounts whose bank is not known are not fetched. For each account, the server only asks from the day you linked that account onward (the day in Vietnam time), sending only one of your account numbers each time. The server drops every item that does not match the account number, the bank or the date range, reduces it as in the line What the server holds, and returns it straight to the app in the same request. The server does not write these transactions to its database or queue; its log does not record the date range, account numbers or transactions. The app handles them like a sync: transactions already in the app, skipped or in the Trash are not recorded again, and the rest are recorded automatically or go to "To review" as in the line Stored on the device (except paused banks, see the line Pausing a bank). The feature needs an active subscription and has a limit on how many times it can be used per minute.
- Link information on the server: for each linked account, the server stores the customer code made with a keyed hash, the bank code, the last 4 digits, a keyed hash of the account number (to check that transactions belong to the right account; it cannot be reversed to the number), the IDs of the account and of the receiving address at the partner, a hash of the receiving address's secret code and timestamps; the server also records the last time the app used a valid subscription and the number of lost transactions. The server does not store the full account number, the purchase proof or the customer code in readable form. This information is deleted when you unlink. If you do not unlink, the server's daily cleanup removes the receiving address at the partner, deletes the waiting transactions (counted as lost) and deletes the link information once more than 8 days have passed since the app, on any iPhone that uses the same Apple ID, last contacted the server with an active subscription; the cleanup runs once a day, so it may happen up to one day later. The customer code made with a keyed hash, the last time a valid subscription was used and the number of lost transactions are kept longer, at most 30 days from that time, so the app can tell you how many transactions were lost when you come back; if no transactions were lost, they are deleted in the same cleanup. The server log only records the request type, the result code and the handling time; it does not record IP addresses, purchase proofs, customer codes, receiving addresses, account numbers or transactions. Technically, the Henry Expense key for the partner works for every account linked under Henry Expense's partner account; the server only uses the key to create link sessions and read accounts for the customer code of a request with a valid purchase proof, and to create or remove receiving addresses and ask the partner to resend failed deliveries. For Sync by date, the server also uses a transaction read key of Henry Expense's partner account; this key is also only in the server's secret store and technically can read the transactions of every account linked under Henry Expense's partner account. The server only uses this key when you tap "Fetch transactions", and only for the linked accounts of the customer code of a request with a valid purchase proof.
- The server runs on Cloudflare (Cloudflare Workers and the Cloudflare D1 database; Cloudflare is a US company). As with any network connection, Cloudflare sees your device's IP address and handles the request on its infrastructure, which may be outside Vietnam. The server's database is placed in the Asia-Pacific region, outside Vietnam; so the transactions and link information described above are transferred abroad to be processed and held briefly. Cloudflare keeps its own recovery copies of the database for about 30 days: during that time, deleted transactions may still be in a recovery copy, still encrypted. Cloudflare's detailed per-request logs are turned off; Cloudflare may still keep account-level statistics (such as request counts and result codes) under Cloudflare's own policy.
- Stored on the device: the app only keeps the amount, income or expense, date and time, the partner's transaction ID, the bank name, the last 4 digits of your account and the transfer description as the note. In the note, runs of 8 or more digits are masked (only the last 4 digits stay) and the note is cut to at most 200 characters; the description written by the bank may contain the sender's name, and the app cannot filter names out of the text. The app checks every field it receives and drops invalid items. Transactions are recorded in the ledger like other transactions (label "From Direct sync") and are in the backup file. The app only records automatically when exactly one VND wallet has matching last 4 digits (of the same bank, if the app recognizes the bank); otherwise the transaction waits in "To review" for you to choose, and the app never records it into the default wallet. Payments you already recorded yourself or imported from Gmail are linked or merged instead of recorded twice; a transaction you recorded yourself that has been linked to this channel is treated as a Direct sync transaction. The linked account list (the partner's ID, bank, last 4 digits), the pending link session, the review queue (at most 100 items), the skipped list, the merged list (which also has reference codes of matching Gmail emails), the accounts seen, the list of paused banks, the sync time and the latest result are stored per device, are not in the backup file and are not overwritten by a restore.
- The notes of Direct sync transactions are never sent to the AI provider; individual transactions only reach AI when you turn on "Transactions from banks" (see the section Tôm). The review queue never reaches AI. Category suggestions for these transactions run only on the device.
- Pausing a bank: while the subscription is active, each linked bank has a switch in its "Direct" box on the Bank sync screen. Turning it off pauses that bank on this iPhone: the link stays, but the app does not record that bank's transactions and does not put them in "To review". Pausing does NOT stop the partner from getting transactions and sending them to the Henry Expense server: the server still receives and holds them as described above (encrypted on the server, at most 7 days). When syncing, the app still receives these transactions, tells the server they were received so the server deletes them, and then discards them. While this happens, the transfer description and the last 4 digits of the account of a discarded transaction only pass through the app's memory; they are not stored and not written to logs. Discarded transactions are gone from the queue, also for another iPhone that uses the same Apple ID (these iPhones share one queue). The app decides by when it receives a transaction, not by the transaction time, so a transaction made before you paused that the app has not fetched yet is also discarded. When you turn the switch back on, the app records the transactions it receives from then on; to get discarded transactions back, use "Sync by date" (see the line Sync by date; while a bank is paused, "Sync by date" does not record that bank's transactions either). The pause choice (a list of bank codes) is stored only on this iPhone, is not sent anywhere and is not in the backup file or exports. It is deleted when you unlink all accounts of that bank on this iPhone (if you link it again on this iPhone, that bank starts switched on), when you tap "Stop on this device" or "Erase app data"; it is kept when the subscription ends. If the bank is unlinked elsewhere (another iPhone, or the bank ends the link) and then linked again, this iPhone still remembers the old pause; check the switch on the Bank sync screen. To make the partner stop getting transactions and the server stop receiving them, unlink the bank.
- Unlinking and stopping: "Unlink" on each account opens the partner page for you to confirm; after unlinking, the partner stops getting new transactions for that account, and the server removes the receiving address and deletes the waiting transactions of that account. For many banks, unlinking only turns off the link on the partner's side; to be sure, change your online banking password or remove the access in your banking app. "Stop on this device" (in the "Data and privacy" group, with a confirmation) deletes this channel's data on this device and keeps imported transactions, but does not remove the link at the partner: the server still receives and holds new transactions (each for at most 7 days) until you unlink, or until more than 8 days have passed without any iPhone that uses the same Apple ID contacting the server with an active subscription (see the line Link information on the server). "Stop on this device" does not tell the server anything. If another iPhone that uses the same Apple ID still syncs, the server keeps holding new transactions and they go to that iPhone. To delete imported transactions, open "Imported transactions" and select transactions to move to Trash (transactions in Trash are not imported again).
- When the subscription ends: when the subscription expires or Apple refunds it, the server no longer gives transactions to the app (including "Sync by date"); transactions already received can still be viewed, edited, deleted and exported. Waiting transactions are deleted after 7 days. The server's daily cleanup removes the receiving addresses and deletes the link information once more than 8 days have passed since the app last contacted the server with an active subscription (see the line Link information on the server); the server may do this sooner once it has confirmed that the subscription is no longer active. The link at the partner is not removed automatically when the subscription expires; you can still tap "Unlink" after it expires. If you cannot unlink in the app, email the address in the section Contact (with the bank name and the last 4 digits of the account), and the developer will ask the partner to remove it.
Uploading sample emails on the website
- The Bank sync page on henryexpense.com has an ".eml file upload" box so you can send notification emails from banks that are not yet supported. This box exists only on the website, not in the app. The app never uploads files or emails here by itself, including emails the app reads through the Gmail connection. The file you upload is an email you take from your own mailbox yourself. The file is sent only when you choose a file, check the consent box and tap the send button yourself.
- Data sent: the bank name, the .eml file (at most 7 MB) and a note you enter. An .eml file is the email word for word: your email address and display name, the subject, the time, technical information in the email header and the whole body (which may include full names, account/card numbers, amounts, balances and transfer descriptions). The website sends the whole file, without masking or changing anything in it. If you do not want to send it word for word, send the sample by email instead (see the section Sending a sample email to the developer) and delete personal information yourself before sending.
- Where it is stored: the file and form content are stored at Netlify, a US company that hosts the website, on Netlify's servers outside Vietnam, and are processed under Netlify's own policy. For each submission, Netlify also records the IP address, browser type, the page the form was sent from and the time it was sent. Netlify may use a spam filtering service (Akismet) to check the text of the form.
- Who sees it: the developer views the files by signing in to the site's Netlify account. Apart from Netlify as the place of storage, the developer lets no one else see them. The developer only uses the files to add or fix how the app reads that bank's emails, and does not sell or share the files with other parties.
- Before putting a sample email into the source code, using it for testing or giving it to programming tools (including AI-based tools), the developer replaces full names, email addresses, account/card numbers, amounts, balances, transaction IDs and transfer descriptions with fake values. Samples replaced in this way may be kept long term in the source code.
- Retention: the developer deletes the submission (file and form content) from Netlify, along with every copy (downloaded copies, Netlify notification emails if any), as soon as the reading of that bank's emails has been updated. At the latest, it is deleted 90 days after it was received, even if the update could not be made. Netlify does not delete automatically; deletion is done by the developer. After deletion, Netlify may still keep internal backups for some time under its own policy.
- Asking for earlier deletion: send an email to the address in the Contact section, stating the bank name, the upload date and the email address that received that email, so the developer can find the right file. The developer deletes it everywhere listed above and replies once deletion is complete, at the latest 30 days after receiving the request.
Bank statement import
- Where to find it: More -> Import bank statement, the button of the same name on the Import / export data screen, or "Import statement" in the menu of a bank account, credit card or e-wallet. You pick the account, then pick a statement file downloaded from your bank: Excel (.xlsx), CSV or text, an .xls file that is really a web page, or a PDF with text (at most 25 MB; PDFs at most 300 pages). This feature is free; only the optional "Read with AI" button is a paid item.
- Processed only on your device by default: the app reads the file, detects the columns, compares it with existing transactions and suggests categories right on your iPhone. The app does not send the file or any of its content anywhere, does not use the network and does not use AI for this (category suggestions only use your remembered choices and keywords on the device), unless you tap "Read with AI" yourself (see the Read with AI lines below). PDF files are read with the PDFKit library built into iOS, through a small part written for the app; this part writes no files, keeps no logs and does not connect to the network. The web preview does not read PDFs.
- Read with AI (optional): when the app reads only a few rows or finds no transaction table in the file, and AI is ready (turned on, with an API key, and you agreed to "Share data"), the import screen shows a "Read with AI" button. This is a paid item; before you buy it, the button only opens its page in the Store and sends nothing. The app only sends when you tap the button and have agreed separately to this use: the first time, the app shows the "AI bank statement reader" dialog, which states the provider that receives the data, what is sent and what is not. You turn this consent on or off with the "AI bank statement reader" switch in More -> Artificial intelligence -> AI settings (in the "Data" group, off by default; the app asks again each time you turn it back on). The data goes straight to the AI provider you chose, using your own API key (the cost is charged to that key), without passing through any Henry Expense server; the provider handles it under its own policy.
- What Read with AI sends: only the text the app takes from the file (for a PDF, the text lines on the pages; for Excel, CSV or a web page, the cells of each row), split into at most about 60 parts (a part that gets cut off is split and sent again) and sent one after another. Before sending, the app removes customer information lines (name, address, phone number, email, ID numbers, customer code, credit limit...), keeps only the statement period, balance and column header lines at the top of the file, then replaces account numbers, card numbers (including the last 4 digits), phone numbers, emails and other runs of 8 or more digits with random placeholders such as [SKQXT] (a different placeholder for each place). In the amount and balance columns of a table (Excel, CSV, web page), an amount written as 8 or more digits in a row is kept so the AI reads it correctly; from 9 digits it is kept only when it is a whole number of thousands. Numbers that look like a phone or card number, numbers that start with 0 and numbers longer than 12 digits are still replaced. For a PDF, or a table where the app does not find the amount columns, every run of 8 or more digits is replaced. The table that links placeholders to the real numbers stays only in the device memory and is never sent. What is sent includes the date, amount, balance and transaction description of each row; descriptions may include the name of the sender or recipient, and shorter numbers without a label may remain. The app filters by labels and common statement layouts, so a file with an unusual layout may still leave some information unmasked. The app does not send the original file, the PDF password, the name or type of the account in the app, or any of your other finance data.
- After reading with AI: the app does not trust numbers written by AI. It only accepts rows whose amount, balance and date appear exactly as written in the text lines that were sent, then reads those numbers again itself; rows that do not match go to the Errors group. When an amount is replaced by a placeholder, the AI only returns the placeholder; the app fills in the real number on the device and only accepts the row when the balance matches. The real number is never sent. The result goes through the same preview, duplicate check and balance check as when the app reads the file itself; the app does not record anything on its own, and you review the rows before tapping "Import". Transactions imported this way are stored and kept private from AI like other transactions imported from statements (see the lines below); the app does not store a "read by AI" mark and does not remember the column choices. The text taken from the file stays only in the app's memory while you are on the import screen (at most the 3 most recent files), and is not written to the database, files, logs or backup files; the app deletes this text when you leave the screen, pick another file or withdraw consent. Turning off the "AI bank statement reader" switch withdraws consent right away, without asking again: the app stops the reading in progress and deletes the text it holds. This consent is also withdrawn when you turn off "Share data", delete the provider in use, change its type or server address, or switch to a provider you have not agreed to. The switch is stored per device and is not in the backup file.
- Temporary copy of the file: when you pick a file, the iOS file picker copies it into the app's temporary storage. The app deletes this copy as soon as it has read the file, including when reading fails; for a password-protected PDF, the app keeps the copy while waiting for your password and deletes it when you cancel or leave the screen. If the app is closed midway, the copy remains until iOS clears temporary storage or you tap "Erase app data". iOS may also keep an extra copy in the app's temporary folder for a while and clear it later. These copies stay only in the app's private area, are protected by iOS like the app's other files, do not appear in the Files app and are not included in iCloud backups or computer backups. The app does not change or delete your original file.
- PDF password: if a PDF file has a password, the app asks for it on the import screen. The password is only used to open the file on the device: the app does not store it in the database, the Keychain, backup files or logs, and does not send it anywhere. The password field hides the characters and turns off autofill; the app clears the field when the file opens, when you cancel, leave the screen, switch to another app or when the app lock appears. Technical limit: while the file is being opened, the password sits in the app's memory as a text string, and the app cannot fully wipe that memory right after use; this memory belongs only to the app and is reclaimed by the system over time.
- Data that is stored: only when you tap "Import" does the app record the rows you chose as transactions of that account: date (and time if the file has it), amount, income or expense, category and a note taken from the transaction description column. Notes have control characters removed, runs of 8 or more consecutive digits (such as account or card numbers) masked except for the last 4 digits, and are cut to at most 200 characters; numbers split by spaces or dots and people's names in transfer descriptions may still remain in the note. The app does not store the account number written in the file: it only uses the last 4 digits in memory to suggest the right account, then discards them. Balances, reference numbers and other columns are only used during the preview (balance check, merging repeated rows) and are not stored. Each import has a random batch code stored with its transactions, so you can tap "Undo this import" to move the whole import to the Trash.
- Column choices: the app remembers the columns you chose for each kind of file, so you do not have to choose again next time. Each entry only holds a hash made from the header column names, the column positions, the date order and the chosen account; no amounts, row content or account numbers. The app keeps at most 50 entries. These entries are part of the app settings, so they are in the backup file (after a restore the app still remembers the columns) and are deleted when you tap "Erase app data".
- Category memory: if you change the category the app suggested for a row and then tap "Import", the app remembers that choice as described in the section Data stored on the device. This memory row is marked like rows learned from Gmail emails: it is never sent to AI as an example, and it is deleted at the same time when you disconnect Gmail or delete Gmail data.
- Tôm (book reading): the note of a transaction imported from a statement is never sent to the AI provider, even if you turn on note sharing, and is not used to ask AI to sort categories. These individual transactions (in Tôm and in "Write a summary with AI" of Insights) only reach the AI provider when you turn on "Transactions from banks" in More -> Artificial intelligence -> AI settings (off by default; the app asks for your consent when you turn it on), and then only the amount, date, wallet and category are sent. This switch covers Gmail, Direct sync and statement transactions together. Turning off "Share data" also turns this switch off. Totals (balances, income and expense totals, budgets) always include these transactions. "Save as template" on such a transaction does not copy the note (see the section Tôm).
- Exports and links to auto-import channels: CSV/Excel exports contain the notes of these transactions, with the source label "Bank statement" (see the section Backup and data export). If Gmail or Direct sync later receives a transaction matching a row imported from a statement (same wallet, same income or expense type, same amount, at most 24 hours apart), the app links that transaction to the statement row instead of adding another one: the row becomes a transaction of that channel, is deleted together with that channel's imported transactions when you delete them, and is no longer part of "Undo this import".
Backup and data export
- JSON backup, CSV export (a .zip file containing 4 main CSV tables, a Projects table when you have projects, and view-only tables such as Categories, Loans, Split bills, Trash and Gold book; see the lines below), Excel export and "Export gold book" create files that you save or share yourself. The app does not send these files anywhere by itself. With the app lock on, the app asks you to verify again before it creates the file (see the App lock section).
- Backup files you export always have a password that you set, at least 8 characters. The file is encrypted with AES-256 using a key derived from the password (PBKDF2); the app does not store the password or send it anywhere. If you forget the password, nobody can open the file again, not even the developer. The file is only as safe as its password, because anyone who has the file can try to guess the password on another device; use a long password and keep it separately.
- The app creates the export file in temporary storage, opens the share sheet so you can save or send it, then deletes the temporary file; the app keeps no exported copy on the device. If the app is locked just before the share sheet opens, the app deletes the file and does not share it. When you restore a file that has a password, the app asks for the password and keeps the derived key in memory for at most 10 minutes so it does not have to ask again. Backup files without a password made by older versions of the app can still be restored; those files are not encrypted. Older versions of the app cannot open files that have a password, so update the app first.
- The backup file contains income and expense data (including transactions created from Gmail emails, imported through Direct sync or imported from bank statements, with their notes and transaction IDs) and most settings, including the Gmail email source settings you created (sender address, wallet rules, auto-sync on/off; each source's sync checkpoint is left empty). The backup file also contains assets, their purchases and sales (quantity, price, fees, notes) and their valuations (including the unit price source and source link of automatic or AI-looked-up prices), along with the last 4 digits of the account/card numbers you set for bank wallets/credit cards (CSV/Excel exports do not contain these 4 digits). The backup file also contains the category memory table (shortened notes, chosen categories, counts, memory source, including rows learned from Gmail emails) and the "Remember category choices" switch; the text file
ghi-nho-danh-muc.md is not in the backup file, and the app recreates it from the table after a restore. The backup file also contains the remembered column choices of Bank statement import (see that section). Keep backup files and their passwords in a safe place.
- CSV exports (the transaction table) and Excel exports both contain every transaction: date, time, type, amount, currency, category and subcategory, wallet and wallet type, note (including notes of transactions created from Gmail emails, of transactions imported from bank statements and of asset purchase/sale transactions, which usually contain the asset name), person, trip/event, the "Exclude from reports" flag, transfer fees and balance adjustment rows. The Excel file also has each wallet's balance after every row.
- Excel exports have three more sheets, and the CSV zip has three corresponding tables with the same content (tai-khoan.csv, tai-san.csv, lich-su-tai-san.csv; except the running balance column after each row, which is only in Excel). The accounts sheet/table lists each wallet: name, type, currency, opening balance, bank name, description, archived flag and "Exclude from reports"; credit cards add the limit, statement day, due day and minimum payment percentage; savings deposits add the interest rate, term, deposit date, interest payment method, what happens at maturity and status; goals add the target amount, target date and status. The assets sheet/table lists each asset: name, type, currency, market, code (for example stock ticker, coin code, gold type), unit, quantity held, flags for "Update price automatically" and "Leave out of net worth", note and status. The asset history sheet/table lists each purchase and sale (date, quantity, amount, that is the cost or the sale proceeds, fees, name of the wallet that paid or received the money, note) and each valuation (date, value, note), including values updated automatically by the app or looked up by AI.
- CSV/Excel exports have a Source column with only one of four labels: manual, Gmail, Direct sync or Bank statement (written in Vietnamese in the Excel file, and as
manual, gmail, direct, statement in the CSV file); transactions recorded by Tôm are labeled manual. The files do not contain the detailed source (for example which bank sent the email, or the batch code of a statement import), Gmail/Direct sync/bank transaction reference codes, bank codes (only bank names), the last 4 digits of accounts/cards, the source, unit price or source link of valuations, card due date reminder settings or the category memory. CSV and Excel files have no password and are not encrypted, so they open in Excel or Numbers; keep them in a safe place.
- "Export gold book" (Reports tab -> Gold book) creates an Excel file with 2 sheets (Trades, Summary) or a .zip file with 2 CSV tables with the same content. The Trades sheet lists every gold purchase and sale: date, asset name, gold type, weight, amount, fee, price per chi, cost, gain or loss, wallet name and note. The Summary sheet lists each gold type: quantity held, cost, current value, gain or loss, buying and selling prices and the price date. The file has no last 4 digits of accounts/cards, and no source or source link of prices. This file works like the other exports: when app lock is on, the app asks you to authenticate again before creating the file, the file stays in temporary storage until the share sheet closes, has no password and is not encrypted. The file is for viewing only; the app does not import it back.
- When you own gold assets, the Excel export on the Import / export data screen has 2 more sheets, "So vang - Mua ban" (gold book trades) and "So vang - Tong hop" (gold book summary), and the CSV zip has 2 more tables (so-vang-mua-ban.csv, so-vang-tong-hop.csv). These sheets have the same content as the "Export gold book" file above, including asset names, wallet names and notes of gold purchases and sales. When you import the file back, the app skips these sheets.
- When you have projects in the Business book, the export has one more sheet "Du an" (Projects; table du-an.csv): project name, icon, color, currency, planned capital, start and end dates, status and note.
- The Excel export and the CSV zip on the Import / export data screen also have view-only sheets (each Excel sheet matches one CSV table with the same content). The "Hang muc" (Categories) sheet is always there; every other sheet is only there when you have that data. The lines below list the private information in each sheet.
- Sheet "Hang muc" (Categories): category names and parent categories, income or expense, icon, color.
- Sheet "So tiet kiem" (Savings books): each deposit term, interest rate, each deposit, withdrawal and interest payment, and the names of the source wallet and the interest wallet.
- Sheet "Khoan vay" (Loans): loan name, lender name, principal, interest rate, names of the paying wallet and the receiving wallet, note and each repayment round.
- Sheet "Tra gop" (Instalments): instalment name, card or wallet name, amount, fee, category and each repayment round.
- Sheet "Ngan sach" (Budgets): name, categories, accounts and limits over time (no spent amounts).
- Sheet "Giao dich dinh ky" (Recurring transactions) and sheet "Ke hoach" (Plans): amount, accounts, category, person, event, note, how it repeats, reminder time and the times it was recorded or skipped.
- Sheet "Mau giao dich" (Transaction templates): template name, amount, accounts, category, person and note.
- Sheet "Mua sam" (Shopping): list names, groups, each item, quantity, expected price, note and whether it was bought.
- Sheet "Chia tien" (Split bills): trip or group name, member names, who paid, who sponsored, each expense, how it is split, what members owe each other and notes.
- Sheet "Quy nhom" (Group fund): fund name and description, member names, contribution rounds and how much each person paid, the fund's income and expenses, and notes.
- Sheet "Ty gia" (Exchange rates): currency code, rate and update date.
- Sheet "Thung rac" (Trash): transactions you deleted that are still in the Trash, including deleted transactions created from Gmail emails, Direct sync or bank statements: deletion date, date and time, amount, accounts, category, person, event, note and source label (one of the four labels above). If you do not want deleted transactions in the export, empty the Trash before exporting.
- The view-only sheets have no internal app IDs, transaction reference codes, detailed sources, bank codes, last 4 digits of accounts/cards, price source links, category memory, app settings, Gmail or Direct sync review queues, or data of Tôm and the AI features. When you import the file back, the app skips these sheets.
- CSV/Excel exports are not encrypted; you choose where to save or send the file. An export does not hold everything needed to rebuild the app (for example settings and many view-only sheets cannot be imported back); to keep all your data, use Backup: backup files you export are always locked with a password.
- When you import a CSV/Excel file again, the app keeps the source label of each transaction, but transactions imported from a file are treated as transactions you recorded yourself: they have no reference code, are not in "Imported transactions", so they are not deleted together with Gmail or Direct sync transactions. The app never records a transaction imported from a file as a Gmail or Direct sync transaction, even if the file contains text other than the four labels above; unknown labels are read as manual. Rows labeled Bank statement still have their notes kept private from AI and follow the "Transactions from banks" switch like transactions imported from a statement, but they do not belong to any statement import, so they cannot be undone as an import.
- Temporary copy when importing or restoring: when you pick a CSV/Excel file to import or a backup file to restore, the iOS file picker copies it into the app's temporary storage. The app deletes the copy as soon as it has read the file, including when reading fails; for a backup file, it deletes the copy when the restore finishes or fails, when you cancel and when you leave the screen. If the app is closed midway, the copy stays in temporary storage until iOS clears it or you tap "Erase app data". These copies stay only in the app's private area, are protected by iOS like the app's other files, do not appear in the Files app and are not included in iCloud backups or computer backups. The app does not change or delete your original file.
- The backup file does not contain AI API keys, Gmail tokens, subscription purchase proofs, the pasted Google Client ID, app lock information, AI provider settings, automatic exchange rate update settings (including consent), settings for automatic asset prices and for AI price lookup for stocks and crypto (including consent, consent version and the price confirmation queue), the downloaded gold price table and gold price history (with the latest attempt), the data of the "Crypto (for reference)" section of the Currency converter screen (reference prices, AI prices, queue), AI category sorting settings and cache, or the first-use record of features, and it does not contain per-device Gmail data: the review queue (subjects, email snippets), the list of skipped emails, the latest sync result, the sync checkpoint and the connected Gmail address; nor per-device Direct sync data (the linked accounts, the pending link session, whether you agreed, the review queue, the skipped and merged lists, the accounts seen, the sync time and the latest result).
- Backup files created by older versions of the app may still contain the Gmail review queue and the connected Gmail address. When restoring, the app skips these items (it does not put them on the device), but they remain in the old file; delete old files if you no longer need them, including automatic backups in the app's backup list.
- Automatic backup is on by default, once a day: when you open the app and a backup is due, the app writes a backup file (name starting with
henryexpense-tu-dong) to the app's storage on your device. The file has the same content as the backup file above (including notes of transactions created from Gmail emails and the last 4 digits of accounts/cards) and is encrypted with the device key (see the line Encryption on the device), so it opens only on an iPhone that has that key (this iPhone, or another iPhone with the same Apple ID that has iCloud Keychain turned on). The app does not send this file anywhere; on iOS it may be included in your own iCloud or computer backup in encrypted form. Older unencrypted backup files already on the device are encrypted once by the app when it opens. The list of backups in the app only lets you delete them, not share them; to take your data elsewhere, export a file with a password.
- The app keeps only the newest automatic backup of each month. "Clean up old backups automatically" is also on by default: each time you open the app, it deletes automatic backups and
henryexpense-truoc-khoi-phuc backups older than 6 months, and always keeps the newest one of each kind. In More -> Back up & restore (the Data screen), you choose Daily, Weekly or Off under Automatic backup; under Clean up old data, you turn off clean-up and delete single files in the Existing backups list. Turning automatic backup off does not delete existing files; if clean-up is still on, backups older than 6 months are still deleted as above.
- Before restoring from a file, and before "Erase app data", the app automatically saves a safety backup (with a name starting with
henryexpense-truoc-khoi-phuc) to the app's storage so you can go back. This copy contains all income and expense data at that moment (including notes of transactions created from Gmail emails), is encrypted with the device key like automatic backups, and remains on the device after the reset; on iOS it may be included in your own iCloud/computer backup in encrypted form. Delete it on the Data screen, Clean up old data section (the Existing backups list) when you no longer need it.
- Back up to iCloud Drive (optional, off by default, free; currently hidden): in the current version, the "iCloud backup" section does not show on the Data screen and the app does not yet have permission to use iCloud Drive, so the app does not copy, tidy up or restore any backup on iCloud Drive. The text below describes how the feature works when it is available again. In More -> Back up & restore (the Data screen), section "iCloud backup", when you turn on the "Back up to iCloud Drive" switch and agree, the app copies the newest automatic backup to the iCloud Drive of the Apple ID signed in on the iPhone. The app copies one backup right away when you turn it on; after that it copies only when you open the app, right after the automatic backup (following the Daily or Weekly frequency; when automatic backup is Off, nothing is copied), never in the background. The copy keeps the same content and encryption as the automatic backup (see the line above): it is locked with the device key and has no separate password. The app checks before copying and refuses any file that is not encrypted. Safety backups (
henryexpense-truoc-khoi-phuc) and files you export yourself are not copied. The file goes straight from your iPhone to iCloud, run by Apple, not through any Henry Expense server; the developer does not receive it and cannot see it. The file sits in the "Henry Expense" folder of iCloud Drive, visible in the Files app and on devices signed in with your Apple ID. Anyone who can access your iCloud can see the file names (which include the backup date and time) and sizes, but cannot read the content without the device key. Apple stores the files under the iCloud terms of Apple; they use your iCloud storage. The app works only with this folder of its own and does not read any other file in iCloud Drive. Who can open it: only the Henry Expense app on an iPhone that has the device key, meaning the iPhone that made the backup, or another iPhone with the same Apple ID that has iCloud Keychain turned on (see the line Encryption on the device). If iCloud Keychain is off and you lose or erase your iPhone, the backups on iCloud Drive can no longer be opened. So still export a backup file with a password when you switch phones. Keeping copies: each time it copies, the app tidies up iCloud Drive. The app always keeps the newest copy, the copy it just made, and the newest copy this iPhone itself made. To leave one copy per month, it counts and deletes only the files this iPhone copied itself, never copies made by another iPhone; two iPhones with the same Apple ID each keep their own copies. Copies older than 6 months are deleted automatically, including ones made by another iPhone. The app deletes only files named as automatic backups (henryexpense-tu-dong). A device with no data yet (freshly installed or just reset) copies and deletes nothing. If a copy fails (no connection, iCloud storage full), the app tries again the next time you open it. Restoring: the "Backups on iCloud" list shows even when the switch is off, so you can get your data back after reinstalling the app or changing phones. When you tap Restore, the app downloads that backup to the temporary storage of the app, checks that it is encrypted, asks you to confirm as when restoring from a file (saving a safety backup first), then deletes the temporary file, even if something fails. Turning the switch off: you choose to keep or delete the backups on iCloud Drive. If you choose delete, the app deletes all of Henry Expense's automatic backups on this iCloud Drive, including copies made by another iPhone with the same Apple ID; the confirmation box says so, and the app does not delete while it is locked. When app lock is on, turning this feature on requires you to confirm again with your PIN or biometrics. The status of the feature (on/off, last copy, last error) is stored per device and is not in the backup file; restoring a backup file does not turn the feature back on. "Erase app data" turns the feature off but does not delete the backups already on iCloud Drive.
Your rights and deleting data
- You own your data and can view, edit and export it at any time.
- Delete individual transactions, wallets or categories right in the app. Deleted transactions stay in Trash for 30 days and are then deleted permanently, or you can delete them permanently sooner.
- "Erase app data" (More -> Settings, "Reset the app" section at the bottom of the screen; requires authenticating with the current app lock method) returns the app to a freshly installed state: it deletes all transactions, wallets, categories, budgets and settings (including the downloaded gold price table and gold price history), disconnects and deletes Gmail data like "Delete all Gmail data", deletes Direct sync data on the device (it does not remove the link at the partner or delete waiting transactions on the server, see the section Direct sync), deletes AI API keys, deletes the sorting memory (category memory, including rows learned from Gmail emails, and the AI suggestion cache) together with the file
ghi-nho-danh-muc.md, cancels scheduled notifications, turns the "Share anonymous usage stats" switch back on and creates a new anonymous ID, deletes waiting iOS crash and performance reports, deletes leftover temporary copies of files you picked for import and leftover gold price images (chart, Gold prices) in temporary storage, deletes the backup files in the app's storage (including manual exports that older versions of the app left there) and deletes old data that was set aside (see the line When the app cannot open your data). App lock settings (PIN or biometrics), the chosen language and the data encryption key in the Keychain (including its synced copy in iCloud Keychain) are kept. The first-use record of features (see the section Data stored on your device) is also kept, so you do not lose free access later. Items you bought are recorded by Apple under your Apple ID, so you keep them. Exception: the safety backup just created (see the section Backup and data export) is kept and contains all the old data (encrypted with the device key); delete it if you want the data gone completely. Files you have shared elsewhere, operating system backups and the backups copied to iCloud Drive are not deleted.
- To delete everything, delete the app from the device. The app's SQLite data is deleted with the app. iOS may keep Keychain items after the app is deleted, including the data encryption key, and the synced copy of the key stays in iCloud Keychain. This key contains no income and expense data and the app has no button to delete it; if you reinstall, the app creates a new key for the new data. So, use "Delete all Gmail data" (or at least Disconnect), tap "Unlink" for each account in Direct sync and delete the AI provider (with its API key) in the app before deleting the app (deleting the app does not remove the link at the partner, and the server still holds new transactions briefly as described in the section Direct sync); Gmail access can also be revoked at https://myaccount.google.com/permissions. For deleting only Gmail data, see the section Keeping and deleting Gmail data.
- Deleting the app does not delete the backups copied to iCloud Drive (if any). To delete them, delete the "Henry Expense" folder in the Files app, or delete the app data in the iCloud storage management section of your iPhone Settings. When the feature is available again, you can also turn off "Back up to iCloud Drive" and choose to delete the backups on iCloud before deleting the app.
- The first-use record of features has no delete button in the app. Deleting the app may not delete the record (iOS may keep Keychain items), and when you reinstall, the app reads the old record again. The record is only gone for good when you erase your whole iPhone (Settings -> General -> Transfer or Reset iPhone -> Erase All Content and Settings) and do not restore from an old iPhone backup.
- Backups you have created or sent to other services are outside the app's control; delete them where you stored them.
- Turning off anonymous usage statistics: More -> Settings, "About" section, turn off the "Share anonymous usage stats" switch. The app stops sending right away, drops the signals not yet sent and deletes waiting iOS crash and performance reports (see the section Anonymous usage statistics).
- Apart from Direct sync, the Henry Expense app does not collect data about you, so there is no data for us to delete for you on a server. Anonymous usage statistics are not tied to you, so they cannot be found to delete separately. Ask Tôm (in the app and on the website) leaves no conversation on the Henry Expense server; the question counters delete themselves after at most 4 days; content that reached the AI service provider is kept by them under their own policy (see the section Tôm). With Direct sync, the bank link and transaction data are kept by the partner under Henry Expense's partner account, while the Henry Expense server holds new transactions briefly, encrypted, together with the link information: you remove them with "Unlink" (the server deletes the waiting transactions and the link information of that account), or by emailing the address in the section Contact (see the section Direct sync). Besides that, there are three cases, all sent by you. One is an email you send to the developer (a sample email or a bank support request, see the sections Sending a sample email to the developer and Bank support request): that email is in the developer's mailbox, and you can ask for it to be deleted by replying to the same email. The second is a sample email file uploaded to the website: the file is stored and deleted as described in the section Uploading sample emails on the website. The third is a call or Zalo message you send to the hotline (see the section In-app purchases): you can ask for it to be deleted by emailing the address in the section Contact.
Children
Henry Expense is not directed at children and does not knowingly collect information from children. Apart from Direct sync (bank data you link yourself, see the section Direct sync), the app does not collect personal data from anyone (anonymous usage statistics are not tied to anyone, see the section Anonymous usage statistics); only emails you send to the developer yourself, calls or messages you send to the hotline yourself, sample email files you upload to the website yourself, posts you make in the Facebook group yourself and ordinary technical information when you open the Henry Expense website yourself reach the developer.
Changes to this policy
When features or data handling change, this policy will be updated and the "Updated" date at the top of the page will change accordingly. The latest version is always available on the public policy page at henryexpense.com; this page will be linked from the app's App Store page once the app is available there. The copy in the app (More -> Settings -> Privacy policy) changes when the app is updated, so it may lag behind the web version.
The Henry Expense developer is Henry Mai Household Business (Ho kinh doanh Henry Mai), registered at 93 Xo Viet Nghe Tinh, Gia Dinh Ward, Ho Chi Minh City, Vietnam, tax ID 079094010839.
If you have questions about privacy or want to request help deleting data, contact the Henry Expense developer by email at [email protected].