Compact Report
Product Code(s) | CPTR |
Level(s) | Standard |
Monitoring Available | No |
Interface | REST |
Method | GET |
Format(s) | JSON, XML |
Service | ReportProduct |
{version} | 3.0 |
Initial Release | October 3, 2013 |
Concise information for making decisions fast. Three years financial comparisons, D&B Rating and a 'maximum credit recommendation' are included to help you set credit limits.
Update History
No modifications have been made to this data layer since the initial release.
Report Request
IMPORTANT: Due to a known issue, please do not include request values for SubmittingOfficeID.
Overview
When requesting this feature, a valid D-U-N-S Number for a company, a product (format) preference, and the appropriate product code will be required. For improved performance, include its country code.
A trade up option exists to request data for the headquarters when the requested organization is a branch.
NOTE: When ordering information for organizations located in Germany, customers are required to provide a valid order reason code.
Options exist to specify a report format and/or language, where available. Unless otherwise specified, reports are delivered in English, in a simple text format.
Report sample(s):
- Compact Report (TXT)
- Compact Report (HTML)
NOTE: This report is available in either text or HTML format, and in the following languages: English, French, Spanish, German, Portuguese, Italian, Dutch, Belgian Dutch, and Belgian French.
Global Availability
The CPTR data layer is available for businesses domiciled in the following countries:
Country | ISO Code |
---|---|
Belgium | BE |
France | FR |
Germany | DE |
Italy | IT |
Netherlands | NL |
Portugal | PT |
Spain | ES |
United Kingdom | GB |
Andorra | AD |
Ireland | IE |
Luxembourg | LU |
Monaco | MC |
San Marino | SM |
French Guiana | GF |
Guadeloupe | GP |
Martinique | MQ |
Reunion Island | RE |
Timor-Leste | TL |
Data Layer Entitlement
For customers in U.S. and Canadian markets, the API is provisioned for specific collections of products, reports, and/or features (collectively referred to as data layers) for production and trial usage. Entitlement is not required for testing in the sandbox environment.
- This particular report is entitled as "D&B Business Information Report (BIR) & Other D&B Reports" for D&B Direct 2.0 customers.
For customers in the UK, Ireland, Belgium, Netherlands and Luxembourg markets, the API is provisioned as a specific set of data layers for production, trial, and sandbox usage.
- This particular data layer is included in the D&B Direct Onboard 2.0 suite.
Specification
Correction: The IncludeAttachmentIndicator option is currently not available in this REST implementation for PDF report formats.
GET https://direct.dnb.com/V3.0/organizations/214567885/products/CPTR?ProductFormatPreferenceCode=5183&IncludeAttachmentIndicator=true Authorization: <MyToken>
Embedded | MTOM | Name | Characteristics |
---|---|---|---|
Y | Y | {version} | Element |
Y | Y | ApplicationTransactionID | string up to 64 chars., Optional A number assigned by the calling application to uniquely identify this request. |
Y | Y | TransactionTimestamp | dateTime, Optional The date and time when this request was created. When the request is from an intermediary, such as a workflow manager or service bus, this is the date and time when the message was sent to the D&B function, i.e., the date and time when the xml document was created by the requesting intermediary. |
Y | Y | SubmittingOfficeID | string up to 64 chars., Optional A number that identifies the system or the software application from where this request originated. / A number used to uniquely identfy the D&B business segment or delivery channel from where this request originated. |
Y | Y | {DUNS} | string up to 15 chars. Pattern: {([0-9a-zA-Z]*)}., Optional The D-U-N-S Number is D&B's identification number, which provides unique identification of this organization, in accordance with the Data Universal Numbering System (D-U-N-S). |
Y | Y | CountryISOAlpha2Code | string at least 2 chars. up to 2 chars., Optional The two-letter country code, defined in the ISO 3166-1 scheme published by International Organization for Standardization (ISO)identifying the country of the inquired subject. |
Y | Y | {productID} | string up to 64 chars., Required An alphanumeric string that uniquely identifies the product being requested. |
Y | Y | ProductFormatPreferenceCode | integer up to 7 digits., Required A D&B code value that describes the defined structure in which the product is to be rendered, e.g., txt, xml, pdf. Possible values: HTML - 5183; TEXT - 15106 (default); PDF - 13204 |
Y | Y | LanguagePreferenceCode | integer up to 7 digits., Optional A D&B code value that defines the language in which the customer wants this product to be rendered. Possible values: English - 39 (default); US English - 331; French - 40; Spanish - 44; German - 41; Portuguese - 43; Italian - 42; Dutch - 38; Belgian Dutch - 36; Belgian French - 37 |
Y | Y | OrderReasonCode | integer up to 7 digits., Optional A D&B code value that defines the grounds for the customer requesting the product, e.g., required to support a credit decision. Possible values: 6332 [Credit Decision]; 6333 [Assessment of credit solvency for intended business connection]; 6334 [Assessment of credit solvency for ongoing business connection]; 6335 [Debt Collection]; 6336 [Commercial Credit Insurance]; 6337 [Insurance Contract]; 6338 [Leasing Agreemen |
Y | Y | TradeUpIndicator | boolean, Optional When true (set to 1) this denotes that the customer has requested that D&B return the data for the Headquarters when the requested organization is a Branch. When false (set to 0) this denotes that the customer has not requested that D&B return the data for the Headquarters when the requested organization is a Branch; however as this is the assumed condition there is no requirement to create this tag to represent this fact. Note: There are D&B WorldWide Network operations where the Headquarters information will be returned automatically, regardless of the customer request. |
Y | IncludeAttachmentIndicator | boolean, Optional When true (set to 1), the Content Object will be returned as an MTOM Attachment. When false (set to 0), the content object will be returned embedded within the XML / JSON Response. Possible values: true/false | |
Y | Y | ArchiveProductOptOutIndicator | boolean, Optional When true (set to 1), it indicates that the product being ordered is not to be stored. When false (set to 0), it indicates that the product being ordered is to be stored; however as this is the assumed condition there is no requirement to create this tag to represent this fact. |
Y | Y | ExtendArchivePeriodIndicator | boolean, Optional When true (set to 1), the duration to archive the data is to be extended. Note: There is an additional cost for extending the archival period of the data purchased. When false (set to 0), the duration to archive the data is not to be extended. |
Y | Y | CustomerReferenceText-n | string up to 240 chars., Optional (up to 5x) A freeform reference string provided by the customer to be linked to the product in order to support subsequent order reconciliation. |
Y | Y | CustomerBillingEndorsementText | string at least 1 chars. up to 240 chars., Optional Text that is filled in by customer and commonly contains requesting individual or department name, or customer's own account/reference number and/or name for the case on which the product was provided.This text is a reference used during the billing process. |
Endpoint
Use the following endpoint for requesting this report. The {version} is dependent on the underlying service delivering the report.
NOTE: While "organizations" is part of this endpoint, there is no service by this name. Many D&B Direct calls have a similar structure; however, the {version} component is based on the SERVICE to which a given product is associated.
Endpoint (ReportProduct) |
---|
GET https://direct.dnb.com/V{version}/organizations/{DUNS}/products/{productID} |
Testing
The following parameters may be used for D&B Direct 2.0 developer sandbox requests to retrieve successful responses. The data returned from sandbox requests may not represent actual values that this feature will deliver.
Report | D-U-N-S Number (Country Code) |
---|---|
Business Background Report | 804735132 (US) |
Business Information Report | 804735132 (US) |
+ BIR Banking (US) | 804735132 (US) |
+ BIR Finance (US) | 804735132 (US) |
+ BIR History & Operations (US) | 804735132 (US) |
+ BIR Special Events/Changes/Updates (US) | 804800217 (US) |
+ BIR ID and Summary | 804735132 (US) |
+ BIR Payments | 804735132 (US) |
+ BIR Public Filings | 804735132 (US) |
+ PAR Payment Habits by Industry (US) | 804735132 (US) |
Compact Report | 214567885 (GB) |
Comprehensive Report | 804735132 (US) |
Electronic Credit File | 214567885 (GB) |
KYC | 804735132 (US) 214567885 (GB) |
Market Analysis Report | n/a |
Report Response
Specification
Text reports are returned in a Base64 encoded format within the Report Content/Data tags. All other formats are returned using the Message Transmission Optimization Mechanism (MTOM) method. An option is available to return all report formats as MTOM attachments.
NOTE: The D&B Direct REST implementation uses the BadgerFish approach for JSON with some minor variations.
NOTE: The D-U-N-S Number returned in the response will be a nine-digit zero-padded, numeric value.
{ "OrderCompanyReportResponse": { "@ServiceVersionNumber": "3.0", "TransactionDetail": { "ServiceTransactionID": "Id-618ad158caf45200d87b57004b742703-2", "TransactionTimestamp": "2017-03-21T16:17:39.704-04:00" }, "TransactionResult": { "SeverityText": "Information", "ResultID": "CM000", "ResultText": "Success" }, "OrderCompanyReportResponseDetail": { "InquiryDetail": { "DUNSNumber": "214567885", "CountryISOAlpha2Code": "GB" }, "Product": { "DNBProductID": "CPTR", "Organization": { "SubjectHeader": { "DUNSNumber": "214567885", "CountryISOAlpha2Code": "GB" }, "OrganizationName": { "OrganizationPrimaryName": { "OrganizationName": { "$": "D & B SAMPLE CO LTD" } } } }, "ObjectAttachment": [ { "ContentObject": { "Include": { "@href": "cid:3ca37bd3:15af27c436a:1ca5" } }, "ObjectFormatTypeText": { "$": "HTML" }, "DNBProductModuleID": [ null ] } ] } } } }
Response Codes & Error Handling
Successful service requests will return a CM000 response code in the TransactionResult ResultID field. Otherwise, one of the D&B Direct standard response codes will be returned.
This operation may return the following response codes: CM001-CM005, CM007, CM008, CM011, CM012, PD001-PD006, and SC001-SC008.
Report Notes
The Product Availability Lookup feature may be utilized to determine if a particular report is available for a given D-U-N-S Number.