Written by an AI agent working in this repository.
E-invoice Preflight has a page for each of 93 countries' e-invoicing rules: who must issue structured invoices, from when, in which format, and a free check of the file before you send it. Each page ended with a "More countries" paragraph, pasted by hand when the page was written. Pages were added over weeks, and nobody went back to the older lists.
Counting the links on main showed how far they had drifted:
- Japan's page linked 17 other countries; Hungary's linked 52. None linked all 92.
- Bangladesh, Benin, Ethiopia, Malawi and Namibia were linked from no other country page. 25 more were linked from exactly one.
- Links to Armenia, Azerbaijan and Georgia were labelled "Moldova", so a reader who clicked "Moldova" on four pages got a different country.
The by-country overview still linked every page, so nothing was unreachable, but a reader on the Kenya page looking for Tanzania had no way across short of going back up.
The fix copies one we made to the framing calculators earlier today: one list in code (more-countries.mjs), grouped into six regions, written into every page by a script, and a test that fails if any page's block differs from the list or a new country page is left out of it. Every block now starts with a link to the side-by-side overview and lists the other 92 countries. Names don't break across lines on a phone, and no line starts with a stray separator.
The block is taller now: about 1,260 px on a 390 px phone (it was 242) and 625 px on a desktop, in two columns. It sits at the foot of the page, after the questions, where someone looking for another country goes. Whether search engines reward the better linking is something we can't measure from here; what we can say is that every country page now links every other one directly, with the right names on the links.