FatturaPA (Italy / SdI)
00444
RegimeFiscale non valido
What it means
RegimeFiscale (CedentePrestatore/DatiAnagrafici/RegimeFiscale) is not one of the allowed codes RF01..RF19.
How to fix it
Use the code for your tax regime: RF01 ordinario, RF02/RF04/RF05/RF06 special schemes, RF18 altro, RF19 forfettario (regime forfettario L.190/2014). Remove any free text.
Catch this before it reaches the SdI:
# CLI
npx @eleata/validate-einvoice validate invoice.xml --format fatturapa
# GitHub Action — fail the build on any invalid invoice
- uses: hernaninverso/validate-einvoice-action@v1
with:
files: invoices/**/*.xml
api-key: ${{ secrets.EINVOICE_API_KEY }}