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:

  1. Factura — formal invoices issued for sales or services rendered.
  2. Recibo — tax-compliant receipts typically used for smaller transactions.
  3. 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 extraction

These 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 NameTypeAccess PathDescription
CIF (Merchant)string | nullmerchantTaxId.dataTax identification number (CIF) of the merchant issuing the receipt or invoice, when available.
DNI or NIF (Billed Entity)string | nullentities.spainReceiptDetails.billToTaxId.dataTax identification number (DNI or NIF) of the individual or entity billed, when available.
Billed Entity Namestring | nullentities.spainReceiptDetails.billToName.dataName of the individual or entity billed, when available.

Availability

📘

Availability

Enable Regional → Country Specific Details for the dedicated Spain envelope and Regional → Merchant Tax ID for merchantTaxId when 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.


Did this page help you?