/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
VRBL-Invoice-PL-B2B-3p0 - Buyer Postal Address
| Context ID | INV0433 |
| Usage | M |
Description
Group for buyer postal address details.
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 |
Buyer 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 |
Buyer City
The name of a city, town, or village. |
0..1 |
| O | cbc:PostalZone |
Buyer 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 |
Buyer Address Line Group
An unstructured address line. |
0..n |
| M | cac:Country |
Buyer Country
The country in which this address is situated. |
0..1 |
Details
vrbl-invoice-pl-b2b-3p0
Example of expected Buyer Address for outbound AR invoices.
<ubl:Invoice>
<!-- code omitted for clarity -->
<cac:AccountingCustomerParty>
<!-- 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:AccountingCustomer>
</ubl:Invoice>
Example of Buyer Address for inbound AP invoices.
<ubl:Invoice>
<!-- code omitted for clarity -->
<cac:AccountingCustomerParty>
<!-- 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:AccountingCustomerParty>
</ubl:Invoice>
Example: VRBL_FA3_AP-invoice-KSeF-number.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
<cac:Party>
<!-- ... omitted for readability -->
<cac:PostalAddress>
<cbc:StreetName>ul. Polna 1</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:AccountingCustomerParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PL-B2B-3-112 | When Buyer Address Line Group is not provided, the Buyer Address Line 1 must exist within the Buyer Postal Address. |
| VRBL-INV-PL-B2B-3-113 | When Buyer Address Line Group is not provided, the Buyer City must exist within the Buyer Postal Address. |
| VRBL-INV-PL-B2B-3-114 | When Buyer Address Line Group is not provided, the Buyer Postal Zone must exist within the Buyer Postal Address. |
| VRBL-INV-PL-B2B-3-115 | The Buyer Address Line Group is expected no more than 2 times within the Buyer Postal Address. |