/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress

Seller Postal Address

Poland | VRBL-Invoice-PL-B2B-3p0
Context ID INV0312
Usage M

Description

A group of business terms providing information about the address of the Seller.

In the KSeF FA(3) format there are no individual elements for streetname, city and postal zone. There are only two generic free-text address line elements. Therefore in inbound AP invoices also in VRBL, only two Buyer Address Line elements cbc:AddressLine can be provided and no streetname, city and postal zone are available.

Child elements
Usage Element Description Cardinality
O cbc:StreetName Seller Address Line 1

The name of the street, road, avenue, way, etc. to which the number of the building is attached.

0..1
O cbc:CityName Seller City

The name of a city, town, or village.

0..1
O cbc:PostalZone Seller Postal Zone

The postal identifier for this address according to the relevant national postal service, such as a ZIP code or Post Code.

0..1
O cac:AddressLine Seller Address Line Group

An unstructured address line.

0..n
M cac:Country Seller Country

The country in which this address is situated.

0..1
Details

vrbl-invoice-pl-b2b-3p0

Example of expected Seller Address for outbound AR invoices.

<ubl:Invoice>
    <!-- code omitted for clarity -->
    <cac:AccountingSupplierParty>
        <!-- code omitted for clarity -->
        <cac:Party>
            <cac:PostalAddress>
                <cbc:StreetName>ul. Sadowa 1 lok. 3</cbc:StreetName>
                <cbc:CityName>Poznań</cbc:CityName>
                <cbc:PostalZone>00-004 </cbc:PostalZone>
                <cac:Country>
                    <cbc:IdentificationCode>PL</cbc:IdentificationCode>
                </cac:Country>
            </cac:PostalAddress>
        </cac:Party>
        <!-- code omitted for clarity -->
    </cac:AccountingSupplierParty>
</ubl:Invoice>

Example of Seller Address for inbound AP invoices.

<ubl:Invoice>
    <!-- code omitted for clarity -->
    <cac:AccountingSupplierParty>
        <!-- code omitted for clarity -->
        <cac:Party>
            <cac:PostalAddress>
                <!-- no streetname, city and postal zone -->
                <cac:AddressLine>
                    <cbc:Line>ul. Sadowa 1 lok. 3</cbc:Line>
                </cac:AddressLine>
                <cac:AddressLine>
                    <cbc:Line>00-002 Kraków</cbc:Line>
                </cac:AddressLine>
                <cac:Country>
                    <cbc:IdentificationCode>PL</cbc:IdentificationCode>
                </cac:Country>
            </cac:PostalAddress>
        </cac:Party>
        <!-- code omitted for clarity -->
    </cac:AccountingSupplierParty>
</ubl:Invoice>

Example: VRBL_FA3_AP-invoice-KSeF-number.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingSupplierParty>
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PostalAddress>
        <cbc:StreetName>ul. Kwiatowa 1 m. 2</cbc:StreetName>
        <cbc:CityName>Warszawa</cbc:CityName>
        <cbc:PostalZone>00-001</cbc:PostalZone>
        <cac:Country>
          <cbc:IdentificationCode>PL</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <!-- ... omitted for readability -->
    </cac:Party>
  </cac:AccountingSupplierParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PL-B2B-3-108 When Seller Address Line Group is not provided, the Seller Address Line 1 must exist within the Seller Postal Address.
VRBL-INV-PL-B2B-3-109 When Seller Address Line Group is not provided, the Seller City must exist within the Seller Postal Address.
VRBL-INV-PL-B2B-3-110 When Seller Address Line Group is not provided, the Seller Postal Zone must exist within the Seller Postal Address.
VRBL-INV-PL-B2B-3-111 The Seller Address Line Group is expected no more than 2 times within the Seller Postal Address.