Overview
NexLog OS Customs is the platform's customs management: NCM/HS classification, Incoterms, trade documents (BL, AWB, Booking), customs valuation, Denied Party Check and integration with single windows such as Brazil's Portal Único Siscomex.
Customs Declaration and Trade Document share the MDM with Shipment (shipments) and Order (orders). Incoterms come from the order, weight and cubic volume come from the shipment and NCM/HS come from the Product Master, with no re-keying between systems.
Core entities
The canonical Customs model gives each entity a display name and an English code name (the MongoDB collection), like the rest of the platform: WMS, TMS, OMS, Control Tower, ESG and Finance.
| Entity | Code | Description |
|---|---|---|
| Customs Declaration | tradeDeclarations | Import or export declaration. Includes NCM/HS, customs value, Incoterms, ICMS-ST, origin and destination. Every declaration goes through the Denied Party Check. |
| Trade Document | tradeDocuments | BL, AWB, Booking, packing list, commercial invoice and certificate of origin (CoO). Attached to the shipment (shipments) and to the corresponding declaration. |
Operational flows
The six flows that take cargo from booking to customs clearance.
Tariff Intelligence
AI-assisted NCM/HS classification. Each suggestion is based on the product description, the BOM, the history of approved classifications and case law, and comes with its rationale, confidence level and the sources consulted.
Denied Party Check
Automatic screening of the parties to each declaration against sanctions lists (OFAC, EU, UN, BACEN and industry lists, configurable per tenant). A sanctioned party blocks the shipment.
Single Window
Connector for national single windows, such as Brazil's Portal Único Siscomex and equivalents abroad, with operation-specific connectors.
Multi-standard documentation
Document issuance and exchange in Cargo-XML, DCSA, ONE Record and WCO Data Model, in the format each party accepts.
Customs valuation
Calculation of the customs value and import taxes: II, PIS/COFINS on imports and ICMS-ST.
Tax playbooks
Versioned rules that automate the customs regime, drawback, ex-tariff and special regimes.
Trade documents
Document types stored in tradeDocuments.
| Document | Definition | Mode |
|---|---|---|
| BL (Bill of Lading) | Ocean freight bill of lading. | Ocean |
| AWB (Air Waybill) | Air freight transport document. | Air |
| Booking | Space reservation on a vessel or aircraft. | Ocean and air |
| Packing list | List of packages, weights and cargo contents. | All |
| Commercial invoice | Commercial invoice for the purchase and sale transaction. | All |
| CoO | Certificate of origin of the goods. | All |
Acronyms and standards
The foreign trade vocabulary and where each term appears in the model. BL, AWB and Booking are under Trade documents.
| Acronym | Meaning | Where it appears |
|---|---|---|
| NCM / HS | Mercosur Common Nomenclature / Harmonized System | tradeDeclarations |
| Incoterms | International Commercial Terms (FOB, CIF, DAP, DDP and others) | orders, shipments, tradeDeclarations |
| Single Window | Single window for integration with customs authorities | Integration |
| DPC | Denied Party Check, sanctions screening | Compliance |
| Cargo-XML | IATA standard for air cargo data | Integration |
| DCSA | Digital Container Shipping Association, ocean shipping standard | Integration |
| ONE Record | IATA connected data standard | Integration |
| WCO Data Model | World Customs Organization data model | Integration |
REST endpoints
Endpoints versioned under /api/v1/.
| Endpoint | Method | Use |
|---|---|---|
/api/v1/trade-declarations | GET | Lists customs declarations. |
/api/v1/trade-declarations | POST | Creates an import or export declaration. |
/api/v1/trade-documents | GET | Lists trade documents. |
/api/v1/tariff/classify | POST | Requests an NCM/HS classification suggestion from Tariff Intelligence. |
/api/v1/customs/denied-party-check | POST | Runs party screening against sanctions lists. |
/api/v1/customs/single-window/submit | POST | Submits the declaration to the single window. |
Convention: kebab-case endpoints, versioned under /api/v1/; camelCase collections (tradeDeclarations) and PascalCase classes (TradeDeclaration).
Customs as a first-class module
From tax silo to operational core
Customs management usually lives in isolation, in the systems of customs brokers and traders, which leads to duplicated data, rework and exposure to fines.
In NexLog OS, Customs Declaration (tradeDeclarations) and Trade Document (tradeDocuments) share the MDM with Shipment (shipments) and Order (orders): Incoterms come from the order, weight and cubic volume come from the shipment and NCM/HS come from the Product Master.
Tariff Intelligence and compliance
Tariff Intelligence uses AI to suggest the NCM/HS classification based on the text description, the BOM, the history of approved classifications and case law, and every suggestion comes with an auditable explanation.
The Denied Party Check runs automatically on every declaration and blocks shipments to sanctioned parties. Drawback, ex-tariff and special regimes live in versioned playbooks.
International standards and Single Window
Customs speaks Cargo-XML, DCSA, ONE Record and WCO Data Model. When it integrates with Brazil's Portal Único Siscomex and with authorities in Europe and Asia, it uses the format each party accepts.
Because it shares the MDM with WMS, TMS and OMS, international operations stop being a silo and become a natural part of the supply chain operating system, visible in Control Tower like any other event.


