FatturaPA (Italy / SdI)
00429
Natura non valida
What it means
The Natura code is not one of the allowed values. Since spec v1.6 (2021-01-01) the generic N2, N3 and N6 are no longer accepted at detail level — you must use the sub-codes (N2.1, N2.2, N3.1..N3.6, N6.1..N6.9).
How to fix it
Replace the generic code with the correct sub-code: N2.1 (non soggette art. 7-7septies), N2.2 (altre non soggette), N3.1..N3.6 (non imponibili: esportazioni, cessioni intra, ecc.), N6.1..N6.9 (inversione contabile per tipologia), N1/N4/N5/N7 as before.
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 }}