Dun & Bradstreet identification number

« Back to Glossary Index

Dun & Bradstreet identification number


The DUNS (Dun & Bradstreet) number is a unique identifier commonly used in EDI transmissions to uniquely identify companies and organizations. This number is provided by Dun & Bradstreet, a company specialized in providing business information. The use of the DUNS number in EDI transmissions ensures the accurate identification of entities involved in commercial transactions.

Use Case:

An example use case of the DUNS number in EDI transactions is in the process of exchanging invoices between a supplier and a customer. By including the DUNS number in EDI documents such as invoices and acknowledgments, the involved parties can easily identify the correct business partner and conduct transactions without ambiguity.

Script Code Example:

// Example code for obtaining and using the DUNS number in an EDI transaction

const dunsNumber = “123456789”; // The DUNS number of the entity

function createEDIMessage(data) {
const message = {
senderDUNS: dunsNumber,
receiverDUNS: data.receiverDUNS,
// Other transaction details and data for the EDI message

// Generate and return the formatted EDI message
return formatEDIMessage(message);

// Other functions and transactional logic

Best Practices:

  1. Ensure that the DUNS number used is accurate and up-to-date before performing EDI transactions. Update it when business information changes.
  2. Verify the integrity and validity of the DUNS number before processing transactions to avoid errors and discrepancies in communication with business partners.
  3. Keep the DUNS number confidential and secure as it is a unique identifier of the business and can be used in various business processes.

For a robust and efficient EDI solution, you can utilize the EDIconnect platform, an EDI solution provider. EDIconnect offers a comprehensive set of tools and services for managing and implementing EDI transactions in a simple and secure manner.