Create a transaction along with a set of components . Components can either be of type InternalSupplierComponent or DdsReferenceComponent (if a previous dds is available)
Create a transaction for a business.
post
Create a transaction for a business.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
customIdstringOptional
Custom identifier. Can be used for internal reference or tracking purposes. If not provided, generates a default Id
Example: DEC-24-238620
activityTypestringRequired
Type of transaction to be performed. Can be one of: IMPORT, EXPORT, DOMESTIC, TRADE.
Example: EXPORT
countryOfActivitystringRequired
Two-letter country code (ISO 3166 Alpha-2) of the place of activity. Depends on activityType. For import, Country of entry into the EU. For Export, Country of exit from the EU. For Domestic Production and Trade, EU country where goods are sourced, manufactured or produced or made available on the market.
Example: IT
legalEntityIdstringOptional
The id of the legal entity containing company details (name, address, EORI, etc.) that will be used as the primary actor for this transaction when submitting to EU Information System.
Example: 123e4567-e89b-12d3-a456-426614174000
isGeoLocationConfidentialbooleanOptional
Whether the geolocation data is confidential.
Default: falseExample: false
customDataobjectOptional
Metadata related to the transaction.
This can be used to store any additional information that is relevant to the transaction.
The input object must fulfill the following requirements:
- max <=50 keys
- max key length of <=255 characters
- max string value length of <=255 characters
- values must be either strings, number, or booleans
- keys cannot contain the substrings proto, constructor, or prototype