BOFiP Doctrine Scraper – French Tax Guidance
Pricing
from $1.20 / 1,000 document extraits
BOFiP Doctrine Scraper – French Tax Guidance
Extracts all French tax doctrine in force from the official BOFiP-Impôts open data API (DGFiP, Licence Ouverte 2.0): commentaries of every BOI series (TVA/VAT, IR, IS, BIC, ENR, INT…), rescrits with question/answer, actualités. Full text, dates, permalink, attribution.
Pricing
from $1.20 / 1,000 document extraits
Rating
0.0
(0)
Developer
Alex Moreno
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
Extract the French tax administration's doctrine in force, as published in the Bulletin Officiel des Finances Publiques-Impôts (BOFiP-Impôts), as clean, structured JSON. That covers every BOI series: TVA (VAT), IR (income tax), IS (corporate tax), BIC, BNC, BA, ENR, RFPI, RPPM, INT, PAT, IF, CVAE, the rescrits (with their question and answer) and the actualités. Each item has the identifier, title, series, division, publication date, full plain text, official permalink and a ready-to-use attribution line.
The Actor reads the official open data API of the DGFiP on data.economie.gouv.fr (dataset bofip-vigueur, the BOFiP documents currently in force). It does not scrape the BOFiP website and does not use its search engine.
Unofficial. This Actor is not produced, endorsed or certified by the DGFiP or any French public body. Its output is not tax advice. Always check the official version on bofip.impots.gouv.fr.
What's inside
On 23/11/2026 the bofip-vigueur dataset held 9,175 documents in force, last updated 19/11/2026: 6,368 Contenu and 2,807 Actualité. By series: BIC 1,228 · TVA 909 · IS 753 · IR 734 · IF 731 · ENR 471 · INT 462 · RPPM 389 · RSA 344 · CF 329 · RFPI 272 · BA 258 · REC 246 · FORM 234 · CTX 232 · PAT 218 · BNC 201 · RES 197 · TCA 185 · DJC 180 · CAD 121 · TFP 112 · SJ 108 · TCAS 68 · TPS 67 · CVAE 60 · AIS 35 · IMG 11 · EAT 8 · DAE 6 · no series 6. These counts change when the DGFiP updates the dataset.
Use cases
- Tax advisers, accountants and law firms: monitor new or updated doctrine by tax (VAT, income tax, corporate tax…), build internal knowledge bases.
- Tax and accounting software: link product features to the relevant administrative position (BOI paragraph, rescrit).
- RAG / LLM pipelines and AI agents: full texts with a stable identifier, date and permalink make good chunks with citations. Rescrits also come as question/answer pairs.
- Legal research and compliance: full export of the doctrine in force, with dates, for analysis.
Input
| Field | Default | Description |
|---|---|---|
maxItems | 20 | Quick sample by default. 0 = everything matching the filters (up to 9,175 documents: a long run, billed per document) |
series | all | BOI series codes, e.g. ["TVA", "IR"] |
taxes | – | Common tax names, translated to series (table below), e.g. ["VAT", "corporate tax"] |
onlyRescrits | false | Keep only rescrits (BOI-RES-<division>-<n>); series/taxes then select the rescrit division |
includeActualites | true | BOFiP news items (ACTU-…) |
includeSectionPages | false | RES index pages (BOI-RES, BOI-RES-TVA) that only list rescrits |
identifiant | – | One document, e.g. BOI-TVA-CHAMP-10-10-20, BOI-RES-TVA-000001, ACTU-2024-00123 |
division | – | Second BOI segment, e.g. CHAMP in BOI-TVA-CHAMP-… (for rescrits: TVA in BOI-RES-TVA-…) |
query | – | Full-text search done by the official API |
dateFrom / dateTo | – | Bounds on the publication / start-of-validity date (YYYY-MM-DD) |
sortBy | newest | newest (latest publication first) or identifiant |
includeHtml | false | Add the official HTML (contenuHtml) |
redactPersonalData | true | Mask e-mails, phones, NIR, labelled SIREN/SIRET, civility + surname |
incremental, stateKey, lookbackDays | off | Only new documents (or new versions) since the last incremental run |
requestDelaySecs | 1.5 | ≥ 1 s, enforced |
maxConcurrency | 1 | 1–2, hard cap 2 |
maxRequestRetries | 4 | Backoff on 408/429/5xx/network errors; 403 never retried |
healthCheck | false | Fail the run if nothing is saved |
Tax names → series
Names are matched ignoring case and accents. Every series code (TVA, IR, IS, BIC…) is also accepted as a tax name. Names with no clear single series (e.g. "sales tax") are rejected with an error rather than guessed: use series instead.
| Series | Accepted names |
|---|---|
| TVA | taxe sur la valeur ajoutée, VAT, value added tax, IVA, impuesto sobre el valor añadido |
| IR | impôt sur le revenu, income tax, personal income tax, IRPF, impuesto sobre la renta (de las personas físicas) |
| IS | impôt sur les sociétés, corporate tax, corporation tax, corporate income tax, impuesto sobre sociedades |
| BIC / BNC / BA | bénéfices industriels et commerciaux / bénéfices non commerciaux / bénéfices agricoles |
| RFPI | revenus fonciers, plus-values immobilières |
| RPPM | revenus et profits du patrimoine mobilier, revenus de capitaux mobiliers |
| RSA | revenus salariaux et assimilés |
| ENR | droits d'enregistrement, enregistrement, registration duties |
| PAT | impôt sur la fortune immobilière, IFI |
| IF | impôts fonciers, impôts locaux fonciers |
| CVAE | cotisation sur la valeur ajoutée des entreprises |
| TPS | taxe sur les salaires, payroll tax |
| INT | fiscalité internationale, international tax(ation) |
| CF / CTX / REC | contrôle fiscal, tax audit / contentieux (fiscal), tax litigation / recouvrement, tax collection |
Examples
Store prefilled input: the 5 most recent documents in force, all series, in a few seconds:
{ "maxItems": 5 }
If maxItems is not given, the default is 20.
All VAT and corporate-tax doctrine published since 2024 (series and tax shortcuts can be mixed):
{ "series": ["TVA"], "taxes": ["corporate tax"], "dateFrom": "2024-01-01", "maxItems": 0 }
One document by its identifier:
{ "identifiant": "BOI-TVA-CHAMP-10-10-20" }
Only the VAT rescrits, with their question and answer:
{ "onlyRescrits": true, "taxes": ["VAT"], "maxItems": 0 }
Scheduled monitoring (incremental): new or updated income-tax doctrine from the last 14 days, skipping what earlier runs already saved:
{ "taxes": ["income tax"], "incremental": true, "lookbackDays": 14, "maxItems": 0, "stateKey": "ir-watch" }
A full export (maxItems: 0, no filter) makes about 93 API requests (92 pages of 100 plus metadata) at ≥ 1 s each, and takes several minutes. It is billed per document saved.
Output
One dataset item per document. Example below: illustrative values for a TVA commentary, with the long texts cut short (marked «…»):
{"identifiant": "BOI-TVA-CHAMP-10-10-20","titre": "TVA - Champ d'application et territorialité - …","documentKind": "contenu","type": "Contenu","serie": "TVA","division": "CHAMP","datePublication": "2025-06-04","question": null,"reponse": null,"texte": "I. … 1 … article 256 du code général des impôts (CGI) … [text cut short]","url": "https://bofip.impots.gouv.fr/bofip/…-PGP.html/identifiant=BOI-TVA-CHAMP-10-10-20-20250604","personalDataRedactions": 0,"source": "BOFiP-Impôts","sourceFullName": "Bulletin Officiel des Finances Publiques-Impôts","publisher": "Direction générale des Finances publiques (DGFiP)","licence": "Licence Ouverte / Open Licence 2.0 (Etalab)","licenceUrl": "https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf","datasetId": "bofip-vigueur","datasetUrl": "https://data.economie.gouv.fr/explore/dataset/bofip-vigueur/","datasetUpdatedAt": "2026-11-19T…","attribution": "Source : BOFiP-Impôts (Bulletin Officiel des Finances Publiques-Impôts), DGFiP — BOI-TVA-CHAMP-10-10-20, publié le 04/06/2025, jeu de données « bofip-vigueur » mis à jour le 19/11/2026, Licence Ouverte / Open Licence 2.0 (Etalab)","disclaimer": "Unofficial reuse of BOFiP-Impôts open data. …","extractedAt": "2026-11-23T…"}
documentKindis derived from the identifier:contenu(any BOI document: commentaries, barèmes, forms, annexes),rescrit,actualite,section(RES index page) orother.questionandreponseare filled only for rescrits that have explicit Question : / Réponse : blocks. In every other case they arenulland the full text stays intexte. Nothing is invented.- Commentaries can be long (tens of thousands of characters).
Dataset views: Overview (no long texts), Full text and Rescrits: Question / Réponse. A RUN_SUMMARY record in the key-value store gives counts, the API's total for your filters and the number of API requests.
Source, licence and how to cite
- Source: BOFiP-Impôts, Direction générale des Finances publiques (DGFiP), open data published on data.economie.gouv.fr and data.gouv.fr.
- Licence: Licence Ouverte / Open Licence 2.0 (Etalab). Commercial reuse is allowed if you credit the source and the date of last update, do not distort the content, and do not suggest any official endorsement.
- When you reuse the output, keep the
attributionfield or cite it like this: « Source : BOFiP-Impôts (DGFiP), BOI-TVA-CHAMP-10-10-20, publié le 04/06/2025 — Licence Ouverte 2.0 ».
Limits and politeness
- At most 2 concurrent requests and at least 1 s between requests, enforced in code. The User-Agent identifies the Actor. A 403 is never retried.
- Short runs ask the API for small pages (as many records as needed, minimum 10), so the default 20-item run makes 2 requests.
- The API serves at most 10,000 records per query. The whole dataset (9,175) fits; if it ever grows past that, the run logs a warning and you should split by series or dates.
- The content is what the official dataset contains. It may differ slightly from what the BOFiP website shows at a given moment.
- Personal-data masking is best effort, using patterns. BOFiP doctrine is normally already anonymised.
Français
Cet Actor extrait toute la doctrine fiscale en vigueur publiée au BOFiP-Impôts, sous forme de JSON structuré : commentaires de toutes les séries BOI (TVA, IR, IS, BIC, BNC, BA, ENR, RFPI, RPPM, INT, PAT, IF, CVAE…), rescrits (avec question et réponse) et actualités. Chaque élément contient l'identifiant, le titre, la série, la division, la date de publication, le texte intégral nettoyé, le permalien officiel et une mention d'attribution.
Il interroge l'API officielle de données ouvertes de la DGFiP sur data.economie.gouv.fr (jeu bofip-vigueur, 9 175 documents en vigueur au 23/11/2026). Il n'aspire pas le site, ni son moteur de recherche.
Non officiel. Cet Actor n'est ni produit, ni validé, ni certifié par la DGFiP ou une autre administration. Il ne constitue pas un conseil fiscal. Seule la version publiée sur bofip.impots.gouv.fr fait foi.
Cas d'usage : cabinets d'expertise comptable et d'avocats (veille par impôt), éditeurs de logiciels fiscaux, pipelines RAG / LLM et agents d'IA (textes citables avec identifiant, date et permalien), recherche juridique.
Entrée : maxItems (20 par défaut pour un échantillon rapide ; 0 = tout, exécution longue), series (codes BOI), taxes (noms usuels traduits en séries : TVA/VAT/IVA → TVA, impôt sur le revenu/IRPF → IR, impôt sur les sociétés → IS, IFI → PAT… ; un nom sans équivalence claire est refusé), onlyRescrits, identifiant, division, query (plein texte), dateFrom / dateTo (AAAA-MM-JJ), sortBy, actualités incluses par défaut, pages d'index RES exclues par défaut, masquage des données personnelles activé par défaut, mode incrémental.
Exemples : { "maxItems": 5 } (entrée préremplie de la Store ; sans maxItems, 20 par défaut) · { "taxes": ["TVA"], "dateFrom": "2024-01-01", "maxItems": 0 } · { "identifiant": "BOI-TVA-CHAMP-10-10-20" } · { "onlyRescrits": true, "maxItems": 0 } · { "series": ["IR"], "incremental": true, "lookbackDays": 14, "maxItems": 0 }.
Sortie : question / reponse ne sont renseignés que pour les rescrits qui contiennent ces blocs ; sinon null, et le texte complet reste dans texte.
Licence et citation : données sous Licence Ouverte 2.0. Réutilisation, y compris commerciale, sous réserve de mentionner la source (« BOFiP-Impôts » ou « Bulletin Officiel des Finances Publiques-Impôts ») et la date. Il ne faut ni dénaturer le contenu, ni laisser croire à un aval officiel. Chaque élément contient un champ attribution prêt à l'emploi.
Limites : 2 requêtes simultanées au maximum et au moins 1 s entre deux requêtes ; un export complet prend plusieurs minutes.
Español
Extrae toda la doctrina fiscal francesa en vigor del BOFiP-Impôts desde la API oficial de datos abiertos de la DGFiP (dataset bofip-vigueur, 9.175 documentos a 23/11/2026). Cubre todas las series BOI: TVA (IVA), IR (renta), IS (sociedades), BIC, ENR, INT, etc., además de los rescrits (con pregunta y respuesta) y las actualités. Cada resultado incluye identificador, título, serie, división, fecha, texto completo, permalink y una línea de atribución lista para usar.
Entrada: la entrada prellenada de la Store es { "maxItems": 5 }; si no se pasa maxItems, devuelve por defecto los 20 documentos más recientes; maxItems: 0 exporta todo lo que pase los filtros (ejecución larga). Filtros: series, taxes (IVA/VAT → TVA, IRPF/income tax → IR, impuesto sobre sociedades → IS…; si un nombre no tiene equivalencia clara, se rechaza), onlyRescrits, identifiant, division, query, dateFrom/dateTo, modo incremental.
Licencia de los datos: Licence Ouverte 2.0. Hay que citar «BOFiP-Impôts» y la fecha, y no presentar los datos como oficiales. No es un producto oficial de la DGFiP ni constituye asesoramiento fiscal.