DEV

Input.

BrokerageDocumentUploadInput

No description

Fields

Which material or composition property this document proves, such as COUNTRY_OF_SMELT. Required when documentType is one of the material or composition *_CERTIFICATE values.

documentType

•

BrokerageDocumentType!

Required

The kind of document.

expiresAt

•

DateTime

When the document expires. Leave null if it does not expire. Some document types have a known validity period and will be given an expiry automatically.

fileContent

•

String!

Required

The file itself, base64-encoded.

fileName

•

String!

Required

The name of the file, such as certificate.pdf. Used to determine the file format.

filingReferenceNumber

•

String

A reference number to store with the document, such as an FDA facility registration number or a CPSC filing ID.
What to attach this document to. Omit it for a document that applies to your whole organization, such as a power of attorney that covers every shipment.

shipFromCountry

•

[CountryCode!]

The origin countries this document covers. Leave empty to apply it to all origins.

shipToCountry

•

[CountryCode!]

The destination countries this document covers. Leave empty to apply it to all destinations.

tradeAgreement

•

String

The free trade agreement you are claiming under, such as USMCA or EU-UK_TCA. Required when documentType is CERTIFICATE_OF_ORIGIN.

validFrom

•

DateTime

When the document becomes valid. This is the validity date on the document itself, not the date you upload it.

validTo

•

DateTime

When the document stops being valid.

Was this page helpful?


Get support·Legal docs·© 2026 Zonos