Google user data in Aluffim Invoices
Last updated / In effect: 21 October 2026
Aluffim Invoices ("אלופים בחשבוניות") is invoicing and bookkeeping software for businesses in Israel, at https://invoice.aluffim.co.il. It is operated by Liad Marom, a licensed dealer (עוסק מורשה) in Israel, no. 208643528.
A business may connect a Gmail mailbox so that the supplier invoices it receives by e-mail appear in its expenses list. This page explains what we do with the data we receive from Google when a mailbox is connected. Connecting Gmail is optional and is being opened gradually. It is separate from "Sign in with Google": connecting or disconnecting Gmail does not change how you sign in.
What we access
- One scope, read-only: https://www.googleapis.com/auth/gmail.readonly. We never send, change, label, move or delete mail.
- The mailbox address, from the Gmail profile.
- Messages that may carry a supplier document. Our servers search the connected mailbox periodically, and when a member of the business opens the expenses list. They look for messages with a PDF attachment. They also look for messages with a picture attachment when the message mentions an invoice or a receipt, is in Gmail's Purchases category, carries a Gmail label named "אלופים" that the user created, or comes from a known invoicing service. To find that label, we read the names of the mailbox's labels. Spam, trash, Gmail drafts, chats and the Social and Forums categories are not searched. When the mailbox is first connected we also search back over the period the user chooses (one month to one year).
- Of a matching message: our request to Gmail excludes the message body, so Gmail returns only the message's identifiers and labels, the time Gmail received it, its headers, and the list of its parts with their file names, types and sizes. Of the headers we keep only From, Subject, Date, Message-ID (to recognise the same message in two mailboxes of the same business) and Authentication-Results (whether the sender passed the DKIM or SPF check, when Gmail provides it); the other headers are discarded in memory and never stored.
- Attachments: we download only attachments that may be supplier documents.
- Not accessed: we do not receive, read, store or index message bodies (our request excludes them), and we never request a message's raw content or snippet.
How we use it
- Reading a document. A PDF with a text layer is read on our servers in Israel, by our own software built with open-source tools. It suggests the supplier, document number, date and amounts. The document is not sent to any other service, and to no AI service. A scanned document or a photo is not read on our servers. It is read in the user's own web browser when the user opens it.
- Discarding the rest. An attachment that does not look like a supplier document is discarded in memory and never stored. We keep only the message's identifier, so that we do not check it again.
- Drafts. Every document waits in the expenses list as a draft, marked "טיוטה" (Draft), until a member of the business records it or dismisses it. A draft is not part of the business's books, reports or tax files.
- No automatic recording yet. A document from Gmail becomes an expense only when a member of the business records it. A later version may let a business choose to have tax invoices that pass strict checks recorded automatically; we will update this page before that starts.
- Remembering suppliers, for that business only. After a document is recorded, the business's own settings remember the supplier's name and category, and where on its documents the number and date are printed. These are kept as short hashes of the label words, never the words or the values, so that the supplier's next document is read better. To check that a document comes from the supplier's usual address, we keep a keyed hash of the sender's address, from which the address cannot be read. None of this is shared with, or learned from, any other business.
- Notifications. Once the morning summary is available, it will come in the app and as a push notification, with counts only (for example "2 drafts are waiting for you"). Only if the user turns it on, a weekly e-mail will carry the same counts and a link.
- We use the data only to provide this feature to the business: to find its supplier documents, show them to the business and record its expenses.
What we never do
- We do not sell Google user data.
- We do not use it for advertising of any kind, and we do not give it to data brokers or information resellers.
- We do not use it to determine credit-worthiness or for lending.
- We do not use it to train artificial-intelligence or machine-learning models. The supplier memory above is kept per business and is not used for any other business.
- We do not transfer it to anyone, except as described under "Sharing" below.
- No person at Aluffim Invoices reads it, except where needed for security purposes (for example, investigating abuse) or to comply with applicable law. The only figures from it that we look at are aggregated counts that identify no business, person or document.
- Any attempt by the people who operate the service to open, with their own accounts, the waiting drafts, their files or the mail fields we store is logged and raises an alert. A document the business records as an expense becomes part of its books; no one at Aluffim Invoices opens it either.
Where it is stored and how it is protected
- Everything we store is stored in Israel: in Google Cloud (region me-west1, Tel Aviv) and, for documents recorded as expenses and for what the business's settings remember about suppliers, also in the encrypted backup copy at Amazon Web Services (region il-central-1, Tel Aviv). All of it is encrypted at rest by the cloud provider.
- In addition, our application encrypts the access and refresh tokens, the mailbox address, senders, subjects, file names and the details read from documents, with keys held in Google Cloud KMS in Israel. Any use of these keys by anyone other than the two services that run this feature is logged and raises an alert.
- The Gmail API and Google's authorization (OAuth) servers are Google's global services; using them is how the mailbox is reached. We store nothing outside Israel.
- Our application logs contain only identifiers and codes, never an address, subject, file name or amount, and are kept 30 days.
How long we keep it
| Data | Kept |
|---|---|
| The access grant (tokens) and the mailbox address | Until the mailbox is disconnected. On disconnect we revoke our access at Google, retrying until Google confirms, and then delete the tokens. |
| A draft's file | 30 days, unless it is recorded. Within one day when the user marks it "not an expense". At once on disconnect. |
| A draft's sender, subject and file name | 90 days after the message arrived (never before the file itself is deleted), so the file can be fetched again from the mailbox. Within one day when the user marks it "not an expense". At once on disconnect. |
| A minimal marker that a document was already seen (a hash of the file and Gmail's identifiers, with no sender or subject) | Until the mailbox is disconnected, so the same document is not offered twice. |
| The identifier of each message we checked | 90 days. |
| The keyed hash of each supplier's sender address, and the suppliers the business marked "not an expense" or "personal" | Until the business disconnects its last mailbox. The business may ask us to delete them earlier, at support@aluffim.co.il. |
| A document recorded as an expense | Part of the business's books. Israeli bookkeeping law requires the business to keep them for at least seven years from the end of the tax year (Income Tax (Bookkeeping) Instructions, section 25). It is never deleted automatically. Like all of the books, it is also kept in the encrypted backup copy at Amazon Web Services in Israel. Its sender, subject and file name are removed from our records 30 days after it was recorded. A note that the expense came from Gmail, and how it was recorded, stays with the expense. |
| What the business's settings remember about a supplier | With the business's settings, also after disconnect, because it was learned from expenses the business recorded. The business may ask us to delete it, at support@aluffim.co.il. Copies already in our backups are not changed: each is deleted when its backup expires, the locked quarterly backups after at least 8 years. |
| The log of connection events (codes and identifiers only, for example "connected", "revoked" or Google's error code; no mail data) | 13 months, and in our backups for the backups' own lifetime. |
| Backups | Mail data, other than documents recorded as expenses and what the business's settings remember about suppliers, is not included in our long-term backups. Our database's automatic backups hold it for up to about 30 days. |
- If Google ends our access (for example after a password change, or when the user removes our access at https://myaccount.google.com/permissions): reading stops, and we delete the tokens as soon as we notice. The drafts stay 30 days so the user can reconnect, and are then deleted.
- If we stop the Gmail connection for all businesses (for example at Google's request): reading stops at once. After 30 days we revoke the access and delete the drafts, as on disconnect.
- An unconfirmed connection: if it is not confirmed within 10 minutes of Google's consent, it is revoked at Google and deleted.
Disconnect and delete
- Disconnect at any time in the app: Settings → "חיבורים" (Connections) → "Gmail להוצאות" → "ניתוק".
- Who can disconnect: the person who connected the mailbox, and the business's owner or partner.
- On disconnect we stop reading at once and delete all drafts, their files and the markers. We revoke our access at Google, and then delete the tokens.
- Expenses already recorded stay in the business's books, as the law requires.
- Or remove our access at Google: https://myaccount.google.com/permissions. Reading stops, and the drafts are deleted after 30 days. To delete them at once, also disconnect in the app.
- Removing a member, closing the business or deleting the account disconnects, in the same way, every mailbox that person or business connected.
- To ask for deletion of anything else described here, write to support@aluffim.co.il.
Limited Use
Aluffim Invoices' use and transfer of information received from Google APIs will adhere to the Google API Services User Data Policy, including the Limited Use requirements.
The use of information received from Google Workspace scopes will adhere to the Google User Data Policy, including the Limited Use requirements.
Contact
support@aluffim.co.il. The full privacy policy, in Hebrew, prevails if the two differ: https://invoice.aluffim.co.il/privacy. Help on this feature (Hebrew): https://invoice.aluffim.co.il/help/expenses-from-email