{
  "id": 23915619,
  "title": "Free test data for Italian e-invoices (FatturaPA), with 13 broken ones on purpose",
  "url": "https://urgent.news/2026/12/06/free-test-data-for-italian-e-invoices-fatturapa-with-13-broken-ones",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-06T22:10:21.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/fmdatalab/free-test-data-for-italian-e-invoices-fatturapa-with-13-broken-ones-on-purpose-224f"
  },
  "original_language": null,
  "account": "Italian electronic invoices, known as FatturaPA, often contain sensitive information such as names, tax codes, and IBANs, making them unsuitable for public distribution. A researcher has created a generator to produce a sample of both valid and broken invoices, with 36 valid invoices and 13 containing intentional errors. While the XSD schema is used to verify the structure of FatturaPA invoices, it does not check for arithmetic or tax rule compliance. The issues covered in the sample include mismatches between the total and amount due, incorrect VAT rates, wrong line totals, and non-existent Natura codes. The dataset, available on Hugging Face and GitHub, provides the full XML files along with their expected values, allowing for easy testing and comparison. The generator is available on Apify for those needing larger datasets or specific scenarios.",
  "summary": "A while ago I started looking at Italian electronic invoices (FatturaPA) and needed test files. It turned out to be harder than I expected. Real invoices are out. They're full of names, tax codes and IBANs, so you can't just drop them in a repo or a CI job. Writing the XML by hand works for two or three files, but then you're only testing the cases you already had in mind. So I wrote a generator,…",
  "summary_source": "publisher",
  "key_points": [
    "Italian e-invoices (FatturaPA) contain sensitive data like names and tax codes",
    "Researcher created generator with 36 valid, 13 broken invoices",
    "Dataset available on Hugging Face, GitHub, and Apify for testing"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}