Spain B2G: Buyer Person Type Code

You can indicate whether the Buyer is a natural or judicial person.

Use the AccountingSupplierPartyExtension (Extn) element to specify this information.

If it is set to true, the Buyer is a natural person. If it is set to false, the Buyer is a judicial person.

Elements

The following element is located at the /Invoice/AccountingCustomerParty/UBLExtensions/UBLExtension/ExtensionContent/AccountingCustomerPartyExtension/IsNaturalPerson path:

Element Name (Technical Name)CardinalityDescription
Buyer Person Type code (IsNaturalPerson)1..1A Boolean value to specify whether the party is a natural or judicial person.

Example

<ubl:Invoice>
    <!-- Code omitted for clarity -->
    <cac:AccountingCustomerParty>
        <cec:UBLExtensions>
            <cec:ExtensionContent>
                <vrbl:AccountingCustomerPartyExtension>
                    <vrbl:IsNaturalPerson>false</vrbl:IsNaturalPerson>
                    <!-- Code omitted for clarity -->
                </vrbl:AccountingCustomerPartyExtension>  
                <!-- Code omitted for clarity -->
            </cec:ExtensionContent>
            <!-- Code omitted for clarity -->
        </cec:UBLExtensions>
        <!-- Code omitted for clarity -->        
    </cac:AccountingCustomerParty>
     <!-- Code omitted for clarity -->
</ubl:Invoice>