Data and tools
What Theo Luật holds, where it comes from, how it is processed, and what it lacks. This page is for anyone who wants to know what they are relying on before trusting an answer.
- Legal documents
- 47,097 central documents: laws, ordinances, decrees, decisions, circulars
- Article versions
- Close to half a million, each with the dates it came into and went out of force
- Guidance letters
- 6,710 official letters of the tax authorities and the Ministry of Finance
- Sources
- The National Database of Legal Documents (vbpl.vn) and the tax authority's portal
- Language
- Vietnamese, as enacted
Every article over time
A legal document rarely stands still. Other documents amend it, add to it and repeal parts of it, sometimes many times. An amending document only gives instructions, such as "point (e) of clause 4 of Article 6 is amended as follows", so knowing what the article says today means applying every instruction in turn.
Theo Luật does that work in advance. Each article, clause and point is stored as a chain of versions by effective date, each with the document that changed it. That lets an assistant ask two kinds of question: "what does this article say today" and "what did it say on 1 June 2023".
For example, Article 6(4) of Decree 100/2019/NĐ-CP has three periods:
| From | To | Fine | Changed by |
|---|---|---|---|
| 1 Jan 2020 | 31 Dec 2021 | 600,000 – 1,000,000 VND | Original |
| 1 Jan 2022 | 31 Dec 2024 | 800,000 – 1,000,000 VND | Decree 123/2021/NĐ-CP |
| 1 Jan 2025 | Repealed; the new fine is in Decree 168/2024/NĐ-CP | Decree 168/2024/NĐ-CP |
How accurate it is
- Checked against official consolidated texts. The text Theo Luật computes is compared with 602 consolidated texts issued by state bodies, across about 16,600 articles; about 90% agree. Consolidated texts are sometimes wrong too, so each difference is reviewed case by case.
- More than 47,000 amendments applied. Most by rules; the rest by a language model reading the amending instruction, and those versions carry a note so the assistant and you know to check them.
- Every result carries data notes. A result says so when an amendment could not be applied, when the text differs from the consolidated text, or when an end date was inferred and is not in the source.
- There is always a way back to the original. Every result links to the document on vbpl.vn.
Numbers on answer quality when an assistant uses Theo Luật are on the comparison page.
Tax guidance letters
An official letter (công văn) is not legislation, but it shows how the tax authority applies the law to a particular situation. Theo Luật keeps the letters as a separate layer, always labelled as letters, and links each to the articles it cites. Letters that cite provisions no longer in force are flagged so the assistant does not use them for a present-day situation.
Updates
New documents and amendments are added regularly from vbpl.vn. The assistant has a tool to ask what changed recently. If you find an article that is wrong or missing, tell hotro@theoluat.vn and include the document number.
What is missing
- Provincial documents: resolutions and decisions of provinces and cities.
- Court judgments and precedents.
- Letters from customs and other ministries.
- Drafts and documents not yet issued.
- English translations. The texts are in Vietnamese; your assistant can translate as it answers.
Nine tools for the assistant
Once connected, the assistant has nine tools. All of them only read. Each tool call is one lookup.
| Tool | Name in MCP | What it does |
|---|---|---|
| Search the law | search_law | Finds the articles relevant to a question, only from documents in force on the date in question |
| Read an article or clause | get_unit | The exact text of an article, clause or point on a date |
| Read a document | get_document | A document's details and table of contents |
| Amendment history | get_history | Every version of an article over time, with the document that changed it |
| Related documents | get_relations | Which documents amend, replace or give guidance on a document or an article |
| Recent changes | list_changes | What has just come into force or changed |
| Search guidance letters | search_guidance | Finds tax authority letters for a situation |
| Read a guidance letter | get_guidance | The full text of one letter |
| Check citations | check_citations | Checks whether the citations in a passage hold on a date |
Developers call these through MCP or the REST API; see other apps and the API.