Generates a CN22/CN23 postal customs declaration from a commercial-invoice
payload (the form is chosen by goods value). Emits a signed edi.postal_declaration.generated event.
POST
payload (the form is chosen by goods value). Emits a signed
edi.postal_declaration.generated event.
Path parameters
string
required
Partner ID
Request body
CommercialInvoice
CustomsParty
required
string
ISO currency code the values are expressed in.
string
Freight charge added to the customs value (when DDP/CIF style terms).
string
Incoterms 2020 three-letter rule, e.g.
DAP, DDP, EXW.string
Named place for the incoterm, e.g.
Rotterdam.string
Insurance charge added to the customs value.
string
required
string
required
CustomsLine[]
required
string
string
Why the goods are being exported (sale, sample, return, gift) — a CN22/23
and many national customs forms require it.
CustomsParty
required
object