Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Free test data for Italian e-invoices (FatturaPA), with 13 broken ones on purpose

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,…

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.

Rewritten by urgent.news; may contain errors — check the original. How we use AI.

Source: dev.to

Read the original at dev.to →

More from Dev.to on urgent.news

Get the news by email. Yesterday's most-covered stories, every morning.

We track opens and clicks to improve the newsletter.

See today's edition · More options

More in Tech

Architecting Low-Latency Geofencing for Automated Sound Profiles

It was the middle of a Friday afternoon prayer at the local mosque. The room was perfectly silent, filled with a few hundred people in deep focus.

  • Architectures low-latency geofencing using Android's GeofencingClient
  • Persistent ForegroundService ensures continuous monitoring without Android killing it
  • State machine architecture links location transitions to AudioManager modifications

A free, open-source Shopify currency converter app, and how it's built

Most Shopify currency converter apps do one thing: they swap every price on the storefront into the visitor's currency. That is useful, but Shopify Markets already does it for free.

  • Free, open-source Shopify app enables currency conversion and official rates display
  • AllRates-Today/allratestoday-shopify app available on GitHub under MIT license
  • Theme app extensions allow merchants to add blocks without modifying theme files

More from Sunday, 6 December 2026 →