Spain
Spain-specific extraction features: CIF normalisation and validation, plus customer DNI/NIF and customer name extraction.
Taggun’s core receipt and invoice extraction is available for documents from Spain. Which optional fields and country-specific results are returned depends on the endpoint, request parameters, account settings, and submitted document. Country-specific results may be omitted or returned without a usable value. For currency, date format, language, and tax-system context, see Supported Countries & Languages.
Document Context
Spanish receipts and invoices may include documents such as the following. This is market context, not a claim that the Spain-specific response classifies document type:
- Factura — formal invoices issued for sales or services rendered.
- Recibo — tax-compliant receipts typically used for smaller transactions.
- Tarjeta de Crédito/Débito — credit/debit card receipts.
CIF Normalisation & Validation
The CIF (Código de Identificación Fiscal) is the Spanish company tax identification number (format A12345678). Taggun validates and normalises the merchant's CIF for consistency, regardless of how it appears on the receipt or invoice.
Customer DNI / NIF Extraction
Taggun extracts a billed party's DNI/NIF (8 digits followed by a letter) and applies the documented format/check-digit validation. This does not confirm the identifier against an external registry.
Customer Name Extraction
When printed and detected, Taggun can return the billed party’s name and DNI/NIF.
Customer-side extractionThese optional extraction fields do not verify identity. They can support loyalty, customer-record, or B2B expense workflows when your integration independently verifies any identity-sensitive use.
Response Fields
When using the verbose endpoints, the following Spain-specific properties are available when enabled:
These optional properties and envelopes may be omitted, null, empty, or present without a populated data value. Guard both the object and data before use.
| Field Name | Type | Access Path | Description |
|---|---|---|---|
| CIF (Merchant) | string | null | merchantTaxId.data | Tax identification number (CIF) of the merchant issuing the receipt or invoice, when available. |
| DNI or NIF (Billed Entity) | string | null | entities.spainReceiptDetails.billToTaxId.data | Tax identification number (DNI or NIF) of the individual or entity billed, when available. |
| Billed Entity Name | string | null | entities.spainReceiptDetails.billToName.data | Name of the individual or entity billed, when available. |
Availability
AvailabilityEnable Regional → Country Specific Details for the dedicated Spain envelope and Regional → Merchant Tax ID for
merchantTaxIdwhen those controls are available. If a needed control is unavailable, contact [email protected]. See Plans & Feature Access.
Need something not covered here? Contact [email protected] — see Contacting Support.
Updated 1 day ago