Customs Declaration

Orders of a pipeline with comparison and checks

Changed on

Every order the pipeline assembled (one per LRN, highest LRN first), each compared field by field with the filed declaration and with the clerk's checks. When pipeline_id is omitted, the newest completed eligible pipeline is used, else the newest eligible one. Orders and documents are read as the key's minting user may see them under Sources IAM, and records held back for review are not included. status and q narrow the items only.

get/v1/customs-declaration/declarations

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Query parameters

pipeline_id, string uuid
status, 'ready' | 'review'

ready keeps orders with no failing check, review keeps orders with at least one. Any other value applies no status filter.

q, string

Case-insensitive substring over LRN, sender, receiver and plates.

Response

The orders.

CustomsDeclarationList required
pipeline, object
stage, object
data_product_id, string uuid nullable

The pipeline's data product, where its orders are reviewed.

generated_at, string date-time
items, CustomsDeclaration[]

Changes