# Check a Spanish Facturae 3.2.2 XML invoice (Tami)

> Independent utility - not a government site. Confirm official filings with the authority.

- Slug: `validador-facturae-322`
- Country / Language: ES / es
- Archetype: CLIENT_FILE_FIXER
- Official Source: Ministerio de Asuntos Economicos / Hacienda (Portal Facturae) — Facturaev3_2_2.xml XSD oficial (SchemaVersion 3.2.2) (https://www.facturae.gob.es/formato/ultima-version)
- Schema: https://validador-facturae-322.tami.page/api/tools/validador-facturae-322/schema.json
- Run API (GET/POST): https://validador-facturae-322.tami.page/api/tools/validador-facturae-322/run
- Direct JSON: https://validador-facturae-322.tami.page/?facturae_xml_file=%3Cfe%3AFacturae%20xmlns%3Afe%3D%22http%3A%2F%2Fwww.facturae.gob.es%2Fformato%2FVersiones%2FFacturaev3_2_2.xml%22%3E%0A%20%20%3CFileHeader%3E%0A%20%20%20%20%3CSchemaVersion%3E3.2.2%3C%2FSchemaVersion%3E%0A%20%20%20%20%3CModality%3EI%3C%2FModality%3E%0A%20%20%20%20%3CInvoiceIssuerType%3EEM%3C%2FInvoiceIssuerType%3E%0A%20%20%20%20%3CBatch%3E%0A%20%20%20%20%20%20%3CBatchIdentifier%3EDEMO-01%3C%2FBatchIdentifier%3E%0A%20%20%20%20%20%20%3CInvoicesCount%3E1%3C%2FInvoicesCount%3E%0A%20%20%20%20%20%20%3CTotalInvoicesAmount%3E%0A%20%20%20%20%20%20%20%20%3CTotalAmount%3E121.00%3C%2FTotalAmount%3E%0A%20%20%20%20%20%20%3C%2FTotalInvoicesAmount%3E%0A%20%20%20%20%20%20%3CTotalOutstandingAmount%3E%0A%20%20%20%20%20%20%20%20%3CTotalAmount%3E121.00%3C%2FTotalAmount%3E%0A%20%20%20%20%20%20%3C%2FTotalOutstandingAmount%3E%0A%20%20%20%20%20%20%3CTotalExecutableAmount%3E%0A%20%20%20%20%20%20%20%20%3CTotalAmount%3E121.00%3C%2FTotalAmount%3E%0A%20%20%20%20%20%20%3C%2FTotalExecutableAmount%3E%0A%20%20%20%20%20%20%3CInvoiceCurrencyCode%3EEUR%3C%2FInvoiceCurrencyCode%3E%0A%20%20%20%20%3C%2FBatch%3E%0A%20%20%3C%2FFileHeader%3E%0A%20%20%3CParties%3E%0A%20%20%20%20%3CSellerParty%3E%0A%20%20%20%20%20%20%3CTaxIdentification%3E%0A%20%20%20%20%20%20%20%20%3CPersonTypeCode%3EJ%3C%2FPersonTypeCode%3E%0A%20%20%20%20%20%20%20%20%3CResidenceTypeCode%3ER%3C%2FResidenceTypeCode%3E%0A%20%20%20%20%20%20%20%20%3CTaxIdentificationNumber%3EB12345674%3C%2FTaxIdentificationNumber%3E%0A%20%20%20%20%20%20%3C%2FTaxIdentification%3E%0A%20%20%20%20%20%20%3CLegalEntity%3E%0A%20%20%20%20%20%20%20%20%3CCorporateName%3EEjemplo%20SellerParty%3C%2FCorporateName%3E%0A%20%20%20%20%20%20%20%20%3CAddressInSpain%3E%0A%20%20%20%20%20%20%20%20%20%20%3CAddress%3ECalle%20Ejemplo%201%3C%2FAddress%3E%0A%20%20%20%20%20%20%20%20%20%20%3CPostCode%3E28001%3C%2FPostCode%3E%0A%20%20%20%20%20%20%20%20%20%20%3CTown%3EMadrid%3C%2FTown%3E%0A%20%20%20%20%20%20%20%20%20%20%3CProvince%3EMadrid%3C%2FProvince%3E%0A%20%20%20%20%20%20%20%20%20%20%3CCountryCode%3EESP%3C%2FCountryCode%3E%0A%20%20%20%20%20%20%20%20%3C%2FAddressInSpain%3E%0A%20%20%20%20%20%20%3C%2FLegalEntity%3E%0A%20%20%20%20%3C%2FSellerParty%3E%0A%20%20%20%20%3CBuyerParty%3E%0A%20%20%20%20%20%20%3CTaxIdentification%3E%0A%20%20%20%20%20%20%20%20%3CPersonTypeCode%3EJ%3C%2FPersonTypeCode%3E%0A%20%20%20%20%20%20%20%20%3CResidenceTypeCode%3ER%3C%2FResidenceTypeCode%3E%0A%20%20%20%20%20%20%20%20%3CTaxIdentificationNumber%3EB98765432%3C%2FTaxIdentificationNumber%3E%0A%20%20%20%20%20%20%3C%2FTaxIdentification%3E%0A%20%20%20%20%20%20%3CLegalEntity%3E%0A%20%20%20%20%20%20%20%20%3CCorporateName%3EEjemplo%20BuyerParty%3C%2FCorporateName%3E%0A%20%20%20%20%20%20%20%20%3CAddressInSpain%3E%0A%20%20%20%20%20%20%20%20%20%20%3CAddress%3ECalle%20Ejemplo%201%3C%2FAddress%3E%0A%20%20%20%20%20%20%20%20%20%20%3CPostCode%3E28001%3C%2FPostCode%3E%0A%20%20%20%20%20%20%20%20%20%20%3CTown%3EMadrid%3C%2FTown%3E%0A%20%20%20%20%20%20%20%20%20%20%3CProvince%3EMadrid%3C%2FProvince%3E%0A%20%20%20%20%20%20%20%20%20%20%3CCountryCode%3EESP%3C%2FCountryCode%3E%0A%20%20%20%20%20%20%20%20%3C%2FAddressInSpain%3E%0A%20%20%20%20%20%20%3C%2FLegalEntity%3E%0A%20%20%20%20%3C%2FBuyerParty%3E%0A%20%20%3C%2FParties%3E%0A%20%20%3CInvoices%3E%0A%20%20%20%20%3CInvoice%3E%0A%20%20%20%20%20%20%3CInvoiceHeader%3E%0A%20%20%20%20%20%20%20%20%3CInvoiceNumber%3EDEMO-1%3C%2FInvoiceNumber%3E%0A%20%20%20%20%20%20%20%20%3CInvoiceDocumentType%3EFC%3C%2FInvoiceDocumentType%3E%0A%20%20%20%20%20%20%20%20%3CInvoiceClass%3EOO%3C%2FInvoiceClass%3E%0A%20%20%20%20%20%20%3C%2FInvoiceHeader%3E%0A%20%20%20%20%20%20%3CInvoiceIssueData%3E%0A%20%20%20%20%20%20%20%20%3CIssueDate%3E2026-11-20%3C%2FIssueDate%3E%0A%20%20%20%20%20%20%20%20%3CInvoiceCurrencyCode%3EEUR%3C%2FInvoiceCurrencyCode%3E%0A%20%20%20%20%20%20%20%20%3CTaxCurrencyCode%3EEUR%3C%2FTaxCurrencyCode%3E%0A%20%20%20%20%20%20%20%20%3CLanguageName%3Ees%3C%2FLanguageName%3E%0A%20%20%20%20%20%20%3C%2FInvoiceIssueData%3E%0A%20%20%20%20%20%20%3CTaxesOutputs%3E%0A%20%20%20%20%20%20%20%20%3CTax%3E%0A%20%20%20%20%20%20%20%20%20%20%3CTaxTypeCode%3E01%3C%2FTaxTypeCode%3E%0A%20%20%20%20%20%20%20%20%20%20%3CTaxRate%3E21.00%3C%2FTaxRate%3E%0A%20%20%20%20%20%20%20%20%20%20%3CTaxableBase%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CTotalAmount%3E100.00%3C%2FTotalAmount%3E%0A%20%20%20%20%20%20%20%20%20%20%3C%2FTaxableBase%3E%0A%20%20%20%20%20%20%20%20%20%20%3CTaxAmount%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CTotalAmount%3E21.00%3C%2FTotalAmount%3E%0A%20%20%20%20%20%20%20%20%20%20%3C%2FTaxAmount%3E%0A%20%20%20%20%20%20%20%20%3C%2FTax%3E%0A%20%20%20%20%20%20%3C%2FTaxesOutputs%3E%0A%20%20%20%20%20%20%3CInvoiceTotals%3E%0A%20%20%20%20%20%20%20%20%3CTotalGrossAmount%3E100.00%3C%2FTotalGrossAmount%3E%0A%20%20%20%20%20%20%20%20%3CTotalGrossAmountBeforeTaxes%3E100.00%3C%2FTotalGrossAmountBeforeTaxes%3E%0A%20%20%20%20%20%20%20%20%3CTotalTaxOutputs%3E21.00%3C%2FTotalTaxOutputs%3E%0A%20%20%20%20%20%20%20%20%3CTotalTaxesWithheld%3E0.00%3C%2FTotalTaxesWithheld%3E%0A%20%20%20%20%20%20%20%20%3CInvoiceTotal%3E121.00%3C%2FInvoiceTotal%3E%0A%20%20%20%20%20%20%20%20%3CTotalOutstandingAmount%3E121.00%3C%2FTotalOutstandingAmount%3E%0A%20%20%20%20%20%20%20%20%3CTotalExecutableAmount%3E121.00%3C%2FTotalExecutableAmount%3E%0A%20%20%20%20%20%20%3C%2FInvoiceTotals%3E%0A%20%20%20%20%20%20%3CItems%3E%0A%20%20%20%20%20%20%20%20%3CInvoiceLine%3E%0A%20%20%20%20%20%20%20%20%20%20%3CItemDescription%3EServicio%20de%20ejemplo%3C%2FItemDescription%3E%0A%20%20%20%20%20%20%20%20%20%20%3CQuantity%3E1%3C%2FQuantity%3E%0A%20%20%20%20%20%20%20%20%20%20%3CUnitPriceWithoutTax%3E100.00%3C%2FUnitPriceWithoutTax%3E%0A%20%20%20%20%20%20%20%20%20%20%3CTotalCost%3E100.00%3C%2FTotalCost%3E%0A%20%20%20%20%20%20%20%20%20%20%3CGrossAmount%3E100.00%3C%2FGrossAmount%3E%0A%20%20%20%20%20%20%20%20%20%20%3CTaxesOutputs%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CTax%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CTaxTypeCode%3E01%3C%2FTaxTypeCode%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CTaxRate%3E21.00%3C%2FTaxRate%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CTaxableBase%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CTotalAmount%3E100.00%3C%2FTotalAmount%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2FTaxableBase%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CTaxAmount%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3CTotalAmount%3E21.00%3C%2FTotalAmount%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2FTaxAmount%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2FTax%3E%0A%20%20%20%20%20%20%20%20%20%20%3C%2FTaxesOutputs%3E%0A%20%20%20%20%20%20%20%20%3C%2FInvoiceLine%3E%0A%20%20%20%20%20%20%3C%2FItems%3E%0A%20%20%20%20%3C%2FInvoice%3E%0A%20%20%3C%2FInvoices%3E%0A%3C%2Ffe%3AFacturae%3E&format=json

## Inputs
- `facturae_xml_file` (file, required): XML file — Choose a file or paste XML. The browser checks it locally.
