DEV

Input.

ComplianceQuestionnaireInferInput

── complianceQuestionnaireInfer (supersedes complianceInferAndPrefill) ─────────────────────── Provider-agnostic noun-then-verb naming; drops the 'prefill' verb. Behavior is identical to the deprecated complianceInferAndPrefill family — see those types for full field semantics.

Fields

containerId

ID!

Required

No description

containerType

ContainerType!

Required

Grouping container the flow is scoped to.
Items to evaluate. Applicable programs are resolved per item (HS-driven); one session line per (item, program). Omit it for a CATALOG_ITEM container and the single item is hydrated from the facts snapshotted for containerId — every other container type must supply it, having no snapshot to read.

languageCode

LanguageCode

Language to render question/answer/option text in; falls back to Accept-Language, then English.

partyId

ID

The party certifying this session's attestations — a PartyDgs id, verified before it is used. Where an attestation names a certifier (EPA TS1, and the FTA origin block), the party question is pre-answered with this id for the filer to confirm, and the certifier's name, phone and email are never copied here: they stay in PartyDgs and the filing resolves them from the id. Omit it (or pass one this caller cannot see) and the attestation cannot be completed — there is deliberately no name/phone/email question to fall back to, so a certifier with no party record is created in PartyDgs first and that PII stays in the one system that owns it.
Program types to open questionnaire lines for. Null/empty = every type the flow surfaces (PGA + FTA); pass [PGA] to drop trade-agreement paperwork. Narrows within the surfaced set, so types not yet surfaced (TARIFF_MEASURE, OTHER) stay excluded even when named. Independent of regulationsApply's agencies: that picks WHICH PGA, this picks WHICH KIND of paperwork.

regulationResultId

ID

Optional pre-run inference result. When absent, regulationsApply runs inline (FDA) for the items.

shipFromCountry

CountryCode

No description

shipToCountry

CountryCode

Destination the questionnaire is scoped to. Required whenever items is supplied. On the snapshot-hydrated path it may be omitted, and defaults to the route the open session is already being answered under, then to the organization's single active requirement route.
Book a demo

Was this page helpful?