Context
ES
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party
VRBL-Invoice-ES-PeppolBIS-3p0 - Buyer Party
Spain |
VRBL-Invoice-ES-PeppolBIS-3p0
| Context ID | INV0415 |
| Usage | M |
| Final Format Path | /ubl:Invoice/cac:AccountingCustomerParty/cac:Party |
Description
A group of business terms providing information about the buyer.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cbc:EndpointID |
Buyer Electronic Address
An identifier for the end point of the routing service (e.g., EAN Location Number, GLN). |
0..1 |
| O | cac:PartyIdentification |
Buyer Party Identification
An identifier for this party. |
0..n |
| O | cac:PartyName |
Buyer Party Name
A name for this party. |
0..n |
| M | cac:PostalAddress |
Buyer Postal Address
The party's postal address. |
0..1 |
| O | cac:PartyTaxScheme |
Buyer Party Tax
A tax scheme applying to this party. |
0..n |
| M | cac:PartyLegalEntity |
Buyer Party Legal Entity
A description of this party as a legal entity. |
0..n |
| O | cac:Contact |
Buyer Contact
The primary contact for this party. |
0..1 |
Details
Example: ES_creditnote.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<cac:Party>
<cbc:EndpointID schemeID="9920">ES987654321</cbc:EndpointID>
<cac:PartyName>
<cbc:Name>CompanyName</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:StreetName>StreetName</cbc:StreetName>
<cbc:CityName>CityName</cbc:CityName>
<cbc:PostalZone>PostalZone</cbc:PostalZone>
<cac:Country>
<cbc:IdentificationCode>ES</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>COUNTRY+VAT_ID</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>ReceiverRegisteredName</cbc:RegistrationName>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Telephone>Phone_number</cbc:Telephone>
<cbc:ElectronicMail>name@buyer.com</cbc:ElectronicMail>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CORE-149 | The Buyer Party expects a maximum of one Buyer Party Name. |