Skip to content
CPSC eFiling

cpsc.check

Check up to 200 CPC/GCC certificates against a SKU ledger and shipment lines. Prepare Full PGA fields and Product Registry v3 CSV rows with Reference PGA fields for use after certification (CPSC CATAIR v2.5).

POSThttps://api.kanagu.dev/v1/cpsc/check
Price
$0.35 per certificate, on successful calls only
Without a key
10 free calls per IP per UTC day, shared by REST and MCP.
MCP tool
cpsc.check at https://api.kanagu.dev/mcp
curl https://api.kanagu.dev/v1/cpsc/check \
  -H "Content-Type: application/json" \
  -d '{"certificates":[{"certificateId":"GCC-1042","type":"GCC","productId":"TL-HELM-01","productIdType":"SKU","productName":"Trailline urban bicycle helmet","model":"TL-01","manufacturer":{"name":"Summit Protective Gear","address1":"5 Gongye Road","city":"Shenzhen","stateProvince":"Guangdong","country":"CN","postalCode":"518000","phone":"+867555550123","email":"quality@summit.example","registry":{"id":"SUMMIT-SZ","idType":"alternate","isNew":true}},"manufactureMonth":"2026-08","certifier":{"name":"Trailline Imports","address1":"28 Carson Street","city":"Portland","stateProvince":"OR","country":"US","postalCode":"97201","phone":"5035550100","email":"records@trailline.example","isImporterOfRecord":true},"recordsContact":{"name":"Trailline Imports","address1":"28 Carson Street","city":"Portland","stateProvince":"OR","country":"US","postalCode":"97201","phone":"5035550100","email":"records@trailline.example","isImporterOfRecord":true},"labs":[{"kind":"LAB","party":{"name":"West Coast Test Lab","address1":"56 Harbor Way","city":"Tacoma","stateProvince":"WA","country":"US","postalCode":"98402","phone":"2535550101","email":"tests@wctl.example","registry":{"id":"WCTL","idType":"alternate","isNew":true}},"citationCodes":["1203"],"reports":[{"testDate":"2026-07-21","reportId":"WCTL-261572"}],"testedModel":"TL-01","testedRevision":"B"}],"attested":true,"registry":{"versionId":"V2"}}],"skuLedger":[{"sku":"TL-HELM-01","model":"TL-01","productId":"TL-HELM-01","certificateId":"GCC-1042","revision":"B","revisionDate":"2026-07-08","category":"bicycle_helmet","hts":"6506103045"}],"shipmentLines":[{"entryLine":1,"hts":"6506103045","sku":"TL-HELM-01","model":"TL-01","quantity":480}],"registryCertifierId":"TRAILLINE"}'
curl https://api.kanagu.dev/v1/cpsc/check \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -d '{"certificates":[{"certificateId":"GCC-1042","type":"GCC","productId":"TL-HELM-01","productIdType":"SKU","productName":"Trailline urban bicycle helmet","model":"TL-01","manufacturer":{"name":"Summit Protective Gear","address1":"5 Gongye Road","city":"Shenzhen","stateProvince":"Guangdong","country":"CN","postalCode":"518000","phone":"+867555550123","email":"quality@summit.example","registry":{"id":"SUMMIT-SZ","idType":"alternate","isNew":true}},"manufactureMonth":"2026-08","certifier":{"name":"Trailline Imports","address1":"28 Carson Street","city":"Portland","stateProvince":"OR","country":"US","postalCode":"97201","phone":"5035550100","email":"records@trailline.example","isImporterOfRecord":true},"recordsContact":{"name":"Trailline Imports","address1":"28 Carson Street","city":"Portland","stateProvince":"OR","country":"US","postalCode":"97201","phone":"5035550100","email":"records@trailline.example","isImporterOfRecord":true},"labs":[{"kind":"LAB","party":{"name":"West Coast Test Lab","address1":"56 Harbor Way","city":"Tacoma","stateProvince":"WA","country":"US","postalCode":"98402","phone":"2535550101","email":"tests@wctl.example","registry":{"id":"WCTL","idType":"alternate","isNew":true}},"citationCodes":["1203"],"reports":[{"testDate":"2026-07-21","reportId":"WCTL-261572"}],"testedModel":"TL-01","testedRevision":"B"}],"attested":true,"registry":{"versionId":"V2"}}],"skuLedger":[{"sku":"TL-HELM-01","model":"TL-01","productId":"TL-HELM-01","certificateId":"GCC-1042","revision":"B","revisionDate":"2026-07-08","category":"bicycle_helmet","hts":"6506103045"}],"shipmentLines":[{"entryLine":1,"hts":"6506103045","sku":"TL-HELM-01","model":"TL-01","quantity":480}],"registryCertifierId":"TRAILLINE"}'
const res = await fetch("https://api.kanagu.dev/v1/cpsc/check", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KANAGU_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "certificates": [
      {
        "certificateId": "GCC-1042",
        "type": "GCC",
        "productId": "TL-HELM-01",
        "productIdType": "SKU",
        "productName": "Trailline urban bicycle helmet",
        "model": "TL-01",
        "manufacturer": {
          "name": "Summit Protective Gear",
          "address1": "5 Gongye Road",
          "city": "Shenzhen",
          "stateProvince": "Guangdong",
          "country": "CN",
          "postalCode": "518000",
          "phone": "+867555550123",
          "email": "quality@summit.example",
          "registry": {
            "id": "SUMMIT-SZ",
            "idType": "alternate",
            "isNew": true
          }
        },
        "manufactureMonth": "2026-08",
        "certifier": {
          "name": "Trailline Imports",
          "address1": "28 Carson Street",
          "city": "Portland",
          "stateProvince": "OR",
          "country": "US",
          "postalCode": "97201",
          "phone": "5035550100",
          "email": "records@trailline.example",
          "isImporterOfRecord": true
        },
        "recordsContact": {
          "name": "Trailline Imports",
          "address1": "28 Carson Street",
          "city": "Portland",
          "stateProvince": "OR",
          "country": "US",
          "postalCode": "97201",
          "phone": "5035550100",
          "email": "records@trailline.example",
          "isImporterOfRecord": true
        },
        "labs": [
          {
            "kind": "LAB",
            "party": {
              "name": "West Coast Test Lab",
              "address1": "56 Harbor Way",
              "city": "Tacoma",
              "stateProvince": "WA",
              "country": "US",
              "postalCode": "98402",
              "phone": "2535550101",
              "email": "tests@wctl.example",
              "registry": {
                "id": "WCTL",
                "idType": "alternate",
                "isNew": true
              }
            },
            "citationCodes": [
              "1203"
            ],
            "reports": [
              {
                "testDate": "2026-07-21",
                "reportId": "WCTL-261572"
              }
            ],
            "testedModel": "TL-01",
            "testedRevision": "B"
          }
        ],
        "attested": true,
        "registry": {
          "versionId": "V2"
        }
      }
    ],
    "skuLedger": [
      {
        "sku": "TL-HELM-01",
        "model": "TL-01",
        "productId": "TL-HELM-01",
        "certificateId": "GCC-1042",
        "revision": "B",
        "revisionDate": "2026-07-08",
        "category": "bicycle_helmet",
        "hts": "6506103045"
      }
    ],
    "shipmentLines": [
      {
        "entryLine": 1,
        "hts": "6506103045",
        "sku": "TL-HELM-01",
        "model": "TL-01",
        "quantity": 480
      }
    ],
    "registryCertifierId": "TRAILLINE"
  }),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "cpsc.check",
    "arguments": {
      "certificates": [
        {
          "certificateId": "GCC-1042",
          "type": "GCC",
          "productId": "TL-HELM-01",
          "productIdType": "SKU",
          "productName": "Trailline urban bicycle helmet",
          "model": "TL-01",
          "manufacturer": {
            "name": "Summit Protective Gear",
            "address1": "5 Gongye Road",
            "city": "Shenzhen",
            "stateProvince": "Guangdong",
            "country": "CN",
            "postalCode": "518000",
            "phone": "+867555550123",
            "email": "quality@summit.example",
            "registry": {
              "id": "SUMMIT-SZ",
              "idType": "alternate",
              "isNew": true
            }
          },
          "manufactureMonth": "2026-08",
          "certifier": {
            "name": "Trailline Imports",
            "address1": "28 Carson Street",
            "city": "Portland",
            "stateProvince": "OR",
            "country": "US",
            "postalCode": "97201",
            "phone": "5035550100",
            "email": "records@trailline.example",
            "isImporterOfRecord": true
          },
          "recordsContact": {
            "name": "Trailline Imports",
            "address1": "28 Carson Street",
            "city": "Portland",
            "stateProvince": "OR",
            "country": "US",
            "postalCode": "97201",
            "phone": "5035550100",
            "email": "records@trailline.example",
            "isImporterOfRecord": true
          },
          "labs": [
            {
              "kind": "LAB",
              "party": {
                "name": "West Coast Test Lab",
                "address1": "56 Harbor Way",
                "city": "Tacoma",
                "stateProvince": "WA",
                "country": "US",
                "postalCode": "98402",
                "phone": "2535550101",
                "email": "tests@wctl.example",
                "registry": {
                  "id": "WCTL",
                  "idType": "alternate",
                  "isNew": true
                }
              },
              "citationCodes": [
                "1203"
              ],
              "reports": [
                {
                  "testDate": "2026-07-21",
                  "reportId": "WCTL-261572"
                }
              ],
              "testedModel": "TL-01",
              "testedRevision": "B"
            }
          ],
          "attested": true,
          "registry": {
            "versionId": "V2"
          }
        }
      ],
      "skuLedger": [
        {
          "sku": "TL-HELM-01",
          "model": "TL-01",
          "productId": "TL-HELM-01",
          "certificateId": "GCC-1042",
          "revision": "B",
          "revisionDate": "2026-07-08",
          "category": "bicycle_helmet",
          "hts": "6506103045"
        }
      ],
      "shipmentLines": [
        {
          "entryLine": 1,
          "hts": "6506103045",
          "sku": "TL-HELM-01",
          "model": "TL-01",
          "quantity": 480
        }
      ],
      "registryCertifierId": "TRAILLINE"
    }
  }
}
Request body
{
  "certificates": [
    {
      "certificateId": "GCC-1042",
      "type": "GCC",
      "productId": "TL-HELM-01",
      "productIdType": "SKU",
      "productName": "Trailline urban bicycle helmet",
      "model": "TL-01",
      "manufacturer": {
        "name": "Summit Protective Gear",
        "address1": "5 Gongye Road",
        "city": "Shenzhen",
        "stateProvince": "Guangdong",
        "country": "CN",
        "postalCode": "518000",
        "phone": "+867555550123",
        "email": "quality@summit.example",
        "registry": {
          "id": "SUMMIT-SZ",
          "idType": "alternate",
          "isNew": true
        }
      },
      "manufactureMonth": "2026-08",
      "certifier": {
        "name": "Trailline Imports",
        "address1": "28 Carson Street",
        "city": "Portland",
        "stateProvince": "OR",
        "country": "US",
        "postalCode": "97201",
        "phone": "5035550100",
        "email": "records@trailline.example",
        "isImporterOfRecord": true
      },
      "recordsContact": {
        "name": "Trailline Imports",
        "address1": "28 Carson Street",
        "city": "Portland",
        "stateProvince": "OR",
        "country": "US",
        "postalCode": "97201",
        "phone": "5035550100",
        "email": "records@trailline.example",
        "isImporterOfRecord": true
      },
      "labs": [
        {
          "kind": "LAB",
          "party": {
            "name": "West Coast Test Lab",
            "address1": "56 Harbor Way",
            "city": "Tacoma",
            "stateProvince": "WA",
            "country": "US",
            "postalCode": "98402",
            "phone": "2535550101",
            "email": "tests@wctl.example",
            "registry": {
              "id": "WCTL",
              "idType": "alternate",
              "isNew": true
            }
          },
          "citationCodes": [
            "1203"
          ],
          "reports": [
            {
              "testDate": "2026-07-21",
              "reportId": "WCTL-261572"
            }
          ],
          "testedModel": "TL-01",
          "testedRevision": "B"
        }
      ],
      "attested": true,
      "registry": {
        "versionId": "V2"
      }
    }
  ],
  "skuLedger": [
    {
      "sku": "TL-HELM-01",
      "model": "TL-01",
      "productId": "TL-HELM-01",
      "certificateId": "GCC-1042",
      "revision": "B",
      "revisionDate": "2026-07-08",
      "category": "bicycle_helmet",
      "hts": "6506103045"
    }
  ],
  "shipmentLines": [
    {
      "entryLine": 1,
      "hts": "6506103045",
      "sku": "TL-HELM-01",
      "model": "TL-01",
      "quantity": 480
    }
  ],
  "registryCertifierId": "TRAILLINE"
}
Response · 200
{
  "certificatesChecked": 1,
  "sources": {
    "certificate": {
      "version": "90 FR 1800, effective 2026-07-08",
      "url": "https://www.ecfr.gov/current/title-16/chapter-II/subchapter-B/part-1110/section-1110.11"
    },
    "pga": {
      "version": "CPSC CATAIR v2.5, May 2026",
      "url": "https://www.cbp.gov/sites/default/files/2026-06/260622_efiling_catair_ig_v2.5.pdf"
    },
    "…": "7 more sources"
  },
  "commercialDescriptions": [
    {
      "row": 0,
      "hts": "6506103045",
      "oi": {
        "record": "OI",
        "fields": {
          "commercialDescription": "Trailline urban bicycle helmet"
        }
      }
    }
  ],
  "certificates": [
    {
      "certificateId": "GCC-1042",
      "findings": [],
      "fullFindings": [],
      "fullPgaBody": [
        {
          "record": "PG02",
          "fields": {
            "itemType": "P",
            "productCodeQualifier": "SKU",
            "productCodeNumber": "TL-HELM-01"
          }
        },
        {
          "record": "PG07",
          "fields": {
            "productName": "Trailline urban",
            "manufactureMonthAndYear": "082026",
            "itemIdentityNumberQualifier": "MN",
            "itemIdentityNumber": "TL-01"
          }
        },
        {
          "record": "PG60",
          "fields": {
            "additionalInformationQualifierCode": "PMN",
            "additionalInformation": " bicycle helmet"
          }
        },
        {
          "record": "PG30",
          "fields": {
            "laboratoryTestingStatus": "L",
            "dateOfLaboratoryTesting": "07212026"
          }
        },
        {
          "record": "PG19",
          "fields": {
            "entityRoleCode": "MF",
            "entityName": "Summit Protective Gear",
            "entityAddress1": "5 Gongye Road"
          }
        },
        "… 8 more records"
      ],
      "registryFindings": []
    }
  ],
  "lines": [
    {
      "row": 0,
      "entryLine": 1,
      "hts": "6506103045",
      "sku": "TL-HELM-01",
      "model": "TL-01",
      "quantity": 480,
      "certificateId": "GCC-1042",
      "status": "checked",
      "findings": [],
      "fullPgaHeader": [
        {
          "record": "PG01",
          "fields": {
            "pgaLineNumber": "001",
            "governmentAgencyCode": "CPS",
            "governmentAgencyProgramCode": "CPS",
            "governmentAgencyProcessingCode": "FGC"
          }
        }
      ],
      "referenceFindings": [],
      "referencePgaAfterCertification": [
        {
          "record": "PG01",
          "fields": {
            "pgaLineNumber": "001",
            "governmentAgencyCode": "CPS",
            "governmentAgencyProgramCode": "CPS",
            "governmentAgencyProcessingCode": "REF"
          }
        },
        {
          "record": "PG02",
          "fields": {
            "itemType": "P",
            "productCodeQualifier1": "PRI",
            "productCodeNumber1": "TL-HELM-01",
            "productCodeQualifier2": "PRIV",
            "productCodeNumber2": "V2"
          }
        },
        {
          "record": "PG14",
          "fields": {
            "certifierId": "TRAILLINE"
          }
        }
      ]
    }
  ],
  "registryCsv": {
    "headers": [
      "Product Update",
      "Current Version ID",
      "New Version ID",
      "Primary Product ID",
      "Primary Product ID Type",
      "… 78 more columns"
    ],
    "rows": [
      {
        "certificateId": "GCC-1042",
        "cells": [
          "N",
          "",
          "V2",
          "TL-HELM-01",
          "SKU",
          "… 78 more cells"
        ]
      }
    ]
  }
}

Request body

application/json

certificatesarray of objectrequired
certificates[].certificateIdstring (max 64 chars)required
Your internal certificate key, used by the SKU ledger.
certificates[].type"CPC" | "GCC"
certificates[].productIdstring (max 512 chars)
certificates[].productIdType"GTIN" | "UPC" | "EAN" | "SKU" | "Model Number" | "Serial Number" | "Registered Number" | "Alternate Identifier"
Use 8, 12, 13 or 14 digits for GTIN, 12 for UPC, or 8 or 13 for EAN. EAN files as GTIN.
certificates[].productNamestring (max 512 chars)
certificates[].descriptionstring (max 512 chars)
certificates[].skustring (max 512 chars)
SKU on the certificate, if separate from its primary ID.
certificates[].modelstring (max 512 chars)
Model number on the certificate, if separate from its primary ID.
certificates[].manufacturerobject
certificates[].manufacturer.namestring (max 512 chars)
certificates[].manufacturer.address1string (max 512 chars)
certificates[].manufacturer.address2string (max 512 chars)
certificates[].manufacturer.gpsobject
For Full PGA when no street address is available. Leave address1 blank or set it to GPS.
certificates[].manufacturer.gps.latitudestring (max 512 chars)
Decimal degrees, -90 to 90, with 4 to 7 decimal places.
certificates[].manufacturer.gps.longitudestring (max 512 chars)
Decimal degrees, -180 to 180, with 4 to 7 decimal places.
certificates[].manufacturer.citystring (max 512 chars)
certificates[].manufacturer.stateProvincestring (max 512 chars)
Use the ACE Appendix B code for the US, CA or MX.
certificates[].manufacturer.countrystring (max 512 chars)
ISO alpha-2 country code.
certificates[].manufacturer.postalCodestring (max 512 chars)
certificates[].manufacturer.phonestring (max 512 chars)
certificates[].manufacturer.emailstring (max 512 chars)
certificates[].manufacturer.registryobject
certificates[].manufacturer.registry.idstring (max 512 chars)required
certificates[].manufacturer.registry.idType"gln" | "alternate"required
certificates[].manufacturer.registry.isNewbooleanrequired
True to create the trade party on upload.
certificates[].manufactureMonthstring
certificates[].certifierobject
certificates[].certifier.namestring (max 512 chars)
certificates[].certifier.address1string (max 512 chars)
certificates[].certifier.address2string (max 512 chars)
certificates[].certifier.gpsobject
For Full PGA when no street address is available. Leave address1 blank or set it to GPS.
certificates[].certifier.gps.latitudestring (max 512 chars)
Decimal degrees, -90 to 90, with 4 to 7 decimal places.
certificates[].certifier.gps.longitudestring (max 512 chars)
Decimal degrees, -180 to 180, with 4 to 7 decimal places.
certificates[].certifier.citystring (max 512 chars)
certificates[].certifier.stateProvincestring (max 512 chars)
Use the ACE Appendix B code for the US, CA or MX.
certificates[].certifier.countrystring (max 512 chars)
ISO alpha-2 country code.
certificates[].certifier.postalCodestring (max 512 chars)
certificates[].certifier.phonestring (max 512 chars)
certificates[].certifier.emailstring (max 512 chars)
certificates[].certifier.registryobject
certificates[].certifier.registry.idstring (max 512 chars)required
certificates[].certifier.registry.idType"gln" | "alternate"required
certificates[].certifier.registry.isNewbooleanrequired
True to create the trade party on upload.
certificates[].certifier.isImporterOfRecordbooleanrequired
certificates[].recordsContactobject
certificates[].recordsContact.namestring (max 512 chars)
certificates[].recordsContact.address1string (max 512 chars)
certificates[].recordsContact.address2string (max 512 chars)
certificates[].recordsContact.gpsobject
For Full PGA when no street address is available. Leave address1 blank or set it to GPS.
certificates[].recordsContact.gps.latitudestring (max 512 chars)
Decimal degrees, -90 to 90, with 4 to 7 decimal places.
certificates[].recordsContact.gps.longitudestring (max 512 chars)
Decimal degrees, -180 to 180, with 4 to 7 decimal places.
certificates[].recordsContact.citystring (max 512 chars)
certificates[].recordsContact.stateProvincestring (max 512 chars)
Use the ACE Appendix B code for the US, CA or MX.
certificates[].recordsContact.countrystring (max 512 chars)
ISO alpha-2 country code.
certificates[].recordsContact.postalCodestring (max 512 chars)
certificates[].recordsContact.phonestring (max 512 chars)
certificates[].recordsContact.emailstring (max 512 chars)
certificates[].recordsContact.registryobject
certificates[].recordsContact.registry.idstring (max 512 chars)required
certificates[].recordsContact.registry.idType"gln" | "alternate"required
certificates[].recordsContact.registry.isNewbooleanrequired
True to create the trade party on upload.
certificates[].recordsContact.isImporterOfRecordbooleanrequired
certificates[].labsarray of object
certificates[].attestedboolean
True only if the certifier made the attestation in 16 CFR 1110.11(a)(7).
certificates[].registryobject
certificates[].registry.versionIdstring (max 512 chars)
certificates[].registry.currentVersionIdstring (max 512 chars)
Supply only when updating an existing Registry certificate or adding a new version.
skuLedgerarray of objectrequired
skuLedger[].skustring (max 64 chars)required
skuLedger[].modelstring (max 64 chars)required
skuLedger[].productIdstring (max 64 chars)required
skuLedger[].certificateIdstring (max 64 chars)required
skuLedger[].revisionstring (max 64 chars)required
skuLedger[].revisionDatestring (date)
skuLedger[].htsstring
skuLedger[].category"bicycle_helmet" | "full_size_crib" | "clothing_storage_unit"
shipmentLinesarray of objectrequired
Lines for one CBP entry. Use multiple rows on an entry line for distinct products.
shipmentLines[].entryLineinteger (1 to 999)required
shipmentLines[].htsstringrequired
shipmentLines[].skustring (max 64 chars)required
shipmentLines[].modelstring (max 64 chars)required
shipmentLines[].commercialDescriptionstring (max 512 chars)
English OI description for this shipment row. Defaults to its linked certificate’s product name.
shipmentLines[].quantityinteger (≤ 9007199254740991)required
registryCertifierIdstring (max 512 chars)
Certifier ID of the destination Product Registry collection, for Reference PG14.

Response

200 · application/json

certificatesCheckedinteger (1 to 200)required
sourcesobjectrequired
commercialDescriptionsarray of objectrequired
OI candidates by shipment row. Use one OI per HTS code when assembling PGA records.
commercialDescriptions[].rowinteger (0 to 9007199254740991)required
Zero-based index into shipmentLines.
commercialDescriptions[].htsstringrequired
commercialDescriptions[].oiobjectrequired
commercialDescriptions[].oi.record"OI" | "PG01" | "PG02" | "PG07" | "PG10" | "PG14" | … (12 values)required
commercialDescriptions[].oi.fieldsobjectrequired
CATAIR data elements before fixed-width ACE serialization.
certificatesarray of objectrequired
certificates[].certificateIdstringrequired
certificates[].findingsarray of objectrequired
certificates[].findings[].severity"error" | "warning"required
certificates[].findings[].codestringrequired
certificates[].findings[].locationstringrequired
JSON Pointer into the request.
certificates[].findings[].expectedstringrequired
certificates[].findings[].actualstring | nullrequired
certificates[].findings[].sourceobjectrequired
certificates[].findings[].source.urlstring (uri)required
certificates[].findings[].source.sectionstringrequired
certificates[].fullFindingsarray of objectrequired
certificates[].fullFindings[].severity"error" | "warning"required
certificates[].fullFindings[].codestringrequired
certificates[].fullFindings[].locationstringrequired
JSON Pointer into the request.
certificates[].fullFindings[].expectedstringrequired
certificates[].fullFindings[].actualstring | nullrequired
certificates[].fullFindings[].sourceobjectrequired
certificates[].fullFindings[].source.urlstring (uri)required
certificates[].fullFindings[].source.sectionstringrequired
certificates[].fullPgaBodyarray of object
Append after PG01 in a linked line’s fullPgaHeader.
certificates[].fullPgaBody[].record"OI" | "PG01" | "PG02" | "PG07" | "PG10" | "PG14" | … (12 values)required
certificates[].fullPgaBody[].fieldsobjectrequired
CATAIR data elements before fixed-width ACE serialization.
certificates[].registryFindingsarray of objectrequired
certificates[].registryFindings[].severity"error" | "warning"required
certificates[].registryFindings[].codestringrequired
certificates[].registryFindings[].locationstringrequired
JSON Pointer into the request.
certificates[].registryFindings[].expectedstringrequired
certificates[].registryFindings[].actualstring | nullrequired
certificates[].registryFindings[].sourceobjectrequired
certificates[].registryFindings[].source.urlstring (uri)required
certificates[].registryFindings[].source.sectionstringrequired
linesarray of objectrequired
lines[].rowinteger (0 to 9007199254740991)required
Zero-based index into shipmentLines.
lines[].entryLineinteger (-9007199254740991 to 9007199254740991)required
lines[].htsstringrequired
lines[].skustringrequired
lines[].modelstringrequired
lines[].quantityinteger (-9007199254740991 to 9007199254740991)required
lines[].certificateIdstring
Look up this ID in certificates for findings shared by all linked lines.
lines[].status"checked" | "needs_review" | "error"required
lines[].findingsarray of objectrequired
lines[].findings[].severity"error" | "warning"required
lines[].findings[].codestringrequired
lines[].findings[].locationstringrequired
JSON Pointer into the request.
lines[].findings[].expectedstringrequired
lines[].findings[].actualstring | nullrequired
lines[].findings[].sourceobjectrequired
lines[].findings[].source.urlstring (uri)required
lines[].findings[].source.sectionstringrequired
lines[].fullPgaHeaderarray of object
PG01. Append fullPgaBody from the linked certificate to complete the Full message.
lines[].fullPgaHeader[].record"OI" | "PG01" | "PG02" | "PG07" | "PG10" | "PG14" | … (12 values)required
lines[].fullPgaHeader[].fieldsobjectrequired
CATAIR data elements before fixed-width ACE serialization.
lines[].referenceFindingsarray of objectrequired
lines[].referenceFindings[].severity"error" | "warning"required
lines[].referenceFindings[].codestringrequired
lines[].referenceFindings[].locationstringrequired
JSON Pointer into the request.
lines[].referenceFindings[].expectedstringrequired
lines[].referenceFindings[].actualstring | nullrequired
lines[].referenceFindings[].sourceobjectrequired
lines[].referenceFindings[].source.urlstring (uri)required
lines[].referenceFindings[].source.sectionstringrequired
lines[].referencePgaAfterCertificationarray of object
File these fields after the product version is certified in the destination Registry.
lines[].referencePgaAfterCertification[].record"OI" | "PG01" | "PG02" | "PG07" | "PG10" | "PG14" | … (12 values)required
lines[].referencePgaAfterCertification[].fieldsobjectrequired
CATAIR data elements before fixed-width ACE serialization.
registryCsvobjectrequired
registryCsv.headersarray of stringrequired
registryCsv.rowsarray of objectrequired
registryCsv.rows[].certificateIdstringrequired
registryCsv.rows[].cellsarray of stringrequired
CSV field values in headers order. Do not include certificateId as a CSV column.

Try it

cpsc.check

$0.35/certificate

No key needed · 10 free calls per IP per day

Response

Run the request to see the live response here.

Errors

Errors are JSON {"error":{"code","message"}}. An operation may add its own 400 codes; the message says what to fix.

StatusCode and meaning
400invalid_input

The body does not match the request schema. The message names each field.

400invalid_json

The body is missing or is not valid JSON.

400invalid_idempotency_key

Idempotency-Key must be 1–128 visible ASCII characters.

401invalid_api_key

The Bearer key is missing, malformed, invalid or inactive.

402free_allowance_exhausted

This month's free usage is used up and the account has no subscription. Subscribe from the dashboard, or wait for the next UTC month; Retry-After gives the seconds left.

404not_found

No operation at this path.

409idempotency_conflict

The Idempotency-Key was already used with a different body.

413payload_too_large

JSON bodies may be at most 64 KiB.

429trial_limit

The anonymous trial allows 10 calls per IP per UTC day, shared by REST and MCP. Retry-After gives the seconds left.

500internal_error

The call failed on our side. It is not billed; retry with the same Idempotency-Key.

JSON Schema

Request schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "certificates": {
      "minItems": 1,
      "maxItems": 200,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "certificateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "description": "Your internal certificate key, used by the SKU ledger."
          },
          "type": {
            "type": "string",
            "enum": [
              "CPC",
              "GCC"
            ]
          },
          "productId": {
            "type": "string",
            "maxLength": 512
          },
          "productIdType": {
            "description": "Use 8, 12, 13 or 14 digits for GTIN, 12 for UPC, or 8 or 13 for EAN. EAN files as GTIN.",
            "type": "string",
            "enum": [
              "GTIN",
              "UPC",
              "EAN",
              "SKU",
              "Model Number",
              "Serial Number",
              "Registered Number",
              "Alternate Identifier"
            ]
          },
          "productName": {
            "type": "string",
            "maxLength": 512
          },
          "description": {
            "type": "string",
            "maxLength": 512
          },
          "sku": {
            "description": "SKU on the certificate, if separate from its primary ID.",
            "type": "string",
            "maxLength": 512
          },
          "model": {
            "description": "Model number on the certificate, if separate from its primary ID.",
            "type": "string",
            "maxLength": 512
          },
          "manufacturer": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 512
              },
              "address1": {
                "type": "string",
                "maxLength": 512
              },
              "address2": {
                "type": "string",
                "maxLength": 512
              },
              "gps": {
                "description": "For Full PGA when no street address is available. Leave address1 blank or set it to GPS.",
                "type": "object",
                "properties": {
                  "latitude": {
                    "description": "Decimal degrees, -90 to 90, with 4 to 7 decimal places.",
                    "type": "string",
                    "maxLength": 512
                  },
                  "longitude": {
                    "description": "Decimal degrees, -180 to 180, with 4 to 7 decimal places.",
                    "type": "string",
                    "maxLength": 512
                  }
                },
                "additionalProperties": false
              },
              "city": {
                "type": "string",
                "maxLength": 512
              },
              "stateProvince": {
                "description": "Use the ACE Appendix B code for the US, CA or MX.",
                "type": "string",
                "maxLength": 512
              },
              "country": {
                "description": "ISO alpha-2 country code.",
                "type": "string",
                "maxLength": 512
              },
              "postalCode": {
                "type": "string",
                "maxLength": 512
              },
              "phone": {
                "type": "string",
                "maxLength": 512
              },
              "email": {
                "type": "string",
                "maxLength": 512
              },
              "registry": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "idType": {
                    "type": "string",
                    "enum": [
                      "gln",
                      "alternate"
                    ]
                  },
                  "isNew": {
                    "type": "boolean",
                    "description": "True to create the trade party on upload."
                  }
                },
                "required": [
                  "id",
                  "idType",
                  "isNew"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "manufactureMonth": {
            "type": "string",
            "pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
          },
          "certifier": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 512
              },
              "address1": {
                "type": "string",
                "maxLength": 512
              },
              "address2": {
                "type": "string",
                "maxLength": 512
              },
              "gps": {
                "description": "For Full PGA when no street address is available. Leave address1 blank or set it to GPS.",
                "type": "object",
                "properties": {
                  "latitude": {
                    "description": "Decimal degrees, -90 to 90, with 4 to 7 decimal places.",
                    "type": "string",
                    "maxLength": 512
                  },
                  "longitude": {
                    "description": "Decimal degrees, -180 to 180, with 4 to 7 decimal places.",
                    "type": "string",
                    "maxLength": 512
                  }
                },
                "additionalProperties": false
              },
              "city": {
                "type": "string",
                "maxLength": 512
              },
              "stateProvince": {
                "description": "Use the ACE Appendix B code for the US, CA or MX.",
                "type": "string",
                "maxLength": 512
              },
              "country": {
                "description": "ISO alpha-2 country code.",
                "type": "string",
                "maxLength": 512
              },
              "postalCode": {
                "type": "string",
                "maxLength": 512
              },
              "phone": {
                "type": "string",
                "maxLength": 512
              },
              "email": {
                "type": "string",
                "maxLength": 512
              },
              "registry": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "idType": {
                    "type": "string",
                    "enum": [
                      "gln",
                      "alternate"
                    ]
                  },
                  "isNew": {
                    "type": "boolean",
                    "description": "True to create the trade party on upload."
                  }
                },
                "required": [
                  "id",
                  "idType",
                  "isNew"
                ],
                "additionalProperties": false
              },
              "isImporterOfRecord": {
                "type": "boolean"
              }
            },
            "required": [
              "isImporterOfRecord"
            ],
            "additionalProperties": false
          },
          "recordsContact": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 512
              },
              "address1": {
                "type": "string",
                "maxLength": 512
              },
              "address2": {
                "type": "string",
                "maxLength": 512
              },
              "gps": {
                "description": "For Full PGA when no street address is available. Leave address1 blank or set it to GPS.",
                "type": "object",
                "properties": {
                  "latitude": {
                    "description": "Decimal degrees, -90 to 90, with 4 to 7 decimal places.",
                    "type": "string",
                    "maxLength": 512
                  },
                  "longitude": {
                    "description": "Decimal degrees, -180 to 180, with 4 to 7 decimal places.",
                    "type": "string",
                    "maxLength": 512
                  }
                },
                "additionalProperties": false
              },
              "city": {
                "type": "string",
                "maxLength": 512
              },
              "stateProvince": {
                "description": "Use the ACE Appendix B code for the US, CA or MX.",
                "type": "string",
                "maxLength": 512
              },
              "country": {
                "description": "ISO alpha-2 country code.",
                "type": "string",
                "maxLength": 512
              },
              "postalCode": {
                "type": "string",
                "maxLength": 512
              },
              "phone": {
                "type": "string",
                "maxLength": 512
              },
              "email": {
                "type": "string",
                "maxLength": 512
              },
              "registry": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 512
                  },
                  "idType": {
                    "type": "string",
                    "enum": [
                      "gln",
                      "alternate"
                    ]
                  },
                  "isNew": {
                    "type": "boolean",
                    "description": "True to create the trade party on upload."
                  }
                },
                "required": [
                  "id",
                  "idType",
                  "isNew"
                ],
                "additionalProperties": false
              },
              "isImporterOfRecord": {
                "type": "boolean"
              }
            },
            "required": [
              "isImporterOfRecord"
            ],
            "additionalProperties": false
          },
          "labs": {
            "maxItems": 16,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "ITL"
                    },
                    "cpscLabId": {
                      "type": "string",
                      "maxLength": 512
                    },
                    "citationCodes": {
                      "maxItems": 125,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "testDate": {
                      "description": "Legacy date shared by the lab's reports.",
                      "type": "string",
                      "format": "date",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                    },
                    "reportId": {
                      "description": "Legacy ID or semicolon-separated IDs paired with reportUrl.",
                      "type": "string",
                      "maxLength": 512
                    },
                    "reportUrl": {
                      "description": "Legacy URL or semicolon-separated URLs paired with reportId.",
                      "type": "string",
                      "maxLength": 512
                    },
                    "reports": {
                      "description": "Reports from this lab, each with its test date. Supply instead of the lab-level testDate, reportId and reportUrl.",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "testDate": {
                            "type": "string",
                            "format": "date",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                          },
                          "reportId": {
                            "type": "string",
                            "maxLength": 512
                          },
                          "reportUrl": {
                            "type": "string",
                            "maxLength": 512
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "componentDescription": {
                      "type": "string",
                      "maxLength": 512
                    },
                    "testedModel": {
                      "description": "Model named on the report, if supplied.",
                      "type": "string",
                      "maxLength": 512
                    },
                    "testedRevision": {
                      "description": "Model revision named on the report, if supplied.",
                      "type": "string",
                      "maxLength": 512
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "LAB"
                    },
                    "party": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 512
                        },
                        "address1": {
                          "type": "string",
                          "maxLength": 512
                        },
                        "address2": {
                          "type": "string",
                          "maxLength": 512
                        },
                        "gps": {
                          "description": "For Full PGA when no street address is available. Leave address1 blank or set it to GPS.",
                          "type": "object",
                          "properties": {
                            "latitude": {
                              "description": "Decimal degrees, -90 to 90, with 4 to 7 decimal places.",
                              "type": "string",
                              "maxLength": 512
                            },
                            "longitude": {
                              "description": "Decimal degrees, -180 to 180, with 4 to 7 decimal places.",
                              "type": "string",
                              "maxLength": 512
                            }
                          },
                          "additionalProperties": false
                        },
                        "city": {
                          "type": "string",
                          "maxLength": 512
                        },
                        "stateProvince": {
                          "description": "Use the ACE Appendix B code for the US, CA or MX.",
                          "type": "string",
                          "maxLength": 512
                        },
                        "country": {
                          "description": "ISO alpha-2 country code.",
                          "type": "string",
                          "maxLength": 512
                        },
                        "postalCode": {
                          "type": "string",
                          "maxLength": 512
                        },
                        "phone": {
                          "type": "string",
                          "maxLength": 512
                        },
                        "email": {
                          "type": "string",
                          "maxLength": 512
                        },
                        "registry": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "maxLength": 512
                            },
                            "idType": {
                              "type": "string",
                              "enum": [
                                "gln",
                                "alternate"
                              ]
                            },
                            "isNew": {
                              "type": "boolean",
                              "description": "True to create the trade party on upload."
                            }
                          },
                          "required": [
                            "id",
                            "idType",
                            "isNew"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    "citationCodes": {
                      "maxItems": 125,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "testDate": {
                      "description": "Legacy date shared by the lab's reports.",
                      "type": "string",
                      "format": "date",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                    },
                    "reportId": {
                      "description": "Legacy ID or semicolon-separated IDs paired with reportUrl.",
                      "type": "string",
                      "maxLength": 512
                    },
                    "reportUrl": {
                      "description": "Legacy URL or semicolon-separated URLs paired with reportId.",
                      "type": "string",
                      "maxLength": 512
                    },
                    "reports": {
                      "description": "Reports from this lab, each with its test date. Supply instead of the lab-level testDate, reportId and reportUrl.",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "testDate": {
                            "type": "string",
                            "format": "date",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                          },
                          "reportId": {
                            "type": "string",
                            "maxLength": 512
                          },
                          "reportUrl": {
                            "type": "string",
                            "maxLength": 512
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "componentDescription": {
                      "type": "string",
                      "maxLength": 512
                    },
                    "testedModel": {
                      "description": "Model named on the report, if supplied.",
                      "type": "string",
                      "maxLength": 512
                    },
                    "testedRevision": {
                      "description": "Model revision named on the report, if supplied.",
                      "type": "string",
                      "maxLength": 512
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "NOL"
                    },
                    "exclusionCodes": {
                      "maxItems": 60,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    }
                  },
                  "required": [
                    "kind"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "attested": {
            "description": "True only if the certifier made the attestation in 16 CFR 1110.11(a)(7).",
            "type": "boolean"
          },
          "registry": {
            "type": "object",
            "properties": {
              "versionId": {
                "type": "string",
                "maxLength": 512
              },
              "currentVersionId": {
                "description": "Supply only when updating an existing Registry certificate or adding a new version.",
                "type": "string",
                "maxLength": 512
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "certificateId"
        ],
        "additionalProperties": false
      }
    },
    "skuLedger": {
      "maxItems": 500,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sku": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "model": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "productId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "certificateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "revision": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "revisionDate": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "hts": {
            "type": "string",
            "pattern": "^\\d{10}$"
          },
          "category": {
            "type": "string",
            "enum": [
              "bicycle_helmet",
              "full_size_crib",
              "clothing_storage_unit"
            ]
          }
        },
        "required": [
          "sku",
          "model",
          "productId",
          "certificateId",
          "revision"
        ],
        "additionalProperties": false
      }
    },
    "shipmentLines": {
      "minItems": 1,
      "maxItems": 500,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "entryLine": {
            "type": "integer",
            "minimum": 1,
            "maximum": 999
          },
          "hts": {
            "type": "string",
            "pattern": "^\\d{10}$"
          },
          "sku": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "model": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "commercialDescription": {
            "description": "English OI description for this shipment row. Defaults to its linked certificate’s product name.",
            "type": "string",
            "maxLength": 512
          },
          "quantity": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "entryLine",
          "hts",
          "sku",
          "model",
          "quantity"
        ],
        "additionalProperties": false
      },
      "description": "Lines for one CBP entry. Use multiple rows on an entry line for distinct products."
    },
    "registryCertifierId": {
      "description": "Certifier ID of the destination Product Registry collection, for Reference PG14.",
      "type": "string",
      "maxLength": 512
    }
  },
  "required": [
    "certificates",
    "skuLedger",
    "shipmentLines"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "certificates": [
        {
          "certificateId": "GCC-1042",
          "type": "GCC",
          "productId": "TL-HELM-01",
          "productIdType": "SKU",
          "productName": "Trailline urban bicycle helmet",
          "model": "TL-01",
          "manufacturer": {
            "name": "Summit Protective Gear",
            "address1": "5 Gongye Road",
            "city": "Shenzhen",
            "stateProvince": "Guangdong",
            "country": "CN",
            "postalCode": "518000",
            "phone": "+867555550123",
            "email": "quality@summit.example",
            "registry": {
              "id": "SUMMIT-SZ",
              "idType": "alternate",
              "isNew": true
            }
          },
          "manufactureMonth": "2026-08",
          "certifier": {
            "name": "Trailline Imports",
            "address1": "28 Carson Street",
            "city": "Portland",
            "stateProvince": "OR",
            "country": "US",
            "postalCode": "97201",
            "phone": "5035550100",
            "email": "records@trailline.example",
            "isImporterOfRecord": true
          },
          "recordsContact": {
            "name": "Trailline Imports",
            "address1": "28 Carson Street",
            "city": "Portland",
            "stateProvince": "OR",
            "country": "US",
            "postalCode": "97201",
            "phone": "5035550100",
            "email": "records@trailline.example",
            "isImporterOfRecord": true
          },
          "labs": [
            {
              "kind": "LAB",
              "party": {
                "name": "West Coast Test Lab",
                "address1": "56 Harbor Way",
                "city": "Tacoma",
                "stateProvince": "WA",
                "country": "US",
                "postalCode": "98402",
                "phone": "2535550101",
                "email": "tests@wctl.example",
                "registry": {
                  "id": "WCTL",
                  "idType": "alternate",
                  "isNew": true
                }
              },
              "citationCodes": [
                "1203"
              ],
              "reports": [
                {
                  "testDate": "2026-07-21",
                  "reportId": "WCTL-261572"
                }
              ],
              "testedModel": "TL-01",
              "testedRevision": "B"
            }
          ],
          "attested": true,
          "registry": {
            "versionId": "V2"
          }
        }
      ],
      "skuLedger": [
        {
          "sku": "TL-HELM-01",
          "model": "TL-01",
          "productId": "TL-HELM-01",
          "certificateId": "GCC-1042",
          "revision": "B",
          "revisionDate": "2026-07-08",
          "category": "bicycle_helmet",
          "hts": "6506103045"
        }
      ],
      "shipmentLines": [
        {
          "entryLine": 1,
          "hts": "6506103045",
          "sku": "TL-HELM-01",
          "model": "TL-01",
          "quantity": 480
        }
      ],
      "registryCertifierId": "TRAILLINE"
    }
  ]
}
Response schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "certificatesChecked": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "sources": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          }
        },
        "required": [
          "version",
          "url"
        ],
        "additionalProperties": false
      }
    },
    "commercialDescriptions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "row": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "Zero-based index into shipmentLines."
          },
          "hts": {
            "type": "string"
          },
          "oi": {
            "type": "object",
            "properties": {
              "record": {
                "type": "string",
                "enum": [
                  "OI",
                  "PG01",
                  "PG02",
                  "PG07",
                  "PG10",
                  "PG14",
                  "PG19",
                  "PG20",
                  "PG21",
                  "PG22",
                  "PG30",
                  "PG60"
                ]
              },
              "fields": {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                },
                "description": "CATAIR data elements before fixed-width ACE serialization."
              }
            },
            "required": [
              "record",
              "fields"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "row",
          "hts",
          "oi"
        ],
        "additionalProperties": false
      },
      "description": "OI candidates by shipment row. Use one OI per HTS code when assembling PGA records."
    },
    "certificates": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "certificateId": {
            "type": "string"
          },
          "findings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "severity": {
                  "type": "string",
                  "enum": [
                    "error",
                    "warning"
                  ]
                },
                "code": {
                  "type": "string"
                },
                "location": {
                  "type": "string",
                  "description": "JSON Pointer into the request."
                },
                "expected": {
                  "type": "string"
                },
                "actual": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "section": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "url",
                    "section"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "severity",
                "code",
                "location",
                "expected",
                "actual",
                "source"
              ],
              "additionalProperties": false
            }
          },
          "fullFindings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "severity": {
                  "type": "string",
                  "enum": [
                    "error",
                    "warning"
                  ]
                },
                "code": {
                  "type": "string"
                },
                "location": {
                  "type": "string",
                  "description": "JSON Pointer into the request."
                },
                "expected": {
                  "type": "string"
                },
                "actual": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "section": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "url",
                    "section"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "severity",
                "code",
                "location",
                "expected",
                "actual",
                "source"
              ],
              "additionalProperties": false
            }
          },
          "fullPgaBody": {
            "description": "Append after PG01 in a linked line’s fullPgaHeader.",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "record": {
                  "type": "string",
                  "enum": [
                    "OI",
                    "PG01",
                    "PG02",
                    "PG07",
                    "PG10",
                    "PG14",
                    "PG19",
                    "PG20",
                    "PG21",
                    "PG22",
                    "PG30",
                    "PG60"
                  ]
                },
                "fields": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "CATAIR data elements before fixed-width ACE serialization."
                }
              },
              "required": [
                "record",
                "fields"
              ],
              "additionalProperties": false
            }
          },
          "registryFindings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "severity": {
                  "type": "string",
                  "enum": [
                    "error",
                    "warning"
                  ]
                },
                "code": {
                  "type": "string"
                },
                "location": {
                  "type": "string",
                  "description": "JSON Pointer into the request."
                },
                "expected": {
                  "type": "string"
                },
                "actual": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "section": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "url",
                    "section"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "severity",
                "code",
                "location",
                "expected",
                "actual",
                "source"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "certificateId",
          "findings",
          "fullFindings",
          "registryFindings"
        ],
        "additionalProperties": false
      }
    },
    "lines": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "row": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "Zero-based index into shipmentLines."
          },
          "entryLine": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "hts": {
            "type": "string"
          },
          "sku": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "quantity": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "certificateId": {
            "description": "Look up this ID in certificates for findings shared by all linked lines.",
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "checked",
              "needs_review",
              "error"
            ]
          },
          "findings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "severity": {
                  "type": "string",
                  "enum": [
                    "error",
                    "warning"
                  ]
                },
                "code": {
                  "type": "string"
                },
                "location": {
                  "type": "string",
                  "description": "JSON Pointer into the request."
                },
                "expected": {
                  "type": "string"
                },
                "actual": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "section": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "url",
                    "section"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "severity",
                "code",
                "location",
                "expected",
                "actual",
                "source"
              ],
              "additionalProperties": false
            }
          },
          "fullPgaHeader": {
            "description": "PG01. Append fullPgaBody from the linked certificate to complete the Full message.",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "record": {
                  "type": "string",
                  "enum": [
                    "OI",
                    "PG01",
                    "PG02",
                    "PG07",
                    "PG10",
                    "PG14",
                    "PG19",
                    "PG20",
                    "PG21",
                    "PG22",
                    "PG30",
                    "PG60"
                  ]
                },
                "fields": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "CATAIR data elements before fixed-width ACE serialization."
                }
              },
              "required": [
                "record",
                "fields"
              ],
              "additionalProperties": false
            }
          },
          "referenceFindings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "severity": {
                  "type": "string",
                  "enum": [
                    "error",
                    "warning"
                  ]
                },
                "code": {
                  "type": "string"
                },
                "location": {
                  "type": "string",
                  "description": "JSON Pointer into the request."
                },
                "expected": {
                  "type": "string"
                },
                "actual": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "section": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "url",
                    "section"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "severity",
                "code",
                "location",
                "expected",
                "actual",
                "source"
              ],
              "additionalProperties": false
            }
          },
          "referencePgaAfterCertification": {
            "description": "File these fields after the product version is certified in the destination Registry.",
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "record": {
                  "type": "string",
                  "enum": [
                    "OI",
                    "PG01",
                    "PG02",
                    "PG07",
                    "PG10",
                    "PG14",
                    "PG19",
                    "PG20",
                    "PG21",
                    "PG22",
                    "PG30",
                    "PG60"
                  ]
                },
                "fields": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {
                    "type": "string"
                  },
                  "description": "CATAIR data elements before fixed-width ACE serialization."
                }
              },
              "required": [
                "record",
                "fields"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "row",
          "entryLine",
          "hts",
          "sku",
          "model",
          "quantity",
          "status",
          "findings",
          "referenceFindings"
        ],
        "additionalProperties": false
      }
    },
    "registryCsv": {
      "type": "object",
      "properties": {
        "headers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "rows": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "certificateId": {
                "type": "string"
              },
              "cells": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "CSV field values in headers order. Do not include certificateId as a CSV column."
              }
            },
            "required": [
              "certificateId",
              "cells"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "headers",
        "rows"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "certificatesChecked",
    "sources",
    "commercialDescriptions",
    "certificates",
    "lines",
    "registryCsv"
  ],
  "additionalProperties": false
}