---
updatedAt: 2026-06-29T08:55:42.000Z
---

# Spain (FacturaE): Supplier Person Type Code

In Spain, you specify the type of Supplier using the Supplier Person Type Code.

You can specify whether the <<glossary:Supplier>> is a natural or judicial person.

Use the [AccountingSupplierPartyExtension (Extn)](https://developer.vertexinc.com/einvoicing/docs/accountingsupplierpartyextension) <<glossary:Extension>> to specify this value.

# Elements

The following element is grouped in the  `/Invoice/AccountingSupplierParty/UBLExtensions/UBLExtension/ExtensionContent/ AccountingSupplierPartyExtension/` path:

| Element                      | Cardinality | Description                                                                               |
| :--------------------------- | :---------- | :---------------------------------------------------------------------------------------- |
| `Invoice/../IsNaturalPerson` | 0..1        | Set this to `True` for a natural person. To represent a judicial person, specify `false`. |

# Example

```xml
<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:AccountingSupplierParty>
        <cec:UBLExtensions>
            <cec:ExtensionContent>
                <vrbl:AccountingSupplierPartyExtension>
                    <vrbl:IsNaturalPerson>false</vrbl:IsNaturalPerson>
                    <!-- Code omitted for clarity -->
                </vrbl:AccountingSupplierPartyExtension>  
                <!-- Code omitted for clarity -->
            </cec:ExtensionContent>
            <!-- Code omitted for clarity -->
        </cec:UBLExtensions>
        <!-- Code omitted for clarity -->        
    </cac:AccountingSupplierParty>
     <!-- Code omitted for clarity -->
</ubl:Invoice>
```