SDI-00473
For 2.1.1.1 <TipoDocumento> … the seller country 1.2.1.1.1 <IdPaese> … is not allowed (TD17, TD18, TD19 and TD28 exclude an Italian seller; TD29 requires IT).
Official rule text
SDI 00473: For 2.1.1.1 <TipoDocumento> … the seller country 1.2.1.1.1 <IdPaese> … is not allowed (TD17, TD18, TD19 and TD28 exclude an Italian seller; TD29 requires IT).
Where the rule applies
| Rule set | Document type | Severity |
|---|---|---|
| FatturaPA (XML schema, SDI controls) (1.2.3) Agenzia delle Entrate | FatturaPA 1.2.3 FPR12 (B2B), FatturaPA 1.2.3 FPA12 (public sector) | error |
Fatal and error findings make the invoice invalid (valid: false); warnings and information do not.
Technical check
- Syntax
- FATTURAPA · FatturaPA (XML schema, SDI controls) (1.2.3)
- Condition
($tipo = $TD-NOT-IT-SELLER and $sellerCountry = 'IT') or ($tipo = 'TD29' and $sellerCountry != 'IT')
- Syntax
- UBL · FatturaPA (XML schema, SDI controls) (1.2.3)
- Condition
($tipo = $TD-NOT-IT-SELLER and $sellerCountry = 'IT') or ($tipo = 'TD29' and $sellerCountry != 'IT')
How the API reports this rule
Every finding of POST /v1/validate carries the rule id, severity, message, location (XPath) and rule set, and links this page (docUrl):
{
"severity": "error",
"ruleId": "SDI-00473",
"message": "SDI 00473: For 2.1.1.1 <TipoDocumento> … the seller country 1.2.1.1.1 <IdPaese> … is not allowed (TD17, TD18, TD19 and TD28 exclude an Italian seller; TD29 requires IT).",
"xpath": "/…",
"source": "schematron:fatturapa@1.2.3",
"docUrl": "https://einvoice-api.eu/rules/sdi-00473.html"
}Check an invoice against this rule and every other rule of the rule set – in the browser, without sign-up.
Rule text and severity are taken unchanged from the official rule set; this page is generated from the API's configuration. Not legal advice.