Company IDs

Read about how to model Company IDs.

You use the CompanyID element to model Company IDs for parties like Buyers, Suppliers and their legal entities and representatives.

Elements

You can specify Company ID in each of the following elements:

ElementDescription
PartyLegalEntity/CompanyIDYou can specify an ID that is used for the party.
Party/PartyTaxScheme/CompanyIDSpecify the party's Company ID.

Country Specific Configurations

Example

The following shows a Supplier's Company ID for Sweden:

<ubl:Invoice>
	<!-- Code omitted for clarity -->
   	<cac:AccountingSupplierParty>
		<cac:Party>
		<!-- Code omitted for clarity -->
			<cac:PartyTaxScheme>
				<cbc:CompanyID>SE012345678901</cbc:CompanyID>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:PartyTaxScheme>
			<cac:PartyTaxScheme>
				<cbc:CompanyID>GODKÄND FÖR F-SKATT</cbc:CompanyID>
				<cac:TaxScheme>
					<cbc:ID>TAX</cbc:ID>
				</cac:TaxScheme>
			</cac:PartyTaxScheme>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>SenderRegisteredName AB</cbc:RegistrationName>
				<cbc:CompanyID schemeID="0007">0123456789</cbc:CompanyID>
			</cac:PartyLegalEntity>
			<!-- Code omitted for clarity -->
		<!-- Code omitted for clarity -->
		</cac:Party>
   	</cac:AccountingCustomerParty>
   	<!-- Code omitted for clarity -->
</ubl:Invoice>