DEV Community

Cover image for Building a Terminology Pipeline for Multi-Entity Financial Reporting
Diogo Heleno
Diogo Heleno

Posted on Originally published at m21global.com

Building a Terminology Pipeline for Multi-Entity Financial Reporting

If you've ever worked on internal tooling for a finance team at a multinational, you know the closing cycle is basically a distributed systems problem wearing a spreadsheet costume. Multiple subsidiaries, multiple fiscal calendars, multiple languages, and one consolidated report at the end that all of it has to reconcile into.

There's a good article from M21Global about translating year-end statements for multinational groups that covers the process side of this: mapping documents before close, matching review levels to risk, negotiating deadlines with translation vendors. Worth reading if you're on the finance or ops side.

This post is for the people who get pulled in to actually build something around that process. Because once a company realizes terminology drift between subsidiary reports is a recurring, expensive problem, the next question is always "can we automate part of this?" The answer is yes, partially, and the engineering is more interesting than it sounds.

The actual problem is a vocabulary consistency problem

A finance team producing reports in Portuguese, French and Brazilian Portuguese will end up with three slightly different terms for the same line item. "Provisions pour risques," "provisões para riscos e encargos," "provisões para contingências." None of these are wrong. All of them break automated consolidation if you're trying to map line items programmatically, and all of them slow down human reviewers trying to eyeball whether two reports agree.

This is a terminology management problem before it's a translation problem. If you've worked with localization tooling you'll recognize the shape immediately: it's the same class of issue as keeping UI strings consistent across a product with multiple translators.

Build a glossary as structured data, not a shared doc

The naive version of this is a shared Google Sheet with source term, target language, approved translation. That works for a while. It breaks down once you have multiple standards (IFRS vs local GAAP), multiple entity names, and glossary terms that need versioning across closing cycles.

A better starting point is treating the glossary as structured data you can validate against:

{
  "term_id": "IFRS-DTA-001",
  "concept": "deferred_tax_assets",
  "standard": "IFRS",
  "translations": {
    "pt-PT": "ativos por impostos diferidos",
    "pt-BR": "ativos fiscais diferidos",
    "fr-FR": "actifs d'impôt différé",
    "en-GB": "deferred tax assets"
  },
  "locked": true,
  "notes": "No synonyms permitted. Do not mix with local GAAP equivalent term."
}
Enter fullscreen mode Exit fullscreen mode

Once terminology lives like this, it becomes something you can lint against. A few practical uses:

  • Run a script over translated reports (even just the text layer of a PDF or the XBRL tags) and flag any instance where a locked term's expected translation doesn't appear.
  • Feed the glossary into a CAT tool's termbase (SDL Trados, memoQ, Phrase all support structured term import) so translators get it as an in-context suggestion, not a separate PDF they have to cross-reference.
  • Version it per closing cycle so you can diff Q1 vs Q3 glossary changes and catch terminology drift before it ships.

A lightweight consistency checker

You don't need a full NLP pipeline to catch a lot of these issues. A simple term-matching script against extracted text gets you most of the value:

import re
import json

def load_glossary(path):
    with open(path) as f:
        return json.load(f)

def check_consistency(text, glossary, locale):
    issues = []
    for entry in glossary:
        if not entry.get("locked"):
            continue
        expected = entry["translations"].get(locale)
        if not expected:
            continue
        # crude check: if the concept's source term pattern appears
        # but the approved translation doesn't
        if entry["concept"].replace("_", " ") in text.lower():
            continue
        if expected.lower() not in text.lower():
            issues.append({
                "concept": entry["concept"],
                "expected": expected,
                "locale": locale
            })
    return issues

glossary = load_glossary("glossary.json")
report_text = open("subsidiary_report_fr.txt").read()
issues = check_consistency(report_text, glossary, "fr-FR")
for i in issues:
    print(f"Possible term mismatch: expected '{i['expected']}' for {i['concept']}")
Enter fullscreen mode Exit fullscreen mode

This will never replace a human reviewer, especially for anything that goes to auditors or regulators. But it's a fast first pass that catches the obvious drift before a document even reaches review, and it costs nothing to run on every draft.

Translation memory is just a cache, treat it like one

Translation memory (TM) tools store previously translated segments so they can be reused. If your company switches translation vendors every closing cycle, you're invalidating that cache every time, which is the expensive part people underestimate. The source article makes this point from the process side; from a tooling side it's worth stating plainly: a TM with no continuity is functionally equivalent to a cache with no retention.

If you have any influence over vendor selection or tooling, push for:

  • TM export in a standard format (TMX) so it's portable even if the vendor changes.
  • A shared termbase format you control, not one locked inside a vendor's proprietary platform.
  • API access if the provider has one, so glossary updates and document submission can be scripted rather than done through a web portal every quarter.

Where this fits in a reporting pipeline

If your org already has some kind of XBRL tagging or structured reporting pipeline for consolidation, the glossary validation step slots in naturally as a pre-submission check:

  1. Subsidiary finance team finalizes local-language report.
  2. Automated terminology check runs against the shared glossary, flags mismatches.
  3. Flagged items go back to the translator/reviewer before the document enters formal review.
  4. Document goes through the appropriate review tier (internal use vs audited/published, as the source article describes).
  5. Approved terms and any new concepts get added back into the glossary for the next cycle.

Step 5 is the one people skip, and it's the one that actually compounds value over multiple closing cycles.

The takeaway

None of this replaces professional financial translation, especially for anything that ends up in front of auditors or regulators. But a lot of the pain in multinational closing cycles comes from the same terminology drifting silently across documents and languages, and that part is genuinely tractable with fairly simple tooling. If you're the engineer who gets asked to "just make the reports match," start with a structured glossary before you start thinking about anything fancier.

Top comments (0)