/ubl:Invoice/cac:AccountingCustomerParty

Buyer

Serbia | VRBL-Invoice-RS-1p0
Context ID INV0394
Usage M

Description

A group of business terms providing information about the buyer.

Child elements
Usage Element Description Cardinality
M cac:Party Buyer Party

The customer party itself.

0..1
Details

Example: RS_AdvanceInvoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <cac:Party>
      <cbc:EndpointID schemeID="9948">987654321</cbc:EndpointID>
      <cac:PartyIdentification>
        <cbc:ID>JBKJS:12345</cbc:ID>
      </cac:PartyIdentification>
      <cac:PartyName>
        <cbc:Name>BuyerCompanyLegalName</cbc:Name>
      </cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>Kneginje Milice 82</cbc:StreetName>
        <cbc:CityName>Jagodina</cbc:CityName>
        <cac:Country>
          <cbc:IdentificationCode>RS</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>RS987654321</cbc:CompanyID>
        <cac:TaxScheme>
          <cbc:ID>VAT</cbc:ID>
        </cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity>
        <cbc:RegistrationName>BuyerCompanyLegalName</cbc:RegistrationName>
        <cbc:CompanyID>87654321</cbc:CompanyID>
      </cac:PartyLegalEntity>
      <cac:Contact>
        <cbc:ElectronicMail>BuyerMail@mail.rs</cbc:ElectronicMail>
      </cac:Contact>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-RS-1p0-12 The Buyer Tax ID must be sent. If the Buyer Tax Scheme Code is VAT, it can contain: the Serbian TIN preceeded by the prefix RS, or the JMBG.
VRBL-INV-RS-1p0-13 The Buyer Name and Buyer Legal Registration ID must be provided. The Buyer Legal Registration ID must to be 8 digits.