Skip to content

Supplier Declarations ​

At a glance

  • Make a declaration: POST /submissions/xml with an IPC-1752A or IPC-1752B XML file in Distribute mode
  • Declaration types: a Regulatory Compliance Declaration (RCD, Class C) or a Full Material Declaration (FMD, Class D)
  • One file: one RCD for one or more parts, or one FMD for one part
  • Check the result: GET /submissions/{submissionNumber}. See Submission Status.
  • Processing: in the background. BOMcheck returns a submission number straight away.
  • Tiered allowance: each well-formed file counts. See Allowances & Limits.

Use the Supplier Declarations module to declare your own parts from your system. You send an IPC-1752A or IPC-1752B XML file, and BOMcheck makes and approves the declaration for your company, the same as a declaration made in the web application. This page is for suppliers who connect a PLM, ERP or compliance system to BOMcheck.

The module works like the Declaration Tools. For authorization and the API base URLs, see Getting Started. In samples, API_TOKEN stands for your token.

How a Declaration Works ​

BOMcheck processes declarations in the background:

  1. Send the XML file. BOMcheck checks that it is well formed and returns 202 Accepted with a submissionNumber.
  2. BOMcheck checks the file against the IPC schema and the BOMcheck rules, then makes and approves the declaration.
  3. Check the result with Submission Status. When the status is VALIDATION_SUCCEEDED or WARNING, refValue holds the ID of the new declaration.

You can also see each submission on the Submissions tab of the Platform API page in BOMcheck.

POST Make a Declaration ​

/submissions/xml

Makes an RCD or an FMD from an IPC-1752A or IPC-1752B XML file. Send the XML file as the request body, with Content-Type: application/xml.

BOMcheck reads three things from the file to decide what to do:

To decideBOMcheck readsValue for a declaration
The moduleThe mode attribute of BusinessInfoDistribute
The IPC standardThe namespace of MainDeclarationIPC-1752B if the namespace contains 1752B, otherwise IPC-1752A
The declaration typeSubSectional in SectionalC for an RCD, D for an FMD. If the file has both, BOMcheck makes an FMD.

One endpoint, two modules

POST /submissions/xml also sends supplier requests. A file in Request/Reply mode sends a request instead of making a declaration. See Supplier Requests.

Before you send an example file, change the DUNS number and email addresses in Response to your own company and user.

For the structure of an IPC file and where the two standards differ, see IPC 1752 Standards.

Query Parameters ​

All query parameters are optional. Use them to make a declaration confidential, as you can in the web application:

ParameterTypeDescription
rcdConfidentialityBooleanIf true, the RCD is confidential to the manufacturers in rcdManufacturers. If false, all BOMcheck users can see it. Default: false. For an FMD file, this applies to the RCD that BOMcheck makes from the FMD.
rcdManufacturers[]Array of stringsThe nine-digit DUNS numbers of the manufacturers that can see a confidential RCD. Send up to 255. Repeat the parameter for each manufacturer.
fmdConfidentialityBooleanFMD files only. If true, the FMD is confidential to the manufacturers in fmdManufacturers. If false, all BOMcheck users can see it. Default: false.
fmdManufacturers[]Array of stringsFMD files only. The nine-digit DUNS numbers of the manufacturers that can see a confidential FMD. Send up to 255. Repeat the parameter for each manufacturer.

If a DUNS number does not belong to a BOMcheck company, BOMcheck still makes the declaration and returns a WARNING.

For more about confidentiality, see Confidentiality Settings.

Request Sample ​

To make an RCD from the XML file declaration.xml, confidential to two manufacturers:

bash
curl -g -X POST "https://api.bomcheck.com/v2/submissions/xml?rcdConfidentiality=true&rcdManufacturers[]=111111111&rcdManufacturers[]=222222222" \
  -H "Authorization: Bearer API_TOKEN" \
  -H "Content-Type: application/xml" \
  -H "Accept: application/json" \
  --data-binary "@declaration.xml"

The -g option stops curl from reading the square brackets as a pattern.

Responses ​

202 Accepted: BOMcheck has accepted the file and will process it. Use submissionNumber or statusUrl to check the result:

json
{
    "submissionNumber": "a1b2c3d4e5f6",
    "statusUrl": "https://api.bomcheck.com/v2/submissions/a1b2c3d4e5f6",
    "reportUrl": "https://app.bomcheck.com/en/c#/platform-api/submissions/a1b2c3d4e5f6"
}

415 Unsupported Media Type: the body is not XML, or the XML is not well formed. The file does not count towards your tiered allowance.

422 Unprocessable Entity: a query parameter is not valid. errors lists the problems by parameter. The request still counts towards your tiered allowance.

BOMcheck checks the file against the IPC schema and the BOMcheck rules after it accepts it, so those errors appear in Submission Status.

For other status codes, including allowance and rate limit errors, see HTTP Responses.

What Every Declaration Needs ​

BOMcheck makes the declaration for your company, the company that owns the API token. In BusinessInfo/Response, every file needs:

ValueXMLRule
Approveraddress of Authorizer/EmailMust belong to a user of your company. BOMcheck approves the declaration as this user.
Approver namename of AuthorizerShown as the approver of the declaration.
Your companyidentity of SupplyCompany/CompanyID, with authority="DUNS"Your company's DUNS number.
Approval datedate of ResponseOptional. Default: today.

For each part, effectiveDate of ProductID is the date the declaration takes effect. It must be today or earlier. If it is missing, BOMcheck uses today and returns a WARNING.

BOMcheck approves the declaration straight away. To change a declaration, send a new file for the same part numbers.

Each Attachment in Product/MaterialInfo links to an evidence file. BOMcheck downloads each file from its fileURL and adds it to the declaration. If a download fails, or the file type or size is not allowed, BOMcheck makes the declaration without that file and returns a WARNING.

RCD Files (Class C) ​

An RCD file declares, for each list, whether each substance category is above its threshold. One file can declare one or more parts.

BOMcheck reads these values:

ValueXMLRule
Your companyidentity of Response/SupplyCompany/CompanyIDMust be the DUNS number of your company.
Part numbersitemNumber of each ProductIDRequired. One ProductID for each part.
Part namesitemName of each ProductIDOptional.
Part weightsvalue and UOM of ProductID/AmountRequired.
UnitunitType of Producteach, cm, m, cm2, m2, cm3, m3 or l, in upper or lower case. BOMcheck reads any other value, or no value, as each.
ListsSubstanceCategoryListID in each SubstanceCategoryListauthority and identity must match a list that BOMcheck supports.
Substance categoriesidentity of SubstanceCategory/SubstanceCategoryIDMust belong to the list.
Above the thresholdoverThreshold of SubstanceCategory/Thresholdfalse: below the threshold. true with an exemption: exempt. true without an exemption: above the threshold.
Exemptionsidentity of each SubstanceCatExemptionList/ExemptionMust be valid for the substance category.
Concentration or amountvalue of SubstanceCategory/Concentration or SubstanceCategory/AmountOptional.

To get the list IDs and the substance categories in each list, see GET Supported Substance Lists. For the exemption IDs, see GET Exemption Lists Index.

In an IPC-1752B file, Product is inside IPC-1752B, and the list IDs are IPC-1752B IDs. An IPC-1752B file can also give the SCIP data for REACH Candidate List substances above the threshold: the article category (ArticleCategoryList with authority="ECHA"), the material category (MaterialCategoryList) and the safe use information (SafeUseList). Without them, and in every IPC-1752A file, BOMcheck uses these defaults:

  • Article category: CN code 8543900000, parts of electrical machines and apparatus that have individual functions
  • Material category: other
  • Safe use information: none

BOMcheck makes the RCD from the lists and substance categories that it recognises. For each of the following, it leaves the item out, makes the RCD and returns a WARNING:

  • A list that BOMcheck does not support, or that is not active
  • A list ID from the other IPC standard, or with the wrong authority
  • A substance category that is not in the list
  • An exemption that is not valid for the substance category

When processing succeeds, refType is rcd and refValue is the ID of the RCD.

FMD Files (Class D) ​

An FMD file declares the full material content of one part: its homogeneous materials, and the substances in each material. If the file has more than one ProductID, BOMcheck uses the first.

BOMcheck reads these values:

ValueXMLRule
Part numberitemNumber of ProductIDRequired. Up to 50 characters, in Latin letters, numbers and common punctuation.
Part nameitemName of ProductIDOptional. Up to 255 characters.
Part weightvalue and UOM of ProductID/AmountRequired. value must be more than 0. UOM is µg, mg, g or kg.
UnitunitType of Producteach, cm, m, cm2, m2, cm3, m3 or l, in upper or lower case. BOMcheck reads any other value, or no value, as each.
Number of instancesnumberOfInstances of ProductMust be 1. If it is missing, BOMcheck uses 1 and returns a WARNING.
MaterialsEach MaterialInfo/HomogeneousMaterialList/HomogeneousMaterialRequired. At least one.
Material usename of HomogeneousMaterialRequired. Up to 255 characters. Must not contain |.
MaterialmaterialGroupName of HomogeneousMaterialRequired. Must match the name of a material in BOMcheck.
Material weightvalue and UOM of HomogeneousMaterial/AmountRequired.
Substancesname of Substance, and identity of Substance/SubstanceID with authority="CAS"Required. The CAS number must be in BOMcheck.
Substance amountvalue of Substance/Concentration (percentage of the material), or value and UOM of Substance/AmountRequired.
Exemptionsidentity of each ExemptionOptional. Must be valid for the substance.

The two standards put substances in different places:

ElementIPC-1752AIPC-1752B
ProductDirectly inside MainDeclarationInside IPC-1752B
SubstanceInside HomogeneousMaterial/SubstanceCategoryList/SubstanceCategoryDirectly inside HomogeneousMaterial
ExemptionInside SubstanceCategory/SubstanceCatExemptionListInside Substance/SubstanceExemption

Declared Total and the RCD ​

BOMcheck adds up the substances as a percentage of the part weight. The total must be from 95% to 100%, or the FMD fails validation.

  • 100%: BOMcheck makes the FMD and an RCD from it, and approves both.
  • From 95% to less than 100%: BOMcheck makes the FMD only. It does not make an RCD, so the part has no compliance results.

For each of the following, BOMcheck makes the FMD and returns a WARNING:

  • A substance name that does not match the CAS number. BOMcheck uses the substance in BOMcheck with that CAS number.
  • An exemption that is not valid for the substance. BOMcheck leaves it out.

When processing succeeds, refType is fmd and refValue is the ID of the FMD.

Next Steps ​