FatturaPA (Italy / SdI)
00415
Natura N6 (inversione contabile) con EsigibilitaIVA diversa da 'S'
What it means
For reverse-charge transactions (Natura N6 / N6.x) the SdI expects EsigibilitaIVA = 'S' (split/scissione is not applicable; immediate exigibility is the convention used here).
How to fix it
When Natura starts with N6, set EsigibilitaIVA to 'S'. Use 'I' (immediata) / 'D' (differita) only for ordinary taxable summaries; 'S' (scissione dei pagamenti) only for split-payment to a PA.
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 }}