Context
CN
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party
VRBL-Invoice-CN-1p0 - Buyer Party
China |
VRBL-Invoice-CN-1p0
| Context ID | INV0415 |
| Usage | M |
Description
A group of business terms providing information about the buyer.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| M | cac:PartyIdentification |
Buyer Party Identification
An identifier 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: CN_invoice_380.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
<cac:Party>
<cbc:IndustryClassificationCode listID="VRBL:CN:TYPE">BUSINESS</cbc:IndustryClassificationCode>
<cac:PartyIdentification>
<cbc:ID schemeID="VRBL:CN:CODE">00000000000000</cbc:ID>
</cac:PartyIdentification>
<cac:PostalAddress>
<cac:AddressLine>
<cbc:Line>Address Line</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cbc:IdentificationCode>CN</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<cac:PartyTaxScheme>
<cbc:CompanyID>CN123456789012345</cbc:CompanyID>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyLegalEntity>
<cbc:RegistrationName>ReceiverRegisteredName SA</cbc:RegistrationName>
</cac:PartyLegalEntity>
<cac:Contact>
<cbc:Telephone>+861234567890</cbc:Telephone>
</cac:Contact>
</cac:Party>
</cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-CN-1p0-12 | When the Invoice Type Code is 380, the Buyer Party ID used as Company Code must exist within the Buyer Party. |
| VRBL-INV-CN-1p0-13 | When the Invoice Type Code is 380 and the Invoice Subtype Code is FEVT, the Buyer Tax ID used for VAT ID must exist within the Buyer Party. |
| VRBL-INV-CN-1p0-14 | When the Invoice Type Code is 380, the Buyer Name must exist within the Buyer Party. |
| VRBL-INV-CORE-149 | The Buyer Party expects a maximum of one Buyer Party Name. |