Company Operations
Shipment Lifecycle
Steps
- Create shipment in
/shipments/new
- Attach transport documents and metadata
- Progress status through allowed transitions
- Add shipment progress updates and track details
Core APIs
GET /shipments/company
POST /shipments/company
PUT /shipments/{shipmentId}
PATCH /shipments/{shipmentId}/status
GET /shipments/{shipmentId}/allowed-status-transitions
POST /shipments/{shipmentId}/progress-updates
POST /shipments/{shipmentId}/documents
POST /shipments/process-transport-document
Cargo Lifecycle (IDF)
Steps
- Upload IDF in
/cargos/upload
- Trigger IDF extraction to create cargo
- Validate extracted fields and line items
- Attach supporting documents and finalize status
Core APIs
GET /cargos/company
POST /documents/upload
POST /cargos/process-idf
GET /cargos/{cargoId}
POST /cargos/{cargoId}/documents
PUT /cargos/{cargoId}/status
Clearing Agent One Time Password (OTP)
Steps
- Open
/single-use-certificates
- Select eligible cargo and apply
- Generate and upload certificate artifacts
- Retrieve certificate/invoice/receipt links
Core APIs
GET /single-use-certificates
GET /single-use-certificates/stats
POST /single-use-certificates/apply
POST /single-use-certificates/{id}/generate-and-upload
GET /single-use-certificates/{id}/view-links
Common Failures
- Status transition denied:
- fetch allowed transitions and use valid next state
- IDF parse failure:
- verify document quality and parser readiness