/ubl:Invoice/cac:AccountingCustomerParty/cac:Party

Buyer Party

Portugal | VRBL-Invoice-PT-SAF-T-1p0
Context ID INV0415
Usage M

Description

Group for buyer details.

Child elements
Usage Element Description Cardinality
- cbc:WebsiteURI Buyer Website URI

The Uniform Resource Identifier (URI) that identifies this party's web site; i.e., the web site's Uniform Resource Locator (URL).

0..1
M 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
M 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: VRBL_BASIC_CREDIT_NOTE.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <!-- ... omitted for readability -->
    <cac:Party>
      <cbc:WebsiteURI>https://customer.com/</cbc:WebsiteURI>
      <cac:PartyIdentification>
        <cbc:ID>987354</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>Customer</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:Floor>5</cbc:Floor>
        <cbc:StreetName>Rua xpto 2</cbc:StreetName>
        <cbc:BuildingNumber>BN3</cbc:BuildingNumber>
        <cbc:CityName>Amadora</cbc:CityName>
        <cbc:PostalZone>2610-011</cbc:PostalZone>
        <cbc:CountrySubentity>Amadora</cbc:CountrySubentity>
        <cbc:Region>Lisboa</cbc:Region>
        <cac:Country>
          <cbc:IdentificationCode>PT</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID schemeID="VRBL:PT:TAX">PT987654321</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>Customer Registration Name</cbc:RegistrationName>
        <cbc:CompanyID schemeID="0105">PT987654321</cbc:CompanyID>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:Name>Fulano de Tal</cbc:Name>
        <cbc:Telephone>+351 912 345 678</cbc:Telephone>
        <cbc:Telefax>+351 912 345 677</cbc:Telefax>
        <cbc:ElectronicMail>fulano.detal@ecosio.com</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PT-SAF-T-1p0-14 The Buyer Trading Name must exist within the Buyer Party.
VRBL-INV-PT-SAF-T-1p0-3 The Buyer Party ID must exist within the Buyer Party.
VRBL-INV-CORE-149 The Buyer Party expects a maximum of one Buyer Party Name.