Context
TR
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party
VRBL-Invoice-TR-1p2 - Buyer Party
Türkiye |
VRBL-Invoice-TR-1p2
| Context ID | INV0415 |
| Usage | O |
Description
Group for buyer details.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cac:PartyName |
Buyer Party Name
A name for this party. |
0..n |
| O | 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 |
| O | cac:Contact |
Buyer Contact
The primary contact for this party. |
0..1 |
Details
Example: TR_invoice_ihracat_export.xml
<ubl:Invoice schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2 file:///C:/Users/FA/Documents/e-invoicing-format/vrbl/maindoc/UBL-Invoice-2.4.xsd">
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PartyName>
<cbc:Name>Customer name</cbc:Name>
</cac:PartyName>
<cac:PostalAddress>
<cbc:Room>1</cbc:Room>
<cbc:StreetName>Street name</cbc:StreetName>
<cbc:BuildingName>C Blok</cbc:BuildingName>
<cbc:BuildingNumber>02</cbc:BuildingNumber>
<cbc:CitySubdivisionName>Ataşehir</cbc:CitySubdivisionName>
<cbc:CityName>Valencia</cbc:CityName>
<cbc:PostalZone>46010</cbc:PostalZone>
<cbc:Region/>
<cac:Country>
<cbc:IdentificationCode>ES</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>9876543210</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:Party>
</cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-TR-1p2-35 | If the Buyer Party contains a TCKN, the Buyer Person Group must exist within the Buyer Party. |
| VRBL-INV-TR-1p2-36 | If the Buyer Party contains a VKN, the Buyer Party Name must exist within the Buyer Party. |
| VRBL-INV-TR-1p2-37 | The Buyer Tax ID must exist within the Buyer Party. |
| VRBL-INV-TR-1p2-43 | If the Invoice Type Code is VRBL:TR:TEKNOLOJIDESTEK, the Buyer Tax ID must contain a 11 character long TCKN. |
| VRBL-INV-CORE-149 | The Buyer Party expects a maximum of one Buyer Party Name. |