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:
Element | Cardinality | Description |
---|---|---|
Invoice/../IsNaturalPerson | 0..1 | Set 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>
Updated 11 days ago