# SDI-00476

Source: https://xmlvalid.com/rules/SDI-00476

> Gli elementi 1.2.1.1.1 <IdPaese> e 1.4.1.1.1 <IdPaese> non possono essere entrambi valorizzati con codice diverso da IT

- Level: error
- Rule sets: SdI checks (FatturaPA ordinary invoice) Specifiche tecniche 1.9.1
- Context: `/p:FatturaElettronica`
- Test: `not($sellerCountry != 'IT' and $buyer/IdFiscaleIVA/IdPaese and $buyer/IdFiscaleIVA/IdPaese != 'IT')`

> Gli elementi 1.2.1.1 <IdPaese> e 1.3.1.1.1 <IdPaese> non possono essere entrambi valorizzati con codice diverso da IT

- Level: error
- Rule sets: SdI checks (FatturaPA simplified invoice) Specifiche tecniche 1.9.1
- Context: `/s:FatturaElettronicaSemplificata`
- Test: `not($sellerCountry != 'IT' and $buyer/IdFiscaleIVA/IdPaese and $buyer/IdFiscaleIVA/IdPaese != 'IT')`

In English: The seller's and the buyer's VAT numbers cannot both be foreign (IdPaese other than IT).

Validate a document against these rules: https://xmlvalid.com/validate
