DOCS

Greenlight

Zonos Greenlight

Verify that shipments are compliant and ready for export.

Zonos Greenlight provides a comprehensive export readiness assessment for international shipments. It runs AI-powered checks across five areas: HS code accuracy, country of origin validation, customs value verification, product restrictions, and denied party screening.

Greenlight is a workflow of five independent mutations—you include only the checks you need. Each mutation returns its own shape and score, giving you per-check results to interpret and act on however fits your system.

How it works 

Submit shipment details including item descriptions, declared HS codes, country of origin, customs values, and destination details. Each check is a separate mutation you can run independently or together:

Misrepresentation risk

These mutations compare declared values against AI predictions and return probability scores as decimals between 0.0 and 1.0. For these checks, higher = higher risk:

  • HS code verification (classificationsCalculate) - Compares declared HS codes against AI-predicted classifications via Classify. Returns a confidenceScore — note that this score is inverted: higher = more confident in the HS code, so higher = less risk. Also returns hsCodeProvidedValidation showing whether the provided code is coherent, valid, or invalid at the chapter, heading, and subheading level.
  • Country of origin validation (countryOfOriginValidate) - Verifies declared manufacturing origin against AI-predicted origin via Zonos Country of Origin. Returns probabilityOfMisrepresentation — higher values indicate the declared origin is more likely inaccurate.
  • Customs value verification (valueValidate) - Compares declared values against AI-estimated market values via Customs Value. Returns probabilityOfUnderValuation and a valueEstimateRange to help catch undervaluation.

Restriction checks

These mutations screen items and recipients against known restriction lists:

  • Product restriction screening (restrictionApply) - Checks whether the item faces import restrictions in the destination country, export restrictions from the origin country, or carrier-specific restrictions via Restrict. Returns restrictions with a category, summary, and confidence score.
  • Denied party screening (partyScreen) - Screens the shipment recipient against international denied party lists via Screen. Returns an action (NO_MATCHES, REVIEW, or BLOCK) and match details with name, location, and overall scores.

Modular by design

Clients include only the mutations relevant to their workflow. If you don't need denied party screening or product restrictions, omit partyScreen and restrictionApply—nothing breaks. The name field is required for classificationsCalculate, countryOfOriginValidate, restrictionApply, and valueValidate. If you only have a commodity description and no separate name, map the description to name.

Interpreting scores

Scores are returned as decimals between 0.0 and 1.0 and can be rendered as percentages. Score direction is not uniform across all checks:

  • probabilityOfUnderValuation on valueValidate, probabilityOfMisrepresentation on countryOfOriginValidate, party-match scores (location, name, overall) on partyScreen, and confidence on restrictionApply: higher = more risk
  • confidenceScore on classificationsCalculate: inverted — higher = more confident in the HS code = less risk

There is no universal LOW/MED/HIGH threshold built into the API—the right cutoffs depend on your risk tolerance, traffic mix, and use case. The recommended approach is to pilot on real shipment traffic and calibrate thresholds against known-good versus known-bad shipments.

Use cases 

Customs brokers: Run Greenlight on every shipment before submission to identify misclassified items, incorrect origin declarations, or undervalued goods. Catch compliance issues before they result in delays, penalties, or audits.

Package forwarders: Assess each incoming package for export readiness without requiring specialized trade knowledge from intake staff. Greenlight surfaces exactly which items need attention and why, enabling faster processing with fewer errors.

Carriers and logistics providers: Integrate Greenlight into shipment acceptance workflows to screen packages at the point of pickup or intake. Reject or flag non-compliant shipments before they enter your network, reducing the risk of customs holds and associated costs.

Customs agencies: Use Greenlight to prioritize inspections by focusing on shipments with high misrepresentation risk scores. Low-risk shipments can be fast-tracked, improving throughput while maintaining enforcement accuracy.

API guide 

The example below runs all five Greenlight checks in a single operation. Include only the mutations relevant to your workflow.

1mutation Greenlight {
2 partyScreen(
3 input: {
4 location: {
5 countryCode: US
6 line1: "123 Haywood Dr"
7 administrativeArea: "Texas"
8 administrativeAreaCode: "TX"
9 locality: "Midland"
10 postalCode: "79707"
11 }
12 person: {
13 firstName: "John"
14 lastName: "Doe"
15 email: "doe11@gmail.com"
16 phone: "4326614277"
17 }
18 }
19 ) {
20 action
21 matches {
22 deniedParty {
23 aliases
24 }
25 scores {
26 location
27 name
28 overall
29 }
30 }
31 }
32 classificationsCalculate(
33 input: {
34 configuration: {
35 hsCodeProvidedTreatment: CHECK_COHERENCE
36 shipToCountries: [CN, IT]
37 hsCodeProvided: "6200.00"
38 }
39 name: "Lumber"
40 description: "A bunch of wood for my treehouse"
41 }
42 ) {
43 hsCode {
44 code
45 countryCode
46 }
47 hsCodeProvidedValidation {
48 code
49 result
50 type
51 }
52 confidenceScore
53 }
54 valueValidate(
55 input: { currency: USD, name: "ball", value: 10.75, material: "plastic" }
56 ) {
57 description
58 name
59 value
60 valueEstimateRange {
61 high
62 low
63 width
64 }
65 probabilityOfUnderValuation
66 }
67 restrictionApply(
68 input: {
69 items: {
70 name: "Flashlight"
71 hsCode: "6211.32"
72 description: "Blue plastic flashlight"
73 restrictionCategories: PROHIBITED
74 }
75 shipFromCountry: CN
76 shipToCountry: US
77 }
78 ) {
79 id
80 items {
81 restrictions {
82 category
83 summary
84 confidence
85 }
86 }
87 }
88 countryOfOriginValidate(
89 input: {
90 amount: 12
91 currencyCode: USD
92 countryOfOrigin: CN
93 name: "Flashlight"
94 }
95 ) {
96 amount
97 countryOfOrigin
98 probabilityOfMisrepresentation
99 primaryTargetCountryCode
100 }
101}

Getting started 

Zonos Greenlight requires a subscription. To learn more about access, pricing, and API integration, contact sales.

Book a demo

Was this page helpful?