-
Notifications
You must be signed in to change notification settings - Fork 2
Customs Module ‐ Complete Workflow & Testing Guide
This comprehensive guide provides step-by-step workflows and real-world test scenarios for the Customs module in CargoNext.
- Module Overview
- Prerequisites & Setup
- Core Workflows
- Real-World Test Scenarios
- Advanced Scenarios
- Testing Checklist
The Customs module manages the complete lifecycle of customs declarations from quote to clearance:
Main Flow: Sales Quote → Declaration Order → Declaration → Submission → Clearance → Release
Key Documents:
- Declaration Order - Customer requirements for customs clearance
- Declaration - Actual customs declaration submitted to authorities
- Permit Application - Required permits for restricted goods
- Exemption Certificate - Duty/tax exemptions
- Manifest Filings - Country-specific manifest submissions (US AMS, US ISF, CA eManifest, JP AFR)
Before using the Customs module, ensure the following master data is configured:
Path: Home > Customs > Master Data > Customs Authority
Steps:
- Create customs authorities for each country/region you operate in
- Enter Authority Name, Country, Code
- Add contact details and portal URLs if applicable
- Examples:
- US Customs and Border Protection (CBP) - United States
- Canada Border Services Agency (CBSA) - Canada
- Japan Customs - Japan
- European Union Customs - EU countries
Path: Home > Customs > Master Data > Commodity
Steps:
- Create commodity records with HS codes
- Enter HS Code (6-10 digits), Description, Unit of Measure
- Add duty rates, tax rates if known
- Set country-specific classifications
- Examples:
- HS Code: 8471.30.01 - Laptop computers
- HS Code: 8703.23.00 - Passenger vehicles
- HS Code: 3004.90.00 - Medicinal products
Path: Home > Customs > Master Data > Permit Type
Steps:
- Create permit types for restricted goods
- Configure validity periods, required countries, required commodities
- Examples:
- Import License (Pharmaceuticals)
- Export Permit (Electronics)
- CITES Permit (Wildlife products)
Path: Home > Customs > Master Data > Exemption Type
Steps:
- Create exemption types for duty/tax exemptions
- Set exemption percentage, maximum value limits
- Configure if certificate is required
- Examples:
- Free Trade Agreement (FTA) - 100% duty exemption
- Research & Development - 50% tax exemption
- Diplomatic Exemption - 100% exemption
Path: Home > Customs > Customs Settings
Configuration Steps:
- Set Default Company and Branch
- Set Default Customs Authority
- Set Default Currency
- Configure Declaration Settings:
- Default Declaration Type (Import/Export/Transit)
- Require HS Code (Yes/No)
- Require Commodity Description (Yes/No)
- Auto Calculate Duty (Yes/No)
- Configure Document Settings:
- Default Document List Template
- Require Commercial Invoice (Yes/No)
- Require Packing List (Yes/No)
- Require Bill of Lading (Yes/No)
- Configure Compliance Settings:
- Enable Compliance Alerts
- Compliance Check Interval
- Enable Manifest Integration
Path: Home > Customs > Manifest Settings
Configuration Steps:
- Select Company
- Enable required manifest types:
- US AMS (Automated Manifest System) - For US imports
- US ISF (Importer Security Filing) - For US imports (24-hour rule)
- CA eManifest - For Canada imports/exports
- JP AFR (Advance Filing Rules) - For Japan imports
- Configure API credentials for each enabled manifest type
- Set filer codes and carrier codes
Scenario: Importing goods from overseas that require customs clearance.
- Go to Home > Pricing Center > Sales Quote
- Create new Sales Quote
- Add customer, items, pricing
- In Customs section, enable customs leg
- Select Customs Authority, Port of Entry
- Save and Submit Quote
- Go to Home > Customs > Declaration Order
- Click New
- Link Sales Quote (or enter manually)
- Enter Order Date
- Select Customer
- Select Customs Authority
- Select Declaration Type: Import
- Add Commodities:
- Select Commodity (with HS Code)
- Enter Quantity, Unit Price, Total Value
- Add Description
- Add Parties:
- Importer/Consignee
- Exporter/Shipper
- Customs Broker (if applicable)
- Add Documents (Documents tab):
- Commercial Invoice (Required)
- Packing List (Required)
- Bill of Lading (Required)
- Certificate of Origin (if applicable)
- Save Declaration Order
- Status: Draft → Confirmed
- From Declaration Order, click Create Declaration OR Go to Home > Customs > Declaration → New
- Declaration Order is auto-linked
- Verify/Update:
- Customs Authority
- Declaration Type: Import
- Declaration Date
- Review Commodities (auto-populated from order)
- Review Parties (auto-populated from order)
- Add Transport Details:
- Link Air Shipment or Sea Shipment
- Port of Loading, Port of Discharge
- Vessel/Flight Number
- ETD, ETA
- Container Numbers
- Add Documents (Documents tab):
- Upload Commercial Invoice
- Upload Packing List
- Upload Bill of Lading
- Mark documents as "Received"
- Review Financials:
- Duty Amount (auto-calculated or manual)
- Tax Amount
- Other Charges
- Total Payable
- Save Declaration
- Status: Draft
- Verify all required documents are attached
- Verify all required permits are obtained (if applicable)
- Click Submit
- Status changes to: Submitted
- Submission Date is recorded
- Declaration Number is assigned (if auto-generated)
- Monitor Declaration status:
- Submitted → Under Review → Cleared → Released
- Update status manually or via integration:
- Approval Date (when Cleared)
- Actual Clearance Date
- Release Date
- If rejected:
- Status: Rejected
- Enter Rejection Reason
- Update Declaration and resubmit
- From Declaration, click Create Sales Invoice
- Invoice is auto-populated with charges
- Review and Submit Invoice
- Link is maintained between Declaration and Invoice
Scenario: Exporting goods that require customs declaration.
- Create Sales Quote with Export customs leg
- Create Declaration Order:
- Declaration Type: Export
- Select Port of Exit
- Add commodities with HS codes
- Create Declaration from Order
- Add Export-specific documents:
- Export License (if required)
- Commercial Invoice
- Packing List
- Shipping Bill
- Submit Declaration
- Track through: Submitted → Under Review → Cleared → Released
Scenario: Importing restricted goods requiring permits.
- Go to Home > Customs > Permit Application
- Click New
- Select Permit Type (e.g., "Import License - Pharmaceuticals")
- Select Applicant (Customer/Supplier)
- Select Issuing Authority (Customs Authority)
- Enter Application Date
- Add required documents
- Save
- Status: Draft → Submitted → Under Review → Approved
- Create Declaration Order (as per Workflow 1)
- In Declaration, go to Permit Requirements tab
- Add Permit Requirement:
- Select Permit Type
- Mark as Required
- Link Approved Permit Application
- Mark as Obtained
- Save Declaration
- System validates all required permits are obtained
- If permit missing, submission is blocked
- Once all permits obtained, Submit Declaration
Scenario: Using exemption certificates to reduce duty/tax.
- Go to Home > Customs > Exemption Certificate
- Click New
- Select Exemption Type (e.g., "Free Trade Agreement")
- Enter Certificate Number
- Select Customer/Supplier
- Set Valid From and Valid To dates
- Enter Exemption Value or Quantity
- Upload Certificate Document
- Set Verification Status: Verified
- Status: Active
- Save
- Create Declaration (as per Workflow 1)
- In Declaration, go to Exemptions tab
- Add Exemption:
- Select Exemption Type
- Select Exemption Certificate
- Exemption Percentage (auto-filled from type)
- Certificate Number (auto-filled)
- Save Declaration
- System calculates:
- Exempted Duty
- Exempted Tax
- Exempted Fees
- Total Exempted
- Total Payable (after exemptions)
- Verify exemption certificate is valid and not expired
- Submit Declaration
- System tracks used exemption value/quantity
Scenario: Filing Automated Manifest System for US imports.
- Go to Home > Customs > Global Manifest
- Create manifest from Sea Shipment or Air Shipment
- Enter vessel/flight details
- Add bills with consignee, shipper, commodities
- Save
- From Global Manifest, click Create US AMS OR Go to Home > Customs > US AMS → New
- Link Global Manifest
- System auto-populates:
- Vessel Name, Voyage Number
- Port of Unlading
- Estimated Arrival Date
- Bills from Global Manifest
- Verify Filer Code (from Manifest Settings)
- Review and update bills if needed
- Save
- Status: Draft
- Click Submit to CBP
- System validates:
- All required fields
- 24-hour rule compliance
- Submission via API (if configured) or manual
- Status: Submitted
- CBSA Transaction Number assigned
- Submission Date/Time recorded
- Monitor status: Submitted → Accepted → Rejected
- Use Check Status to query CBP system
- Update status based on response
Scenario: Filing Importer Security Filing for US imports (required 24 hours before loading).
- From US AMS, click Create US ISF OR Go to Home > Customs > US ISF → New
- Link US AMS (auto-populates data)
- Enter/Verify:
- Consignee
- Seller
- Manufacturer
- Country of Origin
- Commodity HTSUS Codes
- Set Estimated Arrival Date
- Save
- Status: Draft
- Click Validate 24-Hour Rule
- System checks:
- ISF filed at least 24 hours before vessel departure
- All required data present
- Validation Status: Pass / Warning / Fail
- Ensure 24-hour rule is met
- Click Submit to CBP
- Status: Submitted
- ISF Number assigned
Scenario: Filing eManifest for Canada imports/exports.
- Create Global Manifest
- Create CA eManifest Forwarder from Global Manifest
- System auto-populates:
- Carrier details
- Conveyance information
- Bills and commodities
- Verify CBSA Carrier Code (from Manifest Settings)
- Submit to CBSA via API
- Track status and CBSA Transaction Number
Scenario: Filing Advance Filing Rules for Japan imports.
- Create Global Manifest
- Create JP AFR from Global Manifest
- System auto-populates:
- Vessel details
- Port information
- Bills
- Verify Japan Customs Filer Code
- Submit to Japan Customs
- Track AFR Number and status
Objective: Test basic import declaration workflow.
Test Data:
- Customer: ABC Electronics Inc.
- Commodity: Laptop Computers (HS Code: 8471.30.01)
- Quantity: 100 units
- Value: $50,000 USD
- Origin: China
- Destination: United States
- Customs Authority: US CBP
Steps:
- ✅ Create Sales Quote with customs leg
- ✅ Create Declaration Order (Import type)
- ✅ Add commodity with HS code
- ✅ Add required documents (Invoice, Packing List, B/L)
- ✅ Create Declaration from Order
- ✅ Verify auto-population of data
- ✅ Calculate duty/tax (assume 5% duty, 8% tax)
- ✅ Submit Declaration
- ✅ Verify status progression: Draft → Submitted → Under Review → Cleared → Released
- ✅ Create Sales Invoice
- ✅ Verify all links maintained
Expected Results:
- Declaration value: $50,000
- Duty: $2,500 (5%)
- Tax: $4,000 (8%)
- Total Payable: $6,500
- All documents tracked
- Status updates correctly
Objective: Test exemption certificate workflow.
Test Data:
- Customer: Global Trading Co.
- Commodity: Automotive Parts (HS Code: 8708.99.00)
- Quantity: 500 units
- Value: $100,000 USD
- Origin: Canada (USMCA/NAFTA)
- Exemption: FTA Certificate (100% duty exemption)
- Customs Authority: US CBP
Steps:
- ✅ Create Exemption Certificate:
- Type: Free Trade Agreement
- Certificate Number: FTA-2024-001
- Valid From: 2024-01-01
- Valid To: 2024-12-31
- Value: $200,000
- Status: Active, Verified
- ✅ Create Declaration Order
- ✅ Create Declaration
- ✅ Add Exemption:
- Select FTA Exemption Type
- Link Exemption Certificate
- Exemption Percentage: 100%
- ✅ Verify exemption calculation:
- Duty: $5,000 (5% of $100,000)
- Exempted Duty: $5,000 (100%)
- Net Duty: $0
- ✅ Submit Declaration
- ✅ Verify used exemption value updated
Expected Results:
- Total Duty: $5,000
- Exempted Duty: $5,000
- Net Duty Payable: $0
- Tax: $8,000 (still applicable)
- Total Payable: $8,000
- Exemption Certificate used value: $100,000
- Remaining exemption value: $100,000
Objective: Test permit application and validation.
Test Data:
- Customer: Pharma Corp
- Commodity: Prescription Drugs (HS Code: 3004.90.00)
- Quantity: 1,000 units
- Value: $250,000 USD
- Permit Required: Import License - Pharmaceuticals
- Customs Authority: US CBP
Steps:
- ✅ Create Permit Type:
- Name: Import License - Pharmaceuticals
- Required for: Import
- Required Countries: United States
- Required Commodities: 3004.90.00
- ✅ Create Permit Application:
- Permit Type: Import License - Pharmaceuticals
- Applicant: Pharma Corp
- Application Date: 2024-01-15
- Status: Draft → Submitted → Under Review → Approved
- Approval Date: 2024-02-01
- Valid From: 2024-02-01
- Valid To: 2024-12-31
- ✅ Create Declaration Order
- ✅ Create Declaration
- ✅ Add Permit Requirement:
- Permit Type: Import License - Pharmaceuticals
- Mark as Required
- Link Approved Permit Application
- Mark as Obtained
- ✅ Try to Submit without permit → Should fail
- ✅ Mark permit as obtained
- ✅ Submit Declaration → Should succeed
- ✅ Verify permit validation
Expected Results:
- System blocks submission if permit not obtained
- Error message: "The following required permits are not yet obtained: Import License - Pharmaceuticals"
- After permit obtained, submission succeeds
- Permit requirement tracked in declaration
Objective: Test export declaration workflow.
Test Data:
- Customer: Export Solutions Ltd.
- Commodity: Industrial Machinery (HS Code: 8428.90.00)
- Quantity: 50 units
- Value: $500,000 USD
- Origin: United States
- Destination: Germany
- Customs Authority: US CBP (Export)
Steps:
- ✅ Create Sales Quote with Export customs leg
- ✅ Create Declaration Order:
- Declaration Type: Export
- Port of Exit: Port of Los Angeles
- ✅ Add Export License (if required for machinery)
- ✅ Create Declaration
- ✅ Add Export-specific documents:
- Commercial Invoice
- Packing List
- Export License
- Shipping Bill
- ✅ Submit Declaration
- ✅ Track clearance
- ✅ Verify export compliance
Expected Results:
- Declaration Type: Export
- Port of Exit recorded
- Export License tracked
- Status progression works for exports
- Export value reported correctly
Objective: Test declaration with multiple commodities.
Test Data:
- Customer: Multi-Product Imports
- Commodities:
- Electronics (HS: 8471.30.01) - 200 units - $40,000
- Textiles (HS: 6109.10.00) - 1,000 units - $30,000
- Toys (HS: 9503.00.00) - 500 units - $20,000
- Total Value: $90,000 USD
- Customs Authority: US CBP
Steps:
- ✅ Create Declaration Order
- ✅ Add multiple commodities with different HS codes
- ✅ Create Declaration
- ✅ Verify all commodities auto-populated
- ✅ Verify duty calculation per commodity:
- Electronics: 5% duty
- Textiles: 10% duty
- Toys: 0% duty (duty-free)
- ✅ Calculate total duty/tax
- ✅ Submit Declaration
- ✅ Verify commodity-level tracking
Expected Results:
- All commodities listed separately
- Duty calculated per HS code
- Electronics Duty: $2,000
- Textiles Duty: $3,000
- Toys Duty: $0
- Total Duty: $5,000
- Total Tax: $7,200 (8%)
- Total Payable: $12,200
Objective: Test US AMS manifest filing.
Test Data:
- Vessel: MV Atlantic Star
- Voyage: ATL-2024-001
- Port of Unlading: Port of Los Angeles
- ETA: 2024-03-15
- Bills: 3 bills with multiple containers
- Customs Authority: US CBP
Steps:
- ✅ Create Sea Shipment
- ✅ Create Global Manifest from Sea Shipment
- ✅ Add bills with consignees, shippers, commodities
- ✅ Create US AMS from Global Manifest
- ✅ Verify auto-population:
- Vessel Name: MV Atlantic Star
- Voyage Number: ATL-2024-001
- Port of Unlading: Port of Los Angeles
- Estimated Arrival Date: 2024-03-15
- All bills copied
- ✅ Verify Filer Code (from Manifest Settings)
- ✅ Submit US AMS to CBP
- ✅ Verify:
- Status: Submitted
- CBP Transaction Number assigned
- Submission Date/Time recorded
- ✅ Check Status from CBP
- ✅ Update status based on response
Expected Results:
- US AMS created successfully
- All bills included
- Filer code validated
- Submission successful
- CBP Transaction Number received
- Status tracking works
Objective: Test US ISF filing and 24-hour rule validation.
Test Data:
- Linked to US AMS from Scenario 6
- Vessel Departure: 2024-03-01 10:00
- ISF Filing: 2024-02-29 08:00 (26 hours before)
- Consignee: ABC Imports
- Seller: XYZ Exports
- Country of Origin: China
Steps:
- ✅ Create US ISF from US AMS
- ✅ Verify auto-population from AMS
- ✅ Enter ISF-specific data:
- Consignee
- Seller
- Manufacturer
- Country of Origin
- HTSUS Codes
- ✅ Set Estimated Arrival Date
- ✅ Validate 24-Hour Rule:
- Filing Date: 2024-02-29 08:00
- Vessel Departure: 2024-03-01 10:00
- Time Difference: 26 hours
- ✅ Verify validation: Pass (26 hours > 24 hours)
- ✅ Submit US ISF
- ✅ Test failure case:
- Change filing to 20 hours before → Should show Warning or Fail
Expected Results:
- 24-hour rule validation: Pass (26 hours before)
- ISF submitted successfully
- ISF Number assigned
- Warning shown if < 24 hours
- Submission blocked if < 24 hours (if configured)
Objective: Test multiple exemptions on single declaration.
Test Data:
- Customer: Advanced Imports
- Commodity: Medical Equipment (HS: 9018.90.00)
- Value: $150,000 USD
- Exemptions:
- FTA Exemption: 100% duty (value: $50,000)
- R&D Exemption: 50% tax (value: $100,000)
Steps:
- ✅ Create two Exemption Certificates
- ✅ Create Declaration
- ✅ Add first exemption (FTA - 100% duty)
- ✅ Add second exemption (R&D - 50% tax)
- ✅ Verify calculations:
- Total Duty: $7,500 (5%)
- FTA Exempted Duty: $2,500 (on $50,000)
- Net Duty: $5,000
- Total Tax: $12,000 (8%)
- R&D Exempted Tax: $4,000 (50% of $8,000 on $100,000)
- Net Tax: $8,000
- ✅ Submit Declaration
- ✅ Verify both exemptions tracked
Expected Results:
- Multiple exemptions applied correctly
- Calculations accurate
- Both exemption certificates updated
- Total Payable: $13,000 ($5,000 duty + $8,000 tax)
Objective: Test declaration rejection workflow.
Test Data:
- Declaration from Scenario 1 (Simple Import)
- Rejection Reason: Missing Certificate of Origin
Steps:
- ✅ Submit Declaration (as per Scenario 1)
- ✅ Status: Submitted → Under Review
- ✅ Simulate rejection:
- Status: Rejected
- Rejection Date: 2024-03-10
- Rejection Reason: "Missing Certificate of Origin"
- ✅ Add missing document (Certificate of Origin)
- ✅ Update Declaration
- ✅ Resubmit Declaration
- ✅ Verify status: Draft → Submitted
- ✅ Track new submission
Expected Results:
- Rejection reason recorded
- Rejection date tracked
- Declaration can be updated
- Resubmission creates new submission record
- History maintained
Objective: Test transit declaration workflow.
Test Data:
- Goods in transit from China to Mexico via US
- Commodity: General Cargo
- Value: $75,000 USD
- Customs Authority: US CBP (Transit)
Steps:
- ✅ Create Declaration Order:
- Declaration Type: Transit
- ✅ Create Declaration
- ✅ Add transit-specific information:
- Country of Origin: China
- Country of Destination: Mexico
- Transit Country: United States
- ✅ Add transit documents
- ✅ Submit Declaration
- ✅ Track transit clearance
Expected Results:
- Declaration Type: Transit
- Transit route tracked
- Reduced duty/tax (transit goods)
- Transit documents required
- Status tracking works
Objective: Test Canada eManifest workflow.
Test Data:
- Carrier: Canadian Freight Lines
- Conveyance: Truck
- Entry Port: Windsor, Ontario
- Bills: 5 bills
- Customs Authority: CBSA
Steps:
- ✅ Create Global Manifest
- ✅ Create CA eManifest Forwarder
- ✅ Verify auto-population
- ✅ Verify CBSA Carrier Code
- ✅ Submit to CBSA via API
- ✅ Verify:
- Status: Submitted
- CBSA Transaction Number
- Submission confirmation
- ✅ Check status from CBSA
Expected Results:
- CA eManifest created
- API submission successful
- CBSA Transaction Number received
- Status tracking works
Objective: Test Japan AFR workflow.
Test Data:
- Vessel: MV Pacific Express
- Port of Loading: Shanghai
- Port of Discharge: Tokyo
- ETA: 2024-04-01
- Bills: 10 bills
- Customs Authority: Japan Customs
Steps:
- ✅ Create Global Manifest
- ✅ Create JP AFR
- ✅ Verify auto-population
- ✅ Verify Japan Customs Filer Code
- ✅ Submit to Japan Customs
- ✅ Verify AFR Number
- ✅ Track status
Expected Results:
- JP AFR created successfully
- Submission successful
- AFR Number assigned
- Status tracking works
Objective: Test partial exemption (not 100%).
Test Data:
- Commodity: Industrial Equipment
- Value: $200,000 USD
- Exemption: 50% duty exemption (not 100%)
Steps:
- ✅ Create Exemption Certificate (50% exemption)
- ✅ Create Declaration
- ✅ Add exemption
- ✅ Verify calculation:
- Total Duty: $10,000 (5%)
- Exempted Duty: $5,000 (50%)
- Net Duty: $5,000
- ✅ Submit
Expected Results:
- Partial exemption calculated correctly
- Net duty: $5,000 (50% of $10,000)
- Tax still applies fully: $16,000
- Total Payable: $21,000
Objective: Test permit renewal.
Test Data:
- Original Permit: Import License - Pharmaceuticals (Expires 2024-12-31)
- Renewal Application: 2024-11-01
Steps:
- ✅ Create Renewal Permit Application:
- Link to original permit (Renewal Of field)
- Same permit type
- New validity dates
- ✅ Submit renewal application
- ✅ Approve renewal
- ✅ Verify original permit status: Renewed
- ✅ Use renewed permit in new declaration
Expected Results:
- Renewal linked to original
- Original permit marked as Renewed
- New permit active
- Can be used in declarations
Objective: Test expired exemption handling.
Test Data:
- Exemption Certificate: Valid To 2024-12-31
- Declaration Date: 2025-01-15 (after expiration)
Steps:
- ✅ Create Exemption Certificate (expired)
- ✅ Create Declaration
- ✅ Try to add expired exemption
- ✅ Verify system validation:
- Should warn/block expired certificate
- Status check: Expired
- ✅ Create new valid exemption
- ✅ Use new exemption
Expected Results:
- System detects expired certificate
- Warning/error shown
- Cannot use expired certificate
- Must use valid certificate
Objective: Test declaration value calculation from commodities.
Test Data:
- Commodity 1: 100 units × $500 = $50,000
- Commodity 2: 200 units × $150 = $30,000
- Commodity 3: 50 units × $400 = $20,000
- Total: $100,000
Steps:
- ✅ Create Declaration
- ✅ Add multiple commodities with quantities and prices
- ✅ Verify auto-calculation:
- Total Value per commodity
- Declaration Value (sum of all)
- ✅ Update commodity values
- ✅ Verify declaration value updates
Expected Results:
- Declaration Value: $100,000 (auto-calculated)
- Updates when commodities change
- Accurate calculations
Objective: Test document status workflow.
Test Data:
- Required Documents: Commercial Invoice, Packing List, B/L, COO
Steps:
- ✅ Create Declaration
- ✅ Add document requirements
- ✅ Track document statuses:
- Pending → Received → Verified → Submitted
- ✅ Upload documents
- ✅ Mark as Received
- ✅ Mark as Verified
- ✅ Submit declaration (documents marked as Submitted)
- ✅ Verify document alerts:
- Missing documents highlighted
- Expired documents flagged
- Pending documents shown
Expected Results:
- Document statuses tracked
- Alerts for missing documents
- Status progression works
- Document attachments maintained
Objective: Test multi-currency handling.
Test Data:
- Declaration Currency: USD
- Commodity Values: EUR, GBP, USD
- Exchange Rates: EUR/USD = 1.10, GBP/USD = 1.25
Steps:
- ✅ Create Declaration (Currency: USD)
- ✅ Add commodities with different currencies
- ✅ Set exchange rates
- ✅ Verify conversion:
- EUR values converted to USD
- GBP values converted to USD
- Declaration Value in USD
- ✅ Calculate duty/tax in USD
- ✅ Submit
Expected Results:
- Currency conversion works
- Declaration Value in base currency (USD)
- Duty/tax calculated in base currency
- Exchange rates applied correctly
Objective: Test declaration amendment workflow.
Test Data:
- Original Declaration: DEC-2024-001
- Amendment Reason: Quantity correction
Steps:
- ✅ Create original Declaration
- ✅ Submit Declaration
- ✅ Create Amendment:
- Link to original (Amended From)
- Update quantities
- Enter amendment reason
- ✅ Submit Amendment
- ✅ Verify:
- Original declaration linked
- Amendment tracked separately
- Both declarations visible
Expected Results:
- Amendment created successfully
- Original declaration linked
- Amendment reason recorded
- Both declarations tracked
Objective: Test compliance reports and dashboards.
Steps:
- ✅ Create multiple declarations (various statuses)
- ✅ Run Declaration Status Report:
- Filter by status, date range, customer
- Verify data accuracy
- ✅ Run Customs Compliance Report:
- Check compliance metrics
- Identify issues
- ✅ Run Filing Compliance Report:
- Verify filing deadlines met
- Check late filings
- ✅ View Customs Dashboard:
- Key metrics
- Status overview
- Alerts
- ✅ View Global Customs Dashboard:
- Multi-country view
- Comparative metrics
Expected Results:
- Reports generate correctly
- Data accurate
- Filters work
- Dashboards show real-time data
- Alerts functional
Scenario: Shipment with multiple customs clearances (origin, transit, destination).
Steps:
- ✅ Create Declaration Order (Origin country)
- ✅ Create Declaration (Origin - Export)
- ✅ Create Declaration (Transit country)
- ✅ Create Declaration (Destination - Import)
- ✅ Link all declarations
- ✅ Track end-to-end
Expected Results:
- All declarations linked
- End-to-end visibility
- Status tracking per declaration
Scenario: Create multiple declarations from single order.
Steps:
- ✅ Create Declaration Order with 10 commodities
- ✅ Create multiple Declarations:
- Split by commodity type
- Split by value threshold
- Split by permit requirements
- ✅ Verify each declaration independent
- ✅ Track separately
Expected Results:
- Multiple declarations created
- Each tracked independently
- Links maintained to order
Scenario: Declaration linked to Sea/Air Shipment.
Steps:
- ✅ Create Sea Shipment
- ✅ Create Declaration
- ✅ Link Sea Shipment to Declaration
- ✅ Verify auto-population:
- Vessel details
- Port information
- ETD/ETA
- Container numbers
- ✅ Create Global Manifest from Shipment
- ✅ Create US AMS from Manifest
- ✅ Verify all links
Expected Results:
- Shipment linked to Declaration
- Data auto-populated
- Manifest created from shipment
- AMS created from manifest
- Full traceability
- Create Declaration Order manually
- Create Declaration Order from Sales Quote
- Add commodities with HS codes
- Add parties (Importer, Exporter, Broker)
- Add document requirements
- Status progression: Draft → Confirmed
- Link to Air/Sea Shipment
- Create Declaration from Order
- Create Declaration manually
- Create Declaration from Order
- Auto-population from Order
- Add/Edit commodities
- Add/Edit parties
- Add transport details
- Link to Air/Sea Shipment
- Add documents with attachments
- Calculate declaration value
- Calculate duty/tax
- Add charges
- Status progression: Draft → Submitted → Under Review → Cleared → Released
- Rejection workflow
- Amendment workflow
- Create Sales Invoice
- Create Permit Application
- Link to Permit Type
- Add applicant (Customer/Supplier)
- Add documents
- Status progression: Draft → Submitted → Under Review → Approved
- Renewal workflow
- Link to Declaration
- Permit validation in Declaration
- Create Exemption Certificate
- Link to Exemption Type
- Set validity dates
- Set exemption value/quantity
- Upload certificate document
- Verification status
- Status: Active/Expired
- Apply to Declaration
- Calculate exemptions
- Track used value/quantity
- Expiration handling
- Create Global Manifest
- Create US AMS from Global Manifest
- Submit US AMS to CBP
- Create US ISF from US AMS
- Validate 24-hour rule
- Submit US ISF
- Create CA eManifest
- Submit CA eManifest to CBSA
- Create JP AFR
- Submit JP AFR to Japan Customs
- Status tracking for all manifests
- Sales Quote → Declaration Order
- Declaration Order → Declaration
- Declaration → Sales Invoice
- Sea/Air Shipment → Declaration
- Sea/Air Shipment → Global Manifest
- Global Manifest → US AMS/CA eManifest/JP AFR
- US AMS → US ISF
- Permit Application → Declaration
- Exemption Certificate → Declaration
- Required fields validation
- HS code validation
- Permit requirement validation
- Exemption certificate validation (expired, used up)
- Document requirement validation
- 24-hour rule validation (US ISF)
- Currency conversion validation
- Date validation (valid from/to)
- Value/quantity validation (non-negative)
- Declaration value calculation
- Duty calculation (per commodity, per HS code)
- Tax calculation
- Exemption calculation (percentage, maximum value)
- Total payable calculation
- Multi-currency conversion
- Exchange rate application
- Declaration Order statuses
- Declaration statuses
- Permit Application statuses
- Exemption Certificate statuses
- Manifest statuses (US AMS, US ISF, CA eManifest, JP AFR)
- Status transitions
- Status-based validations
- Document requirements
- Document attachments
- Document status tracking
- Document alerts (missing, expired, pending)
- Document templates
- Document verification
- Declaration Status Report
- Customs Compliance Report
- Filing Compliance Report
- Declaration Value Report
- Customs Dashboard
- Global Customs Dashboard
- Report filters
- Report exports
- Missing required fields
- Invalid HS codes
- Missing permits
- Expired exemptions
- Missing documents
- Invalid dates
- Negative values
- API errors (manifest submissions)
- Validation errors
- Submission failures
- Large number of commodities (100+)
- Multiple declarations (1000+)
- Bulk operations
- Report generation (large datasets)
- Dashboard loading
- User permissions
- Role-based access
- Data visibility
- API authentication
- Document access control
- Maintain accurate HS codes
- Keep commodity master updated
- Regularly update exemption certificates
- Monitor permit validity
- Upload documents promptly
- Verify document completeness
- Track document statuses
- Set up document alerts
- Monitor compliance reports regularly
- Set up compliance alerts
- Track filing deadlines
- Maintain audit trail
- Configure manifest settings correctly
- Test API integrations
- Monitor submission statuses
- Handle API errors gracefully
- Follow standard workflow: Quote → Order → Declaration
- Validate before submission
- Track status changes
- Maintain document links
-
Declaration submission fails
- Check required documents attached
- Verify all required permits obtained
- Check validation errors
- Review compliance status
-
Exemption not applying
- Verify exemption certificate is Active
- Check validity dates
- Verify exemption value/quantity not exhausted
- Check exemption type configuration
-
Permit validation fails
- Verify permit is Approved
- Check permit validity dates
- Verify permit linked correctly
- Check permit type matches requirement
-
Manifest submission errors
- Verify API credentials
- Check filer codes
- Validate required fields
- Review API error messages
-
Calculation discrepancies
- Verify HS codes
- Check duty/tax rates
- Review exemption calculations
- Validate currency conversions
This guide provides comprehensive workflows and test scenarios for the Customs module. Use these scenarios to:
- Understand the complete customs workflow
- Test all functionality thoroughly
- Validate system behavior in real-world scenarios
- Train users on customs processes
- Document business processes
Regular testing using these scenarios ensures the system can handle all customs requirements effectively.
Last Updated: 2024 Version: 1.0 Module: Customs
Getting Started
- Getting Started
- Recent Platform Updates
- CargoNext v1 — Release Notes
- CargoNext v1 — Astraea Press Release
- Document Management
- Milestone Tracking
- Customer Portal
Setup and Settings
- Logistics Settings
- Credit Management
- Default Details and Relationships
- Sea Freight Settings
- Air Freight Settings
- Transport Settings
- Warehouse Settings
- Customs Settings
Sea Freight
- Sea Freight Module
- Sea Booking
- Sea Shipment
- Sea Consolidation
- Master Bill
- Shipper
- Consignee
- Container Type
- Container Management
Air Freight
Transport
- Transport Module
- Transport Order
- Transport Job
- Transport Consolidation
- Transport Leg
- Transport Plan
- Run Sheet
- Proof of Delivery
- Transport Template
- Load Type
- Transport Order — Inter-module Field Copy
Customs
Warehousing
- Warehousing Module
- Inbound Order
- Release Order
- Transfer Order
- VAS Order
- Stocktake Order
- Warehouse Job
- Warehouse Contract
- Gate Pass
- Periodic Billing
- Storage Location
- Handling Unit Type
Pricing Center
- Sales Quote
- Sales Quote — Separate Billings and Internal Job
- Change Request
- Sales Quote – Calculation Method
Job Management
- Job Management Module
- Revenue Recognition Policy — Accounts, Dates, and Charges
- Proforma GL Entries
- WIP and Accrual Reversal on Invoicing
Sustainability
Intercompany
Special Projects
Pages
Features
Reports
Glossary