How long a company may keep personal data
Published 2026-05-21

The purpose writes the clock
Storage limitation is Article 5(1)(e) of Regulation (EU) 2016/679. Personal data must be kept in a form that identifies a person for no longer than is necessary for the purposes for which they are processed. The purpose writes the clock. A file kept "because the disk is cheap" or "because we might want it later" has no purpose, and a file without a purpose is already over its time. The regulation allows longer storage where the only use is archiving in the public interest, scientific or historical research, or statistics, with the safeguards in Article 89. That permission is not a second life for a sales list.
There is no single retention number that fits every record in a company. A contract is kept while the contract is being performed and while the law still wants the proof of it. A complaint is kept while the complaint is open and for as long as you need to show how you answered it. A newsletter address is kept while the person still wants the messages. Mixing these into one cupboard, with one date on the door, is how a marketing list inherits the lifespan of an invoice. The fix is to name each store, name its purpose, and give it an end of its own.
What Latvian accounting law keeps
Latvia's Accounting Law, Grāmatvedības likums, is a real clock, and it is not one number. Article 28 sets minimum periods. Ordinary supporting documents are kept until they are no longer needed to trace the economic transaction, and in any event for at least five years. A customer invoice sits in that group. Five years is the floor. If the transaction is still being traced, a dispute about it is still open, or the document is still needed for that trace, the floor is not a deletion date. Annual reports are kept until the company is reorganised or its activity ends, unless another law says otherwise. Inventory lists, accounting registers, and the documents that organise the bookkeeping are kept for ten years. Records of pay are kept longer than ordinary invoices. A company that tells every data subject "we keep everything for five years" has flattened a statute that is more precise than that.
An invoice is a narrow document. It shows that a sale happened: who was billed, what was sold, the amount, and the date. Those fields can be personal data, and the legal duty to keep the invoice is a reason, under Article 17(3)(b), not to erase that document on request. The duty stops at the document. It does not pull in the person's later messages, the pages they opened, a note of their job hunt, or a spreadsheet of people who never bought anything. When someone asks for erasure, the honest split is: the invoice stays in the accounts, and the rest of the profile goes unless some other ground, such as a live legal claim, actually applies.
An invoice and a mailing list
A marketing list is the opposite shape. Its purpose is to send messages to people who have agreed, or, where the law allows a narrow business contact, to people you may write to until they object. When the campaign is over, when the person withdraws consent, or when they object to direct marketing, the purpose of mailing them is finished. Article 21(3) requires the controller to stop direct marketing once the person objects, and Article 5(1)(e) then asks you to stop storing the address for that purpose. What may remain is a small suppression note: this address asked not to be written to. That note is still personal data. Keep it only so you do not add the person again by mistake, and do not keep the old message history beside it "for completeness".
The same split applies to a people-search service. atmasko, operated by SIA GATSBY, states in its privacy notice that payment records stay for five years after an account is deleted, which is the floor the Accounting Law sets for ordinary supporting documents, and that search history is deleted with the account and is not kept for those five years. A listing about a person who was searched is not an invoice. Holding it for five years "because accounts are kept for five years" borrows a rule that does not apply. If a transaction still has to be traceable after five years, that is a reason to keep the payment document, not the lookup.
When the purpose ends
When the purpose ends, the practical step is deletion or true anonymisation. Anonymisation means the person can no longer be identified by any means reasonably likely to be used. A sheet that still has the name, with a column that says "deleted", is not anonymous. A backup is a copy. It should age out on a cycle you can describe, rather than become a quiet archive that outlives the live system. You do need to know which copy is the live one and which copies will disappear when their cycle ends. Staff inboxes are copies too. A customer's data pasted into a personal mailbox will not follow the retention rule of the accounts system.
A small team can keep the rule on one page. List the places personal data sit: the accounts tool, the support inbox, the newsletter list, the removal folder, the chat tool, and any export on a laptop. Next to each, write the purpose and either a period or the event that ends the store. "Until the person unsubscribes, then a suppression note only." "Invoice: at least five years under Grāmatvedības likums, and longer only while the transaction must still be traced." "Search history: for as long as the account exists." If you cannot write the sentence, you do not yet have a retention rule.
Asking for the period
As a person, you can ask for the period or the criteria. Articles 13 and 14 require a controller to tell you this when it collects the data or, in the Article 14 case, within the time those articles set. Article 15 lets you ask again later and receive the period or the criteria with your copy. Ask a pointed question: which of my records do you treat as accounting documents, and which will you delete when I close the account or object? A reply that quotes five years for every field is a reply to challenge. Article 12 gives the controller one month to answer, with a possible extension that must be explained inside that month. About thirty days is the practical mark. It is a deadline for the explanation, not a promise that every field will be wiped.
If the answer is that data are kept indefinitely and no statute is named, you can complain. In Latvia the supervisory authority is Datu valsts inspekcija, at dvi.gov.lv. You can also complain where you live or work. Take the company's own sentence with you. This article is general information about storage limitation and about the Latvian accounting periods that actually exist. It is not legal advice, and it does not set a retention period for a company that has not looked at its own files. For a question about atmasko, the address is support@gatsby.business.