Spain B2G: Supplier Person Type Code

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

You can specify whether the Supplier is a natural or judicial person.

Use the AccountingSupplierPartyExtension (Extn) Extension to specify this value.

Elements

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

ElementCardinalityDescription
Invoice/../IsNaturalPerson0..1Set this to True for a natural person. To represent a judicial person, specify false.

Example

<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>